pulumi-gcp 7.20.0a1713984378__py3-none-any.whl → 7.21.0__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.
Files changed (131) hide show
  1. pulumi_gcp/__init__.py +48 -0
  2. pulumi_gcp/alloydb/_inputs.py +74 -0
  3. pulumi_gcp/alloydb/backup.py +0 -12
  4. pulumi_gcp/alloydb/cluster.py +0 -12
  5. pulumi_gcp/alloydb/instance.py +90 -81
  6. pulumi_gcp/alloydb/outputs.py +98 -0
  7. pulumi_gcp/apigee/environment.py +47 -0
  8. pulumi_gcp/apigee/organization.py +162 -0
  9. pulumi_gcp/apigee/sharedflow.py +0 -20
  10. pulumi_gcp/appengine/flexible_app_version.py +0 -20
  11. pulumi_gcp/applicationintegration/__init__.py +1 -0
  12. pulumi_gcp/applicationintegration/_inputs.py +843 -0
  13. pulumi_gcp/applicationintegration/auth_config.py +998 -0
  14. pulumi_gcp/applicationintegration/outputs.py +891 -0
  15. pulumi_gcp/artifactregistry/_inputs.py +186 -0
  16. pulumi_gcp/artifactregistry/outputs.py +297 -4
  17. pulumi_gcp/artifactregistry/repository.py +346 -16
  18. pulumi_gcp/bigquery/table.py +61 -0
  19. pulumi_gcp/bigquerydatapolicy/_inputs.py +21 -4
  20. pulumi_gcp/bigquerydatapolicy/data_policy.py +78 -0
  21. pulumi_gcp/bigquerydatapolicy/outputs.py +16 -3
  22. pulumi_gcp/billing/budget.py +54 -0
  23. pulumi_gcp/certificateauthority/_inputs.py +92 -12
  24. pulumi_gcp/certificateauthority/authority.py +117 -27
  25. pulumi_gcp/certificateauthority/certificate.py +176 -0
  26. pulumi_gcp/certificateauthority/outputs.py +144 -12
  27. pulumi_gcp/cloudbuild/worker_pool.py +0 -12
  28. pulumi_gcp/cloudbuildv2/connection.py +0 -12
  29. pulumi_gcp/cloudbuildv2/repository.py +0 -12
  30. pulumi_gcp/clouddeploy/automation.py +0 -12
  31. pulumi_gcp/clouddeploy/custom_target_type.py +0 -12
  32. pulumi_gcp/clouddeploy/delivery_pipeline.py +0 -12
  33. pulumi_gcp/clouddeploy/target.py +0 -12
  34. pulumi_gcp/cloudfunctionsv2/_inputs.py +16 -0
  35. pulumi_gcp/cloudfunctionsv2/function.py +110 -0
  36. pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
  37. pulumi_gcp/cloudrunv2/job.py +0 -12
  38. pulumi_gcp/cloudrunv2/service.py +0 -12
  39. pulumi_gcp/composer/__init__.py +1 -0
  40. pulumi_gcp/composer/environment.py +35 -47
  41. pulumi_gcp/composer/user_workloads_secret.py +441 -0
  42. pulumi_gcp/compute/__init__.py +1 -0
  43. pulumi_gcp/compute/_inputs.py +169 -58
  44. pulumi_gcp/compute/forwarding_rule.py +0 -13
  45. pulumi_gcp/compute/get_instance_group_manager.py +11 -1
  46. pulumi_gcp/compute/global_address.py +0 -12
  47. pulumi_gcp/compute/global_forwarding_rule.py +0 -282
  48. pulumi_gcp/compute/instance_from_machine_image.py +14 -46
  49. pulumi_gcp/compute/instance_from_template.py +14 -46
  50. pulumi_gcp/compute/instance_group_manager.py +68 -21
  51. pulumi_gcp/compute/outputs.py +213 -65
  52. pulumi_gcp/compute/region_instance_group_manager.py +61 -14
  53. pulumi_gcp/compute/region_instance_template.py +0 -13
  54. pulumi_gcp/compute/region_target_https_proxy.py +257 -0
  55. pulumi_gcp/compute/region_url_map.py +0 -470
  56. pulumi_gcp/compute/security_policy_rule.py +850 -0
  57. pulumi_gcp/container/attached_cluster.py +0 -12
  58. pulumi_gcp/container/aws_cluster.py +0 -12
  59. pulumi_gcp/container/aws_node_pool.py +0 -12
  60. pulumi_gcp/container/azure_cluster.py +0 -12
  61. pulumi_gcp/container/azure_node_pool.py +0 -12
  62. pulumi_gcp/container/cluster.py +0 -20
  63. pulumi_gcp/container/outputs.py +4 -4
  64. pulumi_gcp/dataflow/flex_template_job.py +0 -39
  65. pulumi_gcp/dataloss/__init__.py +1 -0
  66. pulumi_gcp/dataloss/_inputs.py +1040 -0
  67. pulumi_gcp/dataloss/outputs.py +1123 -0
  68. pulumi_gcp/dataloss/prevention_discovery_config.py +737 -0
  69. pulumi_gcp/dataproc/cluster.py +0 -20
  70. pulumi_gcp/dataproc/workflow_template.py +21 -26
  71. pulumi_gcp/deploymentmanager/deployment.py +0 -34
  72. pulumi_gcp/dns/_inputs.py +2 -130
  73. pulumi_gcp/dns/get_keys.py +1 -1
  74. pulumi_gcp/dns/get_managed_zones.py +3 -9
  75. pulumi_gcp/dns/get_record_set.py +3 -0
  76. pulumi_gcp/dns/outputs.py +36 -58
  77. pulumi_gcp/dns/record_set.py +2 -36
  78. pulumi_gcp/filestore/get_instance.py +11 -1
  79. pulumi_gcp/filestore/instance.py +101 -0
  80. pulumi_gcp/firebase/_inputs.py +16 -0
  81. pulumi_gcp/firebase/android_app.py +0 -27
  82. pulumi_gcp/firebase/app_check_play_integrity_config.py +20 -0
  83. pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +10 -0
  84. pulumi_gcp/firebase/app_check_service_config.py +0 -125
  85. pulumi_gcp/firebase/apple_app.py +0 -27
  86. pulumi_gcp/firebase/hosting_custom_domain.py +0 -27
  87. pulumi_gcp/firebase/hosting_version.py +44 -0
  88. pulumi_gcp/firebase/outputs.py +12 -0
  89. pulumi_gcp/firebase/web_app.py +0 -20
  90. pulumi_gcp/firestore/database.py +0 -68
  91. pulumi_gcp/firestore/document.py +4 -4
  92. pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +0 -12
  93. pulumi_gcp/gkeonprem/bare_metal_cluster.py +0 -12
  94. pulumi_gcp/gkeonprem/bare_metal_node_pool.py +0 -12
  95. pulumi_gcp/gkeonprem/v_mware_cluster.py +0 -12
  96. pulumi_gcp/gkeonprem/v_mware_node_pool.py +0 -12
  97. pulumi_gcp/logging/folder_sink.py +54 -0
  98. pulumi_gcp/logging/organization_sink.py +54 -0
  99. pulumi_gcp/monitoring/_inputs.py +46 -2
  100. pulumi_gcp/monitoring/outputs.py +40 -2
  101. pulumi_gcp/monitoring/uptime_check_config.py +6 -0
  102. pulumi_gcp/netapp/active_directory.py +0 -20
  103. pulumi_gcp/netapp/volume_replication.py +0 -68
  104. pulumi_gcp/networkconnectivity/__init__.py +1 -0
  105. pulumi_gcp/networkconnectivity/internal_range.py +1024 -0
  106. pulumi_gcp/organizations/get_active_folder.py +18 -3
  107. pulumi_gcp/projects/__init__.py +1 -0
  108. pulumi_gcp/projects/iam_member_remove.py +313 -0
  109. pulumi_gcp/provider.py +3 -1
  110. pulumi_gcp/secretmanager/get_secret.py +13 -3
  111. pulumi_gcp/secretmanager/outputs.py +20 -1
  112. pulumi_gcp/secretmanager/secret.py +90 -15
  113. pulumi_gcp/servicenetworking/connection.py +0 -20
  114. pulumi_gcp/spanner/database.py +0 -41
  115. pulumi_gcp/spanner/instance.py +0 -40
  116. pulumi_gcp/storage/__init__.py +1 -0
  117. pulumi_gcp/storage/bucket.py +0 -12
  118. pulumi_gcp/storage/get_bucket_objects.py +153 -0
  119. pulumi_gcp/storage/outputs.py +63 -0
  120. pulumi_gcp/vmwareengine/_inputs.py +63 -5
  121. pulumi_gcp/vmwareengine/get_private_cloud.py +1 -21
  122. pulumi_gcp/vmwareengine/outputs.py +113 -5
  123. pulumi_gcp/vmwareengine/private_cloud.py +0 -94
  124. pulumi_gcp/workbench/instance.py +4 -4
  125. pulumi_gcp/workstations/workstation.py +0 -12
  126. pulumi_gcp/workstations/workstation_cluster.py +32 -12
  127. pulumi_gcp/workstations/workstation_config.py +0 -12
  128. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/METADATA +1 -1
  129. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/RECORD +131 -124
  130. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/WHEEL +0 -0
  131. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/top_level.txt +0 -0
