DatasetIamPolicyArgs

data class DatasetIamPolicyArgs(val datasetId: Output<String>? = null, val policyData: Output<String>? = null) : ConvertibleToJava<DatasetIamPolicyArgs>

Import

IAM member imports use space-delimited identifiers; the resource in question, the role, and the account. This member resource can be imported using the dataset_id, role, and account e.g.

$ pulumi import gcp:healthcare/datasetIamPolicy:DatasetIamPolicy dataset_iam "your-project-id/location-name/dataset-name roles/viewer user:foo@example.com"

IAM binding imports use space-delimited identifiers; the resource in question and the role. This binding resource can be imported using the dataset_id and role, e.g.

$ pulumi import gcp:healthcare/datasetIamPolicy:DatasetIamPolicy dataset_iam "your-project-id/location-name/dataset-name roles/viewer"

IAM policy imports use the identifier of the resource in question. This policy resource can be imported using the dataset_id, role, and account e.g.

$ pulumi import gcp:healthcare/datasetIamPolicy:DatasetIamPolicy dataset_iam your-project-id/location-name/dataset-name

->Custom RolesIf you're importing a IAM resource with a custom role, make sure to use the full name of the custom role, e.g. [projects/my-project|organizations/my-org]/roles/my-custom-role.

Constructors

Link copied to clipboard
fun DatasetIamPolicyArgs(datasetId: Output<String>? = null, policyData: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): DatasetIamPolicyArgs

Properties

Link copied to clipboard
val datasetId: Output<String>? = null

The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider's project setting will be used as a fallback.

Link copied to clipboard
val policyData: Output<String>? = null

The policy data generated by a gcp.organizations.getIAMPolicy data source.