Class: Google::Apis::MonitoringV1::StringArray
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV1::StringArray
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v1/classes.rb,
lib/google/apis/monitoring_v1/representations.rb,
lib/google/apis/monitoring_v1/representations.rb
Overview
An array of strings
Instance Attribute Summary collapse
-
#values ⇒ Array<String>
The values of the array Corresponds to the JSON property
values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StringArray
constructor
A new instance of StringArray.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StringArray
Returns a new instance of StringArray.
2311 2312 2313 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Array<String>
The values of the array
Corresponds to the JSON property values
2309 2310 2311 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2309 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2316 2317 2318 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2316 def update!(**args) @values = args[:values] if args.key?(:values) end |