Class: Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint::ListConstraint

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/asset/v1/asset_service.rb

Overview

A Constraint that allows or disallows a list of string values, which are configured by an organization's policy administrator with a Policy.

Instance Attribute Summary collapse

Instance Attribute Details

#supports_in::Boolean

Returns 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.



2066
2067
2068
2069
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2066

class ListConstraint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#supports_under::Boolean

Returns Indicates whether subtrees of Cloud 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 Cloud 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.



2066
2067
2068
2069
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2066

class ListConstraint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end