@@ -824,6 +824,61 @@ class Function(pulumi.CustomResource):
824
824
  ],
825
825
  ))
826
826
  ```
827
+ ### Cloudfunctions2 Basic Builder
828
+
829
+ ```python
830
+ import pulumi
831
+ import pulumi_gcp as gcp
832
+ import pulumi_time as time
833
+
834
+ project = "my-project-name"
835
+ account = gcp.serviceaccount.Account("account",
836
+ account_id="gcf-sa",
837
+ display_name="Test Service Account")
838
+ log_writer = gcp.projects.IAMMember("log_writer",
839
+ project=account.project,
840
+ role="roles/logging.logWriter",
841
+ member=account.email.apply(lambda email: f"serviceAccount:{email}"))
842
+ artifact_registry_writer = gcp.projects.IAMMember("artifact_registry_writer",
843
+ project=account.project,
844
+ role="roles/artifactregistry.writer",
845
+ member=account.email.apply(lambda email: f"serviceAccount:{email}"))
846
+ storage_object_admin = gcp.projects.IAMMember("storage_object_admin",
847
+ project=account.project,
848
+ role="roles/storage.objectAdmin",
849
+ member=account.email.apply(lambda email: f"serviceAccount:{email}"))
850
+ bucket = gcp.storage.Bucket("bucket",
851
+ name=f"{project}-gcf-source",
852
+ location="US",
853
+ uniform_bucket_level_access=True)
854
+ object = gcp.storage.BucketObject("object",
855
+ name="function-source.zip",
856
+ bucket=bucket.name,
857
+ source=pulumi.FileAsset("function-source.zip"))
858
+ # builder permissions need to stablize before it can pull the source zip
859
+ wait60s = time.index.Sleep("wait_60s", create_duration=60s)
860
+ function = gcp.cloudfunctionsv2.Function("function",
861
+ name="function-v2",
862
+ location="us-central1",
863
+ description="a new function",
864
+ build_config=gcp.cloudfunctionsv2.FunctionBuildConfigArgs(
865
+ runtime="nodejs16",
866
+ entry_point="helloHttp",
867
+ source=gcp.cloudfunctionsv2.FunctionBuildConfigSourceArgs(
868
+ storage_source=gcp.cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs(
869
+ bucket=bucket.name,
870
+ object=object.name,
871
+ ),
872
+ ),
873
+ service_account=account.id,
874
+ ),
875
+ service_config=gcp.cloudfunctionsv2.FunctionServiceConfigArgs(
876
+ max_instance_count=1,
877
+ available_memory="256M",
878
+ timeout_seconds=60,
879
+ ))
880
+ pulumi.export("functionUri", function.service_config.uri)
881
+ ```
827
882
  ### Cloudfunctions2 Secret Env
828
883
 
829
884
  ```python
