google-apis-orgpolicy_v2 0.44.0 → 0.46.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97d705c6d38e8d262f891198377c02785d9a27ee40684d001ce7b2500b334a3b
4
- data.tar.gz: 7d26951d67ba80b14cb4f22ce8375d286ee4fe625bc23f97154a579dc443305a
3
+ metadata.gz: 7d03cca56f5e7379c94e94cffd879b2a26f26635fece8644a7033b4a265c5cab
4
+ data.tar.gz: 8d8520437b36966e237f0f332e9229c2505129b59da9276ff962f6c6c1c3811f
5
5
  SHA512:
6
- metadata.gz: 5c6756b18f3e91f34cd2540676a5cdd8a83f84bb854fdb12e3d9d9884f7c86b34868ac1532641b9bdd14ec50be0fa89a297613d12c1592c8e926ecf870a0b59f
7
- data.tar.gz: ab860f077b6933b60103fef347fc344cf1476262e7be904d8f3d7b9f64de2f8ba3f6ed164a14e8e09ee35c06233444942a22dde0caf0d2d4a2aa9c56988da753
6
+ metadata.gz: aec09323af6ff2d97fa7473e40db6ab39aaf9d0eea98b5e249f8871a278b2bb4428a13350cf0407f778c40bfaa884a81f8e0a9f42705d36c0585b2a27c776cbd
7
+ data.tar.gz: 4195dad9ad3dc272f61fa60ff625750f39711cede23c40703ea751744c9cdea7866d25b1a7a6c47b1606ab6b58df43e44f313c211c60959955ef73fee1674649
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-orgpolicy_v2
2
2
 
3
+ ### v0.46.0 (2026-05-10)
4
+
5
+ * Regenerated from discovery document revision 20260504
6
+
7
+ ### v0.45.0 (2026-03-22)
8
+
9
+ * Regenerated from discovery document revision 20260312
10
+
3
11
  ### v0.44.0 (2026-03-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20260226
@@ -28,12 +28,12 @@ module Google
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
30
  # Reference to the launch that will be used while audit logging and to control
31
- # the launch. Should be set only in the alternate policy.
31
+ # the launch. Set only in the alternate policy.
32
32
  # Corresponds to the JSON property `launch`
33
33
  # @return [String]
34
34
  attr_accessor :launch
35
35
 
36
- # Defines a Google Cloud policy specification which is used to specify
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 example,
54
- # you could enforce a constraint that controls which Google Cloud services can
55
- # be activated across an organization, or whether a Compute Engine instance can
56
- # have serial port connections established. Constraints can be configured by the
57
- # organization policy administrator to fit the needs of the organization by
58
- # setting a policy that includes constraints at different locations in the
59
- # organization's resource hierarchy. Policies are inherited down the resource
60
- # hierarchy from higher levels, but can also be overridden. For details about
61
- # the inheritance rules, see `Policy`. Constraints have a default behavior
62
- # determined by the `constraint_default` field, which is the enforcement
63
- # behavior that is used in the absence of a policy being defined or inherited
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
- # Managed constraint and canned constraint sometimes can have equivalents. This
92
- # field is used to store the equivalent constraint name.
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 on which this policy applies. Format will be of the
191
- # form : `/` Example: * `compute.googleapis.com/Instance`.
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 of it. Mutable.
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
@@ -341,12 +344,12 @@ module Google
341
344
  # @return [Array<String>]
342
345
  attr_accessor :method_types
343
346
 
344
- # Immutable. Name of the constraint. This is unique within the organization.
345
- # Format of the name should be * `organizations/`organization_id`/
346
- # customConstraints/`custom_constraint_id`` Example: `organizations/123/
347
- # customConstraints/custom.createOnlyE2TypeVms` The max length is 71 characters
348
- # and the minimum length is 1. Note that the prefix `organizations/`
349
- # organization_id`/customConstraints/custom.` is not counted.
347
+ # Immutable. Name of the constraint. This is unique within the organization. The
348
+ # name must be of the form: * `organizations/`organization_id`/customConstraints/
349
+ # `custom_constraint_id`` Example: `organizations/123/customConstraints/custom.
350
+ # createOnlyE2TypeVms` The max length is 71 characters and the minimum length is
351
+ # 1. Note that the prefix `organizations/`organization_id`/customConstraints/
352
+ # custom.` is not counted.
350
353
  # Corresponds to the JSON property `name`
