pulumi-gcp 7.19.0a1712989149__py3-none-any.whl → 7.19.0a1713335069__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/accesscontextmanager/access_policy_iam_binding.py +136 -47
- pulumi_gcp/accesscontextmanager/access_policy_iam_member.py +136 -47
- pulumi_gcp/accesscontextmanager/access_policy_iam_policy.py +90 -84
- pulumi_gcp/apigateway/api_config_iam_binding.py +147 -52
- pulumi_gcp/apigateway/api_config_iam_member.py +147 -52
- pulumi_gcp/apigateway/api_config_iam_policy.py +96 -84
- pulumi_gcp/apigateway/api_iam_binding.py +147 -52
- pulumi_gcp/apigateway/api_iam_member.py +147 -52
- pulumi_gcp/apigateway/api_iam_policy.py +96 -84
- pulumi_gcp/apigateway/gateway_iam_binding.py +153 -52
- pulumi_gcp/apigateway/gateway_iam_member.py +153 -52
- pulumi_gcp/apigateway/gateway_iam_policy.py +102 -84
- pulumi_gcp/apigee/environment_iam_binding.py +139 -44
- pulumi_gcp/apigee/environment_iam_member.py +139 -44
- pulumi_gcp/apigee/environment_iam_policy.py +96 -84
- pulumi_gcp/artifactregistry/repository_iam_binding.py +156 -55
- pulumi_gcp/artifactregistry/repository_iam_member.py +156 -55
- pulumi_gcp/artifactregistry/repository_iam_policy.py +102 -84
- pulumi_gcp/bigquery/connection_iam_binding.py +158 -57
- pulumi_gcp/bigquery/connection_iam_member.py +158 -57
- pulumi_gcp/bigquery/connection_iam_policy.py +102 -84
- pulumi_gcp/bigquery/dataset_iam_binding.py +135 -40
- pulumi_gcp/bigquery/dataset_iam_member.py +135 -40
- pulumi_gcp/bigquery/dataset_iam_policy.py +96 -70
- pulumi_gcp/bigquery/iam_binding.py +283 -54
- pulumi_gcp/bigquery/iam_member.py +283 -54
- pulumi_gcp/bigquery/iam_policy.py +230 -84
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +155 -54
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +155 -54
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +102 -84
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +161 -54
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +161 -54
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +108 -84
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +155 -54
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +155 -54
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +102 -84
- pulumi_gcp/bigtable/instance_iam_binding.py +123 -32
- pulumi_gcp/bigtable/instance_iam_member.py +123 -32
- pulumi_gcp/bigtable/instance_iam_policy.py +92 -63
- pulumi_gcp/bigtable/table_iam_binding.py +160 -63
- pulumi_gcp/bigtable/table_iam_member.py +160 -63
- pulumi_gcp/bigtable/table_iam_policy.py +98 -63
- pulumi_gcp/billing/account_iam_binding.py +120 -31
- pulumi_gcp/billing/account_iam_member.py +120 -31
- pulumi_gcp/billing/account_iam_policy.py +90 -49
- pulumi_gcp/binaryauthorization/attestor_iam_binding.py +147 -52
- pulumi_gcp/binaryauthorization/attestor_iam_member.py +147 -52
- pulumi_gcp/binaryauthorization/attestor_iam_policy.py +96 -84
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +262 -57
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +262 -57
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +206 -84
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +259 -54
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +259 -54
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +206 -84
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +161 -60
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +161 -60
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +102 -84
- pulumi_gcp/cloudfunctions/function_iam_binding.py +153 -52
- pulumi_gcp/cloudfunctions/function_iam_member.py +153 -52
- pulumi_gcp/cloudfunctions/function_iam_policy.py +102 -84
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +154 -53
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +154 -53
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +102 -84
- pulumi_gcp/cloudrun/iam_binding.py +155 -54
- pulumi_gcp/cloudrun/iam_member.py +155 -54
- pulumi_gcp/cloudrun/iam_policy.py +102 -84
- pulumi_gcp/cloudrunv2/job_iam_binding.py +161 -60
- pulumi_gcp/cloudrunv2/job_iam_member.py +161 -60
- pulumi_gcp/cloudrunv2/job_iam_policy.py +102 -84
- pulumi_gcp/cloudrunv2/service_iam_binding.py +161 -60
- pulumi_gcp/cloudrunv2/service_iam_member.py +161 -60
- pulumi_gcp/cloudrunv2/service_iam_policy.py +102 -84
- pulumi_gcp/cloudtasks/queue_iam_binding.py +161 -60
- pulumi_gcp/cloudtasks/queue_iam_member.py +161 -60
- pulumi_gcp/cloudtasks/queue_iam_policy.py +102 -84
- pulumi_gcp/compute/backend_bucket_iam_binding.py +58 -59
- pulumi_gcp/compute/backend_bucket_iam_member.py +58 -59
- pulumi_gcp/compute/backend_bucket_iam_policy.py +0 -84
- pulumi_gcp/compute/backend_service_iam_binding.py +60 -61
- pulumi_gcp/compute/backend_service_iam_member.py +60 -61
- pulumi_gcp/compute/backend_service_iam_policy.py +0 -84
- pulumi_gcp/compute/disk_iam_binding.py +160 -59
- pulumi_gcp/compute/disk_iam_member.py +160 -59
- pulumi_gcp/compute/disk_iam_policy.py +102 -84
- pulumi_gcp/compute/image_iam_binding.py +271 -54
- pulumi_gcp/compute/image_iam_member.py +271 -54
- pulumi_gcp/compute/image_iam_policy.py +218 -84
- pulumi_gcp/compute/instance_iam_binding.py +283 -54
- pulumi_gcp/compute/instance_iam_member.py +283 -54
- pulumi_gcp/compute/instance_iam_policy.py +230 -84
- pulumi_gcp/compute/machine_image_iam_binding.py +271 -54
- pulumi_gcp/compute/machine_image_iam_member.py +271 -54
- pulumi_gcp/compute/machine_image_iam_policy.py +218 -84
- pulumi_gcp/compute/region_backend_service_iam_binding.py +60 -61
- pulumi_gcp/compute/region_backend_service_iam_member.py +60 -61
- pulumi_gcp/compute/region_backend_service_iam_policy.py +0 -84
- pulumi_gcp/compute/region_disk_iam_binding.py +160 -59
- pulumi_gcp/compute/region_disk_iam_member.py +160 -59
- pulumi_gcp/compute/region_disk_iam_policy.py +102 -84
- pulumi_gcp/compute/snapshot_iam_binding.py +154 -59
- pulumi_gcp/compute/snapshot_iam_member.py +154 -59
- pulumi_gcp/compute/snapshot_iam_policy.py +96 -84
- pulumi_gcp/compute/subnetwork_iam_binding.py +284 -55
- pulumi_gcp/compute/subnetwork_iam_member.py +284 -55
- pulumi_gcp/compute/subnetwork_iam_policy.py +230 -84
- pulumi_gcp/containeranalysis/note_iam_binding.py +154 -59
- pulumi_gcp/containeranalysis/note_iam_member.py +154 -59
- pulumi_gcp/containeranalysis/note_iam_policy.py +96 -84
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +141 -52
- pulumi_gcp/datacatalog/entry_group_iam_member.py +141 -52
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +90 -84
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +133 -44
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +133 -44
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +90 -84
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +142 -53
- pulumi_gcp/datacatalog/tag_template_iam_member.py +142 -53
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +90 -84
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +142 -53
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +142 -53
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +90 -84
- pulumi_gcp/dataplex/asset_iam_binding.py +165 -52
- pulumi_gcp/dataplex/asset_iam_member.py +165 -52
- pulumi_gcp/dataplex/asset_iam_policy.py +114 -84
- pulumi_gcp/dataplex/datascan_iam_binding.py +155 -54
- pulumi_gcp/dataplex/datascan_iam_member.py +155 -54
- pulumi_gcp/dataplex/datascan_iam_policy.py +102 -84
- pulumi_gcp/dataplex/lake_iam_binding.py +153 -52
- pulumi_gcp/dataplex/lake_iam_member.py +153 -52
- pulumi_gcp/dataplex/lake_iam_policy.py +102 -84
- pulumi_gcp/dataplex/task_iam_binding.py +161 -54
- pulumi_gcp/dataplex/task_iam_member.py +161 -54
- pulumi_gcp/dataplex/task_iam_policy.py +108 -84
- pulumi_gcp/dataplex/zone_iam_binding.py +159 -52
- pulumi_gcp/dataplex/zone_iam_member.py +159 -52
- pulumi_gcp/dataplex/zone_iam_policy.py +108 -84
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +173 -72
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +173 -72
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +102 -84
- pulumi_gcp/dataproc/cluster_iam_binding.py +130 -37
- pulumi_gcp/dataproc/cluster_iam_member.py +130 -37
- pulumi_gcp/dataproc/cluster_iam_policy.py +94 -63
- pulumi_gcp/dataproc/job_iam_binding.py +156 -0
- pulumi_gcp/dataproc/job_iam_member.py +156 -0
- pulumi_gcp/dataproc/job_iam_policy.py +94 -0
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +53 -54
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +53 -54
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +0 -84
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +156 -55
- pulumi_gcp/dataproc/metastore_service_iam_member.py +156 -55
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +102 -84
- pulumi_gcp/dns/dns_managed_zone_iam_binding.py +147 -52
- pulumi_gcp/dns/dns_managed_zone_iam_member.py +147 -52
- pulumi_gcp/dns/dns_managed_zone_iam_policy.py +96 -84
- pulumi_gcp/endpoints/consumers_iam_binding.py +83 -0
- pulumi_gcp/endpoints/consumers_iam_member.py +83 -0
- pulumi_gcp/endpoints/service_iam_binding.py +173 -0
- pulumi_gcp/endpoints/service_iam_member.py +173 -0
- pulumi_gcp/endpoints/service_iam_policy.py +90 -0
- pulumi_gcp/folder/iam_audit_config.py +270 -0
- pulumi_gcp/folder/iam_member.py +318 -0
- pulumi_gcp/folder/iam_policy.py +270 -0
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +162 -61
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +162 -61
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +102 -84
- pulumi_gcp/gkehub/feature_iam_binding.py +161 -60
- pulumi_gcp/gkehub/feature_iam_member.py +161 -60
- pulumi_gcp/gkehub/feature_iam_policy.py +102 -84
- pulumi_gcp/gkehub/membership_iam_binding.py +159 -58
- pulumi_gcp/gkehub/membership_iam_member.py +159 -58
- pulumi_gcp/gkehub/membership_iam_policy.py +102 -84
- pulumi_gcp/gkehub/scope_iam_binding.py +147 -52
- pulumi_gcp/gkehub/scope_iam_member.py +147 -52
- pulumi_gcp/gkehub/scope_iam_policy.py +96 -84
- pulumi_gcp/healthcare/consent_store_iam_binding.py +139 -44
- pulumi_gcp/healthcare/consent_store_iam_member.py +139 -44
- pulumi_gcp/healthcare/consent_store_iam_policy.py +96 -84
- pulumi_gcp/healthcare/dataset_iam_binding.py +126 -37
- pulumi_gcp/healthcare/dataset_iam_member.py +126 -37
- pulumi_gcp/healthcare/dataset_iam_policy.py +90 -63
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +126 -37
- pulumi_gcp/healthcare/dicom_store_iam_member.py +126 -37
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +90 -63
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +121 -32
- pulumi_gcp/healthcare/fhir_store_iam_member.py +121 -32
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +90 -63
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +121 -32
- pulumi_gcp/healthcare/hl7_store_iam_member.py +121 -32
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +90 -63
- pulumi_gcp/iap/app_engine_service_iam_binding.py +284 -55
- pulumi_gcp/iap/app_engine_service_iam_member.py +284 -55
- pulumi_gcp/iap/app_engine_service_iam_policy.py +230 -84
- pulumi_gcp/iap/app_engine_version_iam_binding.py +297 -56
- pulumi_gcp/iap/app_engine_version_iam_member.py +297 -56
- pulumi_gcp/iap/app_engine_version_iam_policy.py +242 -84
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +283 -54
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +283 -54
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +230 -84
- pulumi_gcp/iap/tunnel_iam_binding.py +259 -54
- pulumi_gcp/iap/tunnel_iam_member.py +259 -54
- pulumi_gcp/iap/tunnel_iam_policy.py +206 -84
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +283 -54
- pulumi_gcp/iap/tunnel_instance_iam_member.py +283 -54
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +230 -84
- pulumi_gcp/iap/web_backend_service_iam_binding.py +272 -55
- pulumi_gcp/iap/web_backend_service_iam_member.py +272 -55
- pulumi_gcp/iap/web_backend_service_iam_policy.py +218 -84
- pulumi_gcp/iap/web_iam_binding.py +259 -54
- pulumi_gcp/iap/web_iam_member.py +259 -54
- pulumi_gcp/iap/web_iam_policy.py +206 -84
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +284 -55
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +284 -55
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +230 -84
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +271 -54
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +271 -54
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +218 -84
- pulumi_gcp/iap/web_type_compute_iam_binding.py +259 -54
- pulumi_gcp/iap/web_type_compute_iam_member.py +259 -54
- pulumi_gcp/iap/web_type_compute_iam_policy.py +206 -84
- pulumi_gcp/kms/crypto_key_iam_binding.py +36 -37
- pulumi_gcp/kms/crypto_key_iam_member.py +36 -37
- pulumi_gcp/kms/crypto_key_iam_policy.py +0 -63
- pulumi_gcp/kms/key_ring_iam_binding.py +253 -32
- pulumi_gcp/kms/key_ring_iam_member.py +253 -32
- pulumi_gcp/kms/key_ring_iam_policy.py +222 -63
- pulumi_gcp/networksecurity/address_group_iam_policy.py +0 -84
- pulumi_gcp/notebooks/instance_iam_binding.py +154 -53
- pulumi_gcp/notebooks/instance_iam_member.py +154 -53
- pulumi_gcp/notebooks/instance_iam_policy.py +102 -84
- pulumi_gcp/notebooks/runtime_iam_binding.py +155 -54
- pulumi_gcp/notebooks/runtime_iam_member.py +155 -54
- pulumi_gcp/notebooks/runtime_iam_policy.py +102 -84
- pulumi_gcp/organizations/iam_member.py +330 -0
- pulumi_gcp/organizations/iam_policy.py +282 -0
- pulumi_gcp/projects/iam_audit_config.py +270 -0
- pulumi_gcp/projects/iam_binding.py +318 -0
- pulumi_gcp/projects/iam_member.py +318 -0
- pulumi_gcp/projects/iam_policy.py +270 -0
- pulumi_gcp/pubsub/schema_iam_binding.py +148 -53
- pulumi_gcp/pubsub/schema_iam_member.py +148 -53
- pulumi_gcp/pubsub/schema_iam_policy.py +96 -84
- pulumi_gcp/pubsub/subscription_iam_binding.py +146 -57
- pulumi_gcp/pubsub/subscription_iam_member.py +146 -57
- pulumi_gcp/pubsub/subscription_iam_policy.py +90 -63
- pulumi_gcp/pubsub/topic_iam_binding.py +148 -53
- pulumi_gcp/pubsub/topic_iam_member.py +148 -53
- pulumi_gcp/pubsub/topic_iam_policy.py +96 -84
- pulumi_gcp/runtimeconfig/config_iam_binding.py +51 -52
- pulumi_gcp/runtimeconfig/config_iam_member.py +51 -52
- pulumi_gcp/runtimeconfig/config_iam_policy.py +0 -84
- pulumi_gcp/secretmanager/secret_iam_binding.py +147 -52
- pulumi_gcp/secretmanager/secret_iam_member.py +147 -52
- pulumi_gcp/secretmanager/secret_iam_policy.py +96 -84
- pulumi_gcp/serviceaccount/iam_binding.py +262 -51
- pulumi_gcp/serviceaccount/iam_member.py +262 -51
- pulumi_gcp/serviceaccount/iam_policy.py +212 -63
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +136 -47
- pulumi_gcp/servicedirectory/namespace_iam_member.py +136 -47
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +90 -84
- pulumi_gcp/servicedirectory/service_iam_binding.py +136 -47
- pulumi_gcp/servicedirectory/service_iam_member.py +136 -47
- pulumi_gcp/servicedirectory/service_iam_policy.py +90 -84
- pulumi_gcp/sourcerepo/repository_iam_binding.py +147 -52
- pulumi_gcp/sourcerepo/repository_iam_member.py +147 -52
- pulumi_gcp/sourcerepo/repository_iam_policy.py +96 -84
- pulumi_gcp/spanner/database_iam_binding.py +253 -32
- pulumi_gcp/spanner/database_iam_member.py +253 -32
- pulumi_gcp/spanner/database_iam_policy.py +222 -63
- pulumi_gcp/spanner/instance_iam_binding.py +121 -32
- pulumi_gcp/spanner/instance_iam_member.py +121 -32
- pulumi_gcp/spanner/instance_iam_policy.py +90 -63
- pulumi_gcp/storage/bucket_iam_binding.py +255 -50
- pulumi_gcp/storage/bucket_iam_member.py +255 -50
- pulumi_gcp/storage/bucket_iam_policy.py +206 -84
- pulumi_gcp/tags/tag_key_iam_binding.py +149 -60
- pulumi_gcp/tags/tag_key_iam_member.py +149 -60
- pulumi_gcp/tags/tag_key_iam_policy.py +90 -84
- pulumi_gcp/tags/tag_value_iam_binding.py +149 -60
- pulumi_gcp/tags/tag_value_iam_member.py +149 -60
- pulumi_gcp/tags/tag_value_iam_policy.py +90 -84
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +33 -34
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +33 -34
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +0 -84
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +51 -52
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +51 -52
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +0 -84
- pulumi_gcp/workstations/workstation_config_iam_binding.py +53 -54
- pulumi_gcp/workstations/workstation_config_iam_member.py +53 -54
- pulumi_gcp/workstations/workstation_config_iam_policy.py +0 -84
- pulumi_gcp/workstations/workstation_iam_binding.py +53 -54
- pulumi_gcp/workstations/workstation_iam_member.py +53 -54
- pulumi_gcp/workstations/workstation_iam_policy.py +0 -84
- {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/RECORD +295 -295
- {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/top_level.txt +0 -0
@@ -22,15 +22,6 @@ class DatabaseIAMPolicyArgs:
|
|
22
22
|
The set of arguments for constructing a DatabaseIAMPolicy resource.
|
23
23
|
:param pulumi.Input[str] database: The name of the Spanner database.
|
24
24
|
:param pulumi.Input[str] instance: The name of the Spanner instance the database belongs to.
|
25
|
-
|
26
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
27
|
-
Each entry can have one of the following values:
|
28
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
29
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
30
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
31
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
32
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
33
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
34
25
|
:param pulumi.Input[str] policy_data: The policy data generated by
|
35
26
|
a `organizations_get_iam_policy` data source.
|
36
27
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
@@ -59,15 +50,6 @@ class DatabaseIAMPolicyArgs:
|
|
59
50
|
def instance(self) -> pulumi.Input[str]:
|
60
51
|
"""
|
61
52
|
The name of the Spanner instance the database belongs to.
|
62
|
-
|
63
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
64
|
-
Each entry can have one of the following values:
|
65
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
66
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
67
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
68
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
69
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
70
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
71
53
|
"""
|
72
54
|
return pulumi.get(self, "instance")
|
73
55
|
|
@@ -115,15 +97,6 @@ class _DatabaseIAMPolicyState:
|
|
115
97
|
:param pulumi.Input[str] database: The name of the Spanner database.
|
116
98
|
:param pulumi.Input[str] etag: (Computed) The etag of the database's IAM policy.
|
117
99
|
:param pulumi.Input[str] instance: The name of the Spanner instance the database belongs to.
|
118
|
-
|
119
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
120
|
-
Each entry can have one of the following values:
|
121
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
122
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
123
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
124
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
125
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
126
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
127
100
|
:param pulumi.Input[str] policy_data: The policy data generated by
|
128
101
|
a `organizations_get_iam_policy` data source.
|
129
102
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
@@ -169,15 +142,6 @@ class _DatabaseIAMPolicyState:
|
|
169
142
|
def instance(self) -> Optional[pulumi.Input[str]]:
|
170
143
|
"""
|
171
144
|
The name of the Spanner instance the database belongs to.
|
172
|
-
|
173
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
174
|
-
Each entry can have one of the following values:
|
175
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
176
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
177
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
178
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
179
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
180
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
181
145
|
"""
|
182
146
|
return pulumi.get(self, "instance")
|
183
147
|
|
@@ -347,6 +311,117 @@ class DatabaseIAMPolicy(pulumi.CustomResource):
|
|
347
311
|
```
|
348
312
|
<!--End PulumiCodeChooser -->
|
349
313
|
|
314
|
+
## google\\_spanner\\_database\\_iam\\_policy
|
315
|
+
|
316
|
+
<!--Start PulumiCodeChooser -->
|
317
|
+
```python
|
318
|
+
import pulumi
|
319
|
+
import pulumi_gcp as gcp
|
320
|
+
|
321
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
322
|
+
role="roles/editor",
|
323
|
+
members=["user:jane@example.com"],
|
324
|
+
)])
|
325
|
+
database = gcp.spanner.DatabaseIAMPolicy("database",
|
326
|
+
instance="your-instance-name",
|
327
|
+
database="your-database-name",
|
328
|
+
policy_data=admin.policy_data)
|
329
|
+
```
|
330
|
+
<!--End PulumiCodeChooser -->
|
331
|
+
|
332
|
+
With IAM Conditions:
|
333
|
+
|
334
|
+
<!--Start PulumiCodeChooser -->
|
335
|
+
```python
|
336
|
+
import pulumi
|
337
|
+
import pulumi_gcp as gcp
|
338
|
+
|
339
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
340
|
+
role="roles/editor",
|
341
|
+
members=["user:jane@example.com"],
|
342
|
+
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
343
|
+
title="My Role",
|
344
|
+
description="Grant permissions on my_role",
|
345
|
+
expression="(resource.type == \\"spanner.googleapis.com/DatabaseRole\\" && (resource.name.endsWith(\\"/myrole\\")))",
|
346
|
+
),
|
347
|
+
)])
|
348
|
+
database = gcp.spanner.DatabaseIAMPolicy("database",
|
349
|
+
instance="your-instance-name",
|
350
|
+
database="your-database-name",
|
351
|
+
policy_data=admin.policy_data)
|
352
|
+
```
|
353
|
+
<!--End PulumiCodeChooser -->
|
354
|
+
|
355
|
+
## google\\_spanner\\_database\\_iam\\_binding
|
356
|
+
|
357
|
+
<!--Start PulumiCodeChooser -->
|
358
|
+
```python
|
359
|
+
import pulumi
|
360
|
+
import pulumi_gcp as gcp
|
361
|
+
|
362
|
+
database = gcp.spanner.DatabaseIAMBinding("database",
|
363
|
+
instance="your-instance-name",
|
364
|
+
database="your-database-name",
|
365
|
+
role="roles/compute.networkUser",
|
366
|
+
members=["user:jane@example.com"])
|
367
|
+
```
|
368
|
+
<!--End PulumiCodeChooser -->
|
369
|
+
|
370
|
+
With IAM Conditions:
|
371
|
+
|
372
|
+
<!--Start PulumiCodeChooser -->
|
373
|
+
```python
|
374
|
+
import pulumi
|
375
|
+
import pulumi_gcp as gcp
|
376
|
+
|
377
|
+
database = gcp.spanner.DatabaseIAMBinding("database",
|
378
|
+
instance="your-instance-name",
|
379
|
+
database="your-database-name",
|
380
|
+
role="roles/compute.networkUser",
|
381
|
+
members=["user:jane@example.com"],
|
382
|
+
condition=gcp.spanner.DatabaseIAMBindingConditionArgs(
|
383
|
+
title="My Role",
|
384
|
+
description="Grant permissions on my_role",
|
385
|
+
expression="(resource.type == \\"spanner.googleapis.com/DatabaseRole\\" && (resource.name.endsWith(\\"/myrole\\")))",
|
386
|
+
))
|
387
|
+
```
|
388
|
+
<!--End PulumiCodeChooser -->
|
389
|
+
|
390
|
+
## google\\_spanner\\_database\\_iam\\_member
|
391
|
+
|
392
|
+
<!--Start PulumiCodeChooser -->
|
393
|
+
```python
|
394
|
+
import pulumi
|
395
|
+
import pulumi_gcp as gcp
|
396
|
+
|
397
|
+
database = gcp.spanner.DatabaseIAMMember("database",
|
398
|
+
instance="your-instance-name",
|
399
|
+
database="your-database-name",
|
400
|
+
role="roles/compute.networkUser",
|
401
|
+
member="user:jane@example.com")
|
402
|
+
```
|
403
|
+
<!--End PulumiCodeChooser -->
|
404
|
+
|
405
|
+
With IAM Conditions:
|
406
|
+
|
407
|
+
<!--Start PulumiCodeChooser -->
|
408
|
+
```python
|
409
|
+
import pulumi
|
410
|
+
import pulumi_gcp as gcp
|
411
|
+
|
412
|
+
database = gcp.spanner.DatabaseIAMMember("database",
|
413
|
+
instance="your-instance-name",
|
414
|
+
database="your-database-name",
|
415
|
+
role="roles/compute.networkUser",
|
416
|
+
member="user:jane@example.com",
|
417
|
+
condition=gcp.spanner.DatabaseIAMMemberConditionArgs(
|
418
|
+
title="My Role",
|
419
|
+
description="Grant permissions on my_role",
|
420
|
+
expression="(resource.type == \\"spanner.googleapis.com/DatabaseRole\\" && (resource.name.endsWith(\\"/myrole\\")))",
|
421
|
+
))
|
422
|
+
```
|
423
|
+
<!--End PulumiCodeChooser -->
|
424
|
+
|
350
425
|
## Import
|
351
426
|
|
352
427
|
### Importing IAM policies
|
@@ -377,15 +452,6 @@ class DatabaseIAMPolicy(pulumi.CustomResource):
|
|
377
452
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
378
453
|
:param pulumi.Input[str] database: The name of the Spanner database.
|
379
454
|
:param pulumi.Input[str] instance: The name of the Spanner instance the database belongs to.
|
380
|
-
|
381
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
382
|
-
Each entry can have one of the following values:
|
383
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
384
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
385
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
386
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
387
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
388
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
389
455
|
:param pulumi.Input[str] policy_data: The policy data generated by
|
390
456
|
a `organizations_get_iam_policy` data source.
|
391
457
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
@@ -522,6 +588,117 @@ class DatabaseIAMPolicy(pulumi.CustomResource):
|
|
522
588
|
```
|
523
589
|
<!--End PulumiCodeChooser -->
|
524
590
|
|
591
|
+
## google\\_spanner\\_database\\_iam\\_policy
|
592
|
+
|
593
|
+
<!--Start PulumiCodeChooser -->
|
594
|
+
```python
|
595
|
+
import pulumi
|
596
|
+
import pulumi_gcp as gcp
|
597
|
+
|
598
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
599
|
+
role="roles/editor",
|
600
|
+
members=["user:jane@example.com"],
|
601
|
+
)])
|
602
|
+
database = gcp.spanner.DatabaseIAMPolicy("database",
|
603
|
+
instance="your-instance-name",
|
604
|
+
database="your-database-name",
|
605
|
+
policy_data=admin.policy_data)
|
606
|
+
```
|
607
|
+
<!--End PulumiCodeChooser -->
|
608
|
+
|
609
|
+
With IAM Conditions:
|
610
|
+
|
611
|
+
<!--Start PulumiCodeChooser -->
|
612
|
+
```python
|
613
|
+
import pulumi
|
614
|
+
import pulumi_gcp as gcp
|
615
|
+
|
616
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
617
|
+
role="roles/editor",
|
618
|
+
members=["user:jane@example.com"],
|
619
|
+
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
620
|
+
title="My Role",
|
621
|
+
description="Grant permissions on my_role",
|
622
|
+
expression="(resource.type == \\"spanner.googleapis.com/DatabaseRole\\" && (resource.name.endsWith(\\"/myrole\\")))",
|
623
|
+
),
|
624
|
+
)])
|
625
|
+
database = gcp.spanner.DatabaseIAMPolicy("database",
|
626
|
+
instance="your-instance-name",
|
627
|
+
database="your-database-name",
|
628
|
+
policy_data=admin.policy_data)
|
629
|
+
```
|
630
|
+
<!--End PulumiCodeChooser -->
|
631
|
+
|
632
|
+
## google\\_spanner\\_database\\_iam\\_binding
|
633
|
+
|
634
|
+
<!--Start PulumiCodeChooser -->
|
635
|
+
```python
|
636
|
+
import pulumi
|
637
|
+
import pulumi_gcp as gcp
|
638
|
+
|
639
|
+
database = gcp.spanner.DatabaseIAMBinding("database",
|
640
|
+
instance="your-instance-name",
|
641
|
+
database="your-database-name",
|
642
|
+
role="roles/compute.networkUser",
|
643
|
+
members=["user:jane@example.com"])
|
644
|
+
```
|
645
|
+
<!--End PulumiCodeChooser -->
|
646
|
+
|
647
|
+
With IAM Conditions:
|
648
|
+
|
649
|
+
<!--Start PulumiCodeChooser -->
|
650
|
+
```python
|
651
|
+
import pulumi
|
652
|
+
import pulumi_gcp as gcp
|
653
|
+
|
654
|
+
database = gcp.spanner.DatabaseIAMBinding("database",
|
655
|
+
instance="your-instance-name",
|
656
|
+
database="your-database-name",
|
657
|
+
role="roles/compute.networkUser",
|
658
|
+
members=["user:jane@example.com"],
|
659
|
+
condition=gcp.spanner.DatabaseIAMBindingConditionArgs(
|
660
|
+
title="My Role",
|
661
|
+
description="Grant permissions on my_role",
|
662
|
+
expression="(resource.type == \\"spanner.googleapis.com/DatabaseRole\\" && (resource.name.endsWith(\\"/myrole\\")))",
|
663
|
+
))
|
664
|
+
```
|
665
|
+
<!--End PulumiCodeChooser -->
|
666
|
+
|
667
|
+
## google\\_spanner\\_database\\_iam\\_member
|
668
|
+
|
669
|
+
<!--Start PulumiCodeChooser -->
|
670
|
+
```python
|
671
|
+
import pulumi
|
672
|
+
import pulumi_gcp as gcp
|
673
|
+
|
674
|
+
database = gcp.spanner.DatabaseIAMMember("database",
|
675
|
+
instance="your-instance-name",
|
676
|
+
database="your-database-name",
|
677
|
+
role="roles/compute.networkUser",
|
678
|
+
member="user:jane@example.com")
|
679
|
+
```
|
680
|
+
<!--End PulumiCodeChooser -->
|
681
|
+
|
682
|
+
With IAM Conditions:
|
683
|
+
|
684
|
+
<!--Start PulumiCodeChooser -->
|
685
|
+
```python
|
686
|
+
import pulumi
|
687
|
+
import pulumi_gcp as gcp
|
688
|
+
|
689
|
+
database = gcp.spanner.DatabaseIAMMember("database",
|
690
|
+
instance="your-instance-name",
|
691
|
+
database="your-database-name",
|
692
|
+
role="roles/compute.networkUser",
|
693
|
+
member="user:jane@example.com",
|
694
|
+
condition=gcp.spanner.DatabaseIAMMemberConditionArgs(
|
695
|
+
title="My Role",
|
696
|
+
description="Grant permissions on my_role",
|
697
|
+
expression="(resource.type == \\"spanner.googleapis.com/DatabaseRole\\" && (resource.name.endsWith(\\"/myrole\\")))",
|
698
|
+
))
|
699
|
+
```
|
700
|
+
<!--End PulumiCodeChooser -->
|
701
|
+
|
525
702
|
## Import
|
526
703
|
|
527
704
|
### Importing IAM policies
|
@@ -612,15 +789,6 @@ class DatabaseIAMPolicy(pulumi.CustomResource):
|
|
612
789
|
:param pulumi.Input[str] database: The name of the Spanner database.
|
613
790
|
:param pulumi.Input[str] etag: (Computed) The etag of the database's IAM policy.
|
614
791
|
:param pulumi.Input[str] instance: The name of the Spanner instance the database belongs to.
|
615
|
-
|
616
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
617
|
-
Each entry can have one of the following values:
|
618
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
619
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
620
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
621
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
622
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
623
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
624
792
|
:param pulumi.Input[str] policy_data: The policy data generated by
|
625
793
|
a `organizations_get_iam_policy` data source.
|
626
794
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
@@ -658,15 +826,6 @@ class DatabaseIAMPolicy(pulumi.CustomResource):
|
|
658
826
|
def instance(self) -> pulumi.Output[str]:
|
659
827
|
"""
|
660
828
|
The name of the Spanner instance the database belongs to.
|
661
|
-
|
662
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
663
|
-
Each entry can have one of the following values:
|
664
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
665
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
666
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
667
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
668
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
669
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
670
829
|
"""
|
671
830
|
return pulumi.get(self, "instance")
|
672
831
|
|
@@ -24,8 +24,7 @@ class InstanceIAMBindingArgs:
|
|
24
24
|
"""
|
25
25
|
The set of arguments for constructing a InstanceIAMBinding resource.
|
26
26
|
:param pulumi.Input[str] instance: The name of the instance.
|
27
|
-
|
28
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
27
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
29
28
|
Each entry can have one of the following values:
|
30
29
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
31
30
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -52,15 +51,6 @@ class InstanceIAMBindingArgs:
|
|
52
51
|
def instance(self) -> pulumi.Input[str]:
|
53
52
|
"""
|
54
53
|
The name of the instance.
|
55
|
-
|
56
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
57
|
-
Each entry can have one of the following values:
|
58
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
59
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
60
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
61
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
62
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
63
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
64
54
|
"""
|
65
55
|
return pulumi.get(self, "instance")
|
66
56
|
|
@@ -71,6 +61,16 @@ class InstanceIAMBindingArgs:
|
|
71
61
|
@property
|
72
62
|
@pulumi.getter
|
73
63
|
def members(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
64
|
+
"""
|
65
|
+
Identities that will be granted the privilege in `role`.
|
66
|
+
Each entry can have one of the following values:
|
67
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
68
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
69
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
70
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
71
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
72
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
73
|
+
"""
|
74
74
|
return pulumi.get(self, "members")
|
75
75
|
|
76
76
|
@members.setter
|
@@ -127,8 +127,7 @@ class _InstanceIAMBindingState:
|
|
127
127
|
Input properties used for looking up and filtering InstanceIAMBinding resources.
|
128
128
|
:param pulumi.Input[str] etag: (Computed) The etag of the instance's IAM policy.
|
129
129
|
:param pulumi.Input[str] instance: The name of the instance.
|
130
|
-
|
131
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
130
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
132
131
|
Each entry can have one of the following values:
|
133
132
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
134
133
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -181,15 +180,6 @@ class _InstanceIAMBindingState:
|
|
181
180
|
def instance(self) -> Optional[pulumi.Input[str]]:
|
182
181
|
"""
|
183
182
|
The name of the instance.
|
184
|
-
|
185
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
186
|
-
Each entry can have one of the following values:
|
187
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
188
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
189
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
190
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
191
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
192
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
193
183
|
"""
|
194
184
|
return pulumi.get(self, "instance")
|
195
185
|
|
@@ -200,6 +190,16 @@ class _InstanceIAMBindingState:
|
|
200
190
|
@property
|
201
191
|
@pulumi.getter
|
202
192
|
def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
193
|
+
"""
|
194
|
+
Identities that will be granted the privilege in `role`.
|
195
|
+
Each entry can have one of the following values:
|
196
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
197
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
198
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
199
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
200
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
201
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
202
|
+
"""
|
203
203
|
return pulumi.get(self, "members")
|
204
204
|
|
205
205
|
@members.setter
|
@@ -304,6 +304,51 @@ class InstanceIAMBinding(pulumi.CustomResource):
|
|
304
304
|
```
|
305
305
|
<!--End PulumiCodeChooser -->
|
306
306
|
|
307
|
+
## google\\_spanner\\_instance\\_iam\\_policy
|
308
|
+
|
309
|
+
<!--Start PulumiCodeChooser -->
|
310
|
+
```python
|
311
|
+
import pulumi
|
312
|
+
import pulumi_gcp as gcp
|
313
|
+
|
314
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
315
|
+
role="roles/editor",
|
316
|
+
members=["user:jane@example.com"],
|
317
|
+
)])
|
318
|
+
instance = gcp.spanner.InstanceIAMPolicy("instance",
|
319
|
+
instance="your-instance-name",
|
320
|
+
policy_data=admin.policy_data)
|
321
|
+
```
|
322
|
+
<!--End PulumiCodeChooser -->
|
323
|
+
|
324
|
+
## google\\_spanner\\_instance\\_iam\\_binding
|
325
|
+
|
326
|
+
<!--Start PulumiCodeChooser -->
|
327
|
+
```python
|
328
|
+
import pulumi
|
329
|
+
import pulumi_gcp as gcp
|
330
|
+
|
331
|
+
instance = gcp.spanner.InstanceIAMBinding("instance",
|
332
|
+
instance="your-instance-name",
|
333
|
+
role="roles/spanner.databaseAdmin",
|
334
|
+
members=["user:jane@example.com"])
|
335
|
+
```
|
336
|
+
<!--End PulumiCodeChooser -->
|
337
|
+
|
338
|
+
## google\\_spanner\\_instance\\_iam\\_member
|
339
|
+
|
340
|
+
<!--Start PulumiCodeChooser -->
|
341
|
+
```python
|
342
|
+
import pulumi
|
343
|
+
import pulumi_gcp as gcp
|
344
|
+
|
345
|
+
instance = gcp.spanner.InstanceIAMMember("instance",
|
346
|
+
instance="your-instance-name",
|
347
|
+
role="roles/spanner.databaseAdmin",
|
348
|
+
member="user:jane@example.com")
|
349
|
+
```
|
350
|
+
<!--End PulumiCodeChooser -->
|
351
|
+
|
307
352
|
## Import
|
308
353
|
|
309
354
|
### Importing IAM policies
|
@@ -333,8 +378,7 @@ class InstanceIAMBinding(pulumi.CustomResource):
|
|
333
378
|
:param str resource_name: The name of the resource.
|
334
379
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
335
380
|
:param pulumi.Input[str] instance: The name of the instance.
|
336
|
-
|
337
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
381
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
338
382
|
Each entry can have one of the following values:
|
339
383
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
340
384
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -413,6 +457,51 @@ class InstanceIAMBinding(pulumi.CustomResource):
|
|
413
457
|
```
|
414
458
|
<!--End PulumiCodeChooser -->
|
415
459
|
|
460
|
+
## google\\_spanner\\_instance\\_iam\\_policy
|
461
|
+
|
462
|
+
<!--Start PulumiCodeChooser -->
|
463
|
+
```python
|
464
|
+
import pulumi
|
465
|
+
import pulumi_gcp as gcp
|
466
|
+
|
467
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
468
|
+
role="roles/editor",
|
469
|
+
members=["user:jane@example.com"],
|
470
|
+
)])
|
471
|
+
instance = gcp.spanner.InstanceIAMPolicy("instance",
|
472
|
+
instance="your-instance-name",
|
473
|
+
policy_data=admin.policy_data)
|
474
|
+
```
|
475
|
+
<!--End PulumiCodeChooser -->
|
476
|
+
|
477
|
+
## google\\_spanner\\_instance\\_iam\\_binding
|
478
|
+
|
479
|
+
<!--Start PulumiCodeChooser -->
|
480
|
+
```python
|
481
|
+
import pulumi
|
482
|
+
import pulumi_gcp as gcp
|
483
|
+
|
484
|
+
instance = gcp.spanner.InstanceIAMBinding("instance",
|
485
|
+
instance="your-instance-name",
|
486
|
+
role="roles/spanner.databaseAdmin",
|
487
|
+
members=["user:jane@example.com"])
|
488
|
+
```
|
489
|
+
<!--End PulumiCodeChooser -->
|
490
|
+
|
491
|
+
## google\\_spanner\\_instance\\_iam\\_member
|
492
|
+
|
493
|
+
<!--Start PulumiCodeChooser -->
|
494
|
+
```python
|
495
|
+
import pulumi
|
496
|
+
import pulumi_gcp as gcp
|
497
|
+
|
498
|
+
instance = gcp.spanner.InstanceIAMMember("instance",
|
499
|
+
instance="your-instance-name",
|
500
|
+
role="roles/spanner.databaseAdmin",
|
501
|
+
member="user:jane@example.com")
|
502
|
+
```
|
503
|
+
<!--End PulumiCodeChooser -->
|
504
|
+
|
416
505
|
## Import
|
417
506
|
|
418
507
|
### Importing IAM policies
|
@@ -505,8 +594,7 @@ class InstanceIAMBinding(pulumi.CustomResource):
|
|
505
594
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
506
595
|
:param pulumi.Input[str] etag: (Computed) The etag of the instance's IAM policy.
|
507
596
|
:param pulumi.Input[str] instance: The name of the instance.
|
508
|
-
|
509
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
597
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
510
598
|
Each entry can have one of the following values:
|
511
599
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
512
600
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -550,8 +638,14 @@ class InstanceIAMBinding(pulumi.CustomResource):
|
|
550
638
|
def instance(self) -> pulumi.Output[str]:
|
551
639
|
"""
|
552
640
|
The name of the instance.
|
641
|
+
"""
|
642
|
+
return pulumi.get(self, "instance")
|
553
643
|
|
554
|
-
|
644
|
+
@property
|
645
|
+
@pulumi.getter
|
646
|
+
def members(self) -> pulumi.Output[Sequence[str]]:
|
647
|
+
"""
|
648
|
+
Identities that will be granted the privilege in `role`.
|
555
649
|
Each entry can have one of the following values:
|
556
650
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
557
651
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -560,11 +654,6 @@ class InstanceIAMBinding(pulumi.CustomResource):
|
|
560
654
|
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
561
655
|
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
562
656
|
"""
|
563
|
-
return pulumi.get(self, "instance")
|
564
|
-
|
565
|
-
@property
|
566
|
-
@pulumi.getter
|
567
|
-
def members(self) -> pulumi.Output[Sequence[str]]:
|
568
657
|
return pulumi.get(self, "members")
|
569
658
|
|
570
659
|
@property
|