DatasetAccessArgs class
The set of arguments for DatasetAccess. The set of arguments for DatasetAccess.
Constructors
-
DatasetAccessArgs({Input<
DatasetAccessAuthorizedDataset?> ? authorizedDataset, Input<DatasetAccessCondition?> ? condition, required Input<String> datasetId, Input<String?> ? deletionPolicy, Input<String?> ? domain, Input<String?> ? groupByEmail, Input<String?> ? iamMember, Input<String?> ? project, Input<String?> ? role, Input<DatasetAccessRoutine?> ? routine, Input<String?> ? specialGroup, Input<String?> ? userByEmail, Input<DatasetAccessView?> ? view}) -
Creates a new DatasetAccessArgs.
authorizedDatasetGrants all resources of particular types in a particular dataset read access to the current dataset.conditionCondition for the binding. If CEL expression in this field is true, thisdatasetIdA unique ID for this dataset, without the project name. The IDdeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.domainA domain to grant access to. Any users signed in with thegroupByEmailAn email address of a Google Group to grant access to.iamMemberSome other type of member that appears in the IAM Policy but isn't a user,projectThe ID of the project in which the resource belongs.roleDescribes the rights granted to the user specified by the otherroutineA routine from a different dataset to grant access to. QueriesspecialGroupA special group to grant access to. Possible values include:userByEmailAn email address of a user to grant access to. For example:viewA view from a different dataset to grant access to. Queriesconst -
DatasetAccessArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
Grants all resources of particular types in a particular dataset read access to the current dataset.
Structure is documented below.
final
-
condition
→ Input<
DatasetAccessCondition?> ? -
Condition for the binding. If CEL expression in this field is true, this
access binding will be considered.
Structure is documented below.
final
-
datasetId
→ Input<
String> -
A unique ID for this dataset, without the project name. The ID
must contain only letters (a-z, A-Z), numbers (0-9), or
underscores (_). The maximum length is 1,024 characters.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
domain
→ Input<
String?> ? -
A domain to grant access to. Any users signed in with the
domain specified will be granted the specified access
final
-
groupByEmail
→ Input<
String?> ? -
An email address of a Google Group to grant access to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
iamMember
→ Input<
String?> ? -
Some other type of member that appears in the IAM Policy but isn't a user,
group, domain, or special group. For example:
allUsersfinal -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
role
→ Input<
String?> ? -
Describes the rights granted to the user specified by the other
member of the access object. Basic, predefined, and custom roles are
supported. Predefined roles that have equivalent basic roles are
swapped by the API to their basic counterparts, and will show a diff
post-create. See
official docs.
final
-
routine
→ Input<
DatasetAccessRoutine?> ? -
A routine from a different dataset to grant access to. Queries
executed against that routine will have read access to tables in
this dataset. 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.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
specialGroup
→ Input<
String?> ? -
A special group to grant access to. Possible values include:
final
-
userByEmail
→ Input<
String?> ? -
An email address of a user to grant access to. For example:
fred@example.com
final
-
view
→ Input<
DatasetAccessView?> ? -
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.
Structure is documented below.
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