class Google::Apis::CloudresourcemanagerV1::ListConstraint
A `Constraint` that allows or disallows a list of string values, which are configured by an Organization's policy administrator with a `Policy`.
Attributes
Optional. The Google
Cloud Console will try to default to a configuration that matches the value specified in this `Constraint`. Corresponds to the JSON property `suggestedValue` @return [String]
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. Corresponds to the JSON property `supportsUnder` @return [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. Corresponds to the JSON property `supportsUnder` @return [Boolean]
Public Class Methods
# File lib/google/apis/cloudresourcemanager_v1/classes.rb, line 982 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudresourcemanager_v1/classes.rb, line 987 def update!(**args) @suggested_value = args[:suggested_value] if args.key?(:suggested_value) @supports_under = args[:supports_under] if args.key?(:supports_under) end