google-apis-orgpolicy_v2 0.44.0 → 0.45.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/orgpolicy_v2/classes.rb +38 -35
- data/lib/google/apis/orgpolicy_v2/gem_version.rb +2 -2
- data/lib/google/apis/orgpolicy_v2/service.rb +39 -39
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4dc3fb71af438f3fee90339b85470740db673aaf83fe44a52ee8e46656422804
|
|
4
|
+
data.tar.gz: d556803d35d69e9ddc2479652ff071ee30d040e603051706c236e198adccb1e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1bed05aadaba42935991e2bde8b35c8538e1b2dee75b274ce515d5d3e885115145973e47a3ad598857b69b3d3d4e7a45cd32c70f734506ab5d65a10d73308228
|
|
7
|
+
data.tar.gz: 73a9062b82cbdd73b465819ef98fca96b1ba284d046251a9c70c32681d106ccdb01a06e274bc2c50407f1f504a0433ba5aa0a7179850eddfbec33f8cf44fd9cd
|
data/CHANGELOG.md
CHANGED
|
@@ -33,7 +33,7 @@ module Google
|
|
|
33
33
|
# @return [String]
|
|
34
34
|
attr_accessor :launch
|
|
35
35
|
|
|
36
|
-
# Defines a Google Cloud policy specification
|
|
36
|
+
# Defines a Google Cloud policy specification that is used to specify
|
|
37
37
|
# constraints for configurations of Google Cloud resources.
|
|
38
38
|
# Corresponds to the JSON property `spec`
|
|
39
39
|
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpec]
|
|
@@ -50,18 +50,18 @@ module Google
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
# A constraint describes a way to restrict resource's configuration. For
|
|
54
|
-
# you could enforce a constraint that controls which Google Cloud
|
|
55
|
-
# be activated across an organization, or whether a Compute Engine
|
|
56
|
-
# have serial port connections established. Constraints can be
|
|
57
|
-
# organization policy administrator to fit the needs of the
|
|
58
|
-
# setting a policy that includes constraints at different
|
|
59
|
-
# organization's resource hierarchy. Policies are inherited
|
|
60
|
-
# hierarchy from higher levels, but can also be overridden.
|
|
61
|
-
# the inheritance rules, see `Policy`. Constraints have a
|
|
62
|
-
# determined by the `constraint_default` field, which is the
|
|
63
|
-
# behavior that is used in the absence of a policy being defined or
|
|
64
|
-
# for the resource in question.
|
|
53
|
+
# A constraint describes a way to restrict a resource's configuration. For
|
|
54
|
+
# example, you could enforce a constraint that controls which Google Cloud
|
|
55
|
+
# services can be activated across an organization, or whether a Compute Engine
|
|
56
|
+
# instance can have serial port connections established. Constraints can be
|
|
57
|
+
# configured by the organization policy administrator to fit the needs of the
|
|
58
|
+
# organization by setting a policy that includes constraints at different
|
|
59
|
+
# locations in the organization's resource hierarchy. Policies are inherited
|
|
60
|
+
# down the resource hierarchy from higher levels, but can also be overridden.
|
|
61
|
+
# For details about the inheritance rules, see `Policy`. Constraints have a
|
|
62
|
+
# default behavior determined by the `constraint_default` field, which is the
|
|
63
|
+
# enforcement behavior that is used in the absence of a policy being defined or
|
|
64
|
+
# inherited for the resource in question.
|
|
65
65
|
class GoogleCloudOrgpolicyV2Constraint
|
|
66
66
|
include Google::Apis::Core::Hashable
|
|
67
67
|
|
|
@@ -88,8 +88,11 @@ module Google
|
|
|
88
88
|
# @return [String]
|
|
89
89
|
attr_accessor :display_name
|
|
90
90
|
|
|
91
|
-
#
|
|
92
|
-
#
|
|
91
|
+
# Defines the equivalent constraint name, if it exists. Managed constraints can
|
|
92
|
+
# have an equivalent legacy managed constraint, and legacy managed constraints
|
|
93
|
+
# can have an equivalent managed constraint. For example, "constraints/iam.
|
|
94
|
+
# disableServiceAccountKeyUpload" is equivalent to "constraints/iam.managed.
|
|
95
|
+
# disableServiceAccountKeyUpload".
|
|
93
96
|
# Corresponds to the JSON property `equivalentConstraint`
|
|
94
97
|
# @return [String]
|
|
95
98
|
attr_accessor :equivalent_constraint
|
|
@@ -187,8 +190,8 @@ module Google
|
|
|
187
190
|
# @return [Hash<String,Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter>]
|
|
188
191
|
attr_accessor :parameters
|
|
189
192
|
|
|
190
|
-
# The resource instance type
|
|
191
|
-
#
|
|
193
|
+
# The resource instance type that this policy applies to, in the format `/`.
|
|
194
|
+
# Example: * `compute.googleapis.com/Instance`.
|
|
192
195
|
# Corresponds to the JSON property `resourceTypes`
|
|
193
196
|
# @return [Array<String>]
|
|
194
197
|
attr_accessor :resource_types
|
|
@@ -234,7 +237,7 @@ module Google
|
|
|
234
237
|
|
|
235
238
|
# Provides a CEL expression to specify the acceptable parameter values during
|
|
236
239
|
# assignment. For example, parameterName in ("parameterValue1", "parameterValue2"
|
|
237
|
-
# )
|
|
240
|
+
# ).
|
|
238
241
|
# Corresponds to the JSON property `validValuesExpr`
|
|
239
242
|
# @return [String]
|
|
240
243
|
attr_accessor :valid_values_expr
|
|
@@ -257,7 +260,7 @@ module Google
|
|
|
257
260
|
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata
|
|
258
261
|
include Google::Apis::Core::Hashable
|
|
259
262
|
|
|
260
|
-
# Detailed description of what this `parameter` is and use
|
|
263
|
+
# Detailed description of what this `parameter` is and its use. Mutable.
|
|
261
264
|
# Corresponds to the JSON property `description`
|
|
262
265
|
# @return [String]
|
|
263
266
|
attr_accessor :description
|
|
@@ -462,7 +465,7 @@ module Google
|
|
|
462
465
|
end
|
|
463
466
|
end
|
|
464
467
|
|
|
465
|
-
# Defines an organization policy
|
|
468
|
+
# Defines an organization policy that is used to specify constraints for
|
|
466
469
|
# configurations of Google Cloud resources.
|
|
467
470
|
class GoogleCloudOrgpolicyV2Policy
|
|
468
471
|
include Google::Apis::Core::Hashable
|
|
@@ -473,22 +476,22 @@ module Google
|
|
|
473
476
|
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2AlternatePolicySpec]
|
|
474
477
|
attr_accessor :alternate
|
|
475
478
|
|
|
476
|
-
# Defines a Google Cloud policy specification
|
|
479
|
+
# Defines a Google Cloud policy specification that is used to specify
|
|
477
480
|
# constraints for configurations of Google Cloud resources.
|
|
478
481
|
# Corresponds to the JSON property `dryRunSpec`
|
|
479
482
|
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpec]
|
|
480
483
|
attr_accessor :dry_run_spec
|
|
481
484
|
|
|
482
485
|
# Optional. An opaque tag indicating the current state of the policy, used for
|
|
483
|
-
# concurrency control. This
|
|
484
|
-
# of other fields, and may be sent on update and delete requests to
|
|
485
|
-
# client has an up-to-date value before proceeding.
|
|
486
|
+
# concurrency control. This entity tag (ETag) is computed by the server based on
|
|
487
|
+
# the value of other fields, and may be sent on update and delete requests to
|
|
488
|
+
# ensure the client has an up-to-date value before proceeding.
|
|
486
489
|
# Corresponds to the JSON property `etag`
|
|
487
490
|
# @return [String]
|
|
488
491
|
attr_accessor :etag
|
|
489
492
|
|
|
490
493
|
# Immutable. The resource name of the policy. Must be one of the following forms,
|
|
491
|
-
# where `constraint_name` is the name of the constraint
|
|
494
|
+
# where `constraint_name` is the name of the constraint that this policy
|
|
492
495
|
# configures: * `projects/`project_number`/policies/`constraint_name`` * `
|
|
493
496
|
# folders/`folder_id`/policies/`constraint_name`` * `organizations/`
|
|
494
497
|
# organization_id`/policies/`constraint_name`` For example, `projects/123/
|
|
@@ -499,7 +502,7 @@ module Google
|
|
|
499
502
|
# @return [String]
|
|
500
503
|
attr_accessor :name
|
|
501
504
|
|
|
502
|
-
# Defines a Google Cloud policy specification
|
|
505
|
+
# Defines a Google Cloud policy specification that is used to specify
|
|
503
506
|
# constraints for configurations of Google Cloud resources.
|
|
504
507
|
# Corresponds to the JSON property `spec`
|
|
505
508
|
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpec]
|
|
@@ -519,7 +522,7 @@ module Google
|
|
|
519
522
|
end
|
|
520
523
|
end
|
|
521
524
|
|
|
522
|
-
# Defines a Google Cloud policy specification
|
|
525
|
+
# Defines a Google Cloud policy specification that is used to specify
|
|
523
526
|
# constraints for configurations of Google Cloud resources.
|
|
524
527
|
class GoogleCloudOrgpolicyV2PolicySpec
|
|
525
528
|
include Google::Apis::Core::Hashable
|
|
@@ -527,9 +530,9 @@ module Google
|
|
|
527
530
|
# An opaque tag indicating the current version of the policySpec, used for
|
|
528
531
|
# concurrency control. This field is ignored if used in a `CreatePolicy` request.
|
|
529
532
|
# When the policy is returned from either a `GetPolicy` or a `ListPolicies`
|
|
530
|
-
# request, this
|
|
531
|
-
# when executing a read-modify-write loop. When the policy is
|
|
532
|
-
# GetEffectivePolicy` request, the
|
|
533
|
+
# request, this entity tag (ETag) indicates the version of the current
|
|
534
|
+
# policySpec to use when executing a read-modify-write loop. When the policy is
|
|
535
|
+
# returned from a `GetEffectivePolicy` request, the ETag will be unset.
|
|
533
536
|
# Corresponds to the JSON property `etag`
|
|
534
537
|
# @return [String]
|
|
535
538
|
attr_accessor :etag
|
|
@@ -538,7 +541,7 @@ module Google
|
|
|
538
541
|
# is true, policy rules set higher up in the hierarchy (up to the closest root)
|
|
539
542
|
# are inherited and present in the effective policy. If it is false, then no
|
|
540
543
|
# rules are inherited, and this policy becomes the new root for evaluation. This
|
|
541
|
-
# field can be set only for policies
|
|
544
|
+
# field can be set only for policies that configure list constraints.
|
|
542
545
|
# Corresponds to the JSON property `inheritFromParent`
|
|
543
546
|
# @return [Boolean]
|
|
544
547
|
attr_accessor :inherit_from_parent
|
|
@@ -554,10 +557,10 @@ module Google
|
|
|
554
557
|
alias_method :reset?, :reset
|
|
555
558
|
|
|
556
559
|
# In policies for boolean constraints, the following requirements apply: - There
|
|
557
|
-
# must be
|
|
558
|
-
#
|
|
559
|
-
#
|
|
560
|
-
#
|
|
560
|
+
# must be exactly one policy rule where a condition is unset. - Boolean policy
|
|
561
|
+
# rules with conditions must set `enforced` to the opposite of the policy rule
|
|
562
|
+
# without a condition. - During policy evaluation, policy rules with conditions
|
|
563
|
+
# that are true for a target resource take precedence.
|
|
561
564
|
# Corresponds to the JSON property `rules`
|
|
562
565
|
# @return [Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpecPolicyRule>]
|
|
563
566
|
attr_accessor :rules
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module OrgpolicyV2
|
|
18
18
|
# Version of the google-apis-orgpolicy_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.45.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260312"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -135,9 +135,9 @@ module Google
|
|
|
135
135
|
# @param [String] name
|
|
136
136
|
# Required. Name of the policy to delete. See the policy entry for naming rules.
|
|
137
137
|
# @param [String] etag
|
|
138
|
-
# Optional. The current
|
|
139
|
-
# match the current
|
|
140
|
-
# error will be returned.
|
|
138
|
+
# Optional. The current entity tag (ETag) of the organization policy. If an ETag
|
|
139
|
+
# is provided and doesn't match the current ETag of the policy, deletion of the
|
|
140
|
+
# policy will be blocked and an `ABORTED` error will be returned.
|
|
141
141
|
# @param [String] fields
|
|
142
142
|
# Selector specifying which fields to include in a partial response.
|
|
143
143
|
# @param [String] quota_user
|
|
@@ -167,8 +167,8 @@ module Google
|
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
# Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND`
|
|
170
|
-
# is returned. The
|
|
171
|
-
# policy during read-modify-write.
|
|
170
|
+
# is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update
|
|
171
|
+
# a policy during read-modify-write.
|
|
172
172
|
# @param [String] name
|
|
173
173
|
# Required. Resource name of the policy. See Policy for naming requirements.
|
|
174
174
|
# @param [String] fields
|
|
@@ -200,7 +200,7 @@ module Google
|
|
|
200
200
|
|
|
201
201
|
# Gets the effective policy on a resource. This is the result of merging
|
|
202
202
|
# policies in the resource hierarchy and evaluating conditions. The returned
|
|
203
|
-
# policy will not have an
|
|
203
|
+
# policy will not have an ETag or `condition` set because it is an evaluated
|
|
204
204
|
# policy across multiple resources. Subtrees of Resource Manager resource
|
|
205
205
|
# hierarchy with 'under:' prefix will not be expanded.
|
|
206
206
|
# @param [String] name
|
|
@@ -274,13 +274,13 @@ module Google
|
|
|
274
274
|
end
|
|
275
275
|
|
|
276
276
|
# Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
|
|
277
|
-
# NOT_FOUND` if the constraint or the policy
|
|
278
|
-
# Status` with `google.rpc.Code.ABORTED` if the
|
|
279
|
-
#
|
|
277
|
+
# NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.
|
|
278
|
+
# rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request
|
|
279
|
+
# doesn't match the persisted ETag of the policy. Note: the supplied policy will
|
|
280
280
|
# perform a full overwrite of all fields.
|
|
281
281
|
# @param [String] name
|
|
282
282
|
# Immutable. The resource name of the policy. Must be one of the following forms,
|
|
283
|
-
# where `constraint_name` is the name of the constraint
|
|
283
|
+
# where `constraint_name` is the name of the constraint that this policy
|
|
284
284
|
# configures: * `projects/`project_number`/policies/`constraint_name`` * `
|
|
285
285
|
# folders/`folder_id`/policies/`constraint_name`` * `organizations/`
|
|
286
286
|
# organization_id`/policies/`constraint_name`` For example, `projects/123/
|
|
@@ -289,9 +289,9 @@ module Google
|
|
|
289
289
|
# responses will return the name using the equivalent project number.
|
|
290
290
|
# @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy] google_cloud_orgpolicy_v2_policy_object
|
|
291
291
|
# @param [String] update_mask
|
|
292
|
-
# Field mask used to specify the fields to be overwritten in the policy
|
|
293
|
-
#
|
|
294
|
-
#
|
|
292
|
+
# Field mask used to specify the fields to be overwritten in the policy. The
|
|
293
|
+
# fields specified in the update_mask are relative to the policy, not the full
|
|
294
|
+
# request.
|
|
295
295
|
# @param [String] fields
|
|
296
296
|
# Selector specifying which fields to include in a partial response.
|
|
297
297
|
# @param [String] quota_user
|
|
@@ -586,9 +586,9 @@ module Google
|
|
|
586
586
|
# @param [String] name
|
|
587
587
|
# Required. Name of the policy to delete. See the policy entry for naming rules.
|
|
588
588
|
# @param [String] etag
|
|
589
|
-
# Optional. The current
|
|
590
|
-
# match the current
|
|
591
|
-
# error will be returned.
|
|
589
|
+
# Optional. The current entity tag (ETag) of the organization policy. If an ETag
|
|
590
|
+
# is provided and doesn't match the current ETag of the policy, deletion of the
|
|
591
|
+
# policy will be blocked and an `ABORTED` error will be returned.
|
|
592
592
|
# @param [String] fields
|
|
593
593
|
# Selector specifying which fields to include in a partial response.
|
|
594
594
|
# @param [String] quota_user
|
|
@@ -618,8 +618,8 @@ module Google
|
|
|
618
618
|
end
|
|
619
619
|
|
|
620
620
|
# Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND`
|
|
621
|
-
# is returned. The
|
|
622
|
-
# policy during read-modify-write.
|
|
621
|
+
# is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update
|
|
622
|
+
# a policy during read-modify-write.
|
|
623
623
|
# @param [String] name
|
|
624
624
|
# Required. Resource name of the policy. See Policy for naming requirements.
|
|
625
625
|
# @param [String] fields
|
|
@@ -651,7 +651,7 @@ module Google
|
|
|
651
651
|
|
|
652
652
|
# Gets the effective policy on a resource. This is the result of merging
|
|
653
653
|
# policies in the resource hierarchy and evaluating conditions. The returned
|
|
654
|
-
# policy will not have an
|
|
654
|
+
# policy will not have an ETag or `condition` set because it is an evaluated
|
|
655
655
|
# policy across multiple resources. Subtrees of Resource Manager resource
|
|
656
656
|
# hierarchy with 'under:' prefix will not be expanded.
|
|
657
657
|
# @param [String] name
|
|
@@ -725,13 +725,13 @@ module Google
|
|
|
725
725
|
end
|
|
726
726
|
|
|
727
727
|
# Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
|
|
728
|
-
# NOT_FOUND` if the constraint or the policy
|
|
729
|
-
# Status` with `google.rpc.Code.ABORTED` if the
|
|
730
|
-
#
|
|
728
|
+
# NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.
|
|
729
|
+
# rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request
|
|
730
|
+
# doesn't match the persisted ETag of the policy. Note: the supplied policy will
|
|
731
731
|
# perform a full overwrite of all fields.
|
|
732
732
|
# @param [String] name
|
|
733
733
|
# Immutable. The resource name of the policy. Must be one of the following forms,
|
|
734
|
-
# where `constraint_name` is the name of the constraint
|
|
734
|
+
# where `constraint_name` is the name of the constraint that this policy
|
|
735
735
|
# configures: * `projects/`project_number`/policies/`constraint_name`` * `
|
|
736
736
|
# folders/`folder_id`/policies/`constraint_name`` * `organizations/`
|
|
737
737
|
# organization_id`/policies/`constraint_name`` For example, `projects/123/
|
|
@@ -740,9 +740,9 @@ module Google
|
|
|
740
740
|
# responses will return the name using the equivalent project number.
|
|
741
741
|
# @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy] google_cloud_orgpolicy_v2_policy_object
|
|
742
742
|
# @param [String] update_mask
|
|
743
|
-
# Field mask used to specify the fields to be overwritten in the policy
|
|
744
|
-
#
|
|
745
|
-
#
|
|
743
|
+
# Field mask used to specify the fields to be overwritten in the policy. The
|
|
744
|
+
# fields specified in the update_mask are relative to the policy, not the full
|
|
745
|
+
# request.
|
|
746
746
|
# @param [String] fields
|
|
747
747
|
# Selector specifying which fields to include in a partial response.
|
|
748
748
|
# @param [String] quota_user
|
|
@@ -856,9 +856,9 @@ module Google
|
|
|
856
856
|
# @param [String] name
|
|
857
857
|
# Required. Name of the policy to delete. See the policy entry for naming rules.
|
|
858
858
|
# @param [String] etag
|
|
859
|
-
# Optional. The current
|
|
860
|
-
# match the current
|
|
861
|
-
# error will be returned.
|
|
859
|
+
# Optional. The current entity tag (ETag) of the organization policy. If an ETag
|
|
860
|
+
# is provided and doesn't match the current ETag of the policy, deletion of the
|
|
861
|
+
# policy will be blocked and an `ABORTED` error will be returned.
|
|
862
862
|
# @param [String] fields
|
|
863
863
|
# Selector specifying which fields to include in a partial response.
|
|
864
864
|
# @param [String] quota_user
|
|
@@ -888,8 +888,8 @@ module Google
|
|
|
888
888
|
end
|
|
889
889
|
|
|
890
890
|
# Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND`
|
|
891
|
-
# is returned. The
|
|
892
|
-
# policy during read-modify-write.
|
|
891
|
+
# is returned. The entity tag (ETag) can be used with `UpdatePolicy()` to update
|
|
892
|
+
# a policy during read-modify-write.
|
|
893
893
|
# @param [String] name
|
|
894
894
|
# Required. Resource name of the policy. See Policy for naming requirements.
|
|
895
895
|
# @param [String] fields
|
|
@@ -921,7 +921,7 @@ module Google
|
|
|
921
921
|
|
|
922
922
|
# Gets the effective policy on a resource. This is the result of merging
|
|
923
923
|
# policies in the resource hierarchy and evaluating conditions. The returned
|
|
924
|
-
# policy will not have an
|
|
924
|
+
# policy will not have an ETag or `condition` set because it is an evaluated
|
|
925
925
|
# policy across multiple resources. Subtrees of Resource Manager resource
|
|
926
926
|
# hierarchy with 'under:' prefix will not be expanded.
|
|
927
927
|
# @param [String] name
|
|
@@ -995,13 +995,13 @@ module Google
|
|
|
995
995
|
end
|
|
996
996
|
|
|
997
997
|
# Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
|
|
998
|
-
# NOT_FOUND` if the constraint or the policy
|
|
999
|
-
# Status` with `google.rpc.Code.ABORTED` if the
|
|
1000
|
-
#
|
|
998
|
+
# NOT_FOUND` if the constraint or the policy doesn't exist. Returns a `google.
|
|
999
|
+
# rpc.Status` with `google.rpc.Code.ABORTED` if the ETag supplied in the request
|
|
1000
|
+
# doesn't match the persisted ETag of the policy. Note: the supplied policy will
|
|
1001
1001
|
# perform a full overwrite of all fields.
|
|
1002
1002
|
# @param [String] name
|
|
1003
1003
|
# Immutable. The resource name of the policy. Must be one of the following forms,
|
|
1004
|
-
# where `constraint_name` is the name of the constraint
|
|
1004
|
+
# where `constraint_name` is the name of the constraint that this policy
|
|
1005
1005
|
# configures: * `projects/`project_number`/policies/`constraint_name`` * `
|
|
1006
1006
|
# folders/`folder_id`/policies/`constraint_name`` * `organizations/`
|
|
1007
1007
|
# organization_id`/policies/`constraint_name`` For example, `projects/123/
|
|
@@ -1010,9 +1010,9 @@ module Google
|
|
|
1010
1010
|
# responses will return the name using the equivalent project number.
|
|
1011
1011
|
# @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy] google_cloud_orgpolicy_v2_policy_object
|
|
1012
1012
|
# @param [String] update_mask
|
|
1013
|
-
# Field mask used to specify the fields to be overwritten in the policy
|
|
1014
|
-
#
|
|
1015
|
-
#
|
|
1013
|
+
# Field mask used to specify the fields to be overwritten in the policy. The
|
|
1014
|
+
# fields specified in the update_mask are relative to the policy, not the full
|
|
1015
|
+
# request.
|
|
1016
1016
|
# @param [String] fields
|
|
1017
1017
|
# Selector specifying which fields to include in a partial response.
|
|
1018
1018
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-orgpolicy_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.45.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-orgpolicy_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.45.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-orgpolicy_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|