pulumi-gcp 8.15.0a1737095291__py3-none-any.whl → 8.15.0a1737577694__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 (77) hide show
  1. pulumi_gcp/__init__.py +78 -0
  2. pulumi_gcp/accesscontextmanager/access_level_condition.py +28 -0
  3. pulumi_gcp/accesscontextmanager/egress_policy.py +28 -0
  4. pulumi_gcp/accesscontextmanager/ingress_policy.py +28 -0
  5. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +28 -0
  6. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +28 -0
  7. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
  8. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +28 -0
  9. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +28 -0
  10. pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +56 -0
  11. pulumi_gcp/apigee/__init__.py +1 -0
  12. pulumi_gcp/apigee/environment_addons_config.py +266 -0
  13. pulumi_gcp/artifactregistry/repository.py +32 -2
  14. pulumi_gcp/bigquery/connection.py +2 -2
  15. pulumi_gcp/bigquery/routine.py +2 -2
  16. pulumi_gcp/billing/project_info.py +4 -4
  17. pulumi_gcp/chronicle/__init__.py +3 -0
  18. pulumi_gcp/chronicle/_inputs.py +379 -0
  19. pulumi_gcp/chronicle/data_access_label.py +21 -21
  20. pulumi_gcp/chronicle/outputs.py +302 -0
  21. pulumi_gcp/chronicle/reference_list.py +788 -0
  22. pulumi_gcp/chronicle/rule.py +1308 -0
  23. pulumi_gcp/chronicle/rule_deployment.py +849 -0
  24. pulumi_gcp/colab/__init__.py +10 -0
  25. pulumi_gcp/colab/_inputs.py +359 -0
  26. pulumi_gcp/colab/outputs.py +344 -0
  27. pulumi_gcp/colab/runtime_template.py +1160 -0
  28. pulumi_gcp/compute/_inputs.py +9 -9
  29. pulumi_gcp/compute/interconnect_attachment.py +7 -7
  30. pulumi_gcp/compute/outputs.py +6 -6
  31. pulumi_gcp/compute/route.py +8 -16
  32. pulumi_gcp/compute/subnetwork.py +7 -7
  33. pulumi_gcp/compute/target_instance.py +4 -4
  34. pulumi_gcp/compute/url_map.py +4 -0
  35. pulumi_gcp/config/__init__.pyi +6 -0
  36. pulumi_gcp/config/vars.py +12 -0
  37. pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
  38. pulumi_gcp/dataplex/entry_type.py +2 -2
  39. pulumi_gcp/dataplex/task.py +16 -16
  40. pulumi_gcp/dataproc/batch.py +10 -10
  41. pulumi_gcp/discoveryengine/_inputs.py +54 -0
  42. pulumi_gcp/discoveryengine/data_store.py +94 -0
  43. pulumi_gcp/discoveryengine/outputs.py +51 -0
  44. pulumi_gcp/edgenetwork/__init__.py +1 -0
  45. pulumi_gcp/edgenetwork/interconnect_attachment.py +941 -0
  46. pulumi_gcp/firestore/field.py +4 -4
  47. pulumi_gcp/gemini/code_repository_index.py +47 -0
  48. pulumi_gcp/gkehub/membership_binding.py +6 -6
  49. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  50. pulumi_gcp/gkehub/namespace.py +4 -4
  51. pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
  52. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  53. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  54. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  55. pulumi_gcp/networksecurity/authz_policy.py +0 -202
  56. pulumi_gcp/orgpolicy/policy.py +2 -2
  57. pulumi_gcp/parametermanager/__init__.py +13 -0
  58. pulumi_gcp/parametermanager/_inputs.py +174 -0
  59. pulumi_gcp/parametermanager/get_regional_parameter.py +230 -0
  60. pulumi_gcp/parametermanager/outputs.py +191 -0
  61. pulumi_gcp/parametermanager/parameter.py +706 -0
  62. pulumi_gcp/parametermanager/regional_parameter.py +762 -0
  63. pulumi_gcp/parametermanager/regional_parameter_version.py +558 -0
  64. pulumi_gcp/provider.py +60 -0
  65. pulumi_gcp/pubsub/subscription.py +6 -6
  66. pulumi_gcp/pulumi-plugin.json +1 -1
  67. pulumi_gcp/sql/_inputs.py +54 -0
  68. pulumi_gcp/sql/database_instance.py +78 -16
  69. pulumi_gcp/sql/get_database_instance.py +12 -1
  70. pulumi_gcp/sql/outputs.py +122 -0
  71. pulumi_gcp/sql/source_representation_instance.py +7 -14
  72. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  73. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  74. {pulumi_gcp-8.15.0a1737095291.dist-info → pulumi_gcp-8.15.0a1737577694.dist-info}/METADATA +1 -1
  75. {pulumi_gcp-8.15.0a1737095291.dist-info → pulumi_gcp-8.15.0a1737577694.dist-info}/RECORD +77 -61
  76. {pulumi_gcp-8.15.0a1737095291.dist-info → pulumi_gcp-8.15.0a1737577694.dist-info}/WHEEL +0 -0
  77. {pulumi_gcp-8.15.0a1737095291.dist-info → pulumi_gcp-8.15.0a1737577694.dist-info}/top_level.txt +0 -0
