google-apis-orgpolicy_v2 0.22.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8052236b9f0fb3d44a7e88f9d50cd97d975be9a8b7099c3262c95719d943e4dc
4
- data.tar.gz: 6e8fec4234ca1caad9b46aeb88407da67afbcbaf2a6640b8f33f1d140ec15ada
3
+ metadata.gz: ac4cc79d7a36785440f7157c02bf10c431bb12433618393202e23c9be7bf546a
4
+ data.tar.gz: 1ad118df4fcb30cbb0fdb00624a8a877ab04ab7d8f9d6f2f6c707eacb7cf922e
5
5
  SHA512:
6
- metadata.gz: ef87de27b661eae4264afb210e449d0c1924ae3aa7e2acc73ad5ea31daad8c25fafb96178b383c1cee88e982b5d9ebc3c3ebb253ba9cf4b05f5a9cc45292ccb4
7
- data.tar.gz: ad2d34b2c42edb009344389ff4592c6f72aae1d0ad5d2b27a5cc2dc8103bde057d89f000234c2329e5b8542dbbb2546aa6739c5a3b31770ba4a362062bd853a5
6
+ metadata.gz: 6ed0f34c0b10b57ce0f3422adea7bddf0c2c73bf39a93f261f65a97a45c4fea0e1e2bc877f1516601a15c6cd4ca7a202320e50c454f8d254d0a4fbea510ff602
7
+ data.tar.gz: 6205349471fe237f21c1fd16b3923e7ea1a8ca4afb4c751b7c79111282e08beb20ecccc375a59f1bf8e3be5c9975c12964e94afd88d432589fa5428098f433de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-orgpolicy_v2
2
2
 
3
+ ### v0.24.0 (2023-02-26)
4
+
5
+ * Regenerated using generator version 0.12.0
6
+
7
+ ### v0.23.0 (2023-02-12)
8
+
9
+ * Regenerated from discovery document revision 20230207
10
+
3
11
  ### v0.22.0 (2023-01-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20230116
@@ -33,8 +33,8 @@ module Google
33
33
  # @return [String]
34
34
  attr_accessor :launch
35
35
 
36
- # Defines a Cloud Organization `PolicySpec` which is used to specify `
37
- # Constraints` for configurations of Cloud Platform resources.
36
+ # Defines a Google Cloud policy specification which is used to specify
37
+ # constraints for configurations of Google Cloud resources.
38
38
  # Corresponds to the JSON property `spec`
39
39
  # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpec]
40
40
  attr_accessor :spec
@@ -50,35 +50,35 @@ module Google
50
50
  end
51
51
  end
52
52
 
53
- # A `constraint` describes a way to restrict resource's configuration. For
54
- # example, you could enforce a constraint that controls which cloud services can
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
55
  # be activated across an organization, or whether a Compute Engine instance can
56
- # have serial port connections established. `Constraints` can be configured by
57
- # the organization's policy administrator to fit the needs of the organization
58
- # by setting a `policy` that includes `constraints` at different locations in
59
- # the organization's resource hierarchy. Policies are inherited down the
60
- # resource hierarchy from higher levels, but can also be overridden. For details
61
- # about the inheritance rules please read about `policies`. `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
64
- # or inherited for the resource in question.
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 please read about `policies`. Constraints have a default
62
+ # 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
 
68
- # A `Constraint` that is either enforced or not. For example a constraint `
68
+ # A constraint that is either enforced or not. For example, a constraint `
69
69
  # constraints/compute.disableSerialPortAccess`. If it is enforced on a VM
70
70
  # instance, serial port connections will not be opened to that instance.
71
71
  # Corresponds to the JSON property `booleanConstraint`
72
72
  # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintBooleanConstraint]
73
73
  attr_accessor :boolean_constraint
74
74
 
75
- # The evaluation behavior of this constraint in the absence of 'Policy'.
75
+ # The evaluation behavior of this constraint in the absence of a policy.
76
76
  # Corresponds to the JSON property `constraintDefault`
77
77
  # @return [String]
78
78
  attr_accessor :constraint_default
79
79
 
80
- # Detailed description of what this `Constraint` controls as well as how and
81
- # where it is enforced. Mutable.
80
+ # Detailed description of what this constraint controls as well as how and where
81
+ # it is enforced. Mutable.
82
82
  # Corresponds to the JSON property `description`
83
83
  # @return [String]
84
84
  attr_accessor :description
@@ -88,13 +88,13 @@ module Google
88
88
  # @return [String]
89
89
  attr_accessor :display_name
90
90
 
91
- # A `Constraint` that allows or disallows a list of string values, which are
92
- # configured by an Organization's policy administrator with a `Policy`.
91
+ # A constraint that allows or disallows a list of string values, which are
92
+ # configured by an Organization Policy administrator with a policy.
93
93
  # Corresponds to the JSON property `listConstraint`
94
94
  # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintListConstraint]
95
95
  attr_accessor :list_constraint
96
96
 
97
- # Immutable. The resource name of the Constraint. Must be in one of the
97
+ # Immutable. The resource name of the constraint. Must be in one of the
98
98
  # following forms: * `projects/`project_number`/constraints/`constraint_name`` *
99
99
  # `folders/`folder_id`/constraints/`constraint_name`` * `organizations/`
100
100
  # organization_id`/constraints/`constraint_name`` For example, "/projects/123/
