pulumi-gcp 8.17.0a1738274430__py3-none-any.whl → 8.18.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 (137) hide show
  1. pulumi_gcp/__init__.py +115 -0
  2. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
  3. pulumi_gcp/alloydb/cluster.py +75 -7
  4. pulumi_gcp/alloydb/user.py +10 -1
  5. pulumi_gcp/apigee/_inputs.py +91 -0
  6. pulumi_gcp/apigee/endpoint_attachment.py +0 -64
  7. pulumi_gcp/apigee/environment.py +54 -0
  8. pulumi_gcp/apigee/outputs.py +54 -0
  9. pulumi_gcp/apihub/__init__.py +10 -0
  10. pulumi_gcp/apihub/_inputs.py +154 -0
  11. pulumi_gcp/apihub/api_hub_instance.py +784 -0
  12. pulumi_gcp/apihub/outputs.py +124 -0
  13. pulumi_gcp/assuredworkloads/workload.py +7 -7
  14. pulumi_gcp/beyondcorp/__init__.py +4 -0
  15. pulumi_gcp/beyondcorp/_inputs.py +130 -0
  16. pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +180 -0
  17. pulumi_gcp/beyondcorp/outputs.py +76 -0
  18. pulumi_gcp/beyondcorp/security_gateway.py +52 -25
  19. pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +1075 -0
  20. pulumi_gcp/beyondcorp/security_gateway_iam_member.py +1075 -0
  21. pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +894 -0
  22. pulumi_gcp/bigquery/_inputs.py +33 -0
  23. pulumi_gcp/bigquery/dataset.py +7 -7
  24. pulumi_gcp/bigquery/outputs.py +36 -0
  25. pulumi_gcp/bigquery/table.py +61 -7
  26. pulumi_gcp/chronicle/__init__.py +1 -0
  27. pulumi_gcp/chronicle/_inputs.py +124 -0
  28. pulumi_gcp/chronicle/outputs.py +112 -0
  29. pulumi_gcp/chronicle/retrohunt.py +629 -0
  30. pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +23 -23
  31. pulumi_gcp/cloudrunv2/_inputs.py +197 -0
  32. pulumi_gcp/cloudrunv2/get_service.py +12 -1
  33. pulumi_gcp/cloudrunv2/outputs.py +256 -0
  34. pulumi_gcp/cloudrunv2/service.py +159 -0
  35. pulumi_gcp/colab/__init__.py +5 -0
  36. pulumi_gcp/colab/_inputs.py +131 -0
  37. pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
  38. pulumi_gcp/colab/outputs.py +92 -0
  39. pulumi_gcp/colab/runtime.py +696 -0
  40. pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
  41. pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
  42. pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
  43. pulumi_gcp/compute/__init__.py +4 -0
  44. pulumi_gcp/compute/_inputs.py +535 -9
  45. pulumi_gcp/compute/firewall_policy_rule.py +104 -22
  46. pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
  47. pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
  48. pulumi_gcp/compute/get_network.py +3 -3
  49. pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
  50. pulumi_gcp/compute/instance_template_iam_member.py +998 -0
  51. pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
  52. pulumi_gcp/compute/interconnect_attachment.py +189 -2
  53. pulumi_gcp/compute/network.py +7 -7
  54. pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
  55. pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
  56. pulumi_gcp/compute/outputs.py +358 -6
  57. pulumi_gcp/compute/project_metadata_item.py +12 -0
  58. pulumi_gcp/compute/public_advertised_prefix.py +87 -0
  59. pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
  60. pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
  61. pulumi_gcp/compute/router_peer.py +227 -3
  62. pulumi_gcp/config/__init__.pyi +2 -0
  63. pulumi_gcp/config/vars.py +4 -0
  64. pulumi_gcp/container/_inputs.py +79 -20
  65. pulumi_gcp/container/outputs.py +75 -12
  66. pulumi_gcp/dataproc/_inputs.py +34 -0
  67. pulumi_gcp/dataproc/outputs.py +37 -0
  68. pulumi_gcp/dataproc/workflow_template.py +47 -0
  69. pulumi_gcp/filestore/get_instance.py +12 -1
  70. pulumi_gcp/filestore/instance.py +75 -0
  71. pulumi_gcp/firestore/field.py +60 -0
  72. pulumi_gcp/gemini/code_repository_index.py +29 -33
  73. pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
  74. pulumi_gcp/gemini/repository_group.py +76 -26
  75. pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
  76. pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
  77. pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
  78. pulumi_gcp/gkehub/_inputs.py +20 -0
  79. pulumi_gcp/gkehub/membership_binding.py +6 -6
  80. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  81. pulumi_gcp/gkehub/namespace.py +4 -4
  82. pulumi_gcp/gkehub/outputs.py +26 -1
  83. pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
  84. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  85. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  86. pulumi_gcp/kms/__init__.py +1 -0
  87. pulumi_gcp/kms/get_key_handles.py +172 -0
  88. pulumi_gcp/kms/outputs.py +45 -0
  89. pulumi_gcp/netapp/storage_pool.py +1 -1
  90. pulumi_gcp/networkconnectivity/spoke.py +76 -14
  91. pulumi_gcp/networksecurity/_inputs.py +72 -0
  92. pulumi_gcp/networksecurity/outputs.py +76 -0
  93. pulumi_gcp/networksecurity/security_profile.py +233 -7
  94. pulumi_gcp/networksecurity/security_profile_group.py +218 -0
  95. pulumi_gcp/organizations/__init__.py +1 -0
  96. pulumi_gcp/organizations/get_s.py +128 -0
  97. pulumi_gcp/organizations/outputs.py +63 -0
  98. pulumi_gcp/orgpolicy/policy.py +2 -2
  99. pulumi_gcp/parametermanager/__init__.py +6 -0
  100. pulumi_gcp/parametermanager/get_parameter.py +211 -0
  101. pulumi_gcp/parametermanager/get_parameter_version.py +216 -0
  102. pulumi_gcp/parametermanager/get_parameters.py +140 -0
  103. pulumi_gcp/parametermanager/get_regional_parameter_version.py +235 -0
  104. pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
  105. pulumi_gcp/parametermanager/outputs.py +366 -0
  106. pulumi_gcp/parametermanager/parameter_version.py +496 -0
  107. pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
  108. pulumi_gcp/provider.py +20 -0
  109. pulumi_gcp/pubsub/_inputs.py +477 -1
  110. pulumi_gcp/pubsub/outputs.py +631 -2
  111. pulumi_gcp/pubsub/subscription.py +6 -6
  112. pulumi_gcp/pubsub/topic.py +112 -0
  113. pulumi_gcp/pulumi-plugin.json +1 -1
  114. pulumi_gcp/redis/__init__.py +1 -0
  115. pulumi_gcp/redis/_inputs.py +342 -6
  116. pulumi_gcp/redis/cluster.py +223 -102
  117. pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
  118. pulumi_gcp/redis/outputs.py +268 -4
  119. pulumi_gcp/resourcemanager/lien.py +12 -0
  120. pulumi_gcp/secretmanager/regional_secret.py +4 -0
  121. pulumi_gcp/secretmanager/regional_secret_version.py +12 -0
  122. pulumi_gcp/secretmanager/secret.py +4 -0
  123. pulumi_gcp/secretmanager/secret_version.py +12 -0
  124. pulumi_gcp/securityposture/posture.py +4 -0
  125. pulumi_gcp/securityposture/posture_deployment.py +4 -0
  126. pulumi_gcp/serviceaccount/get_s.py +98 -8
  127. pulumi_gcp/spanner/_inputs.py +68 -0
  128. pulumi_gcp/spanner/backup_schedule.py +70 -4
  129. pulumi_gcp/spanner/outputs.py +60 -0
  130. pulumi_gcp/storage/get_bucket_object_content.py +4 -4
  131. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  132. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  133. pulumi_gcp/workflows/workflow.py +175 -0
  134. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/METADATA +1 -1
  135. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/RECORD +137 -110
  136. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/WHEEL +0 -0
  137. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0.dist-info}/top_level.txt +0 -0
