pulumi-gcp 7.31.0a1720850808__py3-none-any.whl → 7.31.0a1721039192__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 (86) hide show
  1. pulumi_gcp/__init__.py +40 -0
  2. pulumi_gcp/applicationintegration/auth_config.py +2 -2
  3. pulumi_gcp/bigquery/reservation_assignment.py +48 -30
  4. pulumi_gcp/certificateauthority/certificate_template.py +2 -2
  5. pulumi_gcp/certificatemanager/_inputs.py +33 -0
  6. pulumi_gcp/certificatemanager/outputs.py +36 -0
  7. pulumi_gcp/certificatemanager/trust_config.py +107 -0
  8. pulumi_gcp/compute/_inputs.py +3 -6
  9. pulumi_gcp/compute/ca_external_account_key.py +2 -2
  10. pulumi_gcp/compute/get_health_check.py +11 -1
  11. pulumi_gcp/compute/global_forwarding_rule.py +2 -4
  12. pulumi_gcp/compute/health_check.py +124 -0
  13. pulumi_gcp/compute/instance.py +14 -14
  14. pulumi_gcp/compute/instance_group_membership.py +2 -2
  15. pulumi_gcp/compute/outputs.py +4 -8
  16. pulumi_gcp/compute/region_network_endpoint.py +2 -2
  17. pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
  18. pulumi_gcp/compute/subnetwork.py +2 -2
  19. pulumi_gcp/config/__init__.pyi +2 -0
  20. pulumi_gcp/config/vars.py +4 -0
  21. pulumi_gcp/container/_inputs.py +3 -3
  22. pulumi_gcp/container/outputs.py +4 -4
  23. pulumi_gcp/containeranalysis/note.py +2 -2
  24. pulumi_gcp/dataloss/_inputs.py +3 -0
  25. pulumi_gcp/dataloss/outputs.py +2 -0
  26. pulumi_gcp/dataloss/prevention_job_trigger.py +90 -0
  27. pulumi_gcp/dataplex/_inputs.py +56 -0
  28. pulumi_gcp/dataplex/datascan.py +12 -0
  29. pulumi_gcp/dataplex/outputs.py +52 -0
  30. pulumi_gcp/filestore/backup.py +2 -2
  31. pulumi_gcp/filestore/instance.py +2 -2
  32. pulumi_gcp/filestore/snapshot.py +2 -2
  33. pulumi_gcp/gkehub/_inputs.py +20 -0
  34. pulumi_gcp/gkehub/outputs.py +12 -0
  35. pulumi_gcp/kms/__init__.py +2 -0
  36. pulumi_gcp/kms/crypto_key.py +7 -7
  37. pulumi_gcp/kms/get_crypto_keys.py +143 -0
  38. pulumi_gcp/kms/get_key_rings.py +119 -0
  39. pulumi_gcp/kms/outputs.py +270 -0
  40. pulumi_gcp/logging/_inputs.py +12 -12
  41. pulumi_gcp/logging/folder_bucket_config.py +6 -6
  42. pulumi_gcp/logging/organization_bucket_config.py +6 -6
  43. pulumi_gcp/logging/outputs.py +8 -8
  44. pulumi_gcp/logging/project_bucket_config.py +6 -6
  45. pulumi_gcp/looker/instance.py +2 -2
  46. pulumi_gcp/monitoring/custom_service.py +2 -2
  47. pulumi_gcp/monitoring/generic_service.py +2 -2
  48. pulumi_gcp/monitoring/notification_channel.py +2 -2
  49. pulumi_gcp/monitoring/slo.py +2 -2
  50. pulumi_gcp/netapp/storage_pool.py +132 -53
  51. pulumi_gcp/netapp/volume.py +60 -4
  52. pulumi_gcp/networksecurity/address_group.py +85 -1
  53. pulumi_gcp/networksecurity/firewall_endpoint.py +2 -2
  54. pulumi_gcp/networksecurity/firewall_endpoint_association.py +2 -2
  55. pulumi_gcp/networksecurity/security_profile_group.py +2 -2
  56. pulumi_gcp/orgpolicy/_inputs.py +40 -10
  57. pulumi_gcp/orgpolicy/outputs.py +28 -8
  58. pulumi_gcp/orgpolicy/policy.py +52 -35
  59. pulumi_gcp/provider.py +20 -0
  60. pulumi_gcp/pubsub/_inputs.py +3 -3
  61. pulumi_gcp/pubsub/outputs.py +4 -4
  62. pulumi_gcp/pulumi-plugin.json +1 -1
  63. pulumi_gcp/securesourcemanager/__init__.py +5 -0
  64. pulumi_gcp/securesourcemanager/_inputs.py +284 -0
  65. pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +177 -0
  66. pulumi_gcp/securesourcemanager/outputs.py +202 -0
  67. pulumi_gcp/securesourcemanager/repository.py +715 -0
  68. pulumi_gcp/securesourcemanager/repository_iam_binding.py +804 -0
  69. pulumi_gcp/securesourcemanager/repository_iam_member.py +804 -0
  70. pulumi_gcp/securesourcemanager/repository_iam_policy.py +643 -0
  71. pulumi_gcp/securitycenter/__init__.py +1 -0
  72. pulumi_gcp/securitycenter/_inputs.py +93 -0
  73. pulumi_gcp/securitycenter/outputs.py +59 -0
  74. pulumi_gcp/securitycenter/v2_organization_notification_config.py +576 -0
  75. pulumi_gcp/securityposture/posture_deployment.py +0 -78
  76. pulumi_gcp/servicenetworking/vpc_service_controls.py +2 -2
  77. pulumi_gcp/vertex/_inputs.py +21 -1
  78. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +222 -0
  79. pulumi_gcp/vertex/outputs.py +15 -1
  80. pulumi_gcp/workstations/_inputs.py +33 -1
  81. pulumi_gcp/workstations/outputs.py +23 -1
  82. pulumi_gcp/workstations/workstation_config.py +18 -0
  83. {pulumi_gcp-7.31.0a1720850808.dist-info → pulumi_gcp-7.31.0a1721039192.dist-info}/METADATA +1 -1
  84. {pulumi_gcp-7.31.0a1720850808.dist-info → pulumi_gcp-7.31.0a1721039192.dist-info}/RECORD +86 -78
  85. {pulumi_gcp-7.31.0a1720850808.dist-info → pulumi_gcp-7.31.0a1721039192.dist-info}/WHEEL +0 -0
  86. {pulumi_gcp-7.31.0a1720850808.dist-info → pulumi_gcp-7.31.0a1721039192.dist-info}/top_level.txt +0 -0
