pulumi-gcp 8.16.0a1738080576__py3-none-any.whl → 8.17.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 (83) hide show
  1. pulumi_gcp/__init__.py +91 -0
  2. pulumi_gcp/alloydb/cluster.py +75 -7
  3. pulumi_gcp/apigee/_inputs.py +91 -0
  4. pulumi_gcp/apigee/endpoint_attachment.py +0 -64
  5. pulumi_gcp/apigee/environment.py +54 -0
  6. pulumi_gcp/apigee/outputs.py +54 -0
  7. pulumi_gcp/apihub/__init__.py +10 -0
  8. pulumi_gcp/apihub/_inputs.py +154 -0
  9. pulumi_gcp/apihub/api_hub_instance.py +784 -0
  10. pulumi_gcp/apihub/outputs.py +124 -0
  11. pulumi_gcp/chronicle/__init__.py +1 -0
  12. pulumi_gcp/chronicle/_inputs.py +124 -0
  13. pulumi_gcp/chronicle/outputs.py +112 -0
  14. pulumi_gcp/chronicle/retrohunt.py +645 -0
  15. pulumi_gcp/cloudrunv2/_inputs.py +197 -0
  16. pulumi_gcp/cloudrunv2/get_service.py +12 -1
  17. pulumi_gcp/cloudrunv2/outputs.py +256 -0
  18. pulumi_gcp/cloudrunv2/service.py +159 -0
  19. pulumi_gcp/colab/__init__.py +5 -0
  20. pulumi_gcp/colab/_inputs.py +131 -0
  21. pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
  22. pulumi_gcp/colab/outputs.py +92 -0
  23. pulumi_gcp/colab/runtime.py +696 -0
  24. pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
  25. pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
  26. pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
  27. pulumi_gcp/compute/__init__.py +4 -0
  28. pulumi_gcp/compute/_inputs.py +526 -0
  29. pulumi_gcp/compute/firewall_policy_rule.py +104 -22
  30. pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
  31. pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
  32. pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
  33. pulumi_gcp/compute/instance_template_iam_member.py +998 -0
  34. pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
  35. pulumi_gcp/compute/interconnect_attachment.py +189 -2
  36. pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
  37. pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
  38. pulumi_gcp/compute/outputs.py +352 -0
  39. pulumi_gcp/compute/project_metadata_item.py +12 -0
  40. pulumi_gcp/compute/public_advertised_prefix.py +87 -0
  41. pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
  42. pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
  43. pulumi_gcp/compute/router_peer.py +115 -3
  44. pulumi_gcp/config/__init__.pyi +2 -0
  45. pulumi_gcp/config/vars.py +4 -0
  46. pulumi_gcp/filestore/get_instance.py +12 -1
  47. pulumi_gcp/filestore/instance.py +75 -0
  48. pulumi_gcp/gemini/code_repository_index.py +29 -33
  49. pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
  50. pulumi_gcp/gemini/repository_group.py +76 -26
  51. pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
  52. pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
  53. pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
  54. pulumi_gcp/kms/__init__.py +1 -0
  55. pulumi_gcp/kms/get_key_handles.py +172 -0
  56. pulumi_gcp/kms/outputs.py +45 -0
  57. pulumi_gcp/networksecurity/_inputs.py +72 -0
  58. pulumi_gcp/networksecurity/outputs.py +76 -0
  59. pulumi_gcp/networksecurity/security_profile.py +233 -7
  60. pulumi_gcp/networksecurity/security_profile_group.py +218 -0
  61. pulumi_gcp/organizations/__init__.py +1 -0
  62. pulumi_gcp/organizations/get_s.py +128 -0
  63. pulumi_gcp/organizations/outputs.py +63 -0
  64. pulumi_gcp/parametermanager/__init__.py +3 -0
  65. pulumi_gcp/parametermanager/get_parameter.py +211 -0
  66. pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
  67. pulumi_gcp/parametermanager/outputs.py +210 -0
  68. pulumi_gcp/parametermanager/parameter_version.py +496 -0
  69. pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
  70. pulumi_gcp/provider.py +20 -0
  71. pulumi_gcp/pubsub/_inputs.py +213 -1
  72. pulumi_gcp/pubsub/outputs.py +278 -2
  73. pulumi_gcp/pubsub/topic.py +42 -0
  74. pulumi_gcp/pulumi-plugin.json +1 -1
  75. pulumi_gcp/redis/__init__.py +1 -0
  76. pulumi_gcp/redis/_inputs.py +342 -6
  77. pulumi_gcp/redis/cluster.py +223 -102
  78. pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
  79. pulumi_gcp/redis/outputs.py +268 -4
  80. {pulumi_gcp-8.16.0a1738080576.dist-info → pulumi_gcp-8.17.0.dist-info}/METADATA +1 -1
  81. {pulumi_gcp-8.16.0a1738080576.dist-info → pulumi_gcp-8.17.0.dist-info}/RECORD +83 -63
  82. {pulumi_gcp-8.16.0a1738080576.dist-info → pulumi_gcp-8.17.0.dist-info}/WHEEL +0 -0
  83. {pulumi_gcp-8.16.0a1738080576.dist-info → pulumi_gcp-8.17.0.dist-info}/top_level.txt +0 -0