@@ -118,7 +118,7 @@ module Google
118
118
  end
119
119
  end
120
120
 
121
- # A `Constraint` that is either enforced or not. For example a constraint `
121
+ # A constraint that is either enforced or not. For example, a constraint `
122
122
  # constraints/compute.disableSerialPortAccess`. If it is enforced on a VM
123
123
  # instance, serial port connections will not be opened to that instance.
124
124
  class GoogleCloudOrgpolicyV2ConstraintBooleanConstraint
@@ -133,8 +133,8 @@ module Google
133
133
  end
134
134
  end
135
135
 
136
- # A `Constraint` that allows or disallows a list of string values, which are
137
- # configured by an Organization's policy administrator with a `Policy`.
136
+ # A constraint that allows or disallows a list of string values, which are
137
+ # configured by an Organization Policy administrator with a policy.
138
138
  class GoogleCloudOrgpolicyV2ConstraintListConstraint
139
139
  include Google::Apis::Core::Hashable
140
140
 
@@ -146,7 +146,7 @@ module Google
146
146
  attr_accessor :supports_in
147
147
  alias_method :supports_in?, :supports_in
148
148
 
149
- # Indicates whether subtrees of Cloud Resource Manager resource hierarchy can be
149
+ # Indicates whether subtrees of the Resource Manager resource hierarchy can be
150
150
  # used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"
151
151
  # under:folders/123"` would match any resource under the 'folders/123' folder.
152
152
  # Corresponds to the JSON property `supportsUnder`
@@ -167,7 +167,7 @@ module Google
167
167
 
168
168
  # A custom constraint defined by customers which can *only* be applied to the
169
169
  # given resource types and organization. By creating a custom constraint,
170
- # customers can applied policies of this custom constraint. *Creating a custom
170
+ # customers can apply policies of this custom constraint. *Creating a custom
171
171
  # constraint itself does NOT apply any policy enforcement*.
172
172
  class GoogleCloudOrgpolicyV2CustomConstraint
173
173
  include Google::Apis::Core::Hashable
@@ -203,15 +203,15 @@ module Google
203
203
 
204
204
  # Immutable. Name of the constraint. This is unique within the organization.
205
205
  # Format of the name should be * `organizations/`organization_id`/
206
- # customConstraints/`custom_constraint_id`` Example : "organizations/123/
207
- # customConstraints/custom.createOnlyE2TypeVms" The max length is 70 characters
208
- # and the min length is 1. Note that the prefix "organizations/`organization_id`/
209
- # customConstraints/" is not counted.
206
+ # customConstraints/`custom_constraint_id`` Example: `organizations/123/
207
+ # customConstraints/custom.createOnlyE2TypeVms` The max length is 70 characters
208
+ # and the minimum length is 1. Note that the prefix `organizations/`
209
+ # organization_id`/customConstraints/` is not counted.
210
210
  # Corresponds to the JSON property `name`
211
211
  # @return [String]
212
212
  attr_accessor :name
213
213
 
214
- # Immutable. The Resource Instance type on which this policy applies to. Format
214
+ # Immutable. The resource instance type on which this policy applies. Format
215
215
  # will be of the form : "/" Example: * `compute.googleapis.com/Instance`.
216
216
  # Corresponds to the JSON property `resourceTypes`
217
217
  # @return [Array<String>]
@@ -267,12 +267,12 @@ module Google
267
267
  end
268
268
 
269
269
  # The response returned from the ListCustomConstraints method. It will be empty
270
- # if no `CustomConstraints` are set on the organization resource.
270
+ # if no custom constraints are set on the organization resource.
271
271
  class GoogleCloudOrgpolicyV2ListCustomConstraintsResponse
272
272
  include Google::Apis::Core::Hashable
273
273
 
274
- # All `CustomConstraints` that exist on the organization resource. It will be
275
- # empty if no `CustomConstraints` are set.
274
+ # All custom constraints that exist on the organization resource. It will be
275
+ # empty if no custom constraints are set.
276
276
  # Corresponds to the JSON property `customConstraints`
277
277
  # @return [Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2CustomConstraint>]
278
278
  attr_accessor :custom_constraints
@@ -294,8 +294,8 @@ module Google
294
294
  end
295
295
  end
296
296
 
297
- # The response returned from the ListPolicies method. It will be empty if no `
298
- # Policies` are set on the resource.
297
+ # The response returned from the ListPolicies method. It will be empty if no
298
+ # policies are set on the resource.
299
299
  class GoogleCloudOrgpolicyV2ListPoliciesResponse
300
300
  include Google::Apis::Core::Hashable
301
301
 
@@ -305,8 +305,8 @@ module Google
305
305
  # @return [String]
306
306
  attr_accessor :next_page_token
307
307
 
308
- # All `Policies` that exist on the resource. It will be empty if no `Policies`
309
- # are set.
308
+ # All policies that exist on the resource. It will be empty if no policies are
309
+ # set.
310
310
  # Corresponds to the JSON property `policies`
311
311
  # @return [Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy>]
312
312
  attr_accessor :policies
@@ -322,8 +322,8 @@ module Google
322
322
  end
323
323
  end
324
324
 
325
- # Defines a Cloud Organization `Policy` which is used to specify `Constraints`
326
- # for configurations of Cloud Platform resources.
325
+ # Defines an organization policy which is used to specify constraints for
326
+ # configurations of Google Cloud resources.
327
327
  class GoogleCloudOrgpolicyV2Policy