@@ -457,107 +457,6 @@ class AuthzPolicy(pulumi.CustomResource):
457
457
 
458
458
  ## Example Usage
459
459
 
460
- ### Network Services Authz Policy Advanced
461
-
462
- ```python
463
- import pulumi
464
- import pulumi_gcp as gcp
465
-
466
- default = gcp.compute.Network("default",
467
- name="lb-network",
468
- project="my-project-name",
469
- auto_create_subnetworks=False)
470
- default_subnetwork = gcp.compute.Subnetwork("default",
471
- name="backend-subnet",
472
- project="my-project-name",
473
- region="us-west1",
474
- ip_cidr_range="10.1.2.0/24",
475
- network=default.id)
476
- proxy_only = gcp.compute.Subnetwork("proxy_only",
477
- name="proxy-only-subnet",
478
- project="my-project-name",
479
- region="us-west1",
480
- ip_cidr_range="10.129.0.0/23",
481
- purpose="REGIONAL_MANAGED_PROXY",
482
- role="ACTIVE",
483
- network=default.id)
484
- default_address = gcp.compute.Address("default",
485
- name="l7-ilb-ip-address",
486
- project="my-project-name",
487
- region="us-west1",
488
- subnetwork=default_subnetwork.id,
489
- address_type="INTERNAL",
490
- purpose="GCE_ENDPOINT")
491
- default_region_health_check = gcp.compute.RegionHealthCheck("default",
492
- name="l7-ilb-basic-check",
493
- project="my-project-name",
494
- region="us-west1",
495
- http_health_check={
496
- "port_specification": "USE_SERVING_PORT",
497
- })
498
- url_map = gcp.compute.RegionBackendService("url_map",
499
- name="l7-ilb-backend-service",
500
- project="my-project-name",
501
- region="us-west1",
502
- load_balancing_scheme="INTERNAL_MANAGED",
503
- health_checks=default_region_health_check.id)
504
- default_region_url_map = gcp.compute.RegionUrlMap("default",
505
- name="l7-ilb-map",
506
- project="my-project-name",
507
- region="us-west1",
508
- default_service=url_map.id)
509
- default_region_target_http_proxy = gcp.compute.RegionTargetHttpProxy("default",
510
- name="l7-ilb-proxy",
511
- project="my-project-name",
512
- region="us-west1",
513
- url_map=default_region_url_map.id)
514
- default_forwarding_rule = gcp.compute.ForwardingRule("default",
515
- name="l7-ilb-forwarding-rule",
516
- project="my-project-name",
517
- region="us-west1",
518
- load_balancing_scheme="INTERNAL_MANAGED",
519
- network=default.id,
520
- subnetwork=default_subnetwork.id,
521
- ip_protocol="TCP",
522
- port_range="80",
523
- target=default_region_target_http_proxy.id,
524
- ip_address=default_address.id,
525
- opts = pulumi.ResourceOptions(depends_on=[proxy_only]))
526
- authz_extension = gcp.compute.RegionBackendService("authz_extension",
527
- name="authz-service",
528
- project="my-project-name",
529
- region="us-west1",
530
- protocol="HTTP2",
531
- load_balancing_scheme="INTERNAL_MANAGED",
532
- port_name="grpc")
533
- default_authz_extension = gcp.networkservices.AuthzExtension("default",
534
- name="my-authz-ext",
535
- project="my-project-name",
536
- location="us-west1",
537
- description="my description",
538
- load_balancing_scheme="INTERNAL_MANAGED",
539
- authority="ext11.com",
540
- service=authz_extension.self_link,
541
- timeout="0.1s",
542
- fail_open=False,
543
- forward_headers=["Authorization"])
544
- default_authz_policy = gcp.networksecurity.AuthzPolicy("default",
545
- name="my-authz-policy",
546
- project="my-project-name",
547
- location="us-west1",
548
- description="my description",
549
- target={
550
- "load_balancing_scheme": "INTERNAL_MANAGED",
551
- "resources": [default_forwarding_rule.self_link],
552
- },
553
- action="CUSTOM",
554
- custom_provider={
555
- "authz_extension": {
556
- "resources": [default_authz_extension.id],
557
- },
558
- })
559
- ```
560
-
561
460
  ## Import
