@@ -33,7 +33,7 @@ class GoogleCloudOrgpolicyV2AlternatePolicySpec
3333 # @return [String]
3434 attr_accessor :launch
3535
36- # Defines a Google Cloud policy specification which is used to specify
36+ # Defines a Google Cloud policy specification that is used to specify
3737 # constraints for configurations of Google Cloud resources.
3838 # Corresponds to the JSON property `spec`
3939 # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpec]
@@ -50,18 +50,18 @@ def update!(**args)
5050 end
5151 end
5252
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.
6565 class GoogleCloudOrgpolicyV2Constraint
6666 include Google ::Apis ::Core ::Hashable
6767
@@ -88,8 +88,11 @@ class GoogleCloudOrgpolicyV2Constraint
8888 # @return [String]
8989 attr_accessor :display_name
9090
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".
9396 # Corresponds to the JSON property `equivalentConstraint`
9497 # @return [String]
9598 attr_accessor :equivalent_constraint
@@ -187,8 +190,8 @@ class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition
187190 # @return [Hash<String,Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter>]
188191 attr_accessor :parameters
189192
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`.
192195 # Corresponds to the JSON property `resourceTypes`
193196 # @return [Array<String>]
194197 attr_accessor :resource_types
@@ -234,7 +237,7 @@ class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
234237
235238 # Provides a CEL expression to specify the acceptable parameter values during
236239 # assignment. For example, parameterName in ("parameterValue1", "parameterValue2"
237- # )
240+ # ).
238241 # Corresponds to the JSON property `validValuesExpr`
239242 # @return [String]
240243 attr_accessor :valid_values_expr
@@ -257,7 +260,7 @@ def update!(**args)
257260 class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata
258261 include Google ::Apis ::Core ::Hashable
259262
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.
261264 # Corresponds to the JSON property `description`
262265 # @return [String]
263266 attr_accessor :description
@@ -462,7 +465,7 @@ def update!(**args)
462465 end
463466 end
464467
465- # Defines an organization policy which is used to specify constraints for
468+ # Defines an organization policy that is used to specify constraints for
466469 # configurations of Google Cloud resources.
467470 class GoogleCloudOrgpolicyV2Policy
468471 include Google ::Apis ::Core ::Hashable
@@ -473,22 +476,22 @@ class GoogleCloudOrgpolicyV2Policy
473476 # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2AlternatePolicySpec]
474477 attr_accessor :alternate
475478
476- # Defines a Google Cloud policy specification which is used to specify
479+ # Defines a Google Cloud policy specification that is used to specify
477480 # constraints for configurations of Google Cloud resources.
478481 # Corresponds to the JSON property `dryRunSpec`
479482 # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpec]
480483 attr_accessor :dry_run_spec
481484
482485 # 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.
486489 # Corresponds to the JSON property `etag`
487490 # @return [String]
488491 attr_accessor :etag
489492
490493 # 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
492495 # configures: * `projects/`project_number`/policies/`constraint_name`` * `
493496 # folders/`folder_id`/policies/`constraint_name`` * `organizations/`
494497 # organization_id`/policies/`constraint_name`` For example, `projects/123/
@@ -499,7 +502,7 @@ class GoogleCloudOrgpolicyV2Policy
499502 # @return [String]
500503 attr_accessor :name
501504
502- # Defines a Google Cloud policy specification which is used to specify
505+ # Defines a Google Cloud policy specification that is used to specify
503506 # constraints for configurations of Google Cloud resources.
504507 # Corresponds to the JSON property `spec`
505508 # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpec]
@@ -519,17 +522,17 @@ def update!(**args)
519522 end
520523 end
521524
522- # Defines a Google Cloud policy specification which is used to specify
525+ # Defines a Google Cloud policy specification that is used to specify
523526 # constraints for configurations of Google Cloud resources.
524527 class GoogleCloudOrgpolicyV2PolicySpec
525528 include Google ::Apis ::Core ::Hashable
526529
527530 # An opaque tag indicating the current version of the policySpec, used for
528531 # concurrency control. This field is ignored if used in a `CreatePolicy` request.
529532 # 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.
533536 # Corresponds to the JSON property `etag`
534537 # @return [String]
535538 attr_accessor :etag
@@ -538,7 +541,7 @@ class GoogleCloudOrgpolicyV2PolicySpec
538541 # is true, policy rules set higher up in the hierarchy (up to the closest root)
539542 # are inherited and present in the effective policy. If it is false, then no
540543 # 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.
542545 # Corresponds to the JSON property `inheritFromParent`
543546 # @return [Boolean]
544547 attr_accessor :inherit_from_parent
@@ -554,10 +557,10 @@ class GoogleCloudOrgpolicyV2PolicySpec
554557 alias_method :reset? , :reset
555558
556559 # 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.
561564 # Corresponds to the JSON property `rules`
562565 # @return [Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpecPolicyRule>]
563566 attr_accessor :rules
0 commit comments