328
328
  include Google::Apis::Core::Hashable
329
329
 
@@ -333,14 +333,14 @@ module Google
333
333
  # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2AlternatePolicySpec]
334
334
  attr_accessor :alternate
335
335
 
336
- # Defines a Cloud Organization `PolicySpec` which is used to specify `
337
- # Constraints` for configurations of Cloud Platform resources.
336
+ # Defines a Google Cloud policy specification which is used to specify
337
+ # constraints for configurations of Google Cloud resources.
338
338
  # Corresponds to the JSON property `dryRunSpec`
339
339
  # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpec]
340
340
  attr_accessor :dry_run_spec
341
341
 
342
- # Immutable. The resource name of the Policy. Must be one of the following forms,
343
- # where constraint_name is the name of the constraint which this Policy
342
+ # Immutable. The resource name of the policy. Must be one of the following forms,
343
+ # where constraint_name is the name of the constraint which this policy
344
344
  # configures: * `projects/`project_number`/policies/`constraint_name`` * `
345
345
  # folders/`folder_id`/policies/`constraint_name`` * `organizations/`
346
346
  # organization_id`/policies/`constraint_name`` For example, "projects/123/
@@ -351,8 +351,8 @@ module Google
351
351
  # @return [String]
352
352
  attr_accessor :name
353
353
 
354
- # Defines a Cloud Organization `PolicySpec` which is used to specify `
355
- # Constraints` for configurations of Cloud Platform resources.
354
+ # Defines a Google Cloud policy specification which is used to specify
355
+ # constraints for configurations of Google Cloud resources.
356
356
  # Corresponds to the JSON property `spec`
357
357
  # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpec]
358
358
  attr_accessor :spec
@@ -370,33 +370,33 @@ module Google
370
370
  end
371
371
  end
372
372
 
373
- # Defines a Cloud Organization `PolicySpec` which is used to specify `
374
- # Constraints` for configurations of Cloud Platform resources.
373
+ # Defines a Google Cloud policy specification which is used to specify
374
+ # constraints for configurations of Google Cloud resources.
375
375
  class GoogleCloudOrgpolicyV2PolicySpec
376
376
  include Google::Apis::Core::Hashable
377
377
 
378
- # An opaque tag indicating the current version of the `Policy`, used for
378
+ # An opaque tag indicating the current version of the policy, used for
379
379
  # concurrency control. This field is ignored if used in a `CreatePolicy` request.
380
- # When the `Policy` is returned from either a `GetPolicy` or a `ListPolicies`
381
- # request, this `etag` indicates the version of the current `Policy` to use when
382
- # executing a read-modify-write loop. When the `Policy` is returned from a `
380
+ # When the policy` is returned from either a `GetPolicy` or a `ListPolicies`
381
+ # request, this `etag` indicates the version of the current policy to use when
382
+ # executing a read-modify-write loop. When the policy is returned from a `
383
383
  # GetEffectivePolicy` request, the `etag` will be unset.
384
384
  # Corresponds to the JSON property `etag`
385
385
  # @return [String]
386
386
  attr_accessor :etag
387
387
 
388
- # Determines the inheritance behavior for this `Policy`. If `inherit_from_parent`
389
- # is true, PolicyRules set higher up in the hierarchy (up to the closest root)
388
+ # Determines the inheritance behavior for this policy. If `inherit_from_parent`
389
+ # is true, policy rules set higher up in the hierarchy (up to the closest root)
390
390
  # are inherited and present in the effective policy. If it is false, then no
391
- # rules are inherited, and this Policy becomes the new root for evaluation. This
392
- # field can be set only for Policies which configure list constraints.
391
+ # rules are inherited, and this policy becomes the new root for evaluation. This
392
+ # field can be set only for policies which configure list constraints.
393
393
  # Corresponds to the JSON property `inheritFromParent`
394
394
  # @return [Boolean]
395
395
  attr_accessor :inherit_from_parent
396
396
  alias_method :inherit_from_parent?, :inherit_from_parent
397
397
 
398
398
  # Ignores policies set above this resource and restores the `constraint_default`
399
- # enforcement behavior of the specific `Constraint` at this resource. This field
399
+ # enforcement behavior of the specific constraint at this resource. This field
400
400
  # can be set in policies for either list or boolean constraints. If set, `rules`
401
401
  # must be empty and `inherit_from_parent` must be set to false.
402
402
  # Corresponds to the JSON property `reset`
@@ -404,19 +404,18 @@ module Google
404
404
  attr_accessor :reset
405
405
  alias_method :reset?, :reset
406
406
 
407
- # Up to 10 PolicyRules are allowed. In Policies for boolean constraints, the
408
- # following requirements apply: - There must be one and only one PolicyRule
409
- # where condition is unset. - BooleanPolicyRules with conditions must set `
410
- # enforced` to the opposite of the PolicyRule without a condition. - During
411
- # policy evaluation, PolicyRules with conditions that are true for a target
407
+ # Up to 10 policy rules are allowed. In policies for boolean constraints, the
408
+ # following requirements apply: - There must be one and only one policy rule
409
+ # where condition is unset. - Boolean policy rules with conditions must set `
410
+ # enforced` to the opposite of the policy rule without a condition. - During
411
+ # policy evaluation, policy rules with conditions that are true for a target
412
412
  # resource take precedence.