@@ -25,7 +25,7 @@ class SQuotaAdjusterSettingsArgs:
25
25
  The set of arguments for constructing a SQuotaAdjusterSettings resource.
26
26
  :param pulumi.Input[str] enablement: Required. The configured value of the enablement at the given resource.
27
27
  Possible values are: `ENABLED`, `DISABLED`.
28
- :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
28
+ :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".
29
29
 
30
30
 
31
31
  - - -
@@ -51,7 +51,7 @@ class SQuotaAdjusterSettingsArgs:
51
51
  @pulumi.getter
52
52
  def parent(self) -> Optional[pulumi.Input[str]]:
53
53
  """
54
- The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
54
+ The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".
55
55
 
56
56
 
57
57
  - - -
@@ -72,13 +72,13 @@ class _SQuotaAdjusterSettingsState:
72
72
  parent: Optional[pulumi.Input[str]] = None):
73
73
  """
74
74
  Input properties used for looking up and filtering SQuotaAdjusterSettings resources.
75
- :param pulumi.Input[str] effective_container: Fields to capture the hierarchy enablement.
76
- The container (org/folder/project) that determines if the quota adjuster is set for this project/folder/org. We use the nearest-ancestor to determine the effective container.
77
- The nearest ancestor (including this container) with `enabled` set (either true or false) will be returned.
78
- :param pulumi.Input[str] effective_enablement: Based on the effective container`s setting above, determines Whether this container has the quota adjuster enabled.
75
+ :param pulumi.Input[str] effective_container: The resource container that determines if the quota adjuster is set for this project.
76
+ Expect this field to be empty currently.
77
+ :param pulumi.Input[str] effective_enablement: Based on the effective container`s setting above, determines Whether this resource container has the quota adjuster enabled.
78
+ Expect this field to be empty currently.
79
79
  :param pulumi.Input[str] enablement: Required. The configured value of the enablement at the given resource.
80
80
  Possible values are: `ENABLED`, `DISABLED`.
81
- :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
81
+ :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".
82
82
 
83
83
 
84
84
  - - -
@@ -96,9 +96,8 @@ class _SQuotaAdjusterSettingsState:
96
96
  @pulumi.getter(name="effectiveContainer")
97
97
  def effective_container(self) -> Optional[pulumi.Input[str]]:
98
98
  """
99
- Fields to capture the hierarchy enablement.
100
- The container (org/folder/project) that determines if the quota adjuster is set for this project/folder/org. We use the nearest-ancestor to determine the effective container.
101
- The nearest ancestor (including this container) with `enabled` set (either true or false) will be returned.
99
+ The resource container that determines if the quota adjuster is set for this project.
100
+ Expect this field to be empty currently.
102
101
  """
103
102
  return pulumi.get(self, "effective_container")
104
103
 
@@ -110,7 +109,8 @@ class _SQuotaAdjusterSettingsState:
110
109
  @pulumi.getter(name="effectiveEnablement")
111
110
  def effective_enablement(self) -> Optional[pulumi.Input[str]]:
112
111
  """
113
- Based on the effective container`s setting above, determines Whether this container has the quota adjuster enabled.
112
+ Based on the effective container`s setting above, determines Whether this resource container has the quota adjuster enabled.
113
+ Expect this field to be empty currently.
114
114
  """
115
115
  return pulumi.get(self, "effective_enablement")
116
116
 
@@ -135,7 +135,7 @@ class _SQuotaAdjusterSettingsState:
135
135
  @pulumi.getter
136
136
  def parent(self) -> Optional[pulumi.Input[str]]:
137
137
  """
138
- The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
138
+ The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".
139
139
 
140
140
 
141
141
  - - -
@@ -185,7 +185,7 @@ class SQuotaAdjusterSettings(pulumi.CustomResource):
185
185
  :param pulumi.ResourceOptions opts: Options for the resource.
186
186
  :param pulumi.Input[str] enablement: Required. The configured value of the enablement at the given resource.
187
187
  Possible values are: `ENABLED`, `DISABLED`.
188
- :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
188
+ :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".
189
189
 
190
190
 
191
191
  - - -
@@ -275,13 +275,13 @@ class SQuotaAdjusterSettings(pulumi.CustomResource):
275
275
  :param str resource_name: The unique name of the resulting resource.
276
276
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
277
277
  :param pulumi.ResourceOptions opts: Options for the resource.
278
- :param pulumi.Input[str] effective_container: Fields to capture the hierarchy enablement.
279
- The container (org/folder/project) that determines if the quota adjuster is set for this project/folder/org. We use the nearest-ancestor to determine the effective container.
280
- The nearest ancestor (including this container) with `enabled` set (either true or false) will be returned.
281
- :param pulumi.Input[str] effective_enablement: Based on the effective container`s setting above, determines Whether this container has the quota adjuster enabled.
278
+ :param pulumi.Input[str] effective_container: The resource container that determines if the quota adjuster is set for this project.
279
+ Expect this field to be empty currently.
280
+ :param pulumi.Input[str] effective_enablement: Based on the effective container`s setting above, determines Whether this resource container has the quota adjuster enabled.
281
+ Expect this field to be empty currently.
282
282
  :param pulumi.Input[str] enablement: Required. The configured value of the enablement at the given resource.
283
283
  Possible values are: `ENABLED`, `DISABLED`.
284
- :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
284
+ :param pulumi.Input[str] parent: The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".
285
285
 
286
286
 
287
287
  - - -
@@ -300,9 +300,8 @@ class SQuotaAdjusterSettings(pulumi.CustomResource):
300
300
  @pulumi.getter(name="effectiveContainer")
301
301
  def effective_container(self) -> pulumi.Output[str]:
302
302
  """
303
- Fields to capture the hierarchy enablement.
304
- The container (org/folder/project) that determines if the quota adjuster is set for this project/folder/org. We use the nearest-ancestor to determine the effective container.
305
- The nearest ancestor (including this container) with `enabled` set (either true or false) will be returned.
303
+ The resource container that determines if the quota adjuster is set for this project.
304
+ Expect this field to be empty currently.
306
305
  """
307
306
  return pulumi.get(self, "effective_container")
308
307
 
@@ -310,7 +309,8 @@ class SQuotaAdjusterSettings(pulumi.CustomResource):
310
309
  @pulumi.getter(name="effectiveEnablement")
311
310
  def effective_enablement(self) -> pulumi.Output[str]:
312
311
  """
313
- Based on the effective container`s setting above, determines Whether this container has the quota adjuster enabled.
312
+ Based on the effective container`s setting above, determines Whether this resource container has the quota adjuster enabled.
313
+ Expect this field to be empty currently.
314
314
  """
315
315
  return pulumi.get(self, "effective_enablement")
316
316
 
@@ -327,7 +327,7 @@ class SQuotaAdjusterSettings(pulumi.CustomResource):
327
327
  @pulumi.getter
328
328
  def parent(self) -> pulumi.Output[str]:
329
329
  """
330
- The parent of the quota preference. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]".
330
+ The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".
331
331
 
332
332
 
333
333
  - - -