@@ -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'),
@@ -41,6 +41,7 @@ __all__ = [
41
41
  'JobTemplateTemplateVpcAccessNetworkInterface',
42
42
  'JobTerminalCondition',
43
43
  'ServiceBinaryAuthorization',
44
+ 'ServiceBuildConfig',
44
45
  'ServiceCondition',
45
46
  'ServiceIamBindingCondition',
46
47
  'ServiceIamMemberCondition',
@@ -101,6 +102,7 @@ __all__ = [
101
102
  'GetJobTemplateTemplateVpcAccessNetworkInterfaceResult',
102
103
  'GetJobTerminalConditionResult',
103
104
  'GetServiceBinaryAuthorizationResult',
105
+ 'GetServiceBuildConfigResult',
104
106
  'GetServiceConditionResult',
105
107
  'GetServiceScalingResult',
106
108
  'GetServiceTemplateResult',
@@ -1812,6 +1814,154 @@ class ServiceBinaryAuthorization(dict):
1812
1814
  return pulumi.get(self, "use_default")
1813
1815
 
1814
1816
 
1817
+ @pulumi.output_type
1818
+ class ServiceBuildConfig(dict):
1819
+ @staticmethod
1820
+ def __key_warning(key: str):
1821
+ suggest = None
1822
+ if key == "baseImage":
1823
+ suggest = "base_image"
1824
+ elif key == "enableAutomaticUpdates":
1825
+ suggest = "enable_automatic_updates"
1826
+ elif key == "environmentVariables":
1827
+ suggest = "environment_variables"
1828
+ elif key == "functionTarget":
1829
+ suggest = "function_target"
1830
+ elif key == "imageUri":
1831
+ suggest = "image_uri"
1832
+ elif key == "serviceAccount":
1833
+ suggest = "service_account"
1834
+ elif key == "sourceLocation":
1835
+ suggest = "source_location"
1836
+ elif key == "workerPool":
1837
+ suggest = "worker_pool"
1838
+
1839
+ if suggest:
1840
+ pulumi.log.warn(f"Key '{key}' not found in ServiceBuildConfig. Access the value via the '{suggest}' property getter instead.")
1841
+
1842
+ def __getitem__(self, key: str) -> Any:
1843
+ ServiceBuildConfig.__key_warning(key)
1844
+ return super().__getitem__(key)
1845
+
1846
+ def get(self, key: str, default = None) -> Any:
1847
+ ServiceBuildConfig.__key_warning(key)
1848
+ return super().get(key, default)
1849
+
1850
+ def __init__(__self__, *,
1851
+ base_image: Optional[str] = None,
1852
+ enable_automatic_updates: Optional[bool] = None,
1853
+ environment_variables: Optional[Mapping[str, str]] = None,
1854
+ function_target: Optional[str] = None,
1855
+ image_uri: Optional[str] = None,
1856
+ name: Optional[str] = None,
1857
+ service_account: Optional[str] = None,
1858
+ source_location: Optional[str] = None,
1859
+ worker_pool: Optional[str] = None):
1860
+ """
1861
+ :param str base_image: The base image used to build the function.
1862
+ :param bool enable_automatic_updates: Sets whether the function will receive automatic base image updates.
1863
+ :param Mapping[str, str] environment_variables: User-provided build-time environment variables for the function.
1864
+ :param 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".
1865
+ :param str image_uri: Artifact Registry URI to store the built image.
1866
+ :param str name: (Output)
1867
+ The Cloud Build name of the latest successful deployment of the function.
1868
+ :param str service_account: Service account to be used for building the container. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
1869
+ :param str source_location: The Cloud Storage bucket URI where the function source code is located.
1870
+ :param 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.
1871
+ """
1872
+ if base_image is not None:
1873
+ pulumi.set(__self__, "base_image", base_image)
1874
+ if enable_automatic_updates is not None:
1875
+ pulumi.set(__self__, "enable_automatic_updates", enable_automatic_updates)
1876
+ if environment_variables is not None:
1877
+ pulumi.set(__self__, "environment_variables", environment_variables)
1878
+ if function_target is not None:
1879
+ pulumi.set(__self__, "function_target", function_target)
1880
+ if image_uri is not None:
1881
+ pulumi.set(__self__, "image_uri", image_uri)
1882
+ if name is not None:
1883
+ pulumi.set(__self__, "name", name)
1884
+ if service_account is not None:
1885
+ pulumi.set(__self__, "service_account", service_account)
1886
+ if source_location is not None:
1887
+ pulumi.set(__self__, "source_location", source_location)
1888
+ if worker_pool is not None:
1889
+ pulumi.set(__self__, "worker_pool", worker_pool)
1890
+
1891
+ @property
1892
+ @pulumi.getter(name="baseImage")
1893
+ def base_image(self) -> Optional[str]:
1894
+ """
1895
+ The base image used to build the function.
1896
+ """
1897
+ return pulumi.get(self, "base_image")
1898
+
1899
+ @property
1900
+ @pulumi.getter(name="enableAutomaticUpdates")
1901
+ def enable_automatic_updates(self) -> Optional[bool]:
1902
+ """
1903
+ Sets whether the function will receive automatic base image updates.
1904
+ """
1905
+ return pulumi.get(self, "enable_automatic_updates")
1906
+
1907
+ @property
1908
+ @pulumi.getter(name="environmentVariables")
1909
+ def environment_variables(self) -> Optional[Mapping[str, str]]:
1910
+ """
1911
+ User-provided build-time environment variables for the function.
1912
+ """
1913
+ return pulumi.get(self, "environment_variables")
1914
+
1915
+ @property
1916
+ @pulumi.getter(name="functionTarget")
1917
+ def function_target(self) -> Optional[str]:
1918
+ """
1919
+ 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".
1920
+ """
1921
+ return pulumi.get(self, "function_target")
1922
+
1923
+ @property
1924
+ @pulumi.getter(name="imageUri")
1925
+ def image_uri(self) -> Optional[str]:
1926
+ """
1927
+ Artifact Registry URI to store the built image.
1928
+ """
1929
+ return pulumi.get(self, "image_uri")
1930
+
1931
+ @property
1932
+ @pulumi.getter
1933
+ def name(self) -> Optional[str]:
1934
+ """
1935
+ (Output)
1936
+ The Cloud Build name of the latest successful deployment of the function.
1937
+ """
1938
+ return pulumi.get(self, "name")
1939
+
1940
+ @property
1941
+ @pulumi.getter(name="serviceAccount")
1942
+ def service_account(self) -> Optional[str]:
1943
+ """
1944
+ Service account to be used for building the container. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
1945
+ """
1946
+ return pulumi.get(self, "service_account")
1947
+
1948
+ @property
1949
+ @pulumi.getter(name="sourceLocation")
1950
+ def source_location(self) -> Optional[str]:
1951
+ """
1952
+ The Cloud Storage bucket URI where the function source code is located.
1953
+ """
1954
+ return pulumi.get(self, "source_location")
1955
+
1956
+ @property
1957
+ @pulumi.getter(name="workerPool")
1958
+ def worker_pool(self) -> Optional[str]:
1959
+ """
1960
+ 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.
1961
+ """
1962
+ return pulumi.get(self, "worker_pool")
1963
+
1964
+
1815
1965
  @pulumi.output_type
1816
1966
  class ServiceCondition(dict):
1817
1967
  @staticmethod
@@ -5355,6 +5505,112 @@ class GetServiceBinaryAuthorizationResult(dict):
5355
5505
  return pulumi.get(self, "use_default")
5356
5506
 
5357
5507
 
5508
+ @pulumi.output_type
5509
+ class GetServiceBuildConfigResult(dict):
5510
+ def __init__(__self__, *,
5511
+ base_image: str,
5512
+ enable_automatic_updates: bool,
5513
+ environment_variables: Mapping[str, str],
5514
+ function_target: str,
5515
+ image_uri: str,
5516
+ name: str,
5517
+ service_account: str,
5518
+ source_location: str,
5519
+ worker_pool: str):
5520
+ """
5521
+ :param str base_image: The base image used to build the function.
5522
+ :param bool enable_automatic_updates: Sets whether the function will receive automatic base image updates.
5523
+ :param Mapping[str, str] environment_variables: User-provided build-time environment variables for the function.
5524
+ :param 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".
5525
+ :param str image_uri: Artifact Registry URI to store the built image.
5526
+ :param str name: The name of the Cloud Run v2 Service.
5527
+ :param str service_account: Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
5528
+ :param str source_location: The Cloud Storage bucket URI where the function source code is located.
5529
+ :param 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.
5530
+ """
5531
+ pulumi.set(__self__, "base_image", base_image)
5532
+ pulumi.set(__self__, "enable_automatic_updates", enable_automatic_updates)
5533
+ pulumi.set(__self__, "environment_variables", environment_variables)
5534
+ pulumi.set(__self__, "function_target", function_target)
5535
+ pulumi.set(__self__, "image_uri", image_uri)
5536
+ pulumi.set(__self__, "name", name)
5537
+ pulumi.set(__self__, "service_account", service_account)
5538
+ pulumi.set(__self__, "source_location", source_location)
5539
+ pulumi.set(__self__, "worker_pool", worker_pool)
5540
+
5541
+ @property
5542
+ @pulumi.getter(name="baseImage")
5543
+ def base_image(self) -> str:
5544
+ """
5545
+ The base image used to build the function.
5546
+ """
5547
+ return pulumi.get(self, "base_image")
5548
+
5549
+ @property
5550
+ @pulumi.getter(name="enableAutomaticUpdates")
5551
+ def enable_automatic_updates(self) -> bool:
5552
+ """
5553
+ Sets whether the function will receive automatic base image updates.
5554
+ """
5555
+ return pulumi.get(self, "enable_automatic_updates")
5556
+
5557
+ @property
5558
+ @pulumi.getter(name="environmentVariables")
5559
+ def environment_variables(self) -> Mapping[str, str]:
5560
+ """
5561
+ User-provided build-time environment variables for the function.
5562
+ """
5563
+ return pulumi.get(self, "environment_variables")
5564
+
5565
+ @property
5566
+ @pulumi.getter(name="functionTarget")
5567
+ def function_target(self) -> str:
5568
+ """
5569
+ 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".
5570
+ """
5571
+ return pulumi.get(self, "function_target")
5572
+
5573
+ @property
5574
+ @pulumi.getter(name="imageUri")
5575
+ def image_uri(self) -> str:
5576
+ """
5577
+ Artifact Registry URI to store the built image.
5578
+ """
5579
+ return pulumi.get(self, "image_uri")
5580
+
5581
+ @property
5582
+ @pulumi.getter
5583
+ def name(self) -> str:
5584
+ """
5585
+ The name of the Cloud Run v2 Service.
5586
+ """
5587
+ return pulumi.get(self, "name")
5588
+
5589
+ @property
5590
+ @pulumi.getter(name="serviceAccount")
5591
+ def service_account(self) -> str:
5592
+ """
5593
+ Service account to be used for building the container. The format of this field is 'projects/{projectId}/serviceAccounts/{serviceAccountEmail}'.
5594
+ """
5595
+ return pulumi.get(self, "service_account")
5596
+
5597
+ @property
5598
+ @pulumi.getter(name="sourceLocation")
5599
+ def source_location(self) -> str:
5600
+ """
5601
+ The Cloud Storage bucket URI where the function source code is located.
5602
+ """
5603
+ return pulumi.get(self, "source_location")
5604
+
5605
+ @property
5606
+ @pulumi.getter(name="workerPool")
5607
+ def worker_pool(self) -> str:
5608
+ """
5609
+ 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.
5610
+ """
5611
+ return pulumi.get(self, "worker_pool")
5612
+
5613
+
5358
5614
  @pulumi.output_type
5359
5615
  class GetServiceConditionResult(dict):
5360
5616
  def __init__(__self__, *,