413
413
  # Corresponds to the JSON property `rules`
414
414
  # @return [Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpecPolicyRule>]
415
415
  attr_accessor :rules
416
416
 
417
417
  # Output only. The time stamp this was previously updated. This represents the
418
- # last time a call to `CreatePolicy` or `UpdatePolicy` was made for that `Policy`
419
- # .
418
+ # last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.
420
419
  # Corresponds to the JSON property `updateTime`
421
420
  # @return [String]
422
421
  attr_accessor :update_time
@@ -440,7 +439,7 @@ module Google
440
439
  include Google::Apis::Core::Hashable
441
440
 
442
441
  # Setting this to true means that all values are allowed. This field can be set
443
- # only in Policies for list constraints.
442
+ # only in policies for list constraints.
444
443
  # Corresponds to the JSON property `allowAll`
445
444
  # @return [Boolean]
446
445
  attr_accessor :allow_all
@@ -466,25 +465,25 @@ module Google
466
465
  attr_accessor :condition
467
466
 
468
467
  # Setting this to true means that all values are denied. This field can be set
469
- # only in Policies for list constraints.
468
+ # only in policies for list constraints.
470
469
  # Corresponds to the JSON property `denyAll`
471
470
  # @return [Boolean]
472
471
  attr_accessor :deny_all
473
472
  alias_method :deny_all?, :deny_all
474
473
 
475
- # If `true`, then the `Policy` is enforced. If `false`, then any configuration
476
- # is acceptable. This field can be set only in Policies for boolean constraints.
474
+ # If `true`, then the policy is enforced. If `false`, then any configuration is
475
+ # acceptable. This field can be set only in policies for boolean constraints.
477
476
  # Corresponds to the JSON property `enforce`
478
477
  # @return [Boolean]
479
478
  attr_accessor :enforce
480
479
  alias_method :enforce?, :enforce
481
480
 
482
481
  # A message that holds specific allowed and denied values. This message can
483
- # define specific values and subtrees of Cloud Resource Manager resource
484
- # hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied.
485
- # This is achieved by using the `under:` and optional `is:` prefixes. The `under:
486
- # ` prefix is used to denote resource subtree values. The `is:` prefix is used
487
- # to denote specific values, and is required only if the value contains a ":".
482
+ # define specific values and subtrees of the Resource Manager resource hierarchy
483
+ # (`Organizations`, `Folders`, `Projects`) that are allowed or denied. This is
484
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
485
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
486
+ # denote specific values, and is required only if the value contains a ":".
488
487
  # Values prefixed with "is:" are treated the same as values with no prefix.
489
488
  # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
490
489
  # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
@@ -509,11 +508,11 @@ module Google
509
508
  end
510
509
 
511
510
  # A message that holds specific allowed and denied values. This message can
512
- # define specific values and subtrees of Cloud Resource Manager resource
513
- # hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied.
514
- # This is achieved by using the `under:` and optional `is:` prefixes. The `under:
515
- # ` prefix is used to denote resource subtree values. The `is:` prefix is used
516
- # to denote specific values, and is required only if the value contains a ":".
511
+ # define specific values and subtrees of the Resource Manager resource hierarchy
512
+ # (`Organizations`, `Folders`, `Projects`) that are allowed or denied. This is
513
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
514
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
515
+ # denote specific values, and is required only if the value contains a ":".
517
516
  # Values prefixed with "is:" are treated the same as values with no prefix.
518
517
  # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
519
518
  # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
@@ -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.22.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230116"
25
+ REVISION = "20230207"
26
26
  end
27
27
  end
28
28
  end
@@ -50,11 +50,11 @@ module Google
50
50
  @batch_path = 'batch'
51
51
  end
52
52
 
53
- # Lists `Constraints` that could be applied on the specified resource.
53
+ # Lists constraints that could be applied on the specified resource.
54
54
  # @param [String] parent
55
- # Required. The Cloud resource that parents the constraint. Must be in one of
56
- # the following forms: * `projects/`project_number`` * `projects/`project_id`` *
57
- # `folders/`folder_id`` * `organizations/`organization_id``
55
+ # Required. The Google Cloud resource that parents the constraint. Must be in
56
+ # one of the following forms: * `projects/`project_number`` * `projects/`
57
+ # project_id`` * `folders/`folder_id`` * `organizations/`organization_id``
58
58
  # @param [Fixnum] page_size
59
59
  # Size of the pages to be returned. This is currently unsupported and will be
60
60
  # ignored. The server may at any point start using this field to limit page size.
@@ -90,14 +90,14 @@ module Google
90
90
  execute_or_queue_command(command, &block)
91
91
  end
92
92
 
93
- # Creates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.
93
+ # Creates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
94
94
  # NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status`
95
95
  # with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the
96
- # given Cloud resource.
96
+ # given Google Cloud resource.
97
97
  # @param [String] parent
98
- # Required. The Cloud resource that will parent the new Policy. Must be in one
99
- # of the following forms: * `projects/`project_number`` * `projects/`project_id``
100
- # * `folders/`folder_id`` * `organizations/`organization_id``
98
+ # Required. The Google Cloud resource that will parent the new policy. Must be
99
+ # in one of the following forms: * `projects/`project_number`` * `projects/`
100
+ # project_id`` * `folders/`folder_id`` * `organizations/`organization_id``
101
101
  # @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy] google_cloud_orgpolicy_v2_policy_object
102
102
  # @param [String] fields
103
103
  # Selector specifying which fields to include in a partial response.
@@ -128,10 +128,10 @@ module Google
128
128
  execute_or_queue_command(command, &block)
129
129
  end
130
130
 
131
- # Deletes a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.
132
- # NOT_FOUND` if the constraint or Org Policy does not exist.
131
+ # Deletes a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
132
+ # NOT_FOUND` if the constraint or organization policy does not exist.
133
133
  # @param [String] name
134
- # Required. Name of the policy to delete. See `Policy` for naming rules.
134
+ # Required. Name of the policy to delete. See the policy entry for naming rules.
135
135
  # @param [String] fields
136
136
  # Selector specifying which fields to include in a partial response.
137
137
  # @param [String] quota_user
@@ -159,9 +159,9 @@ module Google
159
159
  execute_or_queue_command(command, &block)
160
160
  end
161
161
 
162
- # Gets a `Policy` on a resource. If no `Policy` is set on the resource,
163
- # NOT_FOUND is returned. The `etag` value can be used with `UpdatePolicy()` to
164
- # update a `Policy` during read-modify-write.
162
+ # Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND`
163
+ # is returned. The `etag` value can be used with `UpdatePolicy()` to update a
164
+ # policy during read-modify-write.
165
165
  # @param [String] name
166
166
  # Required. Resource name of the policy. See `Policy` for naming requirements.
167
167
  # @param [String] fields
@@ -191,10 +191,10 @@ module Google
191
191
  execute_or_queue_command(command, &block)
192
192
  end
193
193
 
194
- # Gets the effective `Policy` on a resource. This is the result of merging `
195
- # Policies` in the resource hierarchy and evaluating conditions. The returned `
196
- # Policy` will not have an `etag` or `condition` set because it is a computed `
197
- # Policy` across multiple resources. Subtrees of Resource Manager resource
194
+ # Gets the effective policy on a resource. This is the result of merging
195
+ # policies in the resource hierarchy and evaluating conditions. The returned
196
+ # policy will not have an `etag` or `condition` set because it is an evaluated
197
+ # policy across multiple resources. Subtrees of Resource Manager resource
198
198
  # hierarchy with 'under:' prefix will not be expanded.
199
199
  # @param [String] name
200
200
  # Required. The effective policy to compute. See `Policy` for naming rules.
@@ -225,12 +225,12 @@ module Google
225
225
  execute_or_queue_command(command, &block)
226
226
  end
227
227
 
228
- # Retrieves all of the `Policies` that exist on a particular resource.
228
+ # Retrieves all of the policies that exist on a particular resource.
229
229
  # @param [String] parent
230
- # Required. The target Cloud resource that parents the set of constraints and
231
- # policies that will be returned from this call. Must be in one of the following
232
- # forms: * `projects/`project_number`` * `projects/`project_id`` * `folders/`
233
- # folder_id`` * `organizations/`organization_id``
230
+ # Required. The target Google Cloud resource that parents the set of constraints
231
+ # and policies that will be returned from this call. Must be in one of the
232
+ # following forms: * `projects/`project_number`` * `projects/`project_id`` * `
233
+ # folders/`folder_id`` * `organizations/`organization_id``
234
234
  # @param [Fixnum] page_size
235
235
  # Size of the pages to be returned. This is currently unsupported and will be
236
236
  # ignored. The server may at any point start using this field to limit page size.
@@ -266,14 +266,14 @@ module Google
266
266
  execute_or_queue_command(command, &block)
267
267
  end
268
268
 
269
- # Updates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.
269
+ # Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
270
270
  # NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.
271
271
  # Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request
272
272
  # does not match the persisted etag of the policy Note: the supplied policy will
273
273
  # perform a full overwrite of all fields.
274
274
  # @param [String] name
275
- # Immutable. The resource name of the Policy. Must be one of the following forms,
276
- # where constraint_name is the name of the constraint which this Policy
275
+ # Immutable. The resource name of the policy. Must be one of the following forms,
276
+ # where constraint_name is the name of the constraint which this policy
277
277
  # configures: * `projects/`project_number`/policies/`constraint_name`` * `
278
278
  # folders/`folder_id`/policies/`constraint_name`` * `organizations/`
279
279
  # organization_id`/policies/`constraint_name`` For example, "projects/123/
@@ -315,11 +315,11 @@ module Google
315
315
  execute_or_queue_command(command, &block)
316
316
  end
317
317
 
318
- # Lists `Constraints` that could be applied on the specified resource.
318
+ # Lists constraints that could be applied on the specified resource.
319
319
  # @param [String] parent
320
- # Required. The Cloud resource that parents the constraint. Must be in one of
321
- # the following forms: * `projects/`project_number`` * `projects/`project_id`` *
322
- # `folders/`folder_id`` * `organizations/`organization_id``
320
+ # Required. The Google Cloud resource that parents the constraint. Must be in
321
+ # one of the following forms: * `projects/`project_number`` * `projects/`
322
+ # project_id`` * `folders/`folder_id`` * `organizations/`organization_id``
323
323
  # @param [Fixnum] page_size
324
324
  # Size of the pages to be returned. This is currently unsupported and will be
325
325
  # ignored. The server may at any point start using this field to limit page size.
@@ -355,7 +355,7 @@ module Google
355
355
  execute_or_queue_command(command, &block)
356
356
  end
357
357
 
358
- # Creates a CustomConstraint. Returns a `google.rpc.Status` with `google.rpc.
358
+ # Creates a custom constraint. Returns a `google.rpc.Status` with `google.rpc.
359
359
  # Code.NOT_FOUND` if the organization does not exist. Returns a `google.rpc.
360
360
  # Status` with `google.rpc.Code.ALREADY_EXISTS` if the constraint already exists
361
361
  # on the given organization.
@@ -391,11 +391,11 @@ module Google
391
391
  execute_or_queue_command(command, &block)
392
392
  end
393
393
 
394
- # Deletes a Custom Constraint. Returns a `google.rpc.Status` with `google.rpc.
394
+ # Deletes a custom constraint. Returns a `google.rpc.Status` with `google.rpc.
395
395
  # Code.NOT_FOUND` if the constraint does not exist.
396
396
  # @param [String] name
397
- # Required. Name of the custom constraint to delete. See `CustomConstraint` for
398
- # naming rules.
397
+ # Required. Name of the custom constraint to delete. See the custom constraint
398
+ # entry for naming rules.
399
399
  # @param [String] fields
400
400
  # Selector specifying which fields to include in a partial response.
401
401
  # @param [String] quota_user
@@ -423,11 +423,11 @@ module Google
423
423
  execute_or_queue_command(command, &block)
424
424
  end
425
425
 
426
- # Gets a CustomConstraint. Returns a `google.rpc.Status` with `google.rpc.Code.
427
- # NOT_FOUND` if the CustomConstraint does not exist.
426
+ # Gets a custom constraint. Returns a `google.rpc.Status` with `google.rpc.Code.
427
+ # NOT_FOUND` if the custom constraint does not exist.
428
428
  # @param [String] name
429
- # Required. Resource name of the custom constraint. See `CustomConstraint` for
430
- # naming requirements.
429
+ # Required. Resource name of the custom constraint. See the custom constraint
430
+ # entry for naming requirements.
431
431
  # @param [String] fields
432
432
  # Selector specifying which fields to include in a partial response.
433
433
  # @param [String] quota_user
@@ -455,12 +455,12 @@ module Google
455
455
  execute_or_queue_command(command, &block)
456
456
  end
457
457
 
458
- # Retrieves all of the `CustomConstraints` that exist on a particular
458
+ # Retrieves all of the custom constraints that exist on a particular
459
459
  # organization resource.
460
460
  # @param [String] parent
461
- # Required. The target Cloud resource that parents the set of custom constraints
462
- # that will be returned from this call. Must be in one of the following forms: *
463
- # `organizations/`organization_id``
461
+ # Required. The target Google Cloud resource that parents the set of custom
462
+ # constraints that will be returned from this call. Must be in one of the
463
+ # following forms: * `organizations/`organization_id``
464
464
  # @param [Fixnum] page_size
465
465
  # Size of the pages to be returned. This is currently unsupported and will be
466
466
  # ignored. The server may at any point start using this field to limit page size.
@@ -496,16 +496,16 @@ module Google
496
496
  execute_or_queue_command(command, &block)
497
497
  end
498
498
 
499
- # Updates a Custom Constraint. Returns a `google.rpc.Status` with `google.rpc.
499
+ # Updates a custom constraint. Returns a `google.rpc.Status` with `google.rpc.
500
500
  # Code.NOT_FOUND` if the constraint does not exist. Note: the supplied policy
501
501
  # will perform a full overwrite of all fields.
502
502
  # @param [String] name
503
503
  # Immutable. Name of the constraint. This is unique within the organization.
504
504
  # Format of the name should be * `organizations/`organization_id`/
505
- # customConstraints/`custom_constraint_id`` Example : "organizations/123/
506
- # customConstraints/custom.createOnlyE2TypeVms" The max length is 70 characters
507
- # and the min length is 1. Note that the prefix "organizations/`organization_id`/
508
- # customConstraints/" is not counted.
505
+ # customConstraints/`custom_constraint_id`` Example: `organizations/123/
506
+ # customConstraints/custom.createOnlyE2TypeVms` The max length is 70 characters
507
+ # and the minimum length is 1. Note that the prefix `organizations/`
508
+ # organization_id`/customConstraints/` is not counted.
509
509
  # @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2CustomConstraint] google_cloud_orgpolicy_v2_custom_constraint_object
510
510
  # @param [String] fields
511
511
  # Selector specifying which fields to include in a partial response.
@@ -536,14 +536,14 @@ module Google
536
536
  execute_or_queue_command(command, &block)
537
537
  end
538
538
 
539
- # Creates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.
539
+ # Creates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
540
540
  # NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status`
541
541
  # with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the
542
- # given Cloud resource.
542
+ # given Google Cloud resource.
543
543
  # @param [String] parent
544
- # Required. The Cloud resource that will parent the new Policy. Must be in one
545
- # of the following forms: * `projects/`project_number`` * `projects/`project_id``
546
- # * `folders/`folder_id`` * `organizations/`organization_id``
544
+ # Required. The Google Cloud resource that will parent the new policy. Must be
545
+ # in one of the following forms: * `projects/`project_number`` * `projects/`
546
+ # project_id`` * `folders/`folder_id`` * `organizations/`organization_id``
547
547
  # @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy] google_cloud_orgpolicy_v2_policy_object
548
548
  # @param [String] fields
549
549
  # Selector specifying which fields to include in a partial response.
@@ -574,10 +574,10 @@ module Google
574
574
  execute_or_queue_command(command, &block)
575
575
  end
576
576
 
577
- # Deletes a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.
578
- # NOT_FOUND` if the constraint or Org Policy does not exist.
577
+ # Deletes a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
578
+ # NOT_FOUND` if the constraint or organization policy does not exist.
579
579
  # @param [String] name
580
- # Required. Name of the policy to delete. See `Policy` for naming rules.
580
+ # Required. Name of the policy to delete. See the policy entry for naming rules.
581
581
  # @param [String] fields
582
582
  # Selector specifying which fields to include in a partial response.
583
583
  # @param [String] quota_user
@@ -605,9 +605,9 @@ module Google
605
605
  execute_or_queue_command(command, &block)
606
606
  end
607
607
 
608
- # Gets a `Policy` on a resource. If no `Policy` is set on the resource,
609
- # NOT_FOUND is returned. The `etag` value can be used with `UpdatePolicy()` to
610
- # update a `Policy` during read-modify-write.
608
+ # Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND`
609
+ # is returned. The `etag` value can be used with `UpdatePolicy()` to update a
610
+ # policy during read-modify-write.
611
611
  # @param [String] name
612
612
  # Required. Resource name of the policy. See `Policy` for naming requirements.
613
613
  # @param [String] fields
@@ -637,10 +637,10 @@ module Google
637
637
  execute_or_queue_command(command, &block)
638
638
  end
639
639
 
640
- # Gets the effective `Policy` on a resource. This is the result of merging `
641
- # Policies` in the resource hierarchy and evaluating conditions. The returned `
642
- # Policy` will not have an `etag` or `condition` set because it is a computed `
643
- # Policy` across multiple resources. Subtrees of Resource Manager resource
640
+ # Gets the effective policy on a resource. This is the result of merging
641
+ # policies in the resource hierarchy and evaluating conditions. The returned
642
+ # policy will not have an `etag` or `condition` set because it is an evaluated
643
+ # policy across multiple resources. Subtrees of Resource Manager resource
644
644
  # hierarchy with 'under:' prefix will not be expanded.
645
645
  # @param [String] name
646
646
  # Required. The effective policy to compute. See `Policy` for naming rules.
@@ -671,12 +671,12 @@ module Google
671
671
  execute_or_queue_command(command, &block)
672
672
  end
673
673
 
674
- # Retrieves all of the `Policies` that exist on a particular resource.
674
+ # Retrieves all of the policies that exist on a particular resource.
675
675
  # @param [String] parent
676
- # Required. The target Cloud resource that parents the set of constraints and
677
- # policies that will be returned from this call. Must be in one of the following
678
- # forms: * `projects/`project_number`` * `projects/`project_id`` * `folders/`
679
- # folder_id`` * `organizations/`organization_id``
676
+ # Required. The target Google Cloud resource that parents the set of constraints
677
+ # and policies that will be returned from this call. Must be in one of the
678
+ # following forms: * `projects/`project_number`` * `projects/`project_id`` * `
679
+ # folders/`folder_id`` * `organizations/`organization_id``
680
680
  # @param [Fixnum] page_size
681
681
  # Size of the pages to be returned. This is currently unsupported and will be
682
682
  # ignored. The server may at any point start using this field to limit page size.
@@ -712,14 +712,14 @@ module Google
712
712
  execute_or_queue_command(command, &block)
713
713
  end
714
714
 
715
- # Updates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.
715
+ # Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
716
716
  # NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.
717
717
  # Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request
718
718
  # does not match the persisted etag of the policy Note: the supplied policy will
719
719
  # perform a full overwrite of all fields.
720
720
  # @param [String] name
721
- # Immutable. The resource name of the Policy. Must be one of the following forms,
722
- # where constraint_name is the name of the constraint which this Policy
721
+ # Immutable. The resource name of the policy. Must be one of the following forms,
722
+ # where constraint_name is the name of the constraint which this policy
723
723
  # configures: * `projects/`project_number`/policies/`constraint_name`` * `
724
724
  # folders/`folder_id`/policies/`constraint_name`` * `organizations/`
725
725
  # organization_id`/policies/`constraint_name`` For example, "projects/123/
@@ -761,11 +761,11 @@ module Google
761
761
  execute_or_queue_command(command, &block)
762
762
  end
763
763
 
764
- # Lists `Constraints` that could be applied on the specified resource.
764
+ # Lists constraints that could be applied on the specified resource.
765
765
  # @param [String] parent
766
- # Required. The Cloud resource that parents the constraint. Must be in one of
767
- # the following forms: * `projects/`project_number`` * `projects/`project_id`` *
768
- # `folders/`folder_id`` * `organizations/`organization_id``
766
+ # Required. The Google Cloud resource that parents the constraint. Must be in
767
+ # one of the following forms: * `projects/`project_number`` * `projects/`
768
+ # project_id`` * `folders/`folder_id`` * `organizations/`organization_id``
769
769
  # @param [Fixnum] page_size
770
770
  # Size of the pages to be returned. This is currently unsupported and will be
771
771
  # ignored. The server may at any point start using this field to limit page size.
@@ -801,14 +801,14 @@ module Google
801
801
  execute_or_queue_command(command, &block)
802
802
  end
803
803
 
804
- # Creates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.
804
+ # Creates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
805
805
  # NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status`
806
806
  # with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the
807
- # given Cloud resource.
807
+ # given Google Cloud resource.
808
808
  # @param [String] parent
809
- # Required. The Cloud resource that will parent the new Policy. Must be in one
810
- # of the following forms: * `projects/`project_number`` * `projects/`project_id``
811
- # * `folders/`folder_id`` * `organizations/`organization_id``
809
+ # Required. The Google Cloud resource that will parent the new policy. Must be
810
+ # in one of the following forms: * `projects/`project_number`` * `projects/`
811
+ # project_id`` * `folders/`folder_id`` * `organizations/`organization_id``
812
812
  # @param [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2Policy] google_cloud_orgpolicy_v2_policy_object
813
813
  # @param [String] fields
814
814
  # Selector specifying which fields to include in a partial response.
@@ -839,10 +839,10 @@ module Google
839
839
  execute_or_queue_command(command, &block)
840
840
  end
841
841
 
842
- # Deletes a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.
843
- # NOT_FOUND` if the constraint or Org Policy does not exist.
842
+ # Deletes a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
843
+ # NOT_FOUND` if the constraint or organization policy does not exist.
844
844
  # @param [String] name
845
- # Required. Name of the policy to delete. See `Policy` for naming rules.
845
+ # Required. Name of the policy to delete. See the policy entry for naming rules.
846
846
  # @param [String] fields
847
847
  # Selector specifying which fields to include in a partial response.
848
848
  # @param [String] quota_user
@@ -870,9 +870,9 @@ module Google
870
870
  execute_or_queue_command(command, &block)
871
871
  end
872
872
 
873
- # Gets a `Policy` on a resource. If no `Policy` is set on the resource,
874
- # NOT_FOUND is returned. The `etag` value can be used with `UpdatePolicy()` to
875
- # update a `Policy` during read-modify-write.
873
+ # Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND`
874
+ # is returned. The `etag` value can be used with `UpdatePolicy()` to update a
875
+ # policy during read-modify-write.
876
876
  # @param [String] name
877
877
  # Required. Resource name of the policy. See `Policy` for naming requirements.
878
878
  # @param [String] fields
@@ -902,10 +902,10 @@ module Google
902
902
  execute_or_queue_command(command, &block)
903
903
  end
904
904
 
905
- # Gets the effective `Policy` on a resource. This is the result of merging `
906
- # Policies` in the resource hierarchy and evaluating conditions. The returned `
907
- # Policy` will not have an `etag` or `condition` set because it is a computed `
908
- # Policy` across multiple resources. Subtrees of Resource Manager resource
905
+ # Gets the effective policy on a resource. This is the result of merging
906
+ # policies in the resource hierarchy and evaluating conditions. The returned
907
+ # policy will not have an `etag` or `condition` set because it is an evaluated
908
+ # policy across multiple resources. Subtrees of Resource Manager resource
909
909
  # hierarchy with 'under:' prefix will not be expanded.
910
910
  # @param [String] name
911
911
  # Required. The effective policy to compute. See `Policy` for naming rules.
@@ -936,12 +936,12 @@ module Google
936
936
  execute_or_queue_command(command, &block)
937
937
  end
938
938
 
939
- # Retrieves all of the `Policies` that exist on a particular resource.
939
+ # Retrieves all of the policies that exist on a particular resource.
940
940
  # @param [String] parent
941
- # Required. The target Cloud resource that parents the set of constraints and
942
- # policies that will be returned from this call. Must be in one of the following
943
- # forms: * `projects/`project_number`` * `projects/`project_id`` * `folders/`
944
- # folder_id`` * `organizations/`organization_id``
941
+ # Required. The target Google Cloud resource that parents the set of constraints
942
+ # and policies that will be returned from this call. Must be in one of the
943
+ # following forms: * `projects/`project_number`` * `projects/`project_id`` * `
944
+ # folders/`folder_id`` * `organizations/`organization_id``
945
945
  # @param [Fixnum] page_size
946
946
  # Size of the pages to be returned. This is currently unsupported and will be
947
947
  # ignored. The server may at any point start using this field to limit page size.
@@ -977,14 +977,14 @@ module Google
977
977
  execute_or_queue_command(command, &block)
978
978
  end
979
979
 
980
- # Updates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.
980
+ # Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.
981
981
  # NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.
982
982
  # Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request
983
983
  # does not match the persisted etag of the policy Note: the supplied policy will
984
984
  # perform a full overwrite of all fields.
985
985
  # @param [String] name
986
- # Immutable. The resource name of the Policy. Must be one of the following forms,
987
- # where constraint_name is the name of the constraint which this Policy
986
+ # Immutable. The resource name of the policy. Must be one of the following forms,
987
+ # where constraint_name is the name of the constraint which this policy
988
988
  # configures: * `projects/`project_number`/policies/`constraint_name`` * `
989
989
  # folders/`folder_id`/policies/`constraint_name`` * `organizations/`
990
990
  # organization_id`/policies/`constraint_name`` For example, "projects/123/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-orgpolicy_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-22 00:00:00.000000000 Z
11
+ date: 2023-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-orgpolicy_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-orgpolicy_v2
63
63
  post_install_message:
64
64
  rdoc_options: []