@@ -1436,6 +1491,61 @@ class Function(pulumi.CustomResource):
1436
1491
  ],
1437
1492
  ))
1438
1493
  ```
1494
+ ### Cloudfunctions2 Basic Builder
1495
+
1496
+ ```python
1497
+ import pulumi
1498
+ import pulumi_gcp as gcp
1499
+ import pulumi_time as time
1500
+
1501
+ project = "my-project-name"
1502
+ account = gcp.serviceaccount.Account("account",
1503
+ account_id="gcf-sa",
1504
+ display_name="Test Service Account")
1505
+ log_writer = gcp.projects.IAMMember("log_writer",
1506
+ project=account.project,
1507
+ role="roles/logging.logWriter",
1508
+ member=account.email.apply(lambda email: f"serviceAccount:{email}"))
1509
+ artifact_registry_writer = gcp.projects.IAMMember("artifact_registry_writer",
1510
+ project=account.project,
1511
+ role="roles/artifactregistry.writer",
1512
+ member=account.email.apply(lambda email: f"serviceAccount:{email}"))
1513
+ storage_object_admin = gcp.projects.IAMMember("storage_object_admin",
1514
+ project=account.project,
1515
+ role="roles/storage.objectAdmin",
1516
+ member=account.email.apply(lambda email: f"serviceAccount:{email}"))
1517
+ bucket = gcp.storage.Bucket("bucket",
1518
+ name=f"{project}-gcf-source",
1519
+ location="US",
1520
+ uniform_bucket_level_access=True)
1521
+ object = gcp.storage.BucketObject("object",
1522
+ name="function-source.zip",
1523
+ bucket=bucket.name,
1524
+ source=pulumi.FileAsset("function-source.zip"))
1525
+ # builder permissions need to stablize before it can pull the source zip
1526
+ wait60s = time.index.Sleep("wait_60s", create_duration=60s)
1527
+ function = gcp.cloudfunctionsv2.Function("function",
1528
+ name="function-v2",
1529
+ location="us-central1",
1530
+ description="a new function",
1531
+ build_config=gcp.cloudfunctionsv2.FunctionBuildConfigArgs(
1532
+ runtime="nodejs16",
1533
+ entry_point="helloHttp",
1534
+ source=gcp.cloudfunctionsv2.FunctionBuildConfigSourceArgs(
1535
+ storage_source=gcp.cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs(
1536
+ bucket=bucket.name,
1537
+ object=object.name,
1538
+ ),
1539
+ ),
1540
+ service_account=account.id,
1541
+ ),
1542
+ service_config=gcp.cloudfunctionsv2.FunctionServiceConfigArgs(
1543
+ max_instance_count=1,
1544
+ available_memory="256M",
1545
+ timeout_seconds=60,
1546
+ ))
1547
+ pulumi.export("functionUri", function.service_config.uri)
1548
+ ```
1439
1549
  ### Cloudfunctions2 Secret Env
1440
1550
 
1441
1551
  ```python