562
461
 
563
462
  AuthzPolicy can be imported using any of these accepted formats:
@@ -628,107 +527,6 @@ class AuthzPolicy(pulumi.CustomResource):
628
527
 
629
528
  ## Example Usage
630
529
 
631
- ### Network Services Authz Policy Advanced
632
-
633
- ```python
634
- import pulumi
635
- import pulumi_gcp as gcp
636
-
637
- default = gcp.compute.Network("default",
638
- name="lb-network",
639
- project="my-project-name",
640
- auto_create_subnetworks=False)
641
- default_subnetwork = gcp.compute.Subnetwork("default",
642
- name="backend-subnet",
643
- project="my-project-name",
644
- region="us-west1",
645
- ip_cidr_range="10.1.2.0/24",
646
- network=default.id)
647
- proxy_only = gcp.compute.Subnetwork("proxy_only",
648
- name="proxy-only-subnet",
649
- project="my-project-name",
650
- region="us-west1",
651
- ip_cidr_range="10.129.0.0/23",
652
- purpose="REGIONAL_MANAGED_PROXY",
653
- role="ACTIVE",
654
- network=default.id)
655
- default_address = gcp.compute.Address("default",
656
- name="l7-ilb-ip-address",
657
- project="my-project-name",
658
- region="us-west1",
659
- subnetwork=default_subnetwork.id,
660
- address_type="INTERNAL",
661
- purpose="GCE_ENDPOINT")
662
- default_region_health_check = gcp.compute.RegionHealthCheck("default",
663
- name="l7-ilb-basic-check",
664
- project="my-project-name",
665
- region="us-west1",
666
- http_health_check={
667
- "port_specification": "USE_SERVING_PORT",
668
- })
669
- url_map = gcp.compute.RegionBackendService("url_map",
670
- name="l7-ilb-backend-service",
671
- project="my-project-name",
672
- region="us-west1",
673
- load_balancing_scheme="INTERNAL_MANAGED",
674
- health_checks=default_region_health_check.id)
675
- default_region_url_map = gcp.compute.RegionUrlMap("default",
676
- name="l7-ilb-map",
677
- project="my-project-name",
678
- region="us-west1",
679
- default_service=url_map.id)
680
- default_region_target_http_proxy = gcp.compute.RegionTargetHttpProxy("default",
681
- name="l7-ilb-proxy",
682
- project="my-project-name",
683
- region="us-west1",
684
- url_map=default_region_url_map.id)
685
- default_forwarding_rule = gcp.compute.ForwardingRule("default",
686
- name="l7-ilb-forwarding-rule",
687
- project="my-project-name",
688
- region="us-west1",
689
- load_balancing_scheme="INTERNAL_MANAGED",
690
- network=default.id,
691
- subnetwork=default_subnetwork.id,
692
- ip_protocol="TCP",
693
- port_range="80",
694
- target=default_region_target_http_proxy.id,
695
- ip_address=default_address.id,
696
- opts = pulumi.ResourceOptions(depends_on=[proxy_only]))
697
- authz_extension = gcp.compute.RegionBackendService("authz_extension",
698
- name="authz-service",
699
- project="my-project-name",
700
- region="us-west1",
701
- protocol="HTTP2",
702
- load_balancing_scheme="INTERNAL_MANAGED",
703
- port_name="grpc")
704
- default_authz_extension = gcp.networkservices.AuthzExtension("default",
705
- name="my-authz-ext",
706
- project="my-project-name",
707
- location="us-west1",
708
- description="my description",
709
- load_balancing_scheme="INTERNAL_MANAGED",
710
- authority="ext11.com",
711
- service=authz_extension.self_link,
712
- timeout="0.1s",
713
- fail_open=False,
714
- forward_headers=["Authorization"])
715
- default_authz_policy = gcp.networksecurity.AuthzPolicy("default",
716
- name="my-authz-policy",
717
- project="my-project-name",
718
- location="us-west1",
719
- description="my description",
720
- target={
721
- "load_balancing_scheme": "INTERNAL_MANAGED",
722
- "resources": [default_forwarding_rule.self_link],
723
- },
724
- action="CUSTOM",
725
- custom_provider={
726
- "authz_extension": {
727
- "resources": [default_authz_extension.id],
728
- },
729
- })
730
- ```
731
-
732
530
  ## Import