@@ -65,6 +65,8 @@ __all__ = [
65
65
  'JobTerminalConditionArgsDict',
66
66
  'ServiceBinaryAuthorizationArgs',
67
67
  'ServiceBinaryAuthorizationArgsDict',
68
+ 'ServiceBuildConfigArgs',
69
+ 'ServiceBuildConfigArgsDict',
68
70
  'ServiceConditionArgs',
69
71
  'ServiceConditionArgsDict',
70
72
  'ServiceIamBindingConditionArgs',
@@ -2377,6 +2379,201 @@ class ServiceBinaryAuthorizationArgs:
2377
2379
  pulumi.set(self, "use_default", value)
2378
2380
 
2379
2381
 
2382
+ if not MYPY:
2383
+ class ServiceBuildConfigArgsDict(TypedDict):
2384
+ base_image: NotRequired[pulumi.Input[str]]
2385
+ """
2386
+ The base image used to build the function.
2387
+ """
2388
+ enable_automatic_updates: NotRequired[pulumi.Input[bool]]
2389
+ """
2390
+ Sets whether the function will receive automatic base image updates.
2391
+ """
2392
+ environment_variables: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
2393
+ """
2394
+ User-provided build-time environment variables for the function.
2395
+ """
2396
+ function_target: NotRequired[pulumi.Input[str]]
2397
+ """
2398
+ The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
2399
+ """
2400
+ image_uri: NotRequired[pulumi.Input[str]]
2401
+ """
2402
+ Artifact Registry URI to store the built image.
2403
+ """
2404
+ name: NotRequired[pulumi.Input[str]]
2405
+ """
2406
+ (Output)
2407
+ The Cloud Build name of the latest successful deployment of the function.
2408
+ """
2409
+ service_account: NotRequired[pulumi.Input[str]]
2410
+ """
2411
+ Service account to be used for building the container. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
2412
+ """
2413
+ source_location: NotRequired[pulumi.Input[str]]
2414
+ """
2415
+ The Cloud Storage bucket URI where the function source code is located.
2416
+ """
2417
+ worker_pool: NotRequired[pulumi.Input[str]]
2418
+ """
2419
+ Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
2420
+ """
2421
+ elif False:
2422
+ ServiceBuildConfigArgsDict: TypeAlias = Mapping[str, Any]
2423
+
2424
+ @pulumi.input_type
2425
+ class ServiceBuildConfigArgs:
2426
+ def __init__(__self__, *,
2427
+ base_image: Optional[pulumi.Input[str]] = None,
2428
+ enable_automatic_updates: Optional[pulumi.Input[bool]] = None,
2429
+ environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2430
+ function_target: Optional[pulumi.Input[str]] = None,
2431
+ image_uri: Optional[pulumi.Input[str]] = None,
2432
+ name: Optional[pulumi.Input[str]] = None,
2433
+ service_account: Optional[pulumi.Input[str]] = None,
2434
+ source_location: Optional[pulumi.Input[str]] = None,
2435
+ worker_pool: Optional[pulumi.Input[str]] = None):
2436
+ """
2437
+ :param pulumi.Input[str] base_image: The base image used to build the function.
2438
+ :param pulumi.Input[bool] enable_automatic_updates: Sets whether the function will receive automatic base image updates.
2439
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: User-provided build-time environment variables for the function.
2440
+ :param pulumi.Input[str] function_target: The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
2441
+ :param pulumi.Input[str] image_uri: Artifact Registry URI to store the built image.
2442
+ :param pulumi.Input[str] name: (Output)
2443
+ The Cloud Build name of the latest successful deployment of the function.
2444
+ :param pulumi.Input[str] service_account: Service account to be used for building the container. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
2445
+ :param pulumi.Input[str] source_location: The Cloud Storage bucket URI where the function source code is located.
2446
+ :param pulumi.Input[str] worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
2447
+ """
2448
+ if base_image is not None:
2449
+ pulumi.set(__self__, "base_image", base_image)
2450
+ if enable_automatic_updates is not None:
2451
+ pulumi.set(__self__, "enable_automatic_updates", enable_automatic_updates)
2452
+ if environment_variables is not None:
2453
+ pulumi.set(__self__, "environment_variables", environment_variables)
2454
+ if function_target is not None:
2455
+ pulumi.set(__self__, "function_target", function_target)
2456
+ if image_uri is not None:
2457
+ pulumi.set(__self__, "image_uri", image_uri)
2458
+ if name is not None:
2459
+ pulumi.set(__self__, "name", name)
2460
+ if service_account is not None:
2461
+ pulumi.set(__self__, "service_account", service_account)
2462
+ if source_location is not None:
2463
+ pulumi.set(__self__, "source_location", source_location)
2464
+ if worker_pool is not None:
2465
+ pulumi.set(__self__, "worker_pool", worker_pool)
2466
+
2467
+ @property
2468
+ @pulumi.getter(name="baseImage")
2469
+ def base_image(self) -> Optional[pulumi.Input[str]]:
2470
+ """
2471
+ The base image used to build the function.
2472
+ """
2473
+ return pulumi.get(self, "base_image")
2474
+
2475
+ @base_image.setter
2476
+ def base_image(self, value: Optional[pulumi.Input[str]]):
2477
+ pulumi.set(self, "base_image", value)
2478
+
2479
+ @property
2480
+ @pulumi.getter(name="enableAutomaticUpdates")
2481
+ def enable_automatic_updates(self) -> Optional[pulumi.Input[bool]]:
2482
+ """
2483
+ Sets whether the function will receive automatic base image updates.
2484
+ """
2485
+ return pulumi.get(self, "enable_automatic_updates")
2486
+
2487
+ @enable_automatic_updates.setter
2488
+ def enable_automatic_updates(self, value: Optional[pulumi.Input[bool]]):
2489
+ pulumi.set(self, "enable_automatic_updates", value)
2490
+
2491
+ @property
2492
+ @pulumi.getter(name="environmentVariables")
2493
+ def environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
2494
+ """
2495
+ User-provided build-time environment variables for the function.
2496
+ """
2497
+ return pulumi.get(self, "environment_variables")
2498
+
2499
+ @environment_variables.setter
2500
+ def environment_variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
2501
+ pulumi.set(self, "environment_variables", value)
2502
+
2503
+ @property
2504
+ @pulumi.getter(name="functionTarget")
2505
+ def function_target(self) -> Optional[pulumi.Input[str]]:
2506
+ """
2507
+ The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".
2508
+ """
2509
+ return pulumi.get(self, "function_target")
2510
+
2511
+ @function_target.setter
2512
+ def function_target(self, value: Optional[pulumi.Input[str]]):
2513
+ pulumi.set(self, "function_target", value)
2514
+
2515
+ @property
2516
+ @pulumi.getter(name="imageUri")
2517
+ def image_uri(self) -> Optional[pulumi.Input[str]]:
2518
+ """
2519
+ Artifact Registry URI to store the built image.
2520
+ """
2521
+ return pulumi.get(self, "image_uri")
2522
+
2523
+ @image_uri.setter
2524
+ def image_uri(self, value: Optional[pulumi.Input[str]]):
2525
+ pulumi.set(self, "image_uri", value)
2526
+
2527
+ @property
2528
+ @pulumi.getter
2529
+ def name(self) -> Optional[pulumi.Input[str]]:
2530
+ """
2531
+ (Output)
2532
+ The Cloud Build name of the latest successful deployment of the function.
2533
+ """
2534
+ return pulumi.get(self, "name")
2535
+
2536
+ @name.setter
2537
+ def name(self, value: Optional[pulumi.Input[str]]):
2538
+ pulumi.set(self, "name", value)
2539
+
2540
+ @property
2541
+ @pulumi.getter(name="serviceAccount")
2542
+ def service_account(self) -> Optional[pulumi.Input[str]]:
2543
+ """
2544
+ Service account to be used for building the container. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
2545
+ """
2546
+ return pulumi.get(self, "service_account")
2547
+
2548
+ @service_account.setter
2549
+ def service_account(self, value: Optional[pulumi.Input[str]]):
2550
+ pulumi.set(self, "service_account", value)
2551
+
2552
+ @property
2553
+ @pulumi.getter(name="sourceLocation")
2554
+ def source_location(self) -> Optional[pulumi.Input[str]]:
2555
+ """
2556
+ The Cloud Storage bucket URI where the function source code is located.
2557
+ """
2558
+ return pulumi.get(self, "source_location")
2559
+
2560
+ @source_location.setter
2561
+ def source_location(self, value: Optional[pulumi.Input[str]]):
2562
+ pulumi.set(self, "source_location", value)
2563
+
2564
+ @property
2565
+ @pulumi.getter(name="workerPool")
2566
+ def worker_pool(self) -> Optional[pulumi.Input[str]]:
2567
+ """
2568
+ Name of the Cloud Build Custom Worker Pool that should be used to build the Cloud Run function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.
2569
+ """
2570
+ return pulumi.get(self, "worker_pool")
2571
+
2572
+ @worker_pool.setter
2573
+ def worker_pool(self, value: Optional[pulumi.Input[str]]):
2574
+ pulumi.set(self, "worker_pool", value)
2575
+
2576
+
2380
2577
  if not MYPY:
2381
2578
  class ServiceConditionArgsDict(TypedDict):
2382
2579
  execution_reason: NotRequired[pulumi.Input[str]]
@@ -27,13 +27,16 @@ class GetServiceResult:
27
27
  """
28
28
  A collection of values returned by getService.
29
29
  """
30
- def __init__(__self__, annotations=None, binary_authorizations=None, client=None, client_version=None, conditions=None, create_time=None, creator=None, custom_audiences=None, default_uri_disabled=None, delete_time=None, deletion_protection=None, description=None, effective_annotations=None, effective_labels=None, etag=None, expire_time=None, generation=None, id=None, ingress=None, invoker_iam_disabled=None, labels=None, last_modifier=None, latest_created_revision=None, latest_ready_revision=None, launch_stage=None, location=None, name=None, observed_generation=None, project=None, pulumi_labels=None, reconciling=None, scalings=None, templates=None, terminal_conditions=None, traffic_statuses=None, traffics=None, uid=None, update_time=None, uri=None, urls=None):
30
+ def __init__(__self__, annotations=None, binary_authorizations=None, build_configs=None, client=None, client_version=None, conditions=None, create_time=None, creator=None, custom_audiences=None, default_uri_disabled=None, delete_time=None, deletion_protection=None, description=None, effective_annotations=None, effective_labels=None, etag=None, expire_time=None, generation=None, id=None, ingress=None, invoker_iam_disabled=None, labels=None, last_modifier=None, latest_created_revision=None, latest_ready_revision=None, launch_stage=None, location=None, name=None, observed_generation=None, project=None, pulumi_labels=None, reconciling=None, scalings=None, templates=None, terminal_conditions=None, traffic_statuses=None, traffics=None, uid=None, update_time=None, uri=None, urls=None):
31
31
  if annotations and not isinstance(annotations, dict):
32
32
  raise TypeError("Expected argument 'annotations' to be a dict")
33
33
  pulumi.set(__self__, "annotations", annotations)
34
34
  if binary_authorizations and not isinstance(binary_authorizations, list):
35
35
  raise TypeError("Expected argument 'binary_authorizations' to be a list")
36
36
  pulumi.set(__self__, "binary_authorizations", binary_authorizations)
37
+ if build_configs and not isinstance(build_configs, list):
38
+ raise TypeError("Expected argument 'build_configs' to be a list")
39
+ pulumi.set(__self__, "build_configs", build_configs)
37
40
  if client and not isinstance(client, str):
38
41
  raise TypeError("Expected argument 'client' to be a str")
39
42
  pulumi.set(__self__, "client", client)
@@ -159,6 +162,11 @@ class GetServiceResult:
159
162
  def binary_authorizations(self) -> Sequence['outputs.GetServiceBinaryAuthorizationResult']:
160
163
  return pulumi.get(self, "binary_authorizations")
161
164
 
165
+ @property
166
+ @pulumi.getter(name="buildConfigs")
167
+ def build_configs(self) -> Sequence['outputs.GetServiceBuildConfigResult']:
168
+ return pulumi.get(self, "build_configs")
169
+
162
170
  @property
163
171
  @pulumi.getter
164
172
  def client(self) -> str:
@@ -361,6 +369,7 @@ class AwaitableGetServiceResult(GetServiceResult):
361
369
  return GetServiceResult(
362
370
  annotations=self.annotations,
363
371
  binary_authorizations=self.binary_authorizations,
372
+ build_configs=self.build_configs,
364
373
  client=self.client,
365
374
  client_version=self.client_version,
366
375
  conditions=self.conditions,
@@ -438,6 +447,7 @@ def get_service(location: Optional[str] = None,
438
447
  return AwaitableGetServiceResult(
439
448
  annotations=pulumi.get(__ret__, 'annotations'),
440
449
  binary_authorizations=pulumi.get(__ret__, 'binary_authorizations'),
450
+ build_configs=pulumi.get(__ret__, 'build_configs'),
441
451
  client=pulumi.get(__ret__, 'client'),
442
452
  client_version=pulumi.get(__ret__, 'client_version'),
443
453
  conditions=pulumi.get(__ret__, 'conditions'),
@@ -512,6 +522,7 @@ def get_service_output(location: Optional[pulumi.Input[Optional[str]]] = None,
512
522
  return __ret__.apply(lambda __response__: GetServiceResult(
513
523
  annotations=pulumi.get(__response__, 'annotations'),
514
524
  binary_authorizations=pulumi.get(__response__, 'binary_authorizations'),
525
+ build_configs=pulumi.get(__response__, 'build_configs'),
515
526
  client=pulumi.get(__response__, 'client'),
516
527
  client_version=pulumi.get(__response__, 'client_version'),
517
528
  conditions=pulumi.get(__response__, 'conditions'),