@@ -46,6 +46,8 @@ class FunctionBuildConfig(dict):
46
46
  suggest = "entry_point"
47
47
  elif key == "environmentVariables":
48
48
  suggest = "environment_variables"
49
+ elif key == "serviceAccount":
50
+ suggest = "service_account"
49
51
  elif key == "workerPool":
50
52
  suggest = "worker_pool"
51
53
 
@@ -66,6 +68,7 @@ class FunctionBuildConfig(dict):
66
68
  entry_point: Optional[str] = None,
67
69
  environment_variables: Optional[Mapping[str, str]] = None,
68
70
  runtime: Optional[str] = None,
71
+ service_account: Optional[str] = None,
69
72
  source: Optional['outputs.FunctionBuildConfigSource'] = None,
70
73
  worker_pool: Optional[str] = None):
71
74
  """
@@ -81,6 +84,7 @@ class FunctionBuildConfig(dict):
81
84
  :param Mapping[str, str] environment_variables: User-provided build-time environment variables for the function.
82
85
  :param str runtime: The runtime in which to run the function. Required when deploying a new
83
86
  function, optional when updating an existing function.
87
+ :param str service_account: The fully-qualified name of the service account to be used for building the container.
84
88
  :param 'FunctionBuildConfigSourceArgs' source: The location of the function source code.
85
89
  Structure is documented below.
86
90
  :param str worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
@@ -95,6 +99,8 @@ class FunctionBuildConfig(dict):
95
99
  pulumi.set(__self__, "environment_variables", environment_variables)
96
100
  if runtime is not None:
97
101
  pulumi.set(__self__, "runtime", runtime)
102
+ if service_account is not None:
103
+ pulumi.set(__self__, "service_account", service_account)
98
104
  if source is not None:
99
105
  pulumi.set(__self__, "source", source)
100
106
  if worker_pool is not None:
@@ -147,6 +153,14 @@ class FunctionBuildConfig(dict):
147
153
  """
148
154
  return pulumi.get(self, "runtime")
149
155
 
156
+ @property
157
+ @pulumi.getter(name="serviceAccount")
158
+ def service_account(self) -> Optional[str]:
159
+ """
160
+ The fully-qualified name of the service account to be used for building the container.
161
+ """
162
+ return pulumi.get(self, "service_account")
163
+
150
164
  @property