@@ -54,11 +54,14 @@ class PolicyDryRunSpec(dict):
54
54
  rules: Optional[Sequence['outputs.PolicyDryRunSpecRule']] = None,
55
55
  update_time: Optional[str] = None):
56
56
  """
57
- :param str etag: An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
57
+ :param str etag: (Output)
58
+ An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
58
59
  :param bool inherit_from_parent: Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.
59
60
  :param bool reset: Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.
60
61
  :param Sequence['PolicyDryRunSpecRuleArgs'] rules: In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
61
- :param str update_time: Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
62
+ Structure is documented below.
63
+ :param str update_time: (Output)
64
+ Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
62
65
  """
63
66
  if etag is not None:
64
67
  pulumi.set(__self__, "etag", etag)
@@ -75,6 +78,7 @@ class PolicyDryRunSpec(dict):
75
78
  @pulumi.getter
76
79
  def etag(self) -> Optional[str]:
77
80
  """
81
+ (Output)
78
82
  An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
79
83
  """
80
84
  return pulumi.get(self, "etag")
@@ -100,6 +104,7 @@ class PolicyDryRunSpec(dict):
100
104
  def rules(self) -> Optional[Sequence['outputs.PolicyDryRunSpecRule']]:
101
105
  """
102
106
  In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.
107
+ Structure is documented below.
103
108
  """
104
109
  return pulumi.get(self, "rules")
105
110
 
@@ -107,6 +112,7 @@ class PolicyDryRunSpec(dict):
107
112
  @pulumi.getter(name="updateTime")
108
113
  def update_time(self) -> Optional[str]:
109
114
  """
115
+ (Output)
110
116
  Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
111
117
  """
112
118
  return pulumi.get(self, "update_time")
@@ -142,9 +148,11 @@ class PolicyDryRunSpecRule(dict):
142
148
  """
143
149
  :param str allow_all: Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints.
144
150
  :param 'PolicyDryRunSpecRuleConditionArgs' condition: A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
151
+ Structure is documented below.
145
152
  :param str deny_all: Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints.
146
153
  :param str enforce: If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
147
- :param 'PolicyDryRunSpecRuleValuesArgs' values: List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
154
+ :param 'PolicyDryRunSpecRuleValuesArgs' values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
155
+ Structure is documented below.
148
156
  """
149
157
  if allow_all is not None:
150
158
  pulumi.set(__self__, "allow_all", allow_all)
