pulumi-gcp 8.20.0a1739946722__py3-none-any.whl → 8.21.0a1740551699__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/__init__.py +48 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +168 -8
- pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
- pulumi_gcp/accesscontextmanager/outputs.py +104 -8
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +78 -3
- pulumi_gcp/alloydb/__init__.py +1 -0
- pulumi_gcp/alloydb/get_instance.py +466 -0
- pulumi_gcp/alloydb/outputs.py +352 -0
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +20 -2
- pulumi_gcp/apigateway/get_api_iam_policy.py +20 -2
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +22 -2
- pulumi_gcp/apigee/get_environment_iam_policy.py +2 -2
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -2
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +2 -2
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -2
- pulumi_gcp/bigquery/connection.py +2 -14
- pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
- pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +8 -8
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -2
- pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +2 -2
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +2 -2
- pulumi_gcp/cloudfunctions/get_function_iam_policy.py +2 -2
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +6 -3
- pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -2
- pulumi_gcp/cloudrun/outputs.py +4 -2
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -2
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -2
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -2
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +2 -2
- pulumi_gcp/composer/_inputs.py +6 -6
- pulumi_gcp/composer/outputs.py +8 -8
- pulumi_gcp/compute/_inputs.py +756 -30
- pulumi_gcp/compute/firewall_policy_rule.py +0 -2
- pulumi_gcp/compute/get_backend_bucket_iam_policy.py +20 -2
- pulumi_gcp/compute/get_backend_service_iam_policy.py +20 -2
- pulumi_gcp/compute/get_disk_iam_policy.py +2 -2
- pulumi_gcp/compute/get_hc_vpn_gateway.py +45 -1
- pulumi_gcp/compute/get_image_iam_policy.py +2 -2
- pulumi_gcp/compute/get_instance_iam_policy.py +2 -2
- pulumi_gcp/compute/get_instance_template_iam_policy.py +2 -2
- pulumi_gcp/compute/get_machine_image_iam_policy.py +20 -2
- pulumi_gcp/compute/get_region_backend_service_iam_policy.py +22 -2
- pulumi_gcp/compute/get_region_disk_iam_policy.py +2 -2
- pulumi_gcp/compute/get_snapshot_iam_policy.py +2 -2
- pulumi_gcp/compute/get_subnetwork_iam_policy.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +189 -2
- pulumi_gcp/compute/instance_template.py +14 -35
- pulumi_gcp/compute/outputs.py +796 -18
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +447 -3
- pulumi_gcp/container/outputs.py +469 -5
- pulumi_gcp/containeranalysis/get_note_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/entry_group_iam_member.py +8 -8
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +8 -8
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_member.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +8 -8
- pulumi_gcp/dataform/get_repository_iam_policy.py +22 -2
- pulumi_gcp/datafusion/get_instance_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_asset_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_lake_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_task_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_zone_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -2
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +8 -8
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +8 -8
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_member.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +8 -8
- pulumi_gcp/dns/get_managed_zone_iam_policy.py +2 -2
- pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
- pulumi_gcp/eventarc/_inputs.py +29 -8
- pulumi_gcp/eventarc/google_channel_config.py +58 -46
- pulumi_gcp/eventarc/outputs.py +20 -6
- pulumi_gcp/eventarc/trigger.py +95 -72
- pulumi_gcp/filestore/backup.py +4 -4
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/data_connect_service.py +937 -0
- pulumi_gcp/gemini/__init__.py +4 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting.py +607 -0
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +608 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +2 -2
- pulumi_gcp/gemini/logging_setting.py +42 -54
- pulumi_gcp/gemini/logging_setting_binding.py +722 -0
- pulumi_gcp/gemini/release_channel_setting.py +39 -43
- pulumi_gcp/gemini/release_channel_setting_binding.py +734 -0
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -2
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -2
- pulumi_gcp/healthcare/get_consent_store_iam_policy.py +2 -2
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_backend_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
- pulumi_gcp/kms/get_ekm_connection_iam_policy.py +2 -2
- pulumi_gcp/logging/get_log_view_iam_policy.py +2 -2
- pulumi_gcp/monitoring/_inputs.py +588 -0
- pulumi_gcp/monitoring/outputs.py +410 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/volume_quota_rule.py +895 -0
- pulumi_gcp/networksecurity/address_group_iam_binding.py +4 -4
- pulumi_gcp/networksecurity/address_group_iam_member.py +4 -4
- pulumi_gcp/networksecurity/address_group_iam_policy.py +4 -4
- pulumi_gcp/networkservices/authz_extension.py +8 -15
- pulumi_gcp/networkservices/mesh.py +79 -12
- pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -2
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -2
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/get_schema_iam_policy.py +2 -2
- pulumi_gcp/pubsub/get_topic_iam_policy.py +2 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/runtimeconfig/get_config_iam_policy.py +20 -2
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -2
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -2
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -2
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/mute_config.py +136 -3
- pulumi_gcp/securitycenter/v2_folder_notification_config.py +2 -14
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +2 -14
- pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +8 -8
- pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +8 -8
- pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +8 -8
- pulumi_gcp/securitycenter/v2_project_notification_config.py +2 -14
- pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +18 -2
- pulumi_gcp/servicedirectory/get_service_iam_policy.py +18 -2
- pulumi_gcp/sourcerepo/get_repository_iam_policy.py +2 -2
- pulumi_gcp/spanner/instance.py +0 -46
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/storage/bucket.py +30 -0
- pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
- pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
- pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +22 -2
- pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +20 -2
- pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +22 -2
- pulumi_gcp/workbench/get_instance_iam_policy.py +2 -2
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +24 -2
- pulumi_gcp/workstations/get_workstation_iam_policy.py +26 -2
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/RECORD +189 -182
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/top_level.txt +0 -0
pulumi_gcp/eventarc/outputs.py
CHANGED
@@ -59,11 +59,16 @@ class TriggerDestination(dict):
|
|
59
59
|
network_config: Optional['outputs.TriggerDestinationNetworkConfig'] = None,
|
60
60
|
workflow: Optional[str] = None):
|
61
61
|
"""
|
62
|
-
:param str cloud_function:
|
62
|
+
:param str cloud_function: (Output)
|
63
|
+
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
|
63
64
|
:param 'TriggerDestinationCloudRunServiceArgs' cloud_run_service: Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
|
65
|
+
Structure is documented below.
|
64
66
|
:param 'TriggerDestinationGkeArgs' gke: A GKE service capable of receiving events. The service should be running in the same project as the trigger.
|
67
|
+
Structure is documented below.
|
65
68
|
:param 'TriggerDestinationHttpEndpointArgs' http_endpoint: An HTTP endpoint destination described by an URI.
|
69
|
+
Structure is documented below.
|
66
70
|
:param 'TriggerDestinationNetworkConfigArgs' network_config: Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
|
71
|
+
Structure is documented below.
|
67
72
|
:param str workflow: The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
|
68
73
|
"""
|
69
74
|
if cloud_function is not None:
|
@@ -83,6 +88,7 @@ class TriggerDestination(dict):
|
|
83
88
|
@pulumi.getter(name="cloudFunction")
|
84
89
|
def cloud_function(self) -> Optional[str]:
|
85
90
|
"""
|
91
|
+
(Output)
|
86
92
|
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
|
87
93
|
"""
|
88
94
|
return pulumi.get(self, "cloud_function")
|
@@ -92,6 +98,7 @@ class TriggerDestination(dict):
|
|
92
98
|
def cloud_run_service(self) -> Optional['outputs.TriggerDestinationCloudRunService']:
|
93
99
|
"""
|
94
100
|
Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
|
101
|
+
Structure is documented below.
|
95
102
|
"""
|
96
103
|
return pulumi.get(self, "cloud_run_service")
|
97
104
|
|
@@ -100,6 +107,7 @@ class TriggerDestination(dict):
|
|
100
107
|
def gke(self) -> Optional['outputs.TriggerDestinationGke']:
|
101
108
|
"""
|
102
109
|
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
|
110
|
+
Structure is documented below.
|
103
111
|
"""
|
104
112
|
return pulumi.get(self, "gke")
|
105
113
|
|
@@ -108,6 +116,7 @@ class TriggerDestination(dict):
|
|
108
116
|
def http_endpoint(self) -> Optional['outputs.TriggerDestinationHttpEndpoint']:
|
109
117
|
"""
|
110
118
|
An HTTP endpoint destination described by an URI.
|
119
|
+
Structure is documented below.
|
111
120
|
"""
|
112
121
|
return pulumi.get(self, "http_endpoint")
|
113
122
|
|
@@ -116,6 +125,7 @@ class TriggerDestination(dict):
|
|
116
125
|
def network_config(self) -> Optional['outputs.TriggerDestinationNetworkConfig']:
|
117
126
|
"""
|
118
127
|
Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
|
128
|
+
Structure is documented below.
|
119
129
|
"""
|
120
130
|
return pulumi.get(self, "network_config")
|
121
131
|
|
@@ -274,6 +284,8 @@ class TriggerDestinationNetworkConfig(dict):
|
|
274
284
|
network_attachment: str):
|
275
285
|
"""
|
276
286
|
:param str network_attachment: Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
|
287
|
+
|
288
|
+
- - -
|
277
289
|
"""
|
278
290
|
pulumi.set(__self__, "network_attachment", network_attachment)
|
279
291
|
|
@@ -282,6 +294,8 @@ class TriggerDestinationNetworkConfig(dict):
|
|
282
294
|
def network_attachment(self) -> str:
|
283
295
|
"""
|
284
296
|
Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
|
297
|
+
|
298
|
+
- - -
|
285
299
|
"""
|
286
300
|
return pulumi.get(self, "network_attachment")
|
287
301
|
|
@@ -295,8 +309,6 @@ class TriggerMatchingCriteria(dict):
|
|
295
309
|
"""
|
296
310
|
:param str attribute: Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute.
|
297
311
|
:param str value: Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
|
298
|
-
|
299
|
-
- - -
|
300
312
|
:param str operator: Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.
|
301
313
|
"""
|
302
314
|
pulumi.set(__self__, "attribute", attribute)
|
@@ -317,8 +329,6 @@ class TriggerMatchingCriteria(dict):
|
|
317
329
|
def value(self) -> str:
|
318
330
|
"""
|
319
331
|
Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
|
320
|
-
|
321
|
-
- - -
|
322
332
|
"""
|
323
333
|
return pulumi.get(self, "value")
|
324
334
|
|
@@ -337,6 +347,7 @@ class TriggerTransport(dict):
|
|
337
347
|
pubsub: Optional['outputs.TriggerTransportPubsub'] = None):
|
338
348
|
"""
|
339
349
|
:param 'TriggerTransportPubsubArgs' pubsub: The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
|
350
|
+
Structure is documented below.
|
340
351
|
"""
|
341
352
|
if pubsub is not None:
|
342
353
|
pulumi.set(__self__, "pubsub", pubsub)
|
@@ -346,6 +357,7 @@ class TriggerTransport(dict):
|
|
346
357
|
def pubsub(self) -> Optional['outputs.TriggerTransportPubsub']:
|
347
358
|
"""
|
348
359
|
The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
|
360
|
+
Structure is documented below.
|
349
361
|
"""
|
350
362
|
return pulumi.get(self, "pubsub")
|
351
363
|
|
@@ -356,7 +368,8 @@ class TriggerTransportPubsub(dict):
|
|
356
368
|
subscription: Optional[str] = None,
|
357
369
|
topic: Optional[str] = None):
|
358
370
|
"""
|
359
|
-
:param str subscription: Output
|
371
|
+
:param str subscription: (Output)
|
372
|
+
Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
|
360
373
|
:param str topic: Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion.
|
361
374
|
"""
|
362
375
|
if subscription is not None:
|
@@ -368,6 +381,7 @@ class TriggerTransportPubsub(dict):
|
|
368
381
|
@pulumi.getter
|
369
382
|
def subscription(self) -> Optional[str]:
|
370
383
|
"""
|
384
|
+
(Output)
|
371
385
|
Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
|
372
386
|
"""
|
373
387
|
return pulumi.get(self, "subscription")
|
pulumi_gcp/eventarc/trigger.py
CHANGED
@@ -34,25 +34,26 @@ class TriggerArgs:
|
|
34
34
|
"""
|
35
35
|
The set of arguments for constructing a Trigger resource.
|
36
36
|
:param pulumi.Input['TriggerDestinationArgs'] destination: Required. Destination specifies where the events should be sent to.
|
37
|
+
Structure is documented below.
|
37
38
|
:param pulumi.Input[str] location: The location for the resource
|
38
39
|
:param pulumi.Input[Sequence[pulumi.Input['TriggerMatchingCriteriaArgs']]] matching_criterias: Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
|
40
|
+
Structure is documented below.
|
39
41
|
:param pulumi.Input[str] channel: Optional. The name of the channel associated with the trigger in
|
40
|
-
|
42
|
+
'projects/{project}/locations/{location}/channels/{channel}' format. You must provide a channel to receive events from
|
41
43
|
Eventarc SaaS partners.
|
42
44
|
:param pulumi.Input[str] event_data_content_type: Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data
|
43
|
-
field. This is set to
|
45
|
+
field. This is set to 'application/json' if the value is not defined.
|
44
46
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is
|
45
47
|
non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
|
46
|
-
|
48
|
+
'effective_labels' for all of the labels present on the resource.
|
47
49
|
:param pulumi.Input[str] name: Required. The resource name of the trigger. Must be unique within the location on the project.
|
48
|
-
:param pulumi.Input[str] project: The project for the resource
|
49
50
|
:param pulumi.Input[str] service_account: Optional. The IAM service account email associated with the trigger. The service account represents the identity of the
|
50
|
-
trigger. The principal who calls this API must have
|
51
|
+
trigger. The principal who calls this API must have 'iam.serviceAccounts.actAs' permission in the service account. See
|
51
52
|
https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run
|
52
53
|
destinations, this service account is used to generate identity tokens when invoking the service. See
|
53
54
|
https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke
|
54
55
|
authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have
|
55
|
-
|
56
|
+
'roles/eventarc.eventReceiver' IAM role.
|
56
57
|
:param pulumi.Input['TriggerTransportArgs'] transport: Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field
|
57
58
|
contains a reference to that transport intermediary. This information can be used for debugging purposes.
|
58
59
|
"""
|
@@ -79,6 +80,7 @@ class TriggerArgs:
|
|
79
80
|
def destination(self) -> pulumi.Input['TriggerDestinationArgs']:
|
80
81
|
"""
|
81
82
|
Required. Destination specifies where the events should be sent to.
|
83
|
+
Structure is documented below.
|
82
84
|
"""
|
83
85
|
return pulumi.get(self, "destination")
|
84
86
|
|
@@ -103,6 +105,7 @@ class TriggerArgs:
|
|
103
105
|
def matching_criterias(self) -> pulumi.Input[Sequence[pulumi.Input['TriggerMatchingCriteriaArgs']]]:
|
104
106
|
"""
|
105
107
|
Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
|
108
|
+
Structure is documented below.
|
106
109
|
"""
|
107
110
|
return pulumi.get(self, "matching_criterias")
|
108
111
|
|
@@ -115,7 +118,7 @@ class TriggerArgs:
|
|
115
118
|
def channel(self) -> Optional[pulumi.Input[str]]:
|
116
119
|
"""
|
117
120
|
Optional. The name of the channel associated with the trigger in
|
118
|
-
|
121
|
+
'projects/{project}/locations/{location}/channels/{channel}' format. You must provide a channel to receive events from
|
119
122
|
Eventarc SaaS partners.
|
120
123
|
"""
|
121
124
|
return pulumi.get(self, "channel")
|
@@ -129,7 +132,7 @@ class TriggerArgs:
|
|
129
132
|
def event_data_content_type(self) -> Optional[pulumi.Input[str]]:
|
130
133
|
"""
|
131
134
|
Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data
|
132
|
-
field. This is set to
|
135
|
+
field. This is set to 'application/json' if the value is not defined.
|
133
136
|
"""
|
134
137
|
return pulumi.get(self, "event_data_content_type")
|
135
138
|
|
@@ -143,7 +146,7 @@ class TriggerArgs:
|
|
143
146
|
"""
|
144
147
|
Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is
|
145
148
|
non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
|
146
|
-
|
149
|
+
'effective_labels' for all of the labels present on the resource.
|
147
150
|
"""
|
148
151
|
return pulumi.get(self, "labels")
|
149
152
|
|
@@ -166,9 +169,6 @@ class TriggerArgs:
|
|
166
169
|
@property
|
167
170
|
@pulumi.getter
|
168
171
|
def project(self) -> Optional[pulumi.Input[str]]:
|
169
|
-
"""
|
170
|
-
The project for the resource
|
171
|
-
"""
|
172
172
|
return pulumi.get(self, "project")
|
173
173
|
|
174
174
|
@project.setter
|
@@ -180,12 +180,12 @@ class TriggerArgs:
|
|
180
180
|
def service_account(self) -> Optional[pulumi.Input[str]]:
|
181
181
|
"""
|
182
182
|
Optional. The IAM service account email associated with the trigger. The service account represents the identity of the
|
183
|
-
trigger. The principal who calls this API must have
|
183
|
+
trigger. The principal who calls this API must have 'iam.serviceAccounts.actAs' permission in the service account. See
|
184
184
|
https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run
|
185
185
|
destinations, this service account is used to generate identity tokens when invoking the service. See
|
186
186
|
https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke
|
187
187
|
authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have
|
188
|
-
|
188
|
+
'roles/eventarc.eventReceiver' IAM role.
|
189
189
|
"""
|
190
190
|
return pulumi.get(self, "service_account")
|
191
191
|
|
@@ -230,30 +230,32 @@ class _TriggerState:
|
|
230
230
|
"""
|
231
231
|
Input properties used for looking up and filtering Trigger resources.
|
232
232
|
:param pulumi.Input[str] channel: Optional. The name of the channel associated with the trigger in
|
233
|
-
|
233
|
+
'projects/{project}/locations/{location}/channels/{channel}' format. You must provide a channel to receive events from
|
234
234
|
Eventarc SaaS partners.
|
235
235
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] conditions: Output only. The reason(s) why a trigger is in FAILED state.
|
236
236
|
:param pulumi.Input[str] create_time: Output only. The creation time.
|
237
237
|
:param pulumi.Input['TriggerDestinationArgs'] destination: Required. Destination specifies where the events should be sent to.
|
238
|
+
Structure is documented below.
|
238
239
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
239
240
|
:param pulumi.Input[str] etag: Output only. This checksum is computed by the server based on the value of other fields, and may be sent only on create requests to ensure the client has an up-to-date value before proceeding.
|
240
241
|
:param pulumi.Input[str] event_data_content_type: Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data
|
241
|
-
field. This is set to
|
242
|
+
field. This is set to 'application/json' if the value is not defined.
|
242
243
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is
|
243
244
|
non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
|
244
|
-
|
245
|
+
'effective_labels' for all of the labels present on the resource.
|
245
246
|
:param pulumi.Input[str] location: The location for the resource
|
246
247
|
:param pulumi.Input[Sequence[pulumi.Input['TriggerMatchingCriteriaArgs']]] matching_criterias: Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
|
248
|
+
Structure is documented below.
|
247
249
|
:param pulumi.Input[str] name: Required. The resource name of the trigger. Must be unique within the location on the project.
|
248
|
-
:param pulumi.Input[str]
|
249
|
-
|
250
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
251
|
+
and default labels configured on the provider.
|
250
252
|
:param pulumi.Input[str] service_account: Optional. The IAM service account email associated with the trigger. The service account represents the identity of the
|
251
|
-
trigger. The principal who calls this API must have
|
253
|
+
trigger. The principal who calls this API must have 'iam.serviceAccounts.actAs' permission in the service account. See
|
252
254
|
https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run
|
253
255
|
destinations, this service account is used to generate identity tokens when invoking the service. See
|
254
256
|
https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke
|
255
257
|
authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have
|
256
|
-
|
258
|
+
'roles/eventarc.eventReceiver' IAM role.
|
257
259
|
:param pulumi.Input['TriggerTransportArgs'] transport: Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field
|
258
260
|
contains a reference to that transport intermediary. This information can be used for debugging purposes.
|
259
261
|
:param pulumi.Input[str] uid: Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
|
@@ -299,7 +301,7 @@ class _TriggerState:
|
|
299
301
|
def channel(self) -> Optional[pulumi.Input[str]]:
|
300
302
|
"""
|
301
303
|
Optional. The name of the channel associated with the trigger in
|
302
|
-
|
304
|
+
'projects/{project}/locations/{location}/channels/{channel}' format. You must provide a channel to receive events from
|
303
305
|
Eventarc SaaS partners.
|
304
306
|
"""
|
305
307
|
return pulumi.get(self, "channel")
|
@@ -337,6 +339,7 @@ class _TriggerState:
|
|
337
339
|
def destination(self) -> Optional[pulumi.Input['TriggerDestinationArgs']]:
|
338
340
|
"""
|
339
341
|
Required. Destination specifies where the events should be sent to.
|
342
|
+
Structure is documented below.
|
340
343
|
"""
|
341
344
|
return pulumi.get(self, "destination")
|
342
345
|
|
@@ -373,7 +376,7 @@ class _TriggerState:
|
|
373
376
|
def event_data_content_type(self) -> Optional[pulumi.Input[str]]:
|
374
377
|
"""
|
375
378
|
Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data
|
376
|
-
field. This is set to
|
379
|
+
field. This is set to 'application/json' if the value is not defined.
|
377
380
|
"""
|
378
381
|
return pulumi.get(self, "event_data_content_type")
|
379
382
|
|
@@ -387,7 +390,7 @@ class _TriggerState:
|
|
387
390
|
"""
|
388
391
|
Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is
|
389
392
|
non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
|
390
|
-
|
393
|
+
'effective_labels' for all of the labels present on the resource.
|
391
394
|
"""
|
392
395
|
return pulumi.get(self, "labels")
|
393
396
|
|
@@ -412,6 +415,7 @@ class _TriggerState:
|
|
412
415
|
def matching_criterias(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TriggerMatchingCriteriaArgs']]]]:
|
413
416
|
"""
|
414
417
|
Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
|
418
|
+
Structure is documented below.
|
415
419
|
"""
|
416
420
|
return pulumi.get(self, "matching_criterias")
|
417
421
|
|
@@ -434,9 +438,6 @@ class _TriggerState:
|
|
434
438
|
@property
|
435
439
|
@pulumi.getter
|
436
440
|
def project(self) -> Optional[pulumi.Input[str]]:
|
437
|
-
"""
|
438
|
-
The project for the resource
|
439
|
-
"""
|
440
441
|
return pulumi.get(self, "project")
|
441
442
|
|
442
443
|
@project.setter
|
@@ -447,7 +448,8 @@ class _TriggerState:
|
|
447
448
|
@pulumi.getter(name="pulumiLabels")
|
448
449
|
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
449
450
|
"""
|
450
|
-
The combination of labels configured directly on the resource
|
451
|
+
The combination of labels configured directly on the resource
|
452
|
+
and default labels configured on the provider.
|
451
453
|
"""
|
452
454
|
return pulumi.get(self, "pulumi_labels")
|
453
455
|
|
@@ -460,12 +462,12 @@ class _TriggerState:
|
|
460
462
|
def service_account(self) -> Optional[pulumi.Input[str]]:
|
461
463
|
"""
|
462
464
|
Optional. The IAM service account email associated with the trigger. The service account represents the identity of the
|
463
|
-
trigger. The principal who calls this API must have
|
465
|
+
trigger. The principal who calls this API must have 'iam.serviceAccounts.actAs' permission in the service account. See
|
464
466
|
https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run
|
465
467
|
destinations, this service account is used to generate identity tokens when invoking the service. See
|
466
468
|
https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke
|
467
469
|
authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have
|
468
|
-
|
470
|
+
'roles/eventarc.eventReceiver' IAM role.
|
469
471
|
"""
|
470
472
|
return pulumi.get(self, "service_account")
|
471
473
|
|
@@ -530,19 +532,24 @@ class Trigger(pulumi.CustomResource):
|
|
530
532
|
"""
|
531
533
|
The Eventarc Trigger resource
|
532
534
|
|
535
|
+
To get more information about Trigger, see:
|
536
|
+
|
537
|
+
* [API documentation](https://cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers)
|
538
|
+
* How-to Guides
|
539
|
+
* [Official Documentation](https://cloud.google.com/eventarc/standard/docs/overview#eventarc-triggers)
|
540
|
+
|
533
541
|
## Example Usage
|
534
542
|
|
535
|
-
###
|
543
|
+
### Eventarc Trigger With Cloud Run Destination
|
544
|
+
|
536
545
|
```python
|
537
546
|
import pulumi
|
538
547
|
import pulumi_gcp as gcp
|
539
548
|
|
549
|
+
foo = gcp.pubsub.Topic("foo", name="some-topic")
|
540
550
|
default = gcp.cloudrun.Service("default",
|
541
|
-
name="
|
542
|
-
location="
|
543
|
-
metadata={
|
544
|
-
"namespace": "my-project-name",
|
545
|
-
},
|
551
|
+
name="some-service",
|
552
|
+
location="us-central1",
|
546
553
|
template={
|
547
554
|
"spec": {
|
548
555
|
"containers": [{
|
@@ -560,8 +567,8 @@ class Trigger(pulumi.CustomResource):
|
|
560
567
|
"latest_revision": True,
|
561
568
|
}])
|
562
569
|
primary = gcp.eventarc.Trigger("primary",
|
563
|
-
name="
|
564
|
-
location="
|
570
|
+
name="some-trigger",
|
571
|
+
location="us-central1",
|
565
572
|
matching_criterias=[{
|
566
573
|
"attribute": "type",
|
567
574
|
"value": "google.cloud.pubsub.topic.v1.messagePublished",
|
@@ -569,13 +576,17 @@ class Trigger(pulumi.CustomResource):
|
|
569
576
|
destination={
|
570
577
|
"cloud_run_service": {
|
571
578
|
"service": default.name,
|
572
|
-
"region": "
|
579
|
+
"region": "us-central1",
|
573
580
|
},
|
574
581
|
},
|
575
582
|
labels={
|
576
583
|
"foo": "bar",
|
584
|
+
},
|
585
|
+
transport={
|
586
|
+
"pubsub": {
|
587
|
+
"topic": foo.id,
|
588
|
+
},
|
577
589
|
})
|
578
|
-
foo = gcp.pubsub.Topic("foo", name="topic")
|
579
590
|
```
|
580
591
|
|
581
592
|
## Import
|
@@ -605,25 +616,26 @@ class Trigger(pulumi.CustomResource):
|
|
605
616
|
:param str resource_name: The name of the resource.
|
606
617
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
607
618
|
:param pulumi.Input[str] channel: Optional. The name of the channel associated with the trigger in
|
608
|
-
|
619
|
+
'projects/{project}/locations/{location}/channels/{channel}' format. You must provide a channel to receive events from
|
609
620
|
Eventarc SaaS partners.
|
610
621
|
:param pulumi.Input[Union['TriggerDestinationArgs', 'TriggerDestinationArgsDict']] destination: Required. Destination specifies where the events should be sent to.
|
622
|
+
Structure is documented below.
|
611
623
|
:param pulumi.Input[str] event_data_content_type: Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data
|
612
|
-
field. This is set to
|
624
|
+
field. This is set to 'application/json' if the value is not defined.
|
613
625
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is
|
614
626
|
non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
|
615
|
-
|
627
|
+
'effective_labels' for all of the labels present on the resource.
|
616
628
|
:param pulumi.Input[str] location: The location for the resource
|
617
629
|
:param pulumi.Input[Sequence[pulumi.Input[Union['TriggerMatchingCriteriaArgs', 'TriggerMatchingCriteriaArgsDict']]]] matching_criterias: Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
|
630
|
+
Structure is documented below.
|
618
631
|
:param pulumi.Input[str] name: Required. The resource name of the trigger. Must be unique within the location on the project.
|
619
|
-
:param pulumi.Input[str] project: The project for the resource
|
620
632
|
:param pulumi.Input[str] service_account: Optional. The IAM service account email associated with the trigger. The service account represents the identity of the
|
621
|
-
trigger. The principal who calls this API must have
|
633
|
+
trigger. The principal who calls this API must have 'iam.serviceAccounts.actAs' permission in the service account. See
|
622
634
|
https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run
|
623
635
|
destinations, this service account is used to generate identity tokens when invoking the service. See
|
624
636
|
https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke
|
625
637
|
authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have
|
626
|
-
|
638
|
+
'roles/eventarc.eventReceiver' IAM role.
|
627
639
|
:param pulumi.Input[Union['TriggerTransportArgs', 'TriggerTransportArgsDict']] transport: Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field
|
628
640
|
contains a reference to that transport intermediary. This information can be used for debugging purposes.
|
629
641
|
"""
|
@@ -636,19 +648,24 @@ class Trigger(pulumi.CustomResource):
|
|
636
648
|
"""
|
637
649
|
The Eventarc Trigger resource
|
638
650
|
|
651
|
+
To get more information about Trigger, see:
|
652
|
+
|
653
|
+
* [API documentation](https://cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers)
|
654
|
+
* How-to Guides
|
655
|
+
* [Official Documentation](https://cloud.google.com/eventarc/standard/docs/overview#eventarc-triggers)
|
656
|
+
|
639
657
|
## Example Usage
|
640
658
|
|
641
|
-
###
|
659
|
+
### Eventarc Trigger With Cloud Run Destination
|
660
|
+
|
642
661
|
```python
|
643
662
|
import pulumi
|
644
663
|
import pulumi_gcp as gcp
|
645
664
|
|
665
|
+
foo = gcp.pubsub.Topic("foo", name="some-topic")
|
646
666
|
default = gcp.cloudrun.Service("default",
|
647
|
-
name="
|
648
|
-
location="
|
649
|
-
metadata={
|
650
|
-
"namespace": "my-project-name",
|
651
|
-
},
|
667
|
+
name="some-service",
|
668
|
+
location="us-central1",
|
652
669
|
template={
|
653
670
|
"spec": {
|
654
671
|
"containers": [{
|
@@ -666,8 +683,8 @@ class Trigger(pulumi.CustomResource):
|
|
666
683
|
"latest_revision": True,
|
667
684
|
}])
|
668
685
|
primary = gcp.eventarc.Trigger("primary",
|
669
|
-
name="
|
670
|
-
location="
|
686
|
+
name="some-trigger",
|
687
|
+
location="us-central1",
|
671
688
|
matching_criterias=[{
|
672
689
|
"attribute": "type",
|
673
690
|
"value": "google.cloud.pubsub.topic.v1.messagePublished",
|
@@ -675,13 +692,17 @@ class Trigger(pulumi.CustomResource):
|
|
675
692
|
destination={
|
676
693
|
"cloud_run_service": {
|
677
694
|
"service": default.name,
|
678
|
-
"region": "
|
695
|
+
"region": "us-central1",
|
679
696
|
},
|
680
697
|
},
|
681
698
|
labels={
|
682
699
|
"foo": "bar",
|
700
|
+
},
|
701
|
+
transport={
|
702
|
+
"pubsub": {
|
703
|
+
"topic": foo.id,
|
704
|
+
},
|
683
705
|
})
|
684
|
-
foo = gcp.pubsub.Topic("foo", name="topic")
|
685
706
|
```
|
686
707
|
|
687
708
|
## Import
|
@@ -802,30 +823,32 @@ class Trigger(pulumi.CustomResource):
|
|
802
823
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
803
824
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
804
825
|
:param pulumi.Input[str] channel: Optional. The name of the channel associated with the trigger in
|
805
|
-
|
826
|
+
'projects/{project}/locations/{location}/channels/{channel}' format. You must provide a channel to receive events from
|
806
827
|
Eventarc SaaS partners.
|
807
828
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] conditions: Output only. The reason(s) why a trigger is in FAILED state.
|
808
829
|
:param pulumi.Input[str] create_time: Output only. The creation time.
|
809
830
|
:param pulumi.Input[Union['TriggerDestinationArgs', 'TriggerDestinationArgsDict']] destination: Required. Destination specifies where the events should be sent to.
|
831
|
+
Structure is documented below.
|
810
832
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
811
833
|
:param pulumi.Input[str] etag: Output only. This checksum is computed by the server based on the value of other fields, and may be sent only on create requests to ensure the client has an up-to-date value before proceeding.
|
812
834
|
:param pulumi.Input[str] event_data_content_type: Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data
|
813
|
-
field. This is set to
|
835
|
+
field. This is set to 'application/json' if the value is not defined.
|
814
836
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is
|
815
837
|
non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
|
816
|
-
|
838
|
+
'effective_labels' for all of the labels present on the resource.
|
817
839
|
:param pulumi.Input[str] location: The location for the resource
|
818
840
|
:param pulumi.Input[Sequence[pulumi.Input[Union['TriggerMatchingCriteriaArgs', 'TriggerMatchingCriteriaArgsDict']]]] matching_criterias: Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
|
841
|
+
Structure is documented below.
|
819
842
|
:param pulumi.Input[str] name: Required. The resource name of the trigger. Must be unique within the location on the project.
|
820
|
-
:param pulumi.Input[str]
|
821
|
-
|
843
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
844
|
+
and default labels configured on the provider.
|
822
845
|
:param pulumi.Input[str] service_account: Optional. The IAM service account email associated with the trigger. The service account represents the identity of the
|
823
|
-
trigger. The principal who calls this API must have
|
846
|
+
trigger. The principal who calls this API must have 'iam.serviceAccounts.actAs' permission in the service account. See
|
824
847
|
https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run
|
825
848
|
destinations, this service account is used to generate identity tokens when invoking the service. See
|
826
849
|
https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke
|
827
850
|
authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have
|
828
|
-
|
851
|
+
'roles/eventarc.eventReceiver' IAM role.
|
829
852
|
:param pulumi.Input[Union['TriggerTransportArgs', 'TriggerTransportArgsDict']] transport: Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field
|
830
853
|
contains a reference to that transport intermediary. This information can be used for debugging purposes.
|
831
854
|
:param pulumi.Input[str] uid: Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
|
@@ -859,7 +882,7 @@ class Trigger(pulumi.CustomResource):
|
|
859
882
|
def channel(self) -> pulumi.Output[Optional[str]]:
|
860
883
|
"""
|
861
884
|
Optional. The name of the channel associated with the trigger in
|
862
|
-
|
885
|
+
'projects/{project}/locations/{location}/channels/{channel}' format. You must provide a channel to receive events from
|
863
886
|
Eventarc SaaS partners.
|
864
887
|
"""
|
865
888
|
return pulumi.get(self, "channel")
|
@@ -885,6 +908,7 @@ class Trigger(pulumi.CustomResource):
|
|
885
908
|
def destination(self) -> pulumi.Output['outputs.TriggerDestination']:
|
886
909
|
"""
|
887
910
|
Required. Destination specifies where the events should be sent to.
|
911
|
+
Structure is documented below.
|
888
912
|
"""
|
889
913
|
return pulumi.get(self, "destination")
|
890
914
|
|
@@ -909,7 +933,7 @@ class Trigger(pulumi.CustomResource):
|
|
909
933
|
def event_data_content_type(self) -> pulumi.Output[str]:
|
910
934
|
"""
|
911
935
|
Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data
|
912
|
-
field. This is set to
|
936
|
+
field. This is set to 'application/json' if the value is not defined.
|
913
937
|
"""
|
914
938
|
return pulumi.get(self, "event_data_content_type")
|
915
939
|
|
@@ -919,7 +943,7 @@ class Trigger(pulumi.CustomResource):
|
|
919
943
|
"""
|
920
944
|
Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is
|
921
945
|
non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
|
922
|
-
|
946
|
+
'effective_labels' for all of the labels present on the resource.
|
923
947
|
"""
|
924
948
|
return pulumi.get(self, "labels")
|
925
949
|
|
@@ -936,6 +960,7 @@ class Trigger(pulumi.CustomResource):
|
|
936
960
|
def matching_criterias(self) -> pulumi.Output[Sequence['outputs.TriggerMatchingCriteria']]:
|
937
961
|
"""
|
938
962
|
Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
|
963
|
+
Structure is documented below.
|
939
964
|
"""
|
940
965
|
return pulumi.get(self, "matching_criterias")
|
941
966
|
|
@@ -950,16 +975,14 @@ class Trigger(pulumi.CustomResource):
|
|
950
975
|
@property
|
951
976
|
@pulumi.getter
|
952
977
|
def project(self) -> pulumi.Output[str]:
|
953
|
-
"""
|
954
|
-
The project for the resource
|
955
|
-
"""
|
956
978
|
return pulumi.get(self, "project")
|
957
979
|
|
958
980
|
@property
|
959
981
|
@pulumi.getter(name="pulumiLabels")
|
960
982
|
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
961
983
|
"""
|
962
|
-
The combination of labels configured directly on the resource
|
984
|
+
The combination of labels configured directly on the resource
|
985
|
+
and default labels configured on the provider.
|
963
986
|
"""
|
964
987
|
return pulumi.get(self, "pulumi_labels")
|
965
988
|
|
@@ -968,12 +991,12 @@ class Trigger(pulumi.CustomResource):
|
|
968
991
|
def service_account(self) -> pulumi.Output[Optional[str]]:
|
969
992
|
"""
|
970
993
|
Optional. The IAM service account email associated with the trigger. The service account represents the identity of the
|
971
|
-
trigger. The principal who calls this API must have
|
994
|
+
trigger. The principal who calls this API must have 'iam.serviceAccounts.actAs' permission in the service account. See
|
972
995
|
https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run
|
973
996
|
destinations, this service account is used to generate identity tokens when invoking the service. See
|
974
997
|
https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke
|
975
998
|
authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have
|
976
|
-
|
999
|
+
'roles/eventarc.eventReceiver' IAM role.
|
977
1000
|
"""
|
978
1001
|
return pulumi.get(self, "service_account")
|
979
1002
|
|