151
165
  @pulumi.getter
152
166
  def source(self) -> Optional['outputs.FunctionBuildConfigSource']:
@@ -1093,6 +1107,7 @@ class GetFunctionBuildConfigResult(dict):
1093
1107
  entry_point: str,
1094
1108
  environment_variables: Mapping[str, str],
1095
1109
  runtime: str,
1110
+ service_account: str,
1096
1111
  sources: Sequence['outputs.GetFunctionBuildConfigSourceResult'],
1097
1112
  worker_pool: str):
1098
1113
  """
@@ -1107,6 +1122,7 @@ class GetFunctionBuildConfigResult(dict):
1107
1122
  :param Mapping[str, str] environment_variables: User-provided build-time environment variables for the function.
1108
1123
  :param str runtime: The runtime in which to run the function. Required when deploying a new
1109
1124
  function, optional when updating an existing function.
1125
+ :param str service_account: The fully-qualified name of the service account to be used for building the container.
1110
1126
  :param Sequence['GetFunctionBuildConfigSourceArgs'] sources: The location of the function source code.
1111
1127
  :param str worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
1112
1128
  """
@@ -1115,6 +1131,7 @@ class GetFunctionBuildConfigResult(dict):
1115
1131
  pulumi.set(__self__, "entry_point", entry_point)
1116
1132
  pulumi.set(__self__, "environment_variables", environment_variables)
1117
1133
  pulumi.set(__self__, "runtime", runtime)
1134
+ pulumi.set(__self__, "service_account", service_account)
1118
1135
  pulumi.set(__self__, "sources", sources)
1119
1136
  pulumi.set(__self__, "worker_pool", worker_pool)
1120
1137
 