@@ -170,6 +178,7 @@ class PolicyDryRunSpecRule(dict):
170
178
  def condition(self) -> Optional['outputs.PolicyDryRunSpecRuleCondition']:
171
179
  """
172
180
  A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
181
+ Structure is documented below.
173
182
  """
174
183
  return pulumi.get(self, "condition")
175
184
 
@@ -193,7 +202,8 @@ class PolicyDryRunSpecRule(dict):
193
202
  @pulumi.getter
194
203
  def values(self) -> Optional['outputs.PolicyDryRunSpecRuleValues']:
195
204
  """
196
- List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
205
+ List of values to be used for this policy rule. This field can be set only in policies for list constraints.
206
+ Structure is documented below.
197
207
  """
198
208
  return pulumi.get(self, "values")
199
209
 
@@ -331,11 +341,14 @@ class PolicySpec(dict):
331
341
  rules: Optional[Sequence['outputs.PolicySpecRule']] = None,
332
342
  update_time: Optional[str] = None):
333
343
  """
334
- :param str etag: An opaque tag indicating the current version of the `Policy`, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
344
+ :param str etag: (Output)
345
+ An opaque tag indicating the current version of the `Policy`, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
335
346
  :param bool inherit_from_parent: Determines the inheritance behavior for this `Policy`. If `inherit_from_parent` is true, PolicyRules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this Policy becomes the new root for evaluation. This field can be set only for Policies which configure list constraints.
336
347
  :param bool reset: Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific `Constraint` at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.
337
348
  :param Sequence['PolicySpecRuleArgs'] rules: Up to 10 PolicyRules are allowed. In Policies for boolean constraints, the following requirements apply: - There must be one and only one PolicyRule where condition is unset. - BooleanPolicyRules with conditions must set `enforced` to the opposite of the PolicyRule without a condition. - During policy evaluation, PolicyRules with conditions that are true for a target resource take precedence.
338
- :param str update_time: Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`.
349
+ Structure is documented below.
350
+ :param str update_time: (Output)
351
+ Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`.
339
352
  """
340
353
  if etag is not None:
341
354
  pulumi.set(__self__, "etag", etag)
@@ -352,6 +365,7 @@ class PolicySpec(dict):
352
365
  @pulumi.getter
353
366
  def etag(self) -> Optional[str]:
354
367
  """
368
+ (Output)
355
369
  An opaque tag indicating the current version of the `Policy`, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset.
356
370
  """
357
371
  return pulumi.get(self, "etag")
@@ -377,6 +391,7 @@ class PolicySpec(dict):
377
391
  def rules(self) -> Optional[Sequence['outputs.PolicySpecRule']]:
378
392
  """
379
393
  Up to 10 PolicyRules are allowed. In Policies for boolean constraints, the following requirements apply: - There must be one and only one PolicyRule where condition is unset. - BooleanPolicyRules with conditions must set `enforced` to the opposite of the PolicyRule without a condition. - During policy evaluation, PolicyRules with conditions that are true for a target resource take precedence.
394
+ Structure is documented below.
380
395
  """
381
396
  return pulumi.get(self, "rules")
382
397
 
@@ -384,6 +399,7 @@ class PolicySpec(dict):
384
399
  @pulumi.getter(name="updateTime")
385
400
  def update_time(self) -> Optional[str]:
386
401
  """
402
+ (Output)
387
403
  Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`.
388
404
  """
389
405
  return pulumi.get(self, "update_time")
@@ -419,9 +435,11 @@ class PolicySpecRule(dict):
419
435
  """
420
436
  :param str allow_all: Setting this to `"TRUE"` means that all values are allowed. This field can be set only in Policies for list constraints.
421
437
  :param 'PolicySpecRuleConditionArgs' condition: A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
438
+ Structure is documented below.
422
439
  :param str deny_all: Setting this to `"TRUE"` means that all values are denied. This field can be set only in Policies for list constraints.
423
440
  :param str enforce: If `"TRUE"`, then the `Policy` is enforced. If `"FALSE"`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
424
- :param 'PolicySpecRuleValuesArgs' values: List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
441
+ :param 'PolicySpecRuleValuesArgs' values: List of values to be used for this policy rule. This field can be set only in policies for list constraints.
442
+ Structure is documented below.
425
443
  """
426
444
  if allow_all is not None:
427
445
  pulumi.set(__self__, "allow_all", allow_all)
@@ -447,6 +465,7 @@ class PolicySpecRule(dict):
447
465
  def condition(self) -> Optional['outputs.PolicySpecRuleCondition']:
448
466
  """
449
467
  A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')".
468
+ Structure is documented below.
450
469
  """
