pulumi-gcp 8.18.0a1738650987__py3-none-any.whl → 8.19.0a1738736844__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 +24 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
- pulumi_gcp/alloydb/user.py +10 -1
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/beyondcorp/__init__.py +4 -0
- pulumi_gcp/beyondcorp/_inputs.py +130 -0
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +180 -0
- pulumi_gcp/beyondcorp/outputs.py +76 -0
- pulumi_gcp/beyondcorp/security_gateway.py +52 -25
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +1075 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +894 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/dataset.py +7 -7
- pulumi_gcp/bigquery/outputs.py +36 -0
- pulumi_gcp/bigquery/table.py +61 -7
- pulumi_gcp/chronicle/retrohunt.py +0 -16
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +23 -23
- pulumi_gcp/compute/_inputs.py +9 -9
- pulumi_gcp/compute/get_network.py +3 -3
- pulumi_gcp/compute/network.py +7 -7
- pulumi_gcp/compute/outputs.py +6 -6
- pulumi_gcp/compute/router_peer.py +112 -0
- pulumi_gcp/container/_inputs.py +79 -20
- pulumi_gcp/container/outputs.py +75 -12
- pulumi_gcp/dataproc/_inputs.py +34 -0
- pulumi_gcp/dataproc/outputs.py +37 -0
- pulumi_gcp/dataproc/workflow_template.py +47 -0
- pulumi_gcp/firestore/field.py +60 -0
- pulumi_gcp/gkehub/_inputs.py +20 -0
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/outputs.py +26 -1
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/netapp/storage_pool.py +1 -1
- pulumi_gcp/networkconnectivity/spoke.py +76 -14
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/__init__.py +3 -0
- pulumi_gcp/parametermanager/get_parameter_version.py +216 -0
- pulumi_gcp/parametermanager/get_parameters.py +140 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +235 -0
- pulumi_gcp/parametermanager/outputs.py +156 -0
- pulumi_gcp/pubsub/_inputs.py +264 -0
- pulumi_gcp/pubsub/outputs.py +353 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pubsub/topic.py +70 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/resourcemanager/lien.py +12 -0
- pulumi_gcp/secretmanager/regional_secret.py +4 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +12 -0
- pulumi_gcp/secretmanager/secret.py +4 -0
- pulumi_gcp/secretmanager/secret_version.py +12 -0
- pulumi_gcp/securityposture/posture.py +4 -0
- pulumi_gcp/securityposture/posture_deployment.py +4 -0
- pulumi_gcp/serviceaccount/get_s.py +98 -8
- pulumi_gcp/spanner/_inputs.py +68 -0
- pulumi_gcp/spanner/backup_schedule.py +70 -4
- pulumi_gcp/spanner/outputs.py +60 -0
- pulumi_gcp/storage/get_bucket_object_content.py +4 -4
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/workflows/workflow.py +175 -0
- {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0a1738736844.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0a1738736844.dist-info}/RECORD +69 -62
- {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0a1738736844.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0a1738736844.dist-info}/top_level.txt +0 -0
@@ -113,9 +113,9 @@ class GetBucketObjectContentResult:
|
|
113
113
|
|
114
114
|
@property
|
115
115
|
@pulumi.getter
|
116
|
-
def content(self) ->
|
116
|
+
def content(self) -> str:
|
117
117
|
"""
|
118
|
-
(Computed)
|
118
|
+
(Computed) The content of the object.
|
119
119
|
"""
|
120
120
|
return pulumi.get(self, "content")
|
121
121
|
|
@@ -287,7 +287,7 @@ def get_bucket_object_content(bucket: Optional[str] = None,
|
|
287
287
|
|
288
288
|
|
289
289
|
:param str bucket: The name of the containing bucket.
|
290
|
-
:param str content: (Computed)
|
290
|
+
:param str content: (Computed) The content of the object.
|
291
291
|
:param str name: The name of the object.
|
292
292
|
"""
|
293
293
|
__args__ = dict()
|
@@ -349,7 +349,7 @@ def get_bucket_object_content_output(bucket: Optional[pulumi.Input[str]] = None,
|
|
349
349
|
|
350
350
|
|
351
351
|
:param str bucket: The name of the containing bucket.
|
352
|
-
:param str content: (Computed)
|
352
|
+
:param str content: (Computed) The content of the object.
|
353
353
|
:param str name: The name of the object.
|
354
354
|
"""
|
355
355
|
__args__ = dict()
|
pulumi_gcp/vertex/ai_endpoint.py
CHANGED
@@ -730,7 +730,7 @@ class AiEndpoint(pulumi.CustomResource):
|
|
730
730
|
|
731
731
|
project = gcp.organizations.get_project()
|
732
732
|
endpoint = gcp.vertex.AiEndpoint("endpoint",
|
733
|
-
name="endpoint-
|
733
|
+
name="endpoint-name_9394",
|
734
734
|
display_name="sample-endpoint",
|
735
735
|
description="A sample vertex endpoint",
|
736
736
|
location="us-central1",
|
@@ -751,7 +751,7 @@ class AiEndpoint(pulumi.CustomResource):
|
|
751
751
|
import pulumi_gcp as gcp
|
752
752
|
|
753
753
|
endpoint = gcp.vertex.AiEndpoint("endpoint",
|
754
|
-
name="endpoint-
|
754
|
+
name="endpoint-name_11380",
|
755
755
|
display_name="sample-endpoint",
|
756
756
|
description="A sample vertex endpoint",
|
757
757
|
location="us-central1",
|
@@ -896,7 +896,7 @@ class AiEndpoint(pulumi.CustomResource):
|
|
896
896
|
|
897
897
|
project = gcp.organizations.get_project()
|
898
898
|
endpoint = gcp.vertex.AiEndpoint("endpoint",
|
899
|
-
name="endpoint-
|
899
|
+
name="endpoint-name_9394",
|
900
900
|
display_name="sample-endpoint",
|
901
901
|
description="A sample vertex endpoint",
|
902
902
|
location="us-central1",
|
@@ -917,7 +917,7 @@ class AiEndpoint(pulumi.CustomResource):
|
|
917
917
|
import pulumi_gcp as gcp
|
918
918
|
|
919
919
|
endpoint = gcp.vertex.AiEndpoint("endpoint",
|
920
|
-
name="endpoint-
|
920
|
+
name="endpoint-name_11380",
|
921
921
|
display_name="sample-endpoint",
|
922
922
|
description="A sample vertex endpoint",
|
923
923
|
location="us-central1",
|
@@ -618,8 +618,8 @@ class AiFeatureOnlineStoreFeatureview(pulumi.CustomResource):
|
|
618
618
|
|
619
619
|
test_project = gcp.organizations.get_project()
|
620
620
|
project = gcp.organizations.Project("project",
|
621
|
-
project_id="tf-
|
622
|
-
name="tf-
|
621
|
+
project_id="tf-test_35305",
|
622
|
+
name="tf-test_62793",
|
623
623
|
org_id="123456789",
|
624
624
|
billing_account="000000-0000000-0000000-000000",
|
625
625
|
deletion_policy="DELETE")
|
@@ -1063,8 +1063,8 @@ class AiFeatureOnlineStoreFeatureview(pulumi.CustomResource):
|
|
1063
1063
|
|
1064
1064
|
test_project = gcp.organizations.get_project()
|
1065
1065
|
project = gcp.organizations.Project("project",
|
1066
|
-
project_id="tf-
|
1067
|
-
name="tf-
|
1066
|
+
project_id="tf-test_35305",
|
1067
|
+
name="tf-test_62793",
|
1068
1068
|
org_id="123456789",
|
1069
1069
|
billing_account="000000-0000000-0000000-000000",
|
1070
1070
|
deletion_policy="DELETE")
|
pulumi_gcp/workflows/workflow.py
CHANGED
@@ -30,6 +30,7 @@ class WorkflowArgs:
|
|
30
30
|
region: Optional[pulumi.Input[str]] = None,
|
31
31
|
service_account: Optional[pulumi.Input[str]] = None,
|
32
32
|
source_contents: Optional[pulumi.Input[str]] = None,
|
33
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
33
34
|
user_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
34
35
|
"""
|
35
36
|
The set of arguments for constructing a Workflow resource.
|
@@ -58,6 +59,9 @@ class WorkflowArgs:
|
|
58
59
|
If not provided, workflow will use the project's default service account.
|
59
60
|
Modifying this field for an existing workflow results in a new workflow revision.
|
60
61
|
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 128KB.
|
62
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition
|
63
|
+
as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in
|
64
|
+
the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
|
61
65
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
62
66
|
"""
|
63
67
|
if call_log_level is not None:
|
@@ -82,6 +86,8 @@ class WorkflowArgs:
|
|
82
86
|
pulumi.set(__self__, "service_account", service_account)
|
83
87
|
if source_contents is not None:
|
84
88
|
pulumi.set(__self__, "source_contents", source_contents)
|
89
|
+
if tags is not None:
|
90
|
+
pulumi.set(__self__, "tags", tags)
|
85
91
|
if user_env_vars is not None:
|
86
92
|
pulumi.set(__self__, "user_env_vars", user_env_vars)
|
87
93
|
|
@@ -229,6 +235,20 @@ class WorkflowArgs:
|
|
229
235
|
def source_contents(self, value: Optional[pulumi.Input[str]]):
|
230
236
|
pulumi.set(self, "source_contents", value)
|
231
237
|
|
238
|
+
@property
|
239
|
+
@pulumi.getter
|
240
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
241
|
+
"""
|
242
|
+
A map of resource manager tags. Resource manager tag keys and values have the same definition
|
243
|
+
as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in
|
244
|
+
the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "tags")
|
247
|
+
|
248
|
+
@tags.setter
|
249
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
250
|
+
pulumi.set(self, "tags", value)
|
251
|
+
|
232
252
|
@property
|
233
253
|
@pulumi.getter(name="userEnvVars")
|
234
254
|
def user_env_vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -261,6 +281,7 @@ class _WorkflowState:
|
|
261
281
|
service_account: Optional[pulumi.Input[str]] = None,
|
262
282
|
source_contents: Optional[pulumi.Input[str]] = None,
|
263
283
|
state: Optional[pulumi.Input[str]] = None,
|
284
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
264
285
|
update_time: Optional[pulumi.Input[str]] = None,
|
265
286
|
user_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
266
287
|
"""
|
@@ -296,6 +317,9 @@ class _WorkflowState:
|
|
296
317
|
Modifying this field for an existing workflow results in a new workflow revision.
|
297
318
|
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 128KB.
|
298
319
|
:param pulumi.Input[str] state: State of the workflow deployment.
|
320
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition
|
321
|
+
as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in
|
322
|
+
the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
|
299
323
|
:param pulumi.Input[str] update_time: The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
300
324
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
301
325
|
"""
|
@@ -331,6 +355,8 @@ class _WorkflowState:
|
|
331
355
|
pulumi.set(__self__, "source_contents", source_contents)
|
332
356
|
if state is not None:
|
333
357
|
pulumi.set(__self__, "state", state)
|
358
|
+
if tags is not None:
|
359
|
+
pulumi.set(__self__, "tags", tags)
|
334
360
|
if update_time is not None:
|
335
361
|
pulumi.set(__self__, "update_time", update_time)
|
336
362
|
if user_env_vars is not None:
|
@@ -541,6 +567,20 @@ class _WorkflowState:
|
|
541
567
|
def state(self, value: Optional[pulumi.Input[str]]):
|
542
568
|
pulumi.set(self, "state", value)
|
543
569
|
|
570
|
+
@property
|
571
|
+
@pulumi.getter
|
572
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
573
|
+
"""
|
574
|
+
A map of resource manager tags. Resource manager tag keys and values have the same definition
|
575
|
+
as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in
|
576
|
+
the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
|
577
|
+
"""
|
578
|
+
return pulumi.get(self, "tags")
|
579
|
+
|
580
|
+
@tags.setter
|
581
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
582
|
+
pulumi.set(self, "tags", value)
|
583
|
+
|
544
584
|
@property
|
545
585
|
@pulumi.getter(name="updateTime")
|
546
586
|
def update_time(self) -> Optional[pulumi.Input[str]]:
|
@@ -582,6 +622,7 @@ class Workflow(pulumi.CustomResource):
|
|
582
622
|
region: Optional[pulumi.Input[str]] = None,
|
583
623
|
service_account: Optional[pulumi.Input[str]] = None,
|
584
624
|
source_contents: Optional[pulumi.Input[str]] = None,
|
625
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
585
626
|
user_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
586
627
|
__props__=None):
|
587
628
|
"""
|
@@ -628,6 +669,63 @@ class Workflow(pulumi.CustomResource):
|
|
628
669
|
#
|
629
670
|
# Note: In Terraform you need to escape the $$ or it will cause errors.
|
630
671
|
|
672
|
+
- getCurrentTime:
|
673
|
+
call: http.get
|
674
|
+
args:
|
675
|
+
url: ${sys.get_env("url")}
|
676
|
+
result: currentTime
|
677
|
+
- readWikipedia:
|
678
|
+
call: http.get
|
679
|
+
args:
|
680
|
+
url: https://en.wikipedia.org/w/api.php
|
681
|
+
query:
|
682
|
+
action: opensearch
|
683
|
+
search: ${currentTime.body.dayOfWeek}
|
684
|
+
result: wikiResult
|
685
|
+
- returnOutput:
|
686
|
+
return: ${wikiResult.body[1]}
|
687
|
+
\"\"\")
|
688
|
+
```
|
689
|
+
### Workflow Tags
|
690
|
+
|
691
|
+
```python
|
692
|
+
import pulumi
|
693
|
+
import pulumi_gcp as gcp
|
694
|
+
|
695
|
+
project = gcp.organizations.get_project()
|
696
|
+
tag_key = gcp.tags.TagKey("tag_key",
|
697
|
+
parent=f"projects/{project.number}",
|
698
|
+
short_name="tag_key")
|
699
|
+
tag_value = gcp.tags.TagValue("tag_value",
|
700
|
+
parent=tag_key.name.apply(lambda name: f"tagKeys/{name}"),
|
701
|
+
short_name="tag_value")
|
702
|
+
test_account = gcp.serviceaccount.Account("test_account",
|
703
|
+
account_id="my-account",
|
704
|
+
display_name="Test Service Account")
|
705
|
+
example = gcp.workflows.Workflow("example",
|
706
|
+
name="workflow",
|
707
|
+
region="us-central1",
|
708
|
+
description="Magic",
|
709
|
+
service_account=test_account.id,
|
710
|
+
deletion_protection=False,
|
711
|
+
tags=pulumi.Output.all(
|
712
|
+
tagKeyShort_name=tag_key.short_name,
|
713
|
+
tagValueShort_name=tag_value.short_name
|
714
|
+
).apply(lambda resolved_outputs: {
|
715
|
+
f"{project.project_id}/{resolved_outputs['tagKeyShort_name']}": resolved_outputs['tagValueShort_name'],
|
716
|
+
})
|
717
|
+
,
|
718
|
+
source_contents=\"\"\"# This is a sample workflow. You can replace it with your source code.
|
719
|
+
#
|
720
|
+
# This workflow does the following:
|
721
|
+
# - reads current time and date information from an external API and stores
|
722
|
+
# the response in currentTime variable
|
723
|
+
# - retrieves a list of Wikipedia articles related to the day of the week
|
724
|
+
# from currentTime
|
725
|
+
# - returns the list of articles as an output of the workflow
|
726
|
+
#
|
727
|
+
# Note: In Terraform you need to escape the $$ or it will cause errors.
|
728
|
+
|
631
729
|
- getCurrentTime:
|
632
730
|
call: http.get
|
633
731
|
args:
|
@@ -677,6 +775,9 @@ class Workflow(pulumi.CustomResource):
|
|
677
775
|
If not provided, workflow will use the project's default service account.
|
678
776
|
Modifying this field for an existing workflow results in a new workflow revision.
|
679
777
|
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 128KB.
|
778
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition
|
779
|
+
as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in
|
780
|
+
the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
|
680
781
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
681
782
|
"""
|
682
783
|
...
|
@@ -729,6 +830,63 @@ class Workflow(pulumi.CustomResource):
|
|
729
830
|
#
|
730
831
|
# Note: In Terraform you need to escape the $$ or it will cause errors.
|
731
832
|
|
833
|
+
- getCurrentTime:
|
834
|
+
call: http.get
|
835
|
+
args:
|
836
|
+
url: ${sys.get_env("url")}
|
837
|
+
result: currentTime
|
838
|
+
- readWikipedia:
|
839
|
+
call: http.get
|
840
|
+
args:
|
841
|
+
url: https://en.wikipedia.org/w/api.php
|
842
|
+
query:
|
843
|
+
action: opensearch
|
844
|
+
search: ${currentTime.body.dayOfWeek}
|
845
|
+
result: wikiResult
|
846
|
+
- returnOutput:
|
847
|
+
return: ${wikiResult.body[1]}
|
848
|
+
\"\"\")
|
849
|
+
```
|
850
|
+
### Workflow Tags
|
851
|
+
|
852
|
+
```python
|
853
|
+
import pulumi
|
854
|
+
import pulumi_gcp as gcp
|
855
|
+
|
856
|
+
project = gcp.organizations.get_project()
|
857
|
+
tag_key = gcp.tags.TagKey("tag_key",
|
858
|
+
parent=f"projects/{project.number}",
|
859
|
+
short_name="tag_key")
|
860
|
+
tag_value = gcp.tags.TagValue("tag_value",
|
861
|
+
parent=tag_key.name.apply(lambda name: f"tagKeys/{name}"),
|
862
|
+
short_name="tag_value")
|
863
|
+
test_account = gcp.serviceaccount.Account("test_account",
|
864
|
+
account_id="my-account",
|
865
|
+
display_name="Test Service Account")
|
866
|
+
example = gcp.workflows.Workflow("example",
|
867
|
+
name="workflow",
|
868
|
+
region="us-central1",
|
869
|
+
description="Magic",
|
870
|
+
service_account=test_account.id,
|
871
|
+
deletion_protection=False,
|
872
|
+
tags=pulumi.Output.all(
|
873
|
+
tagKeyShort_name=tag_key.short_name,
|
874
|
+
tagValueShort_name=tag_value.short_name
|
875
|
+
).apply(lambda resolved_outputs: {
|
876
|
+
f"{project.project_id}/{resolved_outputs['tagKeyShort_name']}": resolved_outputs['tagValueShort_name'],
|
877
|
+
})
|
878
|
+
,
|
879
|
+
source_contents=\"\"\"# This is a sample workflow. You can replace it with your source code.
|
880
|
+
#
|
881
|
+
# This workflow does the following:
|
882
|
+
# - reads current time and date information from an external API and stores
|
883
|
+
# the response in currentTime variable
|
884
|
+
# - retrieves a list of Wikipedia articles related to the day of the week
|
885
|
+
# from currentTime
|
886
|
+
# - returns the list of articles as an output of the workflow
|
887
|
+
#
|
888
|
+
# Note: In Terraform you need to escape the $$ or it will cause errors.
|
889
|
+
|
732
890
|
- getCurrentTime:
|
733
891
|
call: http.get
|
734
892
|
args:
|
@@ -777,6 +935,7 @@ class Workflow(pulumi.CustomResource):
|
|
777
935
|
region: Optional[pulumi.Input[str]] = None,
|
778
936
|
service_account: Optional[pulumi.Input[str]] = None,
|
779
937
|
source_contents: Optional[pulumi.Input[str]] = None,
|
938
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
780
939
|
user_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
781
940
|
__props__=None):
|
782
941
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -798,6 +957,7 @@ class Workflow(pulumi.CustomResource):
|
|
798
957
|
__props__.__dict__["region"] = region
|
799
958
|
__props__.__dict__["service_account"] = service_account
|
800
959
|
__props__.__dict__["source_contents"] = source_contents
|
960
|
+
__props__.__dict__["tags"] = tags
|
801
961
|
__props__.__dict__["user_env_vars"] = user_env_vars
|
802
962
|
__props__.__dict__["create_time"] = None
|
803
963
|
__props__.__dict__["effective_labels"] = None
|
@@ -833,6 +993,7 @@ class Workflow(pulumi.CustomResource):
|
|
833
993
|
service_account: Optional[pulumi.Input[str]] = None,
|
834
994
|
source_contents: Optional[pulumi.Input[str]] = None,
|
835
995
|
state: Optional[pulumi.Input[str]] = None,
|
996
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
836
997
|
update_time: Optional[pulumi.Input[str]] = None,
|
837
998
|
user_env_vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'Workflow':
|
838
999
|
"""
|
@@ -873,6 +1034,9 @@ class Workflow(pulumi.CustomResource):
|
|
873
1034
|
Modifying this field for an existing workflow results in a new workflow revision.
|
874
1035
|
:param pulumi.Input[str] source_contents: Workflow code to be executed. The size limit is 128KB.
|
875
1036
|
:param pulumi.Input[str] state: State of the workflow deployment.
|
1037
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition
|
1038
|
+
as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in
|
1039
|
+
the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
|
876
1040
|
:param pulumi.Input[str] update_time: The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
|
877
1041
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_env_vars: User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
|
878
1042
|
"""
|
@@ -896,6 +1060,7 @@ class Workflow(pulumi.CustomResource):
|
|
896
1060
|
__props__.__dict__["service_account"] = service_account
|
897
1061
|
__props__.__dict__["source_contents"] = source_contents
|
898
1062
|
__props__.__dict__["state"] = state
|
1063
|
+
__props__.__dict__["tags"] = tags
|
899
1064
|
__props__.__dict__["update_time"] = update_time
|
900
1065
|
__props__.__dict__["user_env_vars"] = user_env_vars
|
901
1066
|
return Workflow(resource_name, opts=opts, __props__=__props__)
|
@@ -1041,6 +1206,16 @@ class Workflow(pulumi.CustomResource):
|
|
1041
1206
|
"""
|
1042
1207
|
return pulumi.get(self, "state")
|
1043
1208
|
|
1209
|
+
@property
|
1210
|
+
@pulumi.getter
|
1211
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1212
|
+
"""
|
1213
|
+
A map of resource manager tags. Resource manager tag keys and values have the same definition
|
1214
|
+
as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in
|
1215
|
+
the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
|
1216
|
+
"""
|
1217
|
+
return pulumi.get(self, "tags")
|
1218
|
+
|
1044
1219
|
@property
|
1045
1220
|
@pulumi.getter(name="updateTime")
|
1046
1221
|
def update_time(self) -> pulumi.Output[str]:
|