pulumi-gcp 8.42.0a1756925793__py3-none-any.whl → 9.0.0a1__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 +35 -48
- pulumi_gcp/alloydb/backup.py +8 -4
- pulumi_gcp/alloydb/cluster.py +56 -10
- pulumi_gcp/alloydb/get_cluster.py +12 -1
- pulumi_gcp/alloydb/instance.py +10 -4
- pulumi_gcp/alloydb/user.py +8 -4
- pulumi_gcp/apigee/_inputs.py +151 -108
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +52 -40
- pulumi_gcp/apigee/outputs.py +92 -88
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/_inputs.py +0 -12
- pulumi_gcp/artifactregistry/get_npm_package.py +251 -0
- pulumi_gcp/artifactregistry/outputs.py +8 -16
- pulumi_gcp/beyondcorp/__init__.py +0 -5
- pulumi_gcp/beyondcorp/_inputs.py +0 -312
- pulumi_gcp/beyondcorp/outputs.py +0 -200
- pulumi_gcp/bigquery/_inputs.py +114 -4
- pulumi_gcp/bigquery/app_profile.py +52 -19
- pulumi_gcp/bigquery/dataset_access.py +8 -4
- pulumi_gcp/bigquery/outputs.py +75 -5
- pulumi_gcp/bigquery/table.py +21 -7
- pulumi_gcp/bigtable/app_profile.py +50 -15
- pulumi_gcp/bigtable/get_table_iam_policy.py +16 -18
- pulumi_gcp/bigtable/table.py +42 -42
- pulumi_gcp/bigtable/table_iam_binding.py +43 -43
- pulumi_gcp/bigtable/table_iam_member.py +43 -43
- pulumi_gcp/bigtable/table_iam_policy.py +43 -43
- pulumi_gcp/billing/_inputs.py +0 -6
- pulumi_gcp/billing/outputs.py +0 -4
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/get_dns_authorization.py +229 -0
- pulumi_gcp/certificatemanager/outputs.py +41 -0
- pulumi_gcp/cloudbuild/_inputs.py +289 -45
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -6
- pulumi_gcp/cloudbuild/get_trigger.py +12 -1
- pulumi_gcp/cloudbuild/outputs.py +366 -30
- pulumi_gcp/cloudbuild/trigger.py +156 -0
- pulumi_gcp/cloudbuild/worker_pool.py +23 -34
- pulumi_gcp/cloudfunctions/function.py +8 -4
- pulumi_gcp/cloudfunctionsv2/_inputs.py +23 -21
- pulumi_gcp/cloudfunctionsv2/outputs.py +17 -16
- pulumi_gcp/cloudrunv2/_inputs.py +23 -26
- pulumi_gcp/cloudrunv2/outputs.py +28 -30
- pulumi_gcp/cloudrunv2/service.py +18 -12
- pulumi_gcp/cloudtasks/queue.py +98 -2
- pulumi_gcp/colab/_inputs.py +1 -114
- pulumi_gcp/colab/outputs.py +1 -106
- pulumi_gcp/composer/environment.py +49 -28
- pulumi_gcp/compute/_inputs.py +80 -0
- pulumi_gcp/compute/backend_bucket.py +54 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/get_backend_bucket.py +12 -1
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/instance_from_machine_image.py +110 -75
- pulumi_gcp/compute/instance_from_template.py +110 -75
- pulumi_gcp/compute/instance_group_manager.py +14 -7
- pulumi_gcp/compute/instance_template.py +14 -7
- pulumi_gcp/compute/interconnect.py +8 -4
- pulumi_gcp/compute/network_peering_routes_config.py +0 -100
- pulumi_gcp/compute/organization_security_policy.py +83 -51
- pulumi_gcp/compute/outputs.py +128 -0
- pulumi_gcp/compute/packet_mirroring.py +6 -0
- pulumi_gcp/compute/region_instance_group_manager.py +14 -7
- pulumi_gcp/compute/subnetwork.py +0 -98
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/container/_inputs.py +20 -0
- pulumi_gcp/container/aws_cluster.py +42 -28
- pulumi_gcp/container/aws_node_pool.py +42 -28
- pulumi_gcp/container/azure_cluster.py +70 -35
- pulumi_gcp/container/azure_node_pool.py +42 -28
- pulumi_gcp/container/outputs.py +25 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +4 -2
- pulumi_gcp/databasemigrationservice/migration_job.py +4 -2
- pulumi_gcp/dataplex/asset.py +21 -28
- pulumi_gcp/dataplex/zone.py +21 -28
- pulumi_gcp/dataproc/cluster.py +14 -21
- pulumi_gcp/dataproc/workflow_template.py +105 -42
- pulumi_gcp/diagflow/_inputs.py +152 -0
- pulumi_gcp/diagflow/cx_agent.py +425 -0
- pulumi_gcp/diagflow/outputs.py +143 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +4 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +2 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -12
- pulumi_gcp/firebase/app_hosting_backend.py +4 -8
- pulumi_gcp/firebase/app_hosting_build.py +4 -8
- pulumi_gcp/firebase/app_hosting_traffic.py +6 -12
- pulumi_gcp/firebase/data_connect_service.py +4 -8
- pulumi_gcp/firebase/database_instance.py +4 -8
- pulumi_gcp/gkehub/_inputs.py +0 -60
- pulumi_gcp/gkehub/get_membership.py +1 -12
- pulumi_gcp/gkehub/membership.py +0 -70
- pulumi_gcp/gkehub/outputs.py +0 -36
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_region_forwarding_rule_service_iam_policy.py +182 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/{beyondcorp/application_iam_binding.py → iap/web_region_forwarding_rule_service_iam_binding.py} +321 -314
- pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_region_forwarding_rule_service_iam_member.py} +321 -314
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_policy.py +910 -0
- pulumi_gcp/kms/autokey_config.py +0 -2
- pulumi_gcp/kms/key_handle.py +0 -2
- pulumi_gcp/logging/billing_account_bucket_config.py +21 -7
- pulumi_gcp/logging/folder_bucket_config.py +21 -7
- pulumi_gcp/logging/organization_bucket_config.py +21 -7
- pulumi_gcp/memorystore/get_instance.py +1 -12
- pulumi_gcp/memorystore/instance.py +0 -70
- pulumi_gcp/monitoring/dashboard.py +14 -7
- pulumi_gcp/networkservices/lb_traffic_extension.py +24 -23
- pulumi_gcp/notebooks/__init__.py +0 -1
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +3 -3
- pulumi_gcp/organizations/project.py +21 -7
- pulumi_gcp/projects/service.py +2 -4
- pulumi_gcp/provider.py +20 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +0 -70
- pulumi_gcp/redis/get_cluster.py +1 -12
- pulumi_gcp/saasruntime/__init__.py +11 -0
- pulumi_gcp/saasruntime/_inputs.py +55 -0
- pulumi_gcp/saasruntime/outputs.py +39 -0
- pulumi_gcp/saasruntime/saa_s.py +815 -0
- pulumi_gcp/securesourcemanager/_inputs.py +20 -19
- pulumi_gcp/securesourcemanager/outputs.py +15 -14
- pulumi_gcp/serviceaccount/get_account_key.py +1 -21
- pulumi_gcp/sql/database_instance.py +61 -7
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +11 -0
- pulumi_gcp/sql/user.py +61 -0
- pulumi_gcp/storage/_inputs.py +7 -7
- pulumi_gcp/storage/bucket.py +14 -7
- pulumi_gcp/storage/outputs.py +7 -7
- pulumi_gcp/tpu/__init__.py +0 -2
- pulumi_gcp/tpu/_inputs.py +0 -93
- pulumi_gcp/tpu/outputs.py +0 -72
- pulumi_gcp/vertex/_inputs.py +8 -9
- pulumi_gcp/vertex/ai_endpoint.py +2 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -2
- pulumi_gcp/vertex/ai_index.py +24 -23
- pulumi_gcp/vertex/outputs.py +7 -8
- {pulumi_gcp-8.42.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/RECORD +143 -141
- pulumi_gcp/beyondcorp/application.py +0 -746
- pulumi_gcp/beyondcorp/application_iam_policy.py +0 -903
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +0 -182
- pulumi_gcp/notebooks/location.py +0 -285
- pulumi_gcp/tpu/get_tensorflow_versions.py +0 -184
- pulumi_gcp/tpu/node.py +0 -1062
- {pulumi_gcp-8.42.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudbuild/trigger.py
CHANGED
@@ -25,6 +25,7 @@ class TriggerArgs:
|
|
25
25
|
bitbucket_server_trigger_config: Optional[pulumi.Input['TriggerBitbucketServerTriggerConfigArgs']] = None,
|
26
26
|
build: Optional[pulumi.Input['TriggerBuildArgs']] = None,
|
27
27
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
28
|
+
developer_connect_event_config: Optional[pulumi.Input['TriggerDeveloperConnectEventConfigArgs']] = None,
|
28
29
|
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
29
30
|
filename: Optional[pulumi.Input[_builtins.str]] = None,
|
30
31
|
filter: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -55,6 +56,8 @@ class TriggerArgs:
|
|
55
56
|
:param pulumi.Input['TriggerBuildArgs'] build: Contents of the build template. Either a filename or build template must be provided.
|
56
57
|
Structure is documented below.
|
57
58
|
:param pulumi.Input[_builtins.str] description: Human-readable description of the trigger.
|
59
|
+
:param pulumi.Input['TriggerDeveloperConnectEventConfigArgs'] developer_connect_event_config: Configuration for triggers that respond to Developer Connect events.
|
60
|
+
Structure is documented below.
|
58
61
|
:param pulumi.Input[_builtins.bool] disabled: Whether the trigger is disabled or not. If true, the trigger will never result in a build.
|
59
62
|
:param pulumi.Input[_builtins.str] filename: Path, from the source root, to a file whose contents is used for the template.
|
60
63
|
Either a filename or build template must be provided. Set this only when using trigger_template or github.
|
@@ -128,6 +131,8 @@ class TriggerArgs:
|
|
128
131
|
pulumi.set(__self__, "build", build)
|
129
132
|
if description is not None:
|
130
133
|
pulumi.set(__self__, "description", description)
|
134
|
+
if developer_connect_event_config is not None:
|
135
|
+
pulumi.set(__self__, "developer_connect_event_config", developer_connect_event_config)
|
131
136
|
if disabled is not None:
|
132
137
|
pulumi.set(__self__, "disabled", disabled)
|
133
138
|
if filename is not None:
|
@@ -220,6 +225,19 @@ class TriggerArgs:
|
|
220
225
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
221
226
|
pulumi.set(self, "description", value)
|
222
227
|
|
228
|
+
@_builtins.property
|
229
|
+
@pulumi.getter(name="developerConnectEventConfig")
|
230
|
+
def developer_connect_event_config(self) -> Optional[pulumi.Input['TriggerDeveloperConnectEventConfigArgs']]:
|
231
|
+
"""
|
232
|
+
Configuration for triggers that respond to Developer Connect events.
|
233
|
+
Structure is documented below.
|
234
|
+
"""
|
235
|
+
return pulumi.get(self, "developer_connect_event_config")
|
236
|
+
|
237
|
+
@developer_connect_event_config.setter
|
238
|
+
def developer_connect_event_config(self, value: Optional[pulumi.Input['TriggerDeveloperConnectEventConfigArgs']]):
|
239
|
+
pulumi.set(self, "developer_connect_event_config", value)
|
240
|
+
|
223
241
|
@_builtins.property
|
224
242
|
@pulumi.getter
|
225
243
|
def disabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
@@ -502,6 +520,7 @@ class _TriggerState:
|
|
502
520
|
build: Optional[pulumi.Input['TriggerBuildArgs']] = None,
|
503
521
|
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
504
522
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
523
|
+
developer_connect_event_config: Optional[pulumi.Input['TriggerDeveloperConnectEventConfigArgs']] = None,
|
505
524
|
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
506
525
|
filename: Optional[pulumi.Input[_builtins.str]] = None,
|
507
526
|
filter: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -534,6 +553,8 @@ class _TriggerState:
|
|
534
553
|
Structure is documented below.
|
535
554
|
:param pulumi.Input[_builtins.str] create_time: Time when the trigger was created.
|
536
555
|
:param pulumi.Input[_builtins.str] description: Human-readable description of the trigger.
|
556
|
+
:param pulumi.Input['TriggerDeveloperConnectEventConfigArgs'] developer_connect_event_config: Configuration for triggers that respond to Developer Connect events.
|
557
|
+
Structure is documented below.
|
537
558
|
:param pulumi.Input[_builtins.bool] disabled: Whether the trigger is disabled or not. If true, the trigger will never result in a build.
|
538
559
|
:param pulumi.Input[_builtins.str] filename: Path, from the source root, to a file whose contents is used for the template.
|
539
560
|
Either a filename or build template must be provided. Set this only when using trigger_template or github.
|
@@ -610,6 +631,8 @@ class _TriggerState:
|
|
610
631
|
pulumi.set(__self__, "create_time", create_time)
|
611
632
|
if description is not None:
|
612
633
|
pulumi.set(__self__, "description", description)
|
634
|
+
if developer_connect_event_config is not None:
|
635
|
+
pulumi.set(__self__, "developer_connect_event_config", developer_connect_event_config)
|
613
636
|
if disabled is not None:
|
614
637
|
pulumi.set(__self__, "disabled", disabled)
|
615
638
|
if filename is not None:
|
@@ -716,6 +739,19 @@ class _TriggerState:
|
|
716
739
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
717
740
|
pulumi.set(self, "description", value)
|
718
741
|
|
742
|
+
@_builtins.property
|
743
|
+
@pulumi.getter(name="developerConnectEventConfig")
|
744
|
+
def developer_connect_event_config(self) -> Optional[pulumi.Input['TriggerDeveloperConnectEventConfigArgs']]:
|
745
|
+
"""
|
746
|
+
Configuration for triggers that respond to Developer Connect events.
|
747
|
+
Structure is documented below.
|
748
|
+
"""
|
749
|
+
return pulumi.get(self, "developer_connect_event_config")
|
750
|
+
|
751
|
+
@developer_connect_event_config.setter
|
752
|
+
def developer_connect_event_config(self, value: Optional[pulumi.Input['TriggerDeveloperConnectEventConfigArgs']]):
|
753
|
+
pulumi.set(self, "developer_connect_event_config", value)
|
754
|
+
|
719
755
|
@_builtins.property
|
720
756
|
@pulumi.getter
|
721
757
|
def disabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
@@ -1012,6 +1048,7 @@ class Trigger(pulumi.CustomResource):
|
|
1012
1048
|
bitbucket_server_trigger_config: Optional[pulumi.Input[Union['TriggerBitbucketServerTriggerConfigArgs', 'TriggerBitbucketServerTriggerConfigArgsDict']]] = None,
|
1013
1049
|
build: Optional[pulumi.Input[Union['TriggerBuildArgs', 'TriggerBuildArgsDict']]] = None,
|
1014
1050
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
1051
|
+
developer_connect_event_config: Optional[pulumi.Input[Union['TriggerDeveloperConnectEventConfigArgs', 'TriggerDeveloperConnectEventConfigArgsDict']]] = None,
|
1015
1052
|
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
1016
1053
|
filename: Optional[pulumi.Input[_builtins.str]] = None,
|
1017
1054
|
filter: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -1633,6 +1670,57 @@ class Trigger(pulumi.CustomResource):
|
|
1633
1670
|
"repo_type": "GITHUB",
|
1634
1671
|
})
|
1635
1672
|
```
|
1673
|
+
### Cloudbuild Trigger Developer Connect Pull
|
1674
|
+
|
1675
|
+
```python
|
1676
|
+
import pulumi
|
1677
|
+
import pulumi_gcp as gcp
|
1678
|
+
|
1679
|
+
developer_connect_trigger_pull = gcp.cloudbuild.Trigger("developer-connect-trigger-pull",
|
1680
|
+
location="us-central1",
|
1681
|
+
developer_connect_event_config={
|
1682
|
+
"git_repository_link": "projects/cryptic-tower-286020/locations/us-central1/connections/prod-bbs-push/gitRepositoryLinks/cbprob-prod-us-central1-push1",
|
1683
|
+
"pull_request": {
|
1684
|
+
"branch": "^master$",
|
1685
|
+
"invert_regex": False,
|
1686
|
+
"comment_control": "COMMENTS_ENABLED",
|
1687
|
+
},
|
1688
|
+
},
|
1689
|
+
filename="cloudbuild.yaml")
|
1690
|
+
```
|
1691
|
+
### Cloudbuild Trigger Developer Connect Push
|
1692
|
+
|
1693
|
+
```python
|
1694
|
+
import pulumi
|
1695
|
+
import pulumi_gcp as gcp
|
1696
|
+
|
1697
|
+
developer_connect_trigger_push = gcp.cloudbuild.Trigger("developer-connect-trigger-push",
|
1698
|
+
location="us-central1",
|
1699
|
+
developer_connect_event_config={
|
1700
|
+
"git_repository_link": "projects/cryptic-tower-286020/locations/us-central1/connections/prod-bbs-push/gitRepositoryLinks/cbprob-prod-us-central1-push1",
|
1701
|
+
"push": {
|
1702
|
+
"tag": "^0.1.*",
|
1703
|
+
"invert_regex": True,
|
1704
|
+
},
|
1705
|
+
},
|
1706
|
+
filename="cloudbuild.yaml")
|
1707
|
+
```
|
1708
|
+
### Cloudbuild Trigger Developer Connect Push Branch
|
1709
|
+
|
1710
|
+
```python
|
1711
|
+
import pulumi
|
1712
|
+
import pulumi_gcp as gcp
|
1713
|
+
|
1714
|
+
dc_trigger_regular_push_branch = gcp.cloudbuild.Trigger("dc-trigger-regular-push-branch",
|
1715
|
+
location="us-central1",
|
1716
|
+
developer_connect_event_config={
|
1717
|
+
"git_repository_link": "projects/cryptic-tower-286020/locations/us-central1/connections/prod-bbs-push/gitRepositoryLinks/cbprob-prod-us-central1-push1",
|
1718
|
+
"push": {
|
1719
|
+
"branch": "main",
|
1720
|
+
},
|
1721
|
+
},
|
1722
|
+
filename="cloudbuild.yaml")
|
1723
|
+
```
|
1636
1724
|
|
1637
1725
|
## Import
|
1638
1726
|
|
@@ -1675,6 +1763,8 @@ class Trigger(pulumi.CustomResource):
|
|
1675
1763
|
:param pulumi.Input[Union['TriggerBuildArgs', 'TriggerBuildArgsDict']] build: Contents of the build template. Either a filename or build template must be provided.
|
1676
1764
|
Structure is documented below.
|
1677
1765
|
:param pulumi.Input[_builtins.str] description: Human-readable description of the trigger.
|
1766
|
+
:param pulumi.Input[Union['TriggerDeveloperConnectEventConfigArgs', 'TriggerDeveloperConnectEventConfigArgsDict']] developer_connect_event_config: Configuration for triggers that respond to Developer Connect events.
|
1767
|
+
Structure is documented below.
|
1678
1768
|
:param pulumi.Input[_builtins.bool] disabled: Whether the trigger is disabled or not. If true, the trigger will never result in a build.
|
1679
1769
|
:param pulumi.Input[_builtins.str] filename: Path, from the source root, to a file whose contents is used for the template.
|
1680
1770
|
Either a filename or build template must be provided. Set this only when using trigger_template or github.
|
@@ -2347,6 +2437,57 @@ class Trigger(pulumi.CustomResource):
|
|
2347
2437
|
"repo_type": "GITHUB",
|
2348
2438
|
})
|
2349
2439
|
```
|
2440
|
+
### Cloudbuild Trigger Developer Connect Pull
|
2441
|
+
|
2442
|
+
```python
|
2443
|
+
import pulumi
|
2444
|
+
import pulumi_gcp as gcp
|
2445
|
+
|
2446
|
+
developer_connect_trigger_pull = gcp.cloudbuild.Trigger("developer-connect-trigger-pull",
|
2447
|
+
location="us-central1",
|
2448
|
+
developer_connect_event_config={
|
2449
|
+
"git_repository_link": "projects/cryptic-tower-286020/locations/us-central1/connections/prod-bbs-push/gitRepositoryLinks/cbprob-prod-us-central1-push1",
|
2450
|
+
"pull_request": {
|
2451
|
+
"branch": "^master$",
|
2452
|
+
"invert_regex": False,
|
2453
|
+
"comment_control": "COMMENTS_ENABLED",
|
2454
|
+
},
|
2455
|
+
},
|
2456
|
+
filename="cloudbuild.yaml")
|
2457
|
+
```
|
2458
|
+
### Cloudbuild Trigger Developer Connect Push
|
2459
|
+
|
2460
|
+
```python
|
2461
|
+
import pulumi
|
2462
|
+
import pulumi_gcp as gcp
|
2463
|
+
|
2464
|
+
developer_connect_trigger_push = gcp.cloudbuild.Trigger("developer-connect-trigger-push",
|
2465
|
+
location="us-central1",
|
2466
|
+
developer_connect_event_config={
|
2467
|
+
"git_repository_link": "projects/cryptic-tower-286020/locations/us-central1/connections/prod-bbs-push/gitRepositoryLinks/cbprob-prod-us-central1-push1",
|
2468
|
+
"push": {
|
2469
|
+
"tag": "^0.1.*",
|
2470
|
+
"invert_regex": True,
|
2471
|
+
},
|
2472
|
+
},
|
2473
|
+
filename="cloudbuild.yaml")
|
2474
|
+
```
|
2475
|
+
### Cloudbuild Trigger Developer Connect Push Branch
|
2476
|
+
|
2477
|
+
```python
|
2478
|
+
import pulumi
|
2479
|
+
import pulumi_gcp as gcp
|
2480
|
+
|
2481
|
+
dc_trigger_regular_push_branch = gcp.cloudbuild.Trigger("dc-trigger-regular-push-branch",
|
2482
|
+
location="us-central1",
|
2483
|
+
developer_connect_event_config={
|
2484
|
+
"git_repository_link": "projects/cryptic-tower-286020/locations/us-central1/connections/prod-bbs-push/gitRepositoryLinks/cbprob-prod-us-central1-push1",
|
2485
|
+
"push": {
|
2486
|
+
"branch": "main",
|
2487
|
+
},
|
2488
|
+
},
|
2489
|
+
filename="cloudbuild.yaml")
|
2490
|
+
```
|
2350
2491
|
|
2351
2492
|
## Import
|
2352
2493
|
|
@@ -2397,6 +2538,7 @@ class Trigger(pulumi.CustomResource):
|
|
2397
2538
|
bitbucket_server_trigger_config: Optional[pulumi.Input[Union['TriggerBitbucketServerTriggerConfigArgs', 'TriggerBitbucketServerTriggerConfigArgsDict']]] = None,
|
2398
2539
|
build: Optional[pulumi.Input[Union['TriggerBuildArgs', 'TriggerBuildArgsDict']]] = None,
|
2399
2540
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
2541
|
+
developer_connect_event_config: Optional[pulumi.Input[Union['TriggerDeveloperConnectEventConfigArgs', 'TriggerDeveloperConnectEventConfigArgsDict']]] = None,
|
2400
2542
|
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
2401
2543
|
filename: Optional[pulumi.Input[_builtins.str]] = None,
|
2402
2544
|
filter: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2429,6 +2571,7 @@ class Trigger(pulumi.CustomResource):
|
|
2429
2571
|
__props__.__dict__["bitbucket_server_trigger_config"] = bitbucket_server_trigger_config
|
2430
2572
|
__props__.__dict__["build"] = build
|
2431
2573
|
__props__.__dict__["description"] = description
|
2574
|
+
__props__.__dict__["developer_connect_event_config"] = developer_connect_event_config
|
2432
2575
|
__props__.__dict__["disabled"] = disabled
|
2433
2576
|
__props__.__dict__["filename"] = filename
|
2434
2577
|
__props__.__dict__["filter"] = filter
|
@@ -2465,6 +2608,7 @@ class Trigger(pulumi.CustomResource):
|
|
2465
2608
|
build: Optional[pulumi.Input[Union['TriggerBuildArgs', 'TriggerBuildArgsDict']]] = None,
|
2466
2609
|
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
2467
2610
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
2611
|
+
developer_connect_event_config: Optional[pulumi.Input[Union['TriggerDeveloperConnectEventConfigArgs', 'TriggerDeveloperConnectEventConfigArgsDict']]] = None,
|
2468
2612
|
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
2469
2613
|
filename: Optional[pulumi.Input[_builtins.str]] = None,
|
2470
2614
|
filter: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -2502,6 +2646,8 @@ class Trigger(pulumi.CustomResource):
|
|
2502
2646
|
Structure is documented below.
|
2503
2647
|
:param pulumi.Input[_builtins.str] create_time: Time when the trigger was created.
|
2504
2648
|
:param pulumi.Input[_builtins.str] description: Human-readable description of the trigger.
|
2649
|
+
:param pulumi.Input[Union['TriggerDeveloperConnectEventConfigArgs', 'TriggerDeveloperConnectEventConfigArgsDict']] developer_connect_event_config: Configuration for triggers that respond to Developer Connect events.
|
2650
|
+
Structure is documented below.
|
2505
2651
|
:param pulumi.Input[_builtins.bool] disabled: Whether the trigger is disabled or not. If true, the trigger will never result in a build.
|
2506
2652
|
:param pulumi.Input[_builtins.str] filename: Path, from the source root, to a file whose contents is used for the template.
|
2507
2653
|
Either a filename or build template must be provided. Set this only when using trigger_template or github.
|
@@ -2577,6 +2723,7 @@ class Trigger(pulumi.CustomResource):
|
|
2577
2723
|
__props__.__dict__["build"] = build
|
2578
2724
|
__props__.__dict__["create_time"] = create_time
|
2579
2725
|
__props__.__dict__["description"] = description
|
2726
|
+
__props__.__dict__["developer_connect_event_config"] = developer_connect_event_config
|
2580
2727
|
__props__.__dict__["disabled"] = disabled
|
2581
2728
|
__props__.__dict__["filename"] = filename
|
2582
2729
|
__props__.__dict__["filter"] = filter
|
@@ -2644,6 +2791,15 @@ class Trigger(pulumi.CustomResource):
|
|
2644
2791
|
"""
|
2645
2792
|
return pulumi.get(self, "description")
|
2646
2793
|
|
2794
|
+
@_builtins.property
|
2795
|
+
@pulumi.getter(name="developerConnectEventConfig")
|
2796
|
+
def developer_connect_event_config(self) -> pulumi.Output[Optional['outputs.TriggerDeveloperConnectEventConfig']]:
|
2797
|
+
"""
|
2798
|
+
Configuration for triggers that respond to Developer Connect events.
|
2799
|
+
Structure is documented below.
|
2800
|
+
"""
|
2801
|
+
return pulumi.get(self, "developer_connect_event_config")
|
2802
|
+
|
2647
2803
|
@_builtins.property
|
2648
2804
|
@pulumi.getter
|
2649
2805
|
def disabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
@@ -32,10 +32,9 @@ class WorkerPoolArgs:
|
|
32
32
|
"""
|
33
33
|
The set of arguments for constructing a WorkerPool resource.
|
34
34
|
:param pulumi.Input[_builtins.str] location: The location for the resource
|
35
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
36
|
-
|
37
|
-
|
38
|
-
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
35
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
36
|
+
limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your
|
37
|
+
configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
39
38
|
:param pulumi.Input[_builtins.str] display_name: A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
|
40
39
|
:param pulumi.Input[_builtins.str] name: User-defined name of the `WorkerPool`.
|
41
40
|
|
@@ -78,10 +77,9 @@ class WorkerPoolArgs:
|
|
78
77
|
@pulumi.getter
|
79
78
|
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
80
79
|
"""
|
81
|
-
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
82
|
-
|
83
|
-
|
84
|
-
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
80
|
+
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
81
|
+
limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your
|
82
|
+
configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
85
83
|
"""
|
86
84
|
return pulumi.get(self, "annotations")
|
87
85
|
|
@@ -184,10 +182,9 @@ class _WorkerPoolState:
|
|
184
182
|
worker_config: Optional[pulumi.Input['WorkerPoolWorkerConfigArgs']] = None):
|
185
183
|
"""
|
186
184
|
Input properties used for looking up and filtering WorkerPool resources.
|
187
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
188
|
-
|
189
|
-
|
190
|
-
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
185
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
186
|
+
limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your
|
187
|
+
configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
191
188
|
:param pulumi.Input[_builtins.str] create_time: Output only. Time at which the request to create the `WorkerPool` was received.
|
192
189
|
:param pulumi.Input[_builtins.str] delete_time: Output only. Time at which the request to delete the `WorkerPool` was received.
|
193
190
|
:param pulumi.Input[_builtins.str] display_name: A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
|
@@ -237,10 +234,9 @@ class _WorkerPoolState:
|
|
237
234
|
@pulumi.getter
|
238
235
|
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
239
236
|
"""
|
240
|
-
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
241
|
-
|
242
|
-
|
243
|
-
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
237
|
+
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
238
|
+
limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your
|
239
|
+
configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
244
240
|
"""
|
245
241
|
return pulumi.get(self, "annotations")
|
246
242
|
|
@@ -445,9 +441,7 @@ class WorkerPool(pulumi.CustomResource):
|
|
445
441
|
import pulumi
|
446
442
|
import pulumi_gcp as gcp
|
447
443
|
|
448
|
-
servicenetworking = gcp.projects.Service("servicenetworking",
|
449
|
-
service="servicenetworking.googleapis.com",
|
450
|
-
disable_on_destroy=False)
|
444
|
+
servicenetworking = gcp.projects.Service("servicenetworking", service="servicenetworking.googleapis.com")
|
451
445
|
network = gcp.compute.Network("network",
|
452
446
|
name="my-network",
|
453
447
|
auto_create_subnetworks=False,
|
@@ -504,10 +498,9 @@ class WorkerPool(pulumi.CustomResource):
|
|
504
498
|
|
505
499
|
:param str resource_name: The name of the resource.
|
506
500
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
507
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
508
|
-
|
509
|
-
|
510
|
-
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
501
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
502
|
+
limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your
|
503
|
+
configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
511
504
|
:param pulumi.Input[_builtins.str] display_name: A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
|
512
505
|
:param pulumi.Input[_builtins.str] location: The location for the resource
|
513
506
|
:param pulumi.Input[_builtins.str] name: User-defined name of the `WorkerPool`.
|
@@ -550,9 +543,7 @@ class WorkerPool(pulumi.CustomResource):
|
|
550
543
|
import pulumi
|
551
544
|
import pulumi_gcp as gcp
|
552
545
|
|
553
|
-
servicenetworking = gcp.projects.Service("servicenetworking",
|
554
|
-
service="servicenetworking.googleapis.com",
|
555
|
-
disable_on_destroy=False)
|
546
|
+
servicenetworking = gcp.projects.Service("servicenetworking", service="servicenetworking.googleapis.com")
|
556
547
|
network = gcp.compute.Network("network",
|
557
548
|
name="my-network",
|
558
549
|
auto_create_subnetworks=False,
|
@@ -686,10 +677,9 @@ class WorkerPool(pulumi.CustomResource):
|
|
686
677
|
:param str resource_name: The unique name of the resulting resource.
|
687
678
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
688
679
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
689
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
690
|
-
|
691
|
-
|
692
|
-
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
680
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
681
|
+
limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your
|
682
|
+
configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
693
683
|
:param pulumi.Input[_builtins.str] create_time: Output only. Time at which the request to create the `WorkerPool` was received.
|
694
684
|
:param pulumi.Input[_builtins.str] delete_time: Output only. Time at which the request to delete the `WorkerPool` was received.
|
695
685
|
:param pulumi.Input[_builtins.str] display_name: A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
|
@@ -730,10 +720,9 @@ class WorkerPool(pulumi.CustomResource):
|
|
730
720
|
@pulumi.getter
|
731
721
|
def annotations(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
732
722
|
"""
|
733
|
-
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
734
|
-
|
735
|
-
|
736
|
-
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
723
|
+
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
|
724
|
+
limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your
|
725
|
+
configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
737
726
|
"""
|
738
727
|
return pulumi.get(self, "annotations")
|
739
728
|
|
@@ -662,7 +662,8 @@ class _FunctionState:
|
|
662
662
|
:param pulumi.Input[_builtins.str] status: Describes the current stage of a deployment.
|
663
663
|
:param pulumi.Input[_builtins.int] timeout: Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds.
|
664
664
|
:param pulumi.Input[_builtins.bool] trigger_http: Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as `https_trigger_url`. Cannot be used with `event_trigger`.
|
665
|
-
:param pulumi.Input[_builtins.str] version_id: The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being
|
665
|
+
:param pulumi.Input[_builtins.str] version_id: The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being
|
666
|
+
created.
|
666
667
|
:param pulumi.Input[_builtins.str] vpc_connector: The VPC Network Connector that this cloud function can connect to. It should be set up as fully-qualified URI. The format of this field is `projects/*/locations/*/connectors/*`.
|
667
668
|
:param pulumi.Input[_builtins.str] vpc_connector_egress_settings: The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are `ALL_TRAFFIC` and `PRIVATE_RANGES_ONLY`. Defaults to `PRIVATE_RANGES_ONLY`. If unset, this field preserves the previously set value.
|
668
669
|
"""
|
@@ -1164,7 +1165,8 @@ class _FunctionState:
|
|
1164
1165
|
@pulumi.getter(name="versionId")
|
1165
1166
|
def version_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
1166
1167
|
"""
|
1167
|
-
The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being
|
1168
|
+
The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being
|
1169
|
+
created.
|
1168
1170
|
"""
|
1169
1171
|
return pulumi.get(self, "version_id")
|
1170
1172
|
|
@@ -1693,7 +1695,8 @@ class Function(pulumi.CustomResource):
|
|
1693
1695
|
:param pulumi.Input[_builtins.str] status: Describes the current stage of a deployment.
|
1694
1696
|
:param pulumi.Input[_builtins.int] timeout: Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds.
|
1695
1697
|
:param pulumi.Input[_builtins.bool] trigger_http: Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as `https_trigger_url`. Cannot be used with `event_trigger`.
|
1696
|
-
:param pulumi.Input[_builtins.str] version_id: The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being
|
1698
|
+
:param pulumi.Input[_builtins.str] version_id: The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being
|
1699
|
+
created.
|
1697
1700
|
:param pulumi.Input[_builtins.str] vpc_connector: The VPC Network Connector that this cloud function can connect to. It should be set up as fully-qualified URI. The format of this field is `projects/*/locations/*/connectors/*`.
|
1698
1701
|
:param pulumi.Input[_builtins.str] vpc_connector_egress_settings: The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are `ALL_TRAFFIC` and `PRIVATE_RANGES_ONLY`. Defaults to `PRIVATE_RANGES_ONLY`. If unset, this field preserves the previously set value.
|
1699
1702
|
"""
|
@@ -2027,7 +2030,8 @@ class Function(pulumi.CustomResource):
|
|
2027
2030
|
@pulumi.getter(name="versionId")
|
2028
2031
|
def version_id(self) -> pulumi.Output[_builtins.str]:
|
2029
2032
|
"""
|
2030
|
-
The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being
|
2033
|
+
The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being
|
2034
|
+
created.
|
2031
2035
|
"""
|
2032
2036
|
return pulumi.get(self, "version_id")
|
2033
2037
|
|
@@ -629,15 +629,15 @@ class FunctionBuildConfigSourceStorageSourceArgs:
|
|
629
629
|
|
630
630
|
if not MYPY:
|
631
631
|
class FunctionEventTriggerArgsDict(TypedDict):
|
632
|
+
event_type: pulumi.Input[_builtins.str]
|
633
|
+
"""
|
634
|
+
Required. The type of event to observe.
|
635
|
+
"""
|
632
636
|
event_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['FunctionEventTriggerEventFilterArgsDict']]]]
|
633
637
|
"""
|
634
638
|
Criteria used to filter events.
|
635
639
|
Structure is documented below.
|
636
640
|
"""
|
637
|
-
event_type: NotRequired[pulumi.Input[_builtins.str]]
|
638
|
-
"""
|
639
|
-
Required. The type of event to observe.
|
640
|
-
"""
|
641
641
|
pubsub_topic: NotRequired[pulumi.Input[_builtins.str]]
|
642
642
|
"""
|
643
643
|
The name of a Pub/Sub topic in the same project that will be used
|
@@ -673,17 +673,17 @@ elif False:
|
|
673
673
|
@pulumi.input_type
|
674
674
|
class FunctionEventTriggerArgs:
|
675
675
|
def __init__(__self__, *,
|
676
|
+
event_type: pulumi.Input[_builtins.str],
|
676
677
|
event_filters: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionEventTriggerEventFilterArgs']]]] = None,
|
677
|
-
event_type: Optional[pulumi.Input[_builtins.str]] = None,
|
678
678
|
pubsub_topic: Optional[pulumi.Input[_builtins.str]] = None,
|
679
679
|
retry_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
680
680
|
service_account_email: Optional[pulumi.Input[_builtins.str]] = None,
|
681
681
|
trigger: Optional[pulumi.Input[_builtins.str]] = None,
|
682
682
|
trigger_region: Optional[pulumi.Input[_builtins.str]] = None):
|
683
683
|
"""
|
684
|
+
:param pulumi.Input[_builtins.str] event_type: Required. The type of event to observe.
|
684
685
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionEventTriggerEventFilterArgs']]] event_filters: Criteria used to filter events.
|
685
686
|
Structure is documented below.
|
686
|
-
:param pulumi.Input[_builtins.str] event_type: Required. The type of event to observe.
|
687
687
|
:param pulumi.Input[_builtins.str] pubsub_topic: The name of a Pub/Sub topic in the same project that will be used
|
688
688
|
as the transport topic for the event delivery.
|
689
689
|
:param pulumi.Input[_builtins.str] retry_policy: Describes the retry policy in case of function's execution failure.
|
@@ -699,10 +699,9 @@ class FunctionEventTriggerArgs:
|
|
699
699
|
region as the function, a different region or multi-region, or the global
|
700
700
|
region. If not provided, defaults to the same region as the function.
|
701
701
|
"""
|
702
|
+
pulumi.set(__self__, "event_type", event_type)
|
702
703
|
if event_filters is not None:
|
703
704
|
pulumi.set(__self__, "event_filters", event_filters)
|
704
|
-
if event_type is not None:
|
705
|
-
pulumi.set(__self__, "event_type", event_type)
|
706
705
|
if pubsub_topic is not None:
|
707
706
|
pulumi.set(__self__, "pubsub_topic", pubsub_topic)
|
708
707
|
if retry_policy is not None:
|
@@ -714,6 +713,18 @@ class FunctionEventTriggerArgs:
|
|
714
713
|
if trigger_region is not None:
|
715
714
|
pulumi.set(__self__, "trigger_region", trigger_region)
|
716
715
|
|
716
|
+
@_builtins.property
|
717
|
+
@pulumi.getter(name="eventType")
|
718
|
+
def event_type(self) -> pulumi.Input[_builtins.str]:
|
719
|
+
"""
|
720
|
+
Required. The type of event to observe.
|
721
|
+
"""
|
722
|
+
return pulumi.get(self, "event_type")
|
723
|
+
|
724
|
+
@event_type.setter
|
725
|
+
def event_type(self, value: pulumi.Input[_builtins.str]):
|
726
|
+
pulumi.set(self, "event_type", value)
|
727
|
+
|
717
728
|
@_builtins.property
|
718
729
|
@pulumi.getter(name="eventFilters")
|
719
730
|
def event_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FunctionEventTriggerEventFilterArgs']]]]:
|
@@ -727,18 +738,6 @@ class FunctionEventTriggerArgs:
|
|
727
738
|
def event_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionEventTriggerEventFilterArgs']]]]):
|
728
739
|
pulumi.set(self, "event_filters", value)
|
729
740
|
|
730
|
-
@_builtins.property
|
731
|
-
@pulumi.getter(name="eventType")
|
732
|
-
def event_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
733
|
-
"""
|
734
|
-
Required. The type of event to observe.
|
735
|
-
"""
|
736
|
-
return pulumi.get(self, "event_type")
|
737
|
-
|
738
|
-
@event_type.setter
|
739
|
-
def event_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
740
|
-
pulumi.set(self, "event_type", value)
|
741
|
-
|
742
741
|
@_builtins.property
|
743
742
|
@pulumi.getter(name="pubsubTopic")
|
744
743
|
def pubsub_topic(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -1055,6 +1054,7 @@ if not MYPY:
|
|
1055
1054
|
"""
|
1056
1055
|
service: NotRequired[pulumi.Input[_builtins.str]]
|
1057
1056
|
"""
|
1057
|
+
(Output)
|
1058
1058
|
Name of the service associated with a Function.
|
1059
1059
|
"""
|
1060
1060
|
service_account_email: NotRequired[pulumi.Input[_builtins.str]]
|
@@ -1127,7 +1127,8 @@ class FunctionServiceConfigArgs:
|
|
1127
1127
|
Structure is documented below.
|
1128
1128
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionServiceConfigSecretVolumeArgs']]] secret_volumes: Secret volumes configuration.
|
1129
1129
|
Structure is documented below.
|
1130
|
-
:param pulumi.Input[_builtins.str] service:
|
1130
|
+
:param pulumi.Input[_builtins.str] service: (Output)
|
1131
|
+
Name of the service associated with a Function.
|
1131
1132
|
:param pulumi.Input[_builtins.str] service_account_email: The email of the service account for this function.
|
1132
1133
|
:param pulumi.Input[_builtins.int] timeout_seconds: The function execution timeout. Execution is considered failed and
|
1133
1134
|
can be terminated if the function is not completed at the end of the
|
@@ -1332,6 +1333,7 @@ class FunctionServiceConfigArgs:
|
|
1332
1333
|
@pulumi.getter
|
1333
1334
|
def service(self) -> Optional[pulumi.Input[_builtins.str]]:
|
1334
1335
|
"""
|
1336
|
+
(Output)
|
1335
1337
|
Name of the service associated with a Function.
|
1336
1338
|
"""
|
1337
1339
|
return pulumi.get(self, "service")
|
@@ -490,10 +490,10 @@ class FunctionEventTrigger(dict):
|
|
490
490
|
@staticmethod
|
491
491
|
def __key_warning(key: str):
|
492
492
|
suggest = None
|
493
|
-
if key == "
|
494
|
-
suggest = "event_filters"
|
495
|
-
elif key == "eventType":
|
493
|
+
if key == "eventType":
|
496
494
|
suggest = "event_type"
|
495
|
+
elif key == "eventFilters":
|
496
|
+
suggest = "event_filters"
|
497
497
|
elif key == "pubsubTopic":
|
498
498
|
suggest = "pubsub_topic"
|
499
499
|
elif key == "retryPolicy":
|
@@ -515,17 +515,17 @@ class FunctionEventTrigger(dict):
|
|
515
515
|
return super().get(key, default)
|
516
516
|
|
517
517
|
def __init__(__self__, *,
|
518
|
+
event_type: _builtins.str,
|
518
519
|
event_filters: Optional[Sequence['outputs.FunctionEventTriggerEventFilter']] = None,
|
519
|
-
event_type: Optional[_builtins.str] = None,
|
520
520
|
pubsub_topic: Optional[_builtins.str] = None,
|
521
521
|
retry_policy: Optional[_builtins.str] = None,
|
522
522
|
service_account_email: Optional[_builtins.str] = None,
|
523
523
|
trigger: Optional[_builtins.str] = None,
|
524
524
|
trigger_region: Optional[_builtins.str] = None):
|
525
525
|
"""
|
526
|
+
:param _builtins.str event_type: Required. The type of event to observe.
|
526
527
|
:param Sequence['FunctionEventTriggerEventFilterArgs'] event_filters: Criteria used to filter events.
|
527
528
|
Structure is documented below.
|
528
|
-
:param _builtins.str event_type: Required. The type of event to observe.
|
529
529
|
:param _builtins.str pubsub_topic: The name of a Pub/Sub topic in the same project that will be used
|
530
530
|
as the transport topic for the event delivery.
|
531
531
|
:param _builtins.str retry_policy: Describes the retry policy in case of function's execution failure.
|
@@ -541,10 +541,9 @@ class FunctionEventTrigger(dict):
|
|
541
541
|
region as the function, a different region or multi-region, or the global
|
542
542
|
region. If not provided, defaults to the same region as the function.
|
543
543
|
"""
|
544
|
+
pulumi.set(__self__, "event_type", event_type)
|
544
545
|
if event_filters is not None:
|
545
546
|
pulumi.set(__self__, "event_filters", event_filters)
|
546
|
-
if event_type is not None:
|
547
|
-
pulumi.set(__self__, "event_type", event_type)
|
548
547
|
if pubsub_topic is not None:
|
549
548
|
pulumi.set(__self__, "pubsub_topic", pubsub_topic)
|
550
549
|
if retry_policy is not None:
|
@@ -556,6 +555,14 @@ class FunctionEventTrigger(dict):
|
|
556
555
|
if trigger_region is not None:
|
557
556
|
pulumi.set(__self__, "trigger_region", trigger_region)
|
558
557
|
|
558
|
+
@_builtins.property
|
559
|
+
@pulumi.getter(name="eventType")
|
560
|
+
def event_type(self) -> _builtins.str:
|
561
|
+
"""
|
562
|
+
Required. The type of event to observe.
|
563
|
+
"""
|
564
|
+
return pulumi.get(self, "event_type")
|
565
|
+
|
559
566
|
@_builtins.property
|
560
567
|
@pulumi.getter(name="eventFilters")
|
561
568
|
def event_filters(self) -> Optional[Sequence['outputs.FunctionEventTriggerEventFilter']]:
|
@@ -565,14 +572,6 @@ class FunctionEventTrigger(dict):
|
|
565
572
|
"""
|
566
573
|
return pulumi.get(self, "event_filters")
|
567
574
|
|
568
|
-
@_builtins.property
|
569
|
-
@pulumi.getter(name="eventType")
|
570
|
-
def event_type(self) -> Optional[_builtins.str]:
|
571
|
-
"""
|
572
|
-
Required. The type of event to observe.
|
573
|
-
"""
|
574
|
-
return pulumi.get(self, "event_type")
|
575
|
-
|
576
575
|
@_builtins.property
|
577
576
|
@pulumi.getter(name="pubsubTopic")
|
578
577
|
def pubsub_topic(self) -> Optional[_builtins.str]:
|
@@ -822,7 +821,8 @@ class FunctionServiceConfig(dict):
|
|
822
821
|
Structure is documented below.
|
823
822
|
:param Sequence['FunctionServiceConfigSecretVolumeArgs'] secret_volumes: Secret volumes configuration.
|
824
823
|
Structure is documented below.
|
825
|
-
:param _builtins.str service:
|
824
|
+
:param _builtins.str service: (Output)
|
825
|
+
Name of the service associated with a Function.
|
826
826
|
:param _builtins.str service_account_email: The email of the service account for this function.
|
827
827
|
:param _builtins.int timeout_seconds: The function execution timeout. Execution is considered failed and
|
828
828
|
can be terminated if the function is not completed at the end of the
|
@@ -979,6 +979,7 @@ class FunctionServiceConfig(dict):
|
|
979
979
|
@pulumi.getter
|
980
980
|
def service(self) -> Optional[_builtins.str]:
|
981
981
|
"""
|
982
|
+
(Output)
|
982
983
|
Name of the service associated with a Function.
|
983
984
|
"""
|
984
985
|
return pulumi.get(self, "service")
|