451
470
  return pulumi.get(self, "condition")
452
471
 
@@ -470,7 +489,8 @@ class PolicySpecRule(dict):
470
489
  @pulumi.getter
471
490
  def values(self) -> Optional['outputs.PolicySpecRuleValues']:
472
491
  """
473
- List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
492
+ List of values to be used for this policy rule. This field can be set only in policies for list constraints.
493
+ Structure is documented below.
474
494
  """
475
495
  return pulumi.get(self, "values")
476
496
 
@@ -30,11 +30,12 @@ class PolicyArgs:
30
30
  :param pulumi.Input[str] parent: The parent of the resource.
31
31
 
32
32
 
33
-
34
33
  - - -
35
34
  :param pulumi.Input['PolicyDryRunSpecArgs'] dry_run_spec: Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced.
35
+ Structure is documented below.
36
36
  :param pulumi.Input[str] name: Immutable. The resource name of the Policy. Must be one of the following forms, where constraint_name is the name of the constraint which this Policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, "projects/123/policies/compute.disableSerialPortAccess". Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.
37
37
  :param pulumi.Input['PolicySpecArgs'] spec: Basic information about the Organization Policy.
38
+ Structure is documented below.
38
39
  """
39
40
  pulumi.set(__self__, "parent", parent)
40
41
  if dry_run_spec is not None:
@@ -51,7 +52,6 @@ class PolicyArgs:
51
52
  The parent of the resource.
52
53
 
53
54
 
54
-
55
55
  - - -
56
56
  """
57
57
  return pulumi.get(self, "parent")
@@ -65,6 +65,7 @@ class PolicyArgs:
65
65
  def dry_run_spec(self) -> Optional[pulumi.Input['PolicyDryRunSpecArgs']]:
66
66
  """
67
67
  Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced.
68
+ Structure is documented below.
68
69
  """
69
70
  return pulumi.get(self, "dry_run_spec")
70
71
 
@@ -89,6 +90,7 @@ class PolicyArgs:
89
90
  def spec(self) -> Optional[pulumi.Input['PolicySpecArgs']]:
90
91
  """
91
92
  Basic information about the Organization Policy.
93
+ Structure is documented below.
92
94
  """
93
95
  return pulumi.get(self, "spec")
94
96
 
@@ -108,14 +110,15 @@ class _PolicyState:
108
110
  """
109
111
  Input properties used for looking up and filtering Policy resources.
110
112
  :param pulumi.Input['PolicyDryRunSpecArgs'] dry_run_spec: Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced.
113
+ Structure is documented below.
111
114
  :param pulumi.Input[str] etag: Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
112
115
  :param pulumi.Input[str] name: Immutable. The resource name of the Policy. Must be one of the following forms, where constraint_name is the name of the constraint which this Policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, "projects/123/policies/compute.disableSerialPortAccess". Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.
113
116
  :param pulumi.Input[str] parent: The parent of the resource.
114
117
 
115
118
 
116
-
117
119
  - - -
118
120
  :param pulumi.Input['PolicySpecArgs'] spec: Basic information about the Organization Policy.
121
+ Structure is documented below.
119
122
  """
120
123
  if dry_run_spec is not None:
121
124
  pulumi.set(__self__, "dry_run_spec", dry_run_spec)
@@ -133,6 +136,7 @@ class _PolicyState:
133
136
  def dry_run_spec(self) -> Optional[pulumi.Input['PolicyDryRunSpecArgs']]:
134
137
  """
135
138
  Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced.
139
+ Structure is documented below.
136
140
  """
137
141
  return pulumi.get(self, "dry_run_spec")
138
142
 
@@ -171,7 +175,6 @@ class _PolicyState:
171
175
  The parent of the resource.
172
176
 
173
177
 
174
-
175
178
  - - -
176
179
  """
177
180
  return pulumi.get(self, "parent")
@@ -185,6 +188,7 @@ class _PolicyState:
185
188
  def spec(self) -> Optional[pulumi.Input['PolicySpecArgs']]:
186
189
  """
187
190
  Basic information about the Organization Policy.
191
+ Structure is documented below.
188
192
  """
189
193
  return pulumi.get(self, "spec")
190
194
 
@@ -204,16 +208,19 @@ class Policy(pulumi.CustomResource):
204
208
  spec: Optional[pulumi.Input[Union['PolicySpecArgs', 'PolicySpecArgsDict']]] = None,
205
209
  __props__=None):
206
210
  """