@@ -1164,6 +1181,14 @@ class GetFunctionBuildConfigResult(dict):
1164
1181
  """
1165
1182
  return pulumi.get(self, "runtime")
1166
1183
 
1184
+ @property
1185
+ @pulumi.getter(name="serviceAccount")
1186
+ def service_account(self) -> str:
1187
+ """
1188
+ The fully-qualified name of the service account to be used for building the container.
1189
+ """
1190
+ return pulumi.get(self, "service_account")
1191
+
1167
1192
  @property
1168
1193
  @pulumi.getter
1169
1194
  def sources(self) -> Sequence['outputs.GetFunctionBuildConfigSourceResult']:
@@ -263,8 +263,6 @@ class _JobState:
263
263
  A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
264
264
  :param pulumi.Input[str] creator: Email address of the authenticated creator.
265
265
  :param pulumi.Input[str] delete_time: The deletion time.
266
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
267
- Terraform, other clients and services.
268
266
  :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.
269
267
  :param pulumi.Input[str] etag: A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
270
268
  :param pulumi.Input[int] execution_count: Number of executions created for this job.
@@ -468,10 +466,6 @@ class _JobState:
468
466
  @property
469
467
  @pulumi.getter(name="effectiveAnnotations")
470
468
  def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
471
- """
472
- All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
473
- Terraform, other clients and services.
474
- """
475
469
  return pulumi.get(self, "effective_annotations")
476
470
 
477
471
  @effective_annotations.setter
@@ -1470,8 +1464,6 @@ class Job(pulumi.CustomResource):
1470
1464
  A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
1471
1465
  :param pulumi.Input[str] creator: Email address of the authenticated creator.
1472
1466
  :param pulumi.Input[str] delete_time: The deletion time.
1473
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
1474
- Terraform, other clients and services.
1475
1467
  :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.
1476
1468
  :param pulumi.Input[str] etag: A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
1477
1469
  :param pulumi.Input[int] execution_count: Number of executions created for this job.
@@ -1620,10 +1612,6 @@ class Job(pulumi.CustomResource):
1620
1612
  @property
1621
1613
  @pulumi.getter(name="effectiveAnnotations")
1622
1614
  def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
1623
- """
1624
- All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
1625
- Terraform, other clients and services.
1626
- """
1627
1615
  return pulumi.get(self, "effective_annotations")
1628
1616
 
1629
1617
  @property
@@ -362,8 +362,6 @@ class _ServiceState:
362
362
  https://cloud.google.com/run/docs/configuring/custom-audiences.
363
363
  :param pulumi.Input[str] delete_time: The deletion time.
364
364
  :param pulumi.Input[str] description: User-provided description of the Service. This field currently has a 512-character limit.
365
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
366
- Terraform, other clients and services.
367
365
  :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.
368
366
  :param pulumi.Input[str] etag: A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
369
367
  :param pulumi.Input[str] expire_time: For a deleted resource, the time after which it will be permamently deleted.
@@ -614,10 +612,6 @@ class _ServiceState:
614
612
  @property
615
613
  @pulumi.getter(name="effectiveAnnotations")
616
614
  def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
617
- """
618
- All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
619
- Terraform, other clients and services.
620
- """
621
615
  return pulumi.get(self, "effective_annotations")
622
616
 
623
617
  @effective_annotations.setter
@@ -1966,8 +1960,6 @@ class Service(pulumi.CustomResource):
1966
1960
  https://cloud.google.com/run/docs/configuring/custom-audiences.
1967
1961
  :param pulumi.Input[str] delete_time: The deletion time.
1968
1962
  :param pulumi.Input[str] description: User-provided description of the Service. This field currently has a 512-character limit.
1969
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
1970
- Terraform, other clients and services.
1971
1963
  :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.
1972
1964
  :param pulumi.Input[str] etag: A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
1973
1965
  :param pulumi.Input[str] expire_time: For a deleted resource, the time after which it will be permamently deleted.
@@ -2148,10 +2140,6 @@ class Service(pulumi.CustomResource):
2148
2140
  @property
2149
2141
  @pulumi.getter(name="effectiveAnnotations")
2150
2142
  def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
2151
- """
2152
- All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
2153
- Terraform, other clients and services.
2154
- """
2155
2143
  return pulumi.get(self, "effective_annotations")
2156
2144
 
2157
2145
  @property
@@ -8,5 +8,6 @@ import typing
8
8
  from .environment import *
9
9
  from .get_environment import *
10
10
  from .get_image_versions import *
11
+ from .user_workloads_secret import *
11
12
  from ._inputs import *
12
13
  from . import outputs
@@ -27,11 +27,11 @@ class EnvironmentArgs:
27
27
  :param pulumi.Input['EnvironmentConfigArgs'] config: Configuration parameters for this environment.
28
28
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map
29
29
  are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and
30
- must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63
31
- characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be
32
- associated with a given environment. Both keys and values must be <= 128 bytes in size. **Note**: This field is
33
- non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
34
- 'effective_labels' for all of the labels present on the resource.
30
+ must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must
31
+ conform to the regular expression (a-z?)?. No more than 64 labels can be associated with a given environment. Both keys
32
+ and values must be <= 128 bytes in size. **Note**: This field is non-authoritative, and will only manage the labels
33
+ present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
34
+ resource.
35
35
  :param pulumi.Input[str] name: Name of the environment.
36
36
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
37
37
  :param pulumi.Input[str] region: The location or Compute Engine region for the environment.
@@ -68,11 +68,11 @@ class EnvironmentArgs:
68
68
  """
69
69
  User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map
70
70
  are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and
71
- must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63
72
- characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be
73
- associated with a given environment. Both keys and values must be <= 128 bytes in size. **Note**: This field is
74
- non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
75
- 'effective_labels' for all of the labels present on the resource.
71
+ must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must
72
+ conform to the regular expression (a-z?)?. No more than 64 labels can be associated with a given environment. Both keys
73
+ and values must be <= 128 bytes in size. **Note**: This field is non-authoritative, and will only manage the labels
74
+ present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
75
+ resource.
76
76
  """
77
77
  return pulumi.get(self, "labels")
78
78
 
@@ -143,15 +143,13 @@ class _EnvironmentState:
143
143
  """
144
144
  Input properties used for looking up and filtering Environment resources.
145
145
  :param pulumi.Input['EnvironmentConfigArgs'] config: Configuration parameters for this environment.
146
- :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 Terraform, other
147
- clients and services.
148
146
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map
149
147
  are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and
150
- must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63
151
- characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be
152
- associated with a given environment. Both keys and values must be <= 128 bytes in size. **Note**: This field is
153
- non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
154
- 'effective_labels' for all of the labels present on the resource.
148
+ must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must
149
+ conform to the regular expression (a-z?)?. No more than 64 labels can be associated with a given environment. Both keys
150
+ and values must be <= 128 bytes in size. **Note**: This field is non-authoritative, and will only manage the labels
151
+ present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
152
+ resource.
155
153
  :param pulumi.Input[str] name: Name of the environment.
