Class Dataset.AccessData
Inheritance
Inherited Members
Namespace: Google.Apis.Bigquery.v2.Data
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class AccessData
Properties
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".
Declaration
[JsonProperty("domain")]
public virtual string Domain { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GroupByEmail
[Pick one] An email address of a Google Group to grant access to. Maps to IAM policy member "group:GROUP".
Declaration
[JsonProperty("groupByEmail")]
public virtual string GroupByEmail { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IamMember
[Pick one] Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group.
Declaration
[JsonProperty("iamMember")]
public virtual string IamMember { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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".
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
[JsonProperty("specialGroup")]
public virtual string SpecialGroup { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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".
Declaration
[JsonProperty("userByEmail")]
public virtual string UserByEmail { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
[JsonProperty("view")]
public virtual TableReference View { get; set; }
Property Value
Type | Description |
---|---|
TableReference |