207
- An organization policy gives you programmatic control over your organization's cloud resources. Using Organization Policies, you will be able to configure constraints across your entire resource hierarchy.
211
+ Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.
212
+
213
+ To get more information about Policy, see:
214
+
215
+ * [API documentation](https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies)
216
+ * How-to Guides
217
+ * [Official Documentation](https://cloud.google.com/resource-manager/docs/organization-policy/creating-managing-custom-constraints)
218
+ * [Supported Services](https://cloud.google.com/resource-manager/docs/organization-policy/custom-constraint-supported-services)
208
219
 
209
- For more information, see:
210
- * [Understanding Org Policy concepts](https://cloud.google.com/resource-manager/docs/organization-policy/overview)
211
- * [The resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy)
212
- * [All valid constraints](https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints)
213
220
  ## Example Usage
214
221
 
215
- ### Enforce_policy
216
- A test of an enforce orgpolicy policy for a project
222
+ ### Org Policy Policy Enforce
223
+
217
224
  ```python
218
225
  import pulumi
219
226
  import pulumi_gcp as gcp
@@ -231,8 +238,8 @@ class Policy(pulumi.CustomResource):
231
238
  }],
232
239
  })
233
240
  ```
234
- ### Folder_policy
235
- A test of an orgpolicy policy for a folder
241
+ ### Org Policy Policy Folder
242
+
236
243
  ```python
237
244
  import pulumi
238
245
  import pulumi_gcp as gcp
@@ -250,8 +257,8 @@ class Policy(pulumi.CustomResource):
250
257
  }],
251
258
  })
252
259
  ```
253
- ### Organization_policy
254
- A test of an orgpolicy policy for an organization
260
+ ### Org Policy Policy Organization
261
+
255
262
  ```python
256
263
  import pulumi
257
264
  import pulumi_gcp as gcp
@@ -263,8 +270,8 @@ class Policy(pulumi.CustomResource):
263
270
  "reset": True,
264
271
  })
265
272
  ```
266
- ### Project_policy
267
- A test of an orgpolicy policy for a project
273
+ ### Org Policy Policy Project
274
+
268
275
  ```python
269
276
  import pulumi
270
277
  import pulumi_gcp as gcp
@@ -296,7 +303,8 @@ class Policy(pulumi.CustomResource):
296
303
  ],
297
304
  })
298
305
  ```
299
- ### Dry_run_spec
306
+ ### Org Policy Policy Dry Run Spec
307
+
300
308
  ```python
301
309
  import pulumi
302
310
  import pulumi_gcp as gcp
@@ -330,6 +338,7 @@ class Policy(pulumi.CustomResource):
330
338
  ## Import
331
339
 
332
340
  Policy can be imported using any of these accepted formats:
341
+
333
342
  * `{{parent}}/policies/{{name}}`
334
343
 
335
344
  When using the `pulumi import` command, Policy can be imported using one of the formats above. For example:
@@ -341,13 +350,14 @@ class Policy(pulumi.CustomResource):
341
350
  :param str resource_name: The name of the resource.
342
351
  :param pulumi.ResourceOptions opts: Options for the resource.
343
352
  :param pulumi.Input[Union['PolicyDryRunSpecArgs', 'PolicyDryRunSpecArgsDict']] dry_run_spec: Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced.
353
+ Structure is documented below.
344
354
  :param pulumi.Input[str] name: Immutable. The resource name of the Policy. Must be one of the following forms, where constraint_name is the name of the constraint which this Policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, "projects/123/policies/compute.disableSerialPortAccess". Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.
345
355
  :param pulumi.Input[str] parent: The parent of the resource.
346
356
 
347
357
 
348
-
349
358
  - - -
350
359
  :param pulumi.Input[Union['PolicySpecArgs', 'PolicySpecArgsDict']] spec: Basic information about the Organization Policy.
360
+ Structure is documented below.
351
361
  """
352
362
  ...
353
363
  @overload
@@ -356,16 +366,19 @@ class Policy(pulumi.CustomResource):
356
366
  args: PolicyArgs,
357
367
  opts: Optional[pulumi.ResourceOptions] = None):
358
368
  """
359
- An organization policy gives you programmatic control over your organization's cloud resources. Using Organization Policies, you will be able to configure constraints across your entire resource hierarchy.
369
+ Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.
370
+
371
+ To get more information about Policy, see:
372
+
373
+ * [API documentation](https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.policies)
374
+ * How-to Guides
375
+ * [Official Documentation](https://cloud.google.com/resource-manager/docs/organization-policy/creating-managing-custom-constraints)
376
+ * [Supported Services](https://cloud.google.com/resource-manager/docs/organization-policy/custom-constraint-supported-services)
360
377
 
361
- For more information, see:
362
- * [Understanding Org Policy concepts](https://cloud.google.com/resource-manager/docs/organization-policy/overview)
363
- * [The resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy)
364
- * [All valid constraints](https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints)
365
378
  ## Example Usage
366
379
 
367
- ### Enforce_policy
368
- A test of an enforce orgpolicy policy for a project
380
+ ### Org Policy Policy Enforce
381
+
369
382
  ```python
370
383
  import pulumi
371
384
  import pulumi_gcp as gcp
@@ -383,8 +396,8 @@ class Policy(pulumi.CustomResource):
383
396
  }],
384
397
  })
