Class: Google::Apis::CloudresourcemanagerV1::ListConstraint
- Inherits:
-
Object
- Object
- Google::Apis::CloudresourcemanagerV1::ListConstraint
- Defined in:
- generated/google/apis/cloudresourcemanager_v1/classes.rb,
generated/google/apis/cloudresourcemanager_v1/representations.rb,
generated/google/apis/cloudresourcemanager_v1/representations.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
-
#suggested_value ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListConstraint
constructor
A new instance of ListConstraint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListConstraint
Returns a new instance of ListConstraint
1283 1284 1285 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggested_value ⇒ String
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
1281 1282 1283 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1281 def suggested_value @suggested_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1288 1289 1290 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1288 def update!(**args) @suggested_value = args[:suggested_value] if args.key?(:suggested_value) end |