733
531
 
734
532
  AuthzPolicy can be imported using any of these accepted formats:
@@ -313,7 +313,7 @@ class Policy(pulumi.CustomResource):
313
313
  import pulumi_gcp as gcp
314
314
 
315
315
  constraint = gcp.orgpolicy.CustomConstraint("constraint",
316
- name="custom.disableGkeAutoUpgrade_76044",
316
+ name="custom.disableGkeAutoUpgrade_69391",
317
317
  parent="organizations/123456789",
318
318
  display_name="Disable GKE auto upgrade",
319
319
  description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
@@ -502,7 +502,7 @@ class Policy(pulumi.CustomResource):
502
502
  import pulumi_gcp as gcp
503
503
 
504
504
  constraint = gcp.orgpolicy.CustomConstraint("constraint",
505
- name="custom.disableGkeAutoUpgrade_76044",
505
+ name="custom.disableGkeAutoUpgrade_69391",
506
506
  parent="organizations/123456789",
507
507
  display_name="Disable GKE auto upgrade",
508
508
  description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
@@ -0,0 +1,13 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ from .. import _utilities
6
+ import typing
7
+ # Export this package's modules as members:
8
+ from .get_regional_parameter import *
9
+ from .parameter import *
10
+ from .regional_parameter import *
11
+ from .regional_parameter_version import *
12
+ from ._inputs import *
13
+ from . import outputs
@@ -0,0 +1,174 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'ParameterPolicyMemberArgs',
19
+ 'ParameterPolicyMemberArgsDict',
20
+ 'RegionalParameterPolicyMemberArgs',
21
+ 'RegionalParameterPolicyMemberArgsDict',
22
+ ]
23
+
24
+ MYPY = False
25
+
26
+ if not MYPY:
27
+ class ParameterPolicyMemberArgsDict(TypedDict):
28
+ iam_policy_name_principal: NotRequired[pulumi.Input[str]]
29
+ """
30
+ (Output)
31
+ IAM policy binding member referring to a Google Cloud resource by user-assigned name. If a
32
+ resource is deleted and recreated with the same name, the binding will be applicable to the
33
+ new resource. Format:
34
+ `principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/global/parameters/{{parameter_id}}`
35
+ """
36
+ iam_policy_uid_principal: NotRequired[pulumi.Input[str]]
37
+ """
38
+ (Output)
39
+ IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
40
+ If a resource is deleted and recreated with the same name, the binding will not be applicable to the
41
+ new resource. Format:
42
+ `principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/global/parameters/{{uid}}`
43
+ """
44
+ elif False:
45
+ ParameterPolicyMemberArgsDict: TypeAlias = Mapping[str, Any]
46
+
47
+ @pulumi.input_type
48
+ class ParameterPolicyMemberArgs:
49
+ def __init__(__self__, *,
50
+ iam_policy_name_principal: Optional[pulumi.Input[str]] = None,
51
+ iam_policy_uid_principal: Optional[pulumi.Input[str]] = None):
52
+ """
53
+ :param pulumi.Input[str] iam_policy_name_principal: (Output)
54
+ IAM policy binding member referring to a Google Cloud resource by user-assigned name. If a
55
+ resource is deleted and recreated with the same name, the binding will be applicable to the
56
+ new resource. Format:
57
+ `principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/global/parameters/{{parameter_id}}`
58
+ :param pulumi.Input[str] iam_policy_uid_principal: (Output)
59
+ IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
60
+ If a resource is deleted and recreated with the same name, the binding will not be applicable to the
61
+ new resource. Format:
62
+ `principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/global/parameters/{{uid}}`
63
+ """
64
+ if iam_policy_name_principal is not None:
65
+ pulumi.set(__self__, "iam_policy_name_principal", iam_policy_name_principal)
66
+ if iam_policy_uid_principal is not None:
67
+ pulumi.set(__self__, "iam_policy_uid_principal", iam_policy_uid_principal)
68
+
69
+ @property
70
+ @pulumi.getter(name="iamPolicyNamePrincipal")
71
+ def iam_policy_name_principal(self) -> Optional[pulumi.Input[str]]:
72
+ """
73
+ (Output)
74
+ IAM policy binding member referring to a Google Cloud resource by user-assigned name. If a
75
+ resource is deleted and recreated with the same name, the binding will be applicable to the
76
+ new resource. Format:
77
+ `principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/global/parameters/{{parameter_id}}`
78
+ """
79
+ return pulumi.get(self, "iam_policy_name_principal")
80
+
81
+ @iam_policy_name_principal.setter
82
+ def iam_policy_name_principal(self, value: Optional[pulumi.Input[str]]):
83
+ pulumi.set(self, "iam_policy_name_principal", value)
84
+
85
+ @property
86
+ @pulumi.getter(name="iamPolicyUidPrincipal")
87
+ def iam_policy_uid_principal(self) -> Optional[pulumi.Input[str]]:
88
+ """
89
+ (Output)
90
+ IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier.
91
+ If a resource is deleted and recreated with the same name, the binding will not be applicable to the
92
+ new resource. Format:
93
+ `principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/global/parameters/{{uid}}`
94
+ """
95
+ return pulumi.get(self, "iam_policy_uid_principal")
96
+
97
+ @iam_policy_uid_principal.setter
98
+ def iam_policy_uid_principal(self, value: Optional[pulumi.Input[str]]):
99
+ pulumi.set(self, "iam_policy_uid_principal", value)
100
+
101
+
102
+ if not MYPY:
103
+ class RegionalParameterPolicyMemberArgsDict(TypedDict):
104
+ iam_policy_name_principal: NotRequired[pulumi.Input[str]]
105
+ """
106
+ (Output)
107
+ IAM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is
108
+ deleted and recreated with the same name, the binding will be applicable to the new resource. Format:
109
+ `principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}}`
110
+ """
111
+ iam_policy_uid_principal: NotRequired[pulumi.Input[str]]
112
+ """
113
+ (Output)
114
+ IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier. If
115
+ a resource is deleted and recreated with the same name, the binding will not be applicable to the new
116
+ resource. Format:
117
+ `principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}}`
118
+ """
119
+ elif False:
120
+ RegionalParameterPolicyMemberArgsDict: TypeAlias = Mapping[str, Any]
121
+
122
+ @pulumi.input_type
123
+ class RegionalParameterPolicyMemberArgs:
124
+ def __init__(__self__, *,
125
+ iam_policy_name_principal: Optional[pulumi.Input[str]] = None,
126
+ iam_policy_uid_principal: Optional[pulumi.Input[str]] = None):
127
+ """
128
+ :param pulumi.Input[str] iam_policy_name_principal: (Output)
129
+ IAM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is
130
+ deleted and recreated with the same name, the binding will be applicable to the new resource. Format:
131
+ `principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}}`
132
+ :param pulumi.Input[str] iam_policy_uid_principal: (Output)
133
+ IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier. If
134
+ a resource is deleted and recreated with the same name, the binding will not be applicable to the new
135
+ resource. Format:
136
+ `principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}}`
137
+ """
138
+ if iam_policy_name_principal is not None:
139
+ pulumi.set(__self__, "iam_policy_name_principal", iam_policy_name_principal)
140
+ if iam_policy_uid_principal is not None:
141
+ pulumi.set(__self__, "iam_policy_uid_principal", iam_policy_uid_principal)
142
+
143
+ @property
144
+ @pulumi.getter(name="iamPolicyNamePrincipal")
145
+ def iam_policy_name_principal(self) -> Optional[pulumi.Input[str]]:
146
+ """
147
+ (Output)
148
+ IAM policy binding member referring to a Google Cloud resource by user-assigned name. If a resource is
149
+ deleted and recreated with the same name, the binding will be applicable to the new resource. Format:
150
+ `principal://parametermanager.googleapis.com/projects/{{project}}/name/locations/{{location}}/parameters/{{parameter_id}}`
151
+ """
152
+ return pulumi.get(self, "iam_policy_name_principal")
153
+
154
+ @iam_policy_name_principal.setter
155
+ def iam_policy_name_principal(self, value: Optional[pulumi.Input[str]]):
156
+ pulumi.set(self, "iam_policy_name_principal", value)
157
+
158
+ @property
159
+ @pulumi.getter(name="iamPolicyUidPrincipal")
160
+ def iam_policy_uid_principal(self) -> Optional[pulumi.Input[str]]:
161
+ """
162
+ (Output)
163
+ IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier. If
164
+ a resource is deleted and recreated with the same name, the binding will not be applicable to the new
165
+ resource. Format:
166
+ `principal://parametermanager.googleapis.com/projects/{{project}}/uid/locations/{{location}}/parameters/{{uid}}`
167
+ """
168
+ return pulumi.get(self, "iam_policy_uid_principal")
169
+
170
+ @iam_policy_uid_principal.setter
171
+ def iam_policy_uid_principal(self, value: Optional[pulumi.Input[str]]):
172
+ pulumi.set(self, "iam_policy_uid_principal", value)
173
+
174
+
@@ -0,0 +1,230 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetRegionalParameterResult',
20
+ 'AwaitableGetRegionalParameterResult',
21
+ 'get_regional_parameter',
22
+ 'get_regional_parameter_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetRegionalParameterResult:
27
+ """
28
+ A collection of values returned by getRegionalParameter.
29
+ """
30
+ def __init__(__self__, create_time=None, effective_labels=None, format=None, id=None, labels=None, location=None, name=None, parameter_id=None, policy_members=None, project=None, pulumi_labels=None, update_time=None):
31
+ if create_time and not isinstance(create_time, str):
32
+ raise TypeError("Expected argument 'create_time' to be a str")
33
+ pulumi.set(__self__, "create_time", create_time)
34
+ if effective_labels and not isinstance(effective_labels, dict):
35
+ raise TypeError("Expected argument 'effective_labels' to be a dict")
36
+ pulumi.set(__self__, "effective_labels", effective_labels)
37
+ if format and not isinstance(format, str):
38
+ raise TypeError("Expected argument 'format' to be a str")
39
+ pulumi.set(__self__, "format", format)
40
+ if id and not isinstance(id, str):
41
+ raise TypeError("Expected argument 'id' to be a str")
42
+ pulumi.set(__self__, "id", id)
43
+ if labels and not isinstance(labels, dict):
44
+ raise TypeError("Expected argument 'labels' to be a dict")
45
+ pulumi.set(__self__, "labels", labels)
46
+ if location and not isinstance(location, str):
47
+ raise TypeError("Expected argument 'location' to be a str")
48
+ pulumi.set(__self__, "location", location)
49
+ if name and not isinstance(name, str):
50
+ raise TypeError("Expected argument 'name' to be a str")
51
+ pulumi.set(__self__, "name", name)
52
+ if parameter_id and not isinstance(parameter_id, str):
53
+ raise TypeError("Expected argument 'parameter_id' to be a str")
54
+ pulumi.set(__self__, "parameter_id", parameter_id)
55
+ if policy_members and not isinstance(policy_members, list):
56
+ raise TypeError("Expected argument 'policy_members' to be a list")
57
+ pulumi.set(__self__, "policy_members", policy_members)
58
+ if project and not isinstance(project, str):
59
+ raise TypeError("Expected argument 'project' to be a str")
60
+ pulumi.set(__self__, "project", project)
61
+ if pulumi_labels and not isinstance(pulumi_labels, dict):
62
+ raise TypeError("Expected argument 'pulumi_labels' to be a dict")
63
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
64
+ if update_time and not isinstance(update_time, str):
65
+ raise TypeError("Expected argument 'update_time' to be a str")
66
+ pulumi.set(__self__, "update_time", update_time)
67
+
68
+ @property
69
+ @pulumi.getter(name="createTime")
70
+ def create_time(self) -> str:
71
+ return pulumi.get(self, "create_time")
72
+
73
+ @property
74
+ @pulumi.getter(name="effectiveLabels")
75
+ def effective_labels(self) -> Mapping[str, str]:
76
+ return pulumi.get(self, "effective_labels")
77
+
78
+ @property
79
+ @pulumi.getter
80
+ def format(self) -> str:
81
+ return pulumi.get(self, "format")
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def id(self) -> str:
86
+ """
87
+ The provider-assigned unique ID for this managed resource.
88
+ """
89
+ return pulumi.get(self, "id")
90
+
91
+ @property
92
+ @pulumi.getter
93
+ def labels(self) -> Mapping[str, str]:
94
+ return pulumi.get(self, "labels")
95
+
96
+ @property
97
+ @pulumi.getter
98
+ def location(self) -> str:
99
+ return pulumi.get(self, "location")
100
+
101
+ @property
102
+ @pulumi.getter
103
+ def name(self) -> str:
104
+ return pulumi.get(self, "name")
105
+
106
+ @property
107
+ @pulumi.getter(name="parameterId")
108
+ def parameter_id(self) -> str:
109
+ return pulumi.get(self, "parameter_id")
110
+
111
+ @property
112
+ @pulumi.getter(name="policyMembers")
113
+ def policy_members(self) -> Sequence['outputs.GetRegionalParameterPolicyMemberResult']:
114
+ return pulumi.get(self, "policy_members")
115
+
116
+ @property
117
+ @pulumi.getter
118
+ def project(self) -> Optional[str]:
119
+ return pulumi.get(self, "project")
120
+
121
+ @property
122
+ @pulumi.getter(name="pulumiLabels")
123
+ def pulumi_labels(self) -> Mapping[str, str]:
124
+ return pulumi.get(self, "pulumi_labels")
125
+
126
+ @property
127
+ @pulumi.getter(name="updateTime")
128
+ def update_time(self) -> str:
129
+ return pulumi.get(self, "update_time")
130
+
131
+
132
+ class AwaitableGetRegionalParameterResult(GetRegionalParameterResult):
133
+ # pylint: disable=using-constant-test
134
+ def __await__(self):
135
+ if False:
136
+ yield self
137
+ return GetRegionalParameterResult(
138
+ create_time=self.create_time,
139
+ effective_labels=self.effective_labels,
140
+ format=self.format,
141
+ id=self.id,
142
+ labels=self.labels,
143
+ location=self.location,
144
+ name=self.name,
145
+ parameter_id=self.parameter_id,
146
+ policy_members=self.policy_members,
147
+ project=self.project,
148
+ pulumi_labels=self.pulumi_labels,
149
+ update_time=self.update_time)
150
+
151
+
152
+ def get_regional_parameter(location: Optional[str] = None,
153
+ parameter_id: Optional[str] = None,
154
+ project: Optional[str] = None,
155
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalParameterResult:
156
+ """
157
+ ## Example Usage
158
+
159
+ ```python
160
+ import pulumi
161
+ import pulumi_gcp as gcp
162
+
163
+ reg_parameter_datasource = gcp.parametermanager.get_regional_parameter(parameter_id="foobar",
164
+ location="us-central1")
165
+ ```
166
+
167
+
168
+ :param str location: The location of the regional parameter. eg us-central1
169
+ :param str parameter_id: The name of the regional parameter.
170
+ :param str project: The ID of the project in which the resource belongs.
171
+ """
172
+ __args__ = dict()
173
+ __args__['location'] = location
174
+ __args__['parameterId'] = parameter_id
175
+ __args__['project'] = project
176
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
177
+ __ret__ = pulumi.runtime.invoke('gcp:parametermanager/getRegionalParameter:getRegionalParameter', __args__, opts=opts, typ=GetRegionalParameterResult).value
178
+
179
+ return AwaitableGetRegionalParameterResult(
180
+ create_time=pulumi.get(__ret__, 'create_time'),
181
+ effective_labels=pulumi.get(__ret__, 'effective_labels'),
182
+ format=pulumi.get(__ret__, 'format'),
183
+ id=pulumi.get(__ret__, 'id'),
184
+ labels=pulumi.get(__ret__, 'labels'),
185
+ location=pulumi.get(__ret__, 'location'),
186
+ name=pulumi.get(__ret__, 'name'),
187
+ parameter_id=pulumi.get(__ret__, 'parameter_id'),
188
+ policy_members=pulumi.get(__ret__, 'policy_members'),
189
+ project=pulumi.get(__ret__, 'project'),
190
+ pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
191
+ update_time=pulumi.get(__ret__, 'update_time'))
192
+ def get_regional_parameter_output(location: Optional[pulumi.Input[str]] = None,
193
+ parameter_id: Optional[pulumi.Input[str]] = None,
194
+ project: Optional[pulumi.Input[Optional[str]]] = None,
195
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegionalParameterResult]:
196
+ """
197
+ ## Example Usage
198
+
199
+ ```python
200
+ import pulumi
201
+ import pulumi_gcp as gcp
202
+
203
+ reg_parameter_datasource = gcp.parametermanager.get_regional_parameter(parameter_id="foobar",
204
+ location="us-central1")
205
+ ```
206
+
207
+
208
+ :param str location: The location of the regional parameter. eg us-central1
209
+ :param str parameter_id: The name of the regional parameter.
210
+ :param str project: The ID of the project in which the resource belongs.
211
+ """
212
+ __args__ = dict()
213
+ __args__['location'] = location
214
+ __args__['parameterId'] = parameter_id
215
+ __args__['project'] = project
216
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
217
+ __ret__ = pulumi.runtime.invoke_output('gcp:parametermanager/getRegionalParameter:getRegionalParameter', __args__, opts=opts, typ=GetRegionalParameterResult)
218
+ return __ret__.apply(lambda __response__: GetRegionalParameterResult(
219
+ create_time=pulumi.get(__response__, 'create_time'),
220
+ effective_labels=pulumi.get(__response__, 'effective_labels'),
221
+ format=pulumi.get(__response__, 'format'),
222
+ id=pulumi.get(__response__, 'id'),
223
+ labels=pulumi.get(__response__, 'labels'),
224
+ location=pulumi.get(__response__, 'location'),
225
+ name=pulumi.get(__response__, 'name'),
226
+ parameter_id=pulumi.get(__response__, 'parameter_id'),
227
+ policy_members=pulumi.get(__response__, 'policy_members'),
228
+ project=pulumi.get(__response__, 'project'),
229
+ pulumi_labels=pulumi.get(__response__, 'pulumi_labels'),
230
+ update_time=pulumi.get(__response__, 'update_time')))