385
398
  ```
386
- ### Folder_policy
387
- A test of an orgpolicy policy for a folder
399
+ ### Org Policy Policy Folder
400
+
388
401
  ```python
389
402
  import pulumi
390
403
  import pulumi_gcp as gcp
@@ -402,8 +415,8 @@ class Policy(pulumi.CustomResource):
402
415
  }],
403
416
  })
404
417
  ```
405
- ### Organization_policy
406
- A test of an orgpolicy policy for an organization
418
+ ### Org Policy Policy Organization
419
+
407
420
  ```python
408
421
  import pulumi
409
422
  import pulumi_gcp as gcp
@@ -415,8 +428,8 @@ class Policy(pulumi.CustomResource):
415
428
  "reset": True,
416
429
  })
417
430
  ```
418
- ### Project_policy
419
- A test of an orgpolicy policy for a project
431
+ ### Org Policy Policy Project
432
+
420
433
  ```python
421
434
  import pulumi
422
435
  import pulumi_gcp as gcp
@@ -448,7 +461,8 @@ class Policy(pulumi.CustomResource):
448
461
  ],
449
462
  })
450
463
  ```
451
- ### Dry_run_spec
464
+ ### Org Policy Policy Dry Run Spec
465
+
452
466
  ```python
453
467
  import pulumi
454
468
  import pulumi_gcp as gcp
@@ -482,6 +496,7 @@ class Policy(pulumi.CustomResource):
482
496
  ## Import
483
497
 
484
498
  Policy can be imported using any of these accepted formats:
499
+
485
500
  * `{{parent}}/policies/{{name}}`
486
501
 
487
502
  When using the `pulumi import` command, Policy can be imported using one of the formats above. For example:
@@ -548,14 +563,15 @@ class Policy(pulumi.CustomResource):
548
563
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
549
564
  :param pulumi.ResourceOptions opts: Options for the resource.
550
565
  :param pulumi.Input[Union['PolicyDryRunSpecArgs', 'PolicyDryRunSpecArgsDict']] dry_run_spec: Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced.
566
+ Structure is documented below.
551
567
  :param pulumi.Input[str] etag: Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
552
568
  :param pulumi.Input[str] name: Immutable. The resource name of the Policy. Must be one of the following forms, where constraint_name is the name of the constraint which this Policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, "projects/123/policies/compute.disableSerialPortAccess". Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.
553
569
  :param pulumi.Input[str] parent: The parent of the resource.
554
570
 
555
571
 
556
-
557
572
  - - -
558
573
  :param pulumi.Input[Union['PolicySpecArgs', 'PolicySpecArgsDict']] spec: Basic information about the Organization Policy.
574
+ Structure is documented below.
559
575
  """
560
576
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
561
577
 
@@ -573,6 +589,7 @@ class Policy(pulumi.CustomResource):
573
589
  def dry_run_spec(self) -> pulumi.Output[Optional['outputs.PolicyDryRunSpec']]:
574
590
  """
575
591
  Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced.
592
+ Structure is documented below.
576
593
  """
577
594
  return pulumi.get(self, "dry_run_spec")
578
595
 
@@ -599,7 +616,6 @@ class Policy(pulumi.CustomResource):
599
616
  The parent of the resource.
600
617
 
601
618
 
602
-
603
619
  - - -
604
620
  """
605
621
  return pulumi.get(self, "parent")
@@ -609,6 +625,7 @@ class Policy(pulumi.CustomResource):
609
625
  def spec(self) -> pulumi.Output[Optional['outputs.PolicySpec']]:
610
626
  """
611
627
  Basic information about the Organization Policy.
628
+ Structure is documented below.
612
629
  """
613
630
  return pulumi.get(self, "spec")
614
631
 
pulumi_gcp/provider.py CHANGED
@@ -165,6 +165,7 @@ class ProviderArgs:
165
165
  secure_source_manager_custom_endpoint: Optional[pulumi.Input[str]] = None,
166
166
  security_center_custom_endpoint: Optional[pulumi.Input[str]] = None,
167
167
  security_center_management_custom_endpoint: Optional[pulumi.Input[str]] = None,
168
+ security_center_v2_custom_endpoint: Optional[pulumi.Input[str]] = None,
168
169
  security_scanner_custom_endpoint: Optional[pulumi.Input[str]] = None,
169
170
  securityposture_custom_endpoint: Optional[pulumi.Input[str]] = None,
170
171
  service_directory_custom_endpoint: Optional[pulumi.Input[str]] = None,
@@ -488,6 +489,8 @@ class ProviderArgs:
488
489
  pulumi.set(__self__, "security_center_custom_endpoint", security_center_custom_endpoint)
489
490
  if security_center_management_custom_endpoint is not None:
490
491
  pulumi.set(__self__, "security_center_management_custom_endpoint", security_center_management_custom_endpoint)
492
+ if security_center_v2_custom_endpoint is not None:
493
+ pulumi.set(__self__, "security_center_v2_custom_endpoint", security_center_v2_custom_endpoint)
491
494
  if security_scanner_custom_endpoint is not None:
492
495
  pulumi.set(__self__, "security_scanner_custom_endpoint", security_scanner_custom_endpoint)
493
496
  if securityposture_custom_endpoint is not None:
@@ -1848,6 +1851,15 @@ class ProviderArgs:
1848
1851
  def security_center_management_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
1849
1852
  pulumi.set(self, "security_center_management_custom_endpoint", value)
1850
1853
 
1854
+ @property
1855
+ @pulumi.getter(name="securityCenterV2CustomEndpoint")
1856
+ def security_center_v2_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
1857
+ return pulumi.get(self, "security_center_v2_custom_endpoint")
1858
+
1859
+ @security_center_v2_custom_endpoint.setter
1860
+ def security_center_v2_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
1861
+ pulumi.set(self, "security_center_v2_custom_endpoint", value)
1862
+
1851
1863
  @property
1852
1864
  @pulumi.getter(name="securityScannerCustomEndpoint")
1853
1865
  def security_scanner_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
@@ -2233,6 +2245,7 @@ class Provider(pulumi.ProviderResource):
2233
2245
  secure_source_manager_custom_endpoint: Optional[pulumi.Input[str]] = None,
2234
2246
  security_center_custom_endpoint: Optional[pulumi.Input[str]] = None,
2235
2247
  security_center_management_custom_endpoint: Optional[pulumi.Input[str]] = None,
2248
+ security_center_v2_custom_endpoint: Optional[pulumi.Input[str]] = None,
2236
2249
  security_scanner_custom_endpoint: Optional[pulumi.Input[str]] = None,
2237
2250
  securityposture_custom_endpoint: Optional[pulumi.Input[str]] = None,
2238
2251
  service_directory_custom_endpoint: Optional[pulumi.Input[str]] = None,
@@ -2441,6 +2454,7 @@ class Provider(pulumi.ProviderResource):
2441
2454
  secure_source_manager_custom_endpoint: Optional[pulumi.Input[str]] = None,
2442
2455
  security_center_custom_endpoint: Optional[pulumi.Input[str]] = None,
2443
2456
  security_center_management_custom_endpoint: Optional[pulumi.Input[str]] = None,
2457
+ security_center_v2_custom_endpoint: Optional[pulumi.Input[str]] = None,
2444
2458
  security_scanner_custom_endpoint: Optional[pulumi.Input[str]] = None,
2445
2459
  securityposture_custom_endpoint: Optional[pulumi.Input[str]] = None,
2446
2460
  service_directory_custom_endpoint: Optional[pulumi.Input[str]] = None,
@@ -2625,6 +2639,7 @@ class Provider(pulumi.ProviderResource):
2625
2639
  __props__.__dict__["secure_source_manager_custom_endpoint"] = secure_source_manager_custom_endpoint
2626
2640
  __props__.__dict__["security_center_custom_endpoint"] = security_center_custom_endpoint
2627
2641
  __props__.__dict__["security_center_management_custom_endpoint"] = security_center_management_custom_endpoint
2642
+ __props__.__dict__["security_center_v2_custom_endpoint"] = security_center_v2_custom_endpoint
2628
2643
  __props__.__dict__["security_scanner_custom_endpoint"] = security_scanner_custom_endpoint
2629
2644
  __props__.__dict__["securityposture_custom_endpoint"] = securityposture_custom_endpoint
2630
2645
  __props__.__dict__["service_directory_custom_endpoint"] = service_directory_custom_endpoint
@@ -3356,6 +3371,11 @@ class Provider(pulumi.ProviderResource):
3356
3371
  def security_center_management_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
3357
3372
  return pulumi.get(self, "security_center_management_custom_endpoint")
3358
3373
 
3374
+ @property
3375
+ @pulumi.getter(name="securityCenterV2CustomEndpoint")
3376
+ def security_center_v2_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
3377
+ return pulumi.get(self, "security_center_v2_custom_endpoint")
3378
+
3359
3379
  @property
3360
3380
  @pulumi.getter(name="securityScannerCustomEndpoint")
3361
3381
  def security_scanner_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
@@ -401,7 +401,7 @@ if not MYPY:
401
401
  class SubscriptionBigqueryConfigArgsDict(TypedDict):
402
402
  table: pulumi.Input[str]
403
403
  """
404
- The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}
404
+ The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
405
405
  """
406
406
  drop_unknown_fields: NotRequired[pulumi.Input[bool]]
407
407
  """
@@ -443,7 +443,7 @@ class SubscriptionBigqueryConfigArgs:
443
443
  use_topic_schema: Optional[pulumi.Input[bool]] = None,
444
444
  write_metadata: Optional[pulumi.Input[bool]] = None):
445
445
  """
446
- :param pulumi.Input[str] table: The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}
446
+ :param pulumi.Input[str] table: The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
447
447
  :param pulumi.Input[bool] drop_unknown_fields: When true and use_topic_schema or use_table_schema is true, any fields that are a part of the topic schema or message schema that
448
448
  are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync
449
449
  and any messages with extra fields are not written and remain in the subscription's backlog.
@@ -473,7 +473,7 @@ class SubscriptionBigqueryConfigArgs:
473
473
  @pulumi.getter
474
474
  def table(self) -> pulumi.Input[str]:
475
475
  """
476
- The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}
476
+ The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
477
477
  """
478
478
  return pulumi.get(self, "table")
479
479
 
@@ -354,7 +354,7 @@ class SubscriptionBigqueryConfig(dict):
354
354
  use_topic_schema: Optional[bool] = None,
355
355
  write_metadata: Optional[bool] = None):
356
356
  """
357
- :param str table: The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}
357
+ :param str table: The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
358
358
  :param bool drop_unknown_fields: When true and use_topic_schema or use_table_schema is true, any fields that are a part of the topic schema or message schema that
359
359
  are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync
360
360
  and any messages with extra fields are not written and remain in the subscription's backlog.
@@ -384,7 +384,7 @@ class SubscriptionBigqueryConfig(dict):
384
384
  @pulumi.getter
385
385
  def table(self) -> str:
386
386
  """
387
- The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}
387
+ The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
388
388
  """
389
389
  return pulumi.get(self, "table")
390
390
 
@@ -1347,7 +1347,7 @@ class GetSubscriptionBigqueryConfigResult(dict):
1347
1347
  :param str service_account_email: The service account to use to write to BigQuery. If not specified, the Pub/Sub
1348
1348
  [service agent](https://cloud.google.com/iam/docs/service-agents),
1349
1349
  service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
1350
- :param str table: The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}
1350
+ :param str table: The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
1351
1351
  :param bool use_table_schema: When true, use the BigQuery table's schema as the columns to write to in BigQuery. Messages
1352
1352
  must be published in JSON format. Only one of use_topic_schema and use_table_schema can be set.
1353
1353
  :param bool use_topic_schema: When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
@@ -1386,7 +1386,7 @@ class GetSubscriptionBigqueryConfigResult(dict):
1386
1386
  @pulumi.getter
1387
1387
  def table(self) -> str:
1388
1388
  """
1389
- The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}
1389
+ The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
1390
1390
  """
1391
1391
  return pulumi.get(self, "table")
1392
1392
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "gcp",
4
- "version": "7.31.0-alpha.1720850808"
4
+ "version": "7.31.0-alpha.1721039192"
5
5
  }
@@ -6,9 +6,14 @@ from .. import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
8
  from .get_instance_iam_policy import *
9
+ from .get_repository_iam_policy import *
9
10
  from .instance import *
10
11
  from .instance_iam_binding import *
11
12
  from .instance_iam_member import *
12
13
  from .instance_iam_policy import *
14
+ from .repository import *
15
+ from .repository_iam_binding import *
16
+ from .repository_iam_member import *
17
+ from .repository_iam_policy import *
13
18
  from ._inputs import *
14
19
  from . import outputs