351
354
  # @return [String]
352
355
  attr_accessor :name
@@ -390,7 +393,7 @@ module Google
390
393
  # @return [Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Constraint>]
391
394
  attr_accessor :constraints
392
395
 
393
- # Page token used to retrieve the next page. This is currently not used.
396
+ # Page token used to retrieve the next page. This is not used.
394
397
  # Corresponds to the JSON property `nextPageToken`
395
398
  # @return [String]
396
399
  attr_accessor :next_page_token
@@ -417,8 +420,8 @@ module Google
417
420
  # @return [Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2CustomConstraint>]
418
421
  attr_accessor :custom_constraints
419
422
 
420
- # Page token used to retrieve the next page. This is currently not used, but the
421
- # server may at any point start supplying a valid token.
423
+ # Page token used to retrieve the next page. This is not used, but the server
424
+ # may at any point start supplying a valid token.
422
425
  # Corresponds to the JSON property `nextPageToken`
423
426
  # @return [String]
424
427
  attr_accessor :next_page_token
@@ -439,8 +442,8 @@ module Google
439
442
  class GoogleCloudOrgpolicyV2ListPoliciesResponse
440
443
  include Google::Apis::Core::Hashable
441
444
 
442
- # Page token used to retrieve the next page. This is currently not used, but the
443
- # server may at any point start supplying a valid token.
445
+ # Page token used to retrieve the next page. This is not used, but the server
446
+ # may at any point start supplying a valid token.
444
447
  # Corresponds to the JSON property `nextPageToken`
445
448
  # @return [String]
446
449
  attr_accessor :next_page_token
@@ -462,7 +465,7 @@ module Google
462
465
  end
463
466
  end
464
467
 
465
- # Defines an organization policy which is used to specify constraints for
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 which is used to specify
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 'etag' is computed by the server based on the value
484
- # of other fields, and may be sent on update and delete requests to ensure the
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 which this policy
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 which is used to specify
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 which is used to specify
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 `etag` indicates the version of the current policySpec to use
531
- # when executing a read-modify-write loop. When the policy is returned from a `
532
- # GetEffectivePolicy` request, the `etag` will be unset.
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 which configure list constraints.
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 one and only one policy rule where condition is unset. - Boolean
558
- # policy rules with conditions must set `enforced` to the opposite of the policy
559
- # rule without a condition. - During policy evaluation, policy rules with
560
- # conditions that are true for a target resource take precedence.
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.44.0"
19
+ GEM_VERSION = "0.46.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 = "20260226"
25
+ REVISION = "20260504"
26
26
  end
27
27
  end
28
28
  end
@@ -58,11 +58,11 @@ module Google
58
58
  # one of the following forms: * `projects/`project_number`` * `projects/`
59
59
  # project_id`` * `folders/`folder_id`` * `organizations/`organization_id``
60
60
  # @param [Fixnum] page_size
61
- # Size of the pages to be returned. This is currently unsupported and will be
62
- # ignored. The server may at any point start using this field to limit page size.
61
+ # Size of the pages to be returned. This is not used, but the server may at any
62
+ # point start using this field to limit page size.
63
63
  # @param [String] page_token
64
- # Page token used to retrieve the next page. This is currently unsupported and
65
- # will be ignored. The server may at any point start using this field.
64
+ # Page token used to retrieve the next page. This is not used, but the server
65
+ # may at any point start using this field.
66
66
  # @param [String] fields
67
67
  # Selector specifying which fields to include in a partial response.
68
68
  # @param [String] quota_user
@@ -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 etag of policy. If an etag is provided and does not
139
- # match the current etag of the policy, deletion will be blocked and an ABORTED
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 `etag` value can be used with `UpdatePolicy()` to update a
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 `etag` or `condition` set because it is an evaluated
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
@@ -239,11 +239,11 @@ module Google
239
239
  # following forms: * `projects/`project_number`` * `projects/`project_id`` * `
