func generateAccesses(meta *bigquery.DatasetMetadataToUpdate, entities []string, role bigquery.AccessRole,
	entityType bigquery.EntityType) {

	for _, entity := range entities {
		meta.Access = append(meta.Access, &bigquery.AccessEntry{
			Role:       role,
			EntityType: entityType,
			Entity:     entity,
		})
	}
}
// generateAccesses update the AccessEntries for a given bigquery.DatasetMetadataToUpdate
generateAccesses update the AccessEntries for a given bigquery.DatasetMetadataToUpdate
// generateAccesses update the AccessEntries for a given bigquery . DatasetMetadataToUpdate
func generateAccesses(meta *bigquery.DatasetMetadataToUpdate, entities []string, role bigquery.AccessRole,
	entityType bigquery.EntityType) {
	for _, entity := range entities {
		meta.Access = append(meta.Access, &bigquery.AccessEntry{
			Role:       role,
			EntityType: entityType,
			Entity:     entity,
		})
	}
}
func generateAccesses ( meta * bigquery . DatasetMetadataToUpdate , entities [ ] string , role bigquery . AccessRole , entityType bigquery . EntityType ) { for _ , entity := range entities { meta . Access = append ( meta . Access , & bigquery . AccessEntry { Role : role , EntityType : entityType , Entity : entity , } ) } }
generateAccesses update the AccessEntries for a given bigquery.DatasetMetadataToUpdate
generateAccesses update the AccessEntries for a given bigquery . DatasetMetadataToUpdate