func generateViews(meta *bigquery.DatasetMetadataToUpdate, views []View, project string) {

	for _, view := range views {
		meta.Access = append(meta.Access, &bigquery.AccessEntry{
			EntityType: bigquery.ViewEntity,
			View: &bigquery.Table{
				ProjectID: project,
				DatasetID: view.DatasetID,
				TableID:   view.ViewID,
			},
		})
	}
}
// generateViews update the AccessEntries for a given bigquery.DatasetMetadataToUpdate
generateViews update the AccessEntries for a given bigquery.DatasetMetadataToUpdate
// generateViews update the AccessEntries for a given bigquery . DatasetMetadataToUpdate
func generateViews(meta *bigquery.DatasetMetadataToUpdate, views []View, project string) {
	for _, view := range views {
		meta.Access = append(meta.Access, &bigquery.AccessEntry{
			EntityType: bigquery.ViewEntity,
			View: &bigquery.Table{
				ProjectID: project,
				DatasetID: view.DatasetID,
				TableID:   view.ViewID,
			},
		})
	}
}
func generateViews ( meta * bigquery . DatasetMetadataToUpdate , views [ ] View , project string ) { for _ , view := range views { meta . Access = append ( meta . Access , & bigquery . AccessEntry { EntityType : bigquery . ViewEntity , View : & bigquery . Table { ProjectID : project , DatasetID : view . DatasetID , TableID : view . ViewID , } , } ) } }
generateViews update the AccessEntries for a given bigquery.DatasetMetadataToUpdate
generateViews update the AccessEntries for a given bigquery . DatasetMetadataToUpdate