240
240
  # folders/`folder_id`` * `organizations/`organization_id``
241
241
  # @param [Fixnum] page_size
242
- # Size of the pages to be returned. This is currently unsupported and will be
243
- # ignored. The server may at any point start using this field to limit page size.
242
+ # Size of the pages to be returned. This is not used, but the server may at any
243
+ # point start using this field to limit page size.
244
244
  # @param [String] page_token
245
- # Page token used to retrieve the next page. This is currently unsupported and
246
- # will be ignored. The server may at any point start using this field.
245
+ # Page token used to retrieve the next page. This is not used, but the server
246
+ # may at any point start using this field.
247
247
  # @param [String] fields
248
248
  # Selector specifying which fields to include in a partial response.
249
249
  # @param [String] quota_user
@@ -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 do not exist. Returns a `google.rpc.
278
- # Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request
279
- # does not match the persisted etag of the policy Note: the supplied policy will
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 which this policy
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 by the
293
- # set. The fields specified in the update_mask are relative to the policy, not
294
- # the full request.
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
@@ -328,11 +328,11 @@ module Google
328
328
  # one of the following forms: * `projects/`project_number`` * `projects/`
329
329
  # project_id`` * `folders/`folder_id`` * `organizations/`organization_id``
330
330
  # @param [Fixnum] page_size
331
- # Size of the pages to be returned. This is currently unsupported and will be
332
- # ignored. The server may at any point start using this field to limit page size.
331
+ # Size of the pages to be returned. This is not used, but the server may at any
332
+ # point start using this field to limit page size.
333
333
  # @param [String] page_token
334
- # Page token used to retrieve the next page. This is currently unsupported and
335
- # will be ignored. The server may at any point start using this field.
334
+ # Page token used to retrieve the next page. This is not used, but the server
335
+ # may at any point start using this field.
336
336
  # @param [String] fields
337
337
  # Selector specifying which fields to include in a partial response.
338
338
  # @param [String] quota_user
@@ -469,11 +469,11 @@ module Google
469
469
  # constraints that will be returned from this call. Must be in one of the
470
470
  # following forms: * `organizations/`organization_id``
471
471
  # @param [Fixnum] page_size
472
- # Size of the pages to be returned. This is currently unsupported and will be
473
- # ignored. The server may at any point start using this field to limit page size.
472
+ # Size of the pages to be returned. This is not used, but the server may at any
473
+ # point start using this field to limit page size.
474
474
  # @param [String] page_token
475
- # Page token used to retrieve the next page. This is currently unsupported and
476
- # will be ignored. The server may at any point start using this field.
475
+ # Page token used to retrieve the next page. This is not used, but the server
476
+ # may at any point start using this field.
477
477
  # @param [String] fields
478
478
  # Selector specifying which fields to include in a partial response.
479
479
  # @param [String] quota_user
@@ -507,12 +507,12 @@ module Google
507
507
  # Code.NOT_FOUND` if the constraint does not exist. Note: the supplied policy
508
508
  # will perform a full overwrite of all fields.
509
509
  # @param [String] name
510
- # Immutable. Name of the constraint. This is unique within the organization.
511
- # Format of the name should be * `organizations/`organization_id`/
512
- # customConstraints/`custom_constraint_id`` Example: `organizations/123/
513
- # customConstraints/custom.createOnlyE2TypeVms` The max length is 71 characters
514
- # and the minimum length is 1. Note that the prefix `organizations/`
515
- # organization_id`/customConstraints/custom.` is not counted.
510
+ # Immutable. Name of the constraint. This is unique within the organization. The
511
+ # name must be of the form: * `organizations/`organization_id`/customConstraints/
512
+ # `custom_constraint_id`` Example: `organizations/123/customConstraints/custom.
513
+ # createOnlyE2TypeVms` The max length is 71 characters and the minimum length is
514
+ # 1. Note that the prefix `organizations/`organization_id`/customConstraints/
515
+ # custom.` is not counted.
516
516
  # @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2CustomConstraint] google_cloud_orgpolicy_v2_custom_constraint_object
