Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1StringValues
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::GoogleCloudAssetV1StringValues
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
The string values for the list constraints.
Instance Attribute Summary collapse
-
#allowed_values ⇒ Array<String>
List of values allowed at this resource.
-
#denied_values ⇒ Array<String>
List of values denied at this resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssetV1StringValues
constructor
A new instance of GoogleCloudAssetV1StringValues.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssetV1StringValues
Returns a new instance of GoogleCloudAssetV1StringValues.
2202 2203 2204 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2202 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_values ⇒ Array<String>
List of values allowed at this resource.
Corresponds to the JSON property allowedValues
2195 2196 2197 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2195 def allowed_values @allowed_values end |
#denied_values ⇒ Array<String>
List of values denied at this resource.
Corresponds to the JSON property deniedValues
2200 2201 2202 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2200 def denied_values @denied_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2207 2208 2209 2210 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2207 def update!(**args) @allowed_values = args[:allowed_values] if args.key?(:allowed_values) @denied_values = args[:denied_values] if args.key?(:denied_values) end |