156
154
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
157
155
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
@@ -190,10 +188,6 @@ class _EnvironmentState:
190
188
  @property
191
189
  @pulumi.getter(name="effectiveLabels")
192
190
  def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
193
- """
194
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
195
- clients and services.
196
- """
197
191
  return pulumi.get(self, "effective_labels")
198
192
 
199
193
  @effective_labels.setter
@@ -206,11 +200,11 @@ class _EnvironmentState:
206
200
  """
207
201
  User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map
208
202
  are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and
209
- must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63
210
- characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be
211
- associated with a given environment. Both keys and values must be <= 128 bytes in size. **Note**: This field is
212
- non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
213
- 'effective_labels' for all of the labels present on the resource.
203
+ must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must
204
+ conform to the regular expression (a-z?)?. No more than 64 labels can be associated with a given environment. Both keys
205
+ and values must be <= 128 bytes in size. **Note**: This field is non-authoritative, and will only manage the labels
206
+ present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
207
+ resource.
214
208
  """
215
209
  return pulumi.get(self, "labels")
216
210
 
@@ -321,11 +315,11 @@ class Environment(pulumi.CustomResource):
321
315
  :param pulumi.Input[pulumi.InputType['EnvironmentConfigArgs']] config: Configuration parameters for this environment.
322
316
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map
323
317
  are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and
324
- must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63
325
- characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be
326
- associated with a given environment. Both keys and values must be <= 128 bytes in size. **Note**: This field is
327
- non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
328
- 'effective_labels' for all of the labels present on the resource.
318
+ must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must
319
+ conform to the regular expression (a-z?)?. No more than 64 labels can be associated with a given environment. Both keys
320
+ and values must be <= 128 bytes in size. **Note**: This field is non-authoritative, and will only manage the labels
321
+ present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
322
+ resource.
329
323
  :param pulumi.Input[str] name: Name of the environment.
330
324
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
331
325
  :param pulumi.Input[str] region: The location or Compute Engine region for the environment.
@@ -428,15 +422,13 @@ class Environment(pulumi.CustomResource):
428
422
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
429
423
  :param pulumi.ResourceOptions opts: Options for the resource.
430
424
  :param pulumi.Input[pulumi.InputType['EnvironmentConfigArgs']] config: Configuration parameters for this environment.
431
- :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 Terraform, other
432
- clients and services.
433
425
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map
434
426
  are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and
435
- must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63
436
- characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be
437
- associated with a given environment. Both keys and values must be <= 128 bytes in size. **Note**: This field is
438
- non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
439
- 'effective_labels' for all of the labels present on the resource.
427
+ must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must
428
+ conform to the regular expression (a-z?)?. No more than 64 labels can be associated with a given environment. Both keys
429
+ and values must be <= 128 bytes in size. **Note**: This field is non-authoritative, and will only manage the labels
430
+ present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
431
+ resource.
440
432
  :param pulumi.Input[str] name: Name of the environment.
441
433
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
442
434
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
@@ -468,10 +460,6 @@ class Environment(pulumi.CustomResource):
468
460
  @property
469
461
  @pulumi.getter(name="effectiveLabels")
470
462
  def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
471
- """
472
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
473
- clients and services.
474
- """
475
463
  return pulumi.get(self, "effective_labels")
476
464
 
477
465
  @property
@@ -480,11 +468,11 @@ class Environment(pulumi.CustomResource):
480
468
  """
481
469
  User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map
482
470
  are UTF8 strings that comply with the following restrictions: Label keys must be between 1 and 63 characters long and
483
- must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63
484
- characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 64 labels can be
485
- associated with a given environment. Both keys and values must be <= 128 bytes in size. **Note**: This field is
486
- non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
487
- 'effective_labels' for all of the labels present on the resource.
471
+ must conform to the following regular expression: a-z?. Label values must be between 0 and 63 characters long and must
472
+ conform to the regular expression (a-z?)?. No more than 64 labels can be associated with a given environment. Both keys
473
+ and values must be <= 128 bytes in size. **Note**: This field is non-authoritative, and will only manage the labels
474
+ present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
475
+ resource.
488
476
  """
489
477
  return pulumi.get(self, "labels")
490
478