517
517
  # @param [String] fields
518
518
  # Selector specifying which fields to include in a partial response.
@@ -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 etag of policy. If an etag is provided and does not
590
- # match the current etag of the policy, deletion will be blocked and an ABORTED
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 `etag` value can be used with `UpdatePolicy()` to update a
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 `etag` or `condition` set because it is an evaluated
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
@@ -690,11 +690,11 @@ module Google
690
690
  # following forms: * `projects/`project_number`` * `projects/`project_id`` * `
691
691
  # folders/`folder_id`` * `organizations/`organization_id``
692
692
  # @param [Fixnum] page_size
693
- # Size of the pages to be returned. This is currently unsupported and will be
694
- # ignored. The server may at any point start using this field to limit page size.
693
+ # Size of the pages to be returned. This is not used, but the server may at any
694
+ # point start using this field to limit page size.
695
695
  # @param [String] page_token
696
- # Page token used to retrieve the next page. This is currently unsupported and
697
- # will be ignored. The server may at any point start using this field.
696
+ # Page token used to retrieve the next page. This is not used, but the server
697
+ # may at any point start using this field.
698
698
  # @param [String] fields
699
699
  # Selector specifying which fields to include in a partial response.
700
700
  # @param [String] quota_user
@@ -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 do not exist. Returns a `google.rpc.
729
- # Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request
730
- # does not match the persisted etag of the policy Note: the supplied policy will
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 which this policy
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 by the
744
- # set. The fields specified in the update_mask are relative to the policy, not
745
- # the full request.
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
@@ -779,11 +779,11 @@ module Google
779
779
  # one of the following forms: * `projects/`project_number`` * `projects/`
780
780
  # project_id`` * `folders/`folder_id`` * `organizations/`organization_id``
781
781
  # @param [Fixnum] page_size
782
- # Size of the pages to be returned. This is currently unsupported and will be
783
- # ignored. The server may at any point start using this field to limit page size.
782
+ # Size of the pages to be returned. This is not used, but the server may at any
783
+ # point start using this field to limit page size.
784
784
  # @param [String] page_token
785
- # Page token used to retrieve the next page. This is currently unsupported and
786
- # will be ignored. The server may at any point start using this field.
785
+ # Page token used to retrieve the next page. This is not used, but the server
786
+ # may at any point start using this field.
787
787
  # @param [String] fields
788
788
  # Selector specifying which fields to include in a partial response.
789
789
  # @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 etag of policy. If an etag is provided and does not
860
- # match the current etag of the policy, deletion will be blocked and an ABORTED
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 `etag` value can be used with `UpdatePolicy()` to update a
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 `etag` or `condition` set because it is an evaluated
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
@@ -960,11 +960,11 @@ module Google
960
960
  # following forms: * `projects/`project_number`` * `projects/`project_id`` * `
961
961
  # folders/`folder_id`` * `organizations/`organization_id``
962
962
  # @param [Fixnum] page_size
963
- # Size of the pages to be returned. This is currently unsupported and will be
964
- # ignored. The server may at any point start using this field to limit page size.
963
+ # Size of the pages to be returned. This is not used, but the server may at any
964
+ # point start using this field to limit page size.
965
965
  # @param [String] page_token
966
- # Page token used to retrieve the next page. This is currently unsupported and
967
- # will be ignored. The server may at any point start using this field.
966
+ # Page token used to retrieve the next page. This is not used, but the server
967
+ # may at any point start using this field.
968
968
  # @param [String] fields
969
969
  # Selector specifying which fields to include in a partial response.
970
970
  # @param [String] quota_user
@@ -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 do not exist. Returns a `google.rpc.
999
- # Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request
1000
- # does not match the persisted etag of the policy Note: the supplied policy will
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 which this policy
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 by the
1014
- # set. The fields specified in the update_mask are relative to the policy, not
1015
- # the full request.
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.44.0
4
+ version: 0.46.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.44.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.46.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: