DatasetAccessItem class

Constructors

DatasetAccessItem({Input<DatasetAccessEntry>? dataset, Input<String>? domain, Input<String>? groupByEmail, Input<String>? iamMember, Input<String>? role, Input<RoutineReference>? routine, Input<String>? specialGroup, Input<String>? userByEmail, Input<TableReference>? view})
Creates a new DatasetAccessItem. dataset Pick one A grant authorizing all resources of a particular type in a particular dataset access to this dataset. Only views are supported for now. The role field is not required when this field is set. If that dataset is deleted and re-created, its access needs to be granted again via an update operation. domain Pick one A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: "example.com". Maps to IAM policy member "domain:DOMAIN". groupByEmail Pick one An email address of a Google Group to grant access to. Maps to IAM policy member "group:GROUP". iamMember Pick one Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. role Required An IAM role ID that should be granted to the user, group, or domain specified in this access entry. The following legacy mappings will be applied: OWNER roles/bigquery.dataOwner WRITER roles/bigquery.dataEditor READER roles/bigquery.dataViewer This field will accept any of the above formats, but will return only the legacy format. For example, if you set this field to "roles/bigquery.dataOwner", it will be returned back as "OWNER". routine Pick one A routine from a different dataset to grant access to. Queries executed against that routine will have read access to views/tables/routines in this dataset. Only UDF is supported for now. The role field is not required when this field is set. If that routine is updated by any user, access to the routine needs to be granted again via an update operation. specialGroup Pick one A special group to grant access to. Possible values include: projectOwners: Owners of the enclosing project. projectReaders: Readers of the enclosing project. projectWriters: Writers of the enclosing project. allAuthenticatedUsers: All authenticated BigQuery users. Maps to similarly-named IAM members. userByEmail Pick one An email address of a user to grant access to. For example: fred@example.com. Maps to IAM policy member "user:EMAIL" or "serviceAccount:EMAIL". view Pick one A view from a different dataset to grant access to. Queries executed against that view will have read access to tables in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation.
const
DatasetAccessItem.fromMap(Map<String, dynamic> map)
factory

Properties

dataset → Input<DatasetAccessEntry>?
Pick one A grant authorizing all resources of a particular type in a particular dataset access to this dataset. Only views are supported for now. The role field is not required when this field is set. If that dataset is deleted and re-created, its access needs to be granted again via an update operation.
final
domain → Input<String>?
Pick one A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: "example.com". Maps to IAM policy member "domain:DOMAIN".
final
groupByEmail → Input<String>?
Pick one An email address of a Google Group to grant access to. Maps to IAM policy member "group:GROUP".
final
hashCode → int
The hash code for this object.
no setterinherited
iamMember → Input<String>?
Pick one Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group.
final
role → Input<String>?
Required An IAM role ID that should be granted to the user, group, or domain specified in this access entry. The following legacy mappings will be applied: OWNER roles/bigquery.dataOwner WRITER roles/bigquery.dataEditor READER roles/bigquery.dataViewer This field will accept any of the above formats, but will return only the legacy format. For example, if you set this field to "roles/bigquery.dataOwner", it will be returned back as "OWNER".
final
routine → Input<RoutineReference>?
Pick one A routine from a different dataset to grant access to. Queries executed against that routine will have read access to views/tables/routines in this dataset. Only UDF is supported for now. The role field is not required when this field is set. If that routine is updated by any user, access to the routine needs to be granted again via an update operation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
specialGroup → Input<String>?
Pick one A special group to grant access to. Possible values include: projectOwners: Owners of the enclosing project. projectReaders: Readers of the enclosing project. projectWriters: Writers of the enclosing project. allAuthenticatedUsers: All authenticated BigQuery users. Maps to similarly-named IAM members.
final
userByEmail → Input<String>?
Pick one An email address of a user to grant access to. For example: fred@example.com. Maps to IAM policy member "user:EMAIL" or "serviceAccount:EMAIL".
final
view → Input<TableReference>?
Pick one A view from a different dataset to grant access to. Queries executed against that view will have read access to tables in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited