Organization Policy V2 API - Class Google::Cloud::OrgPolicy::V2::Constraint::ListConstraint (v0.9.0)

Reference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::Constraint::ListConstraint.

A constraint that allows or disallows a list of string values, which are configured by an Organization Policy administrator with a policy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#supports_in

def supports_in() -> ::Boolean
Returns
  • (::Boolean) — Indicates whether values grouped into categories can be used in Policy.allowed_values and Policy.denied_values. For example, "in:Python" would match any value in the 'Python' group.

#supports_in=

def supports_in=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates whether values grouped into categories can be used in Policy.allowed_values and Policy.denied_values. For example, "in:Python" would match any value in the 'Python' group.
Returns
  • (::Boolean) — Indicates whether values grouped into categories can be used in Policy.allowed_values and Policy.denied_values. For example, "in:Python" would match any value in the 'Python' group.

#supports_under

def supports_under() -> ::Boolean
Returns
  • (::Boolean) — Indicates whether subtrees of the Resource Manager resource hierarchy can be used in Policy.allowed_values and Policy.denied_values. For example, "under:folders/123" would match any resource under the 'folders/123' folder.

#supports_under=

def supports_under=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates whether subtrees of the Resource Manager resource hierarchy can be used in Policy.allowed_values and Policy.denied_values. For example, "under:folders/123" would match any resource under the 'folders/123' folder.
Returns
  • (::Boolean) — Indicates whether subtrees of the Resource Manager resource hierarchy can be used in Policy.allowed_values and Policy.denied_values. For example, "under:folders/123" would match any resource under the 'folders/123' folder.