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.
2288 2289 2290 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2288 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Array<String>
The values of the array
Corresponds to the JSON property values
2286 2287 2288 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2286 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2293 2294 2295 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2293 def update!(**args) @values = args[:values] if args.key?(:values) end |