Class: Google::Apis::MonitoringV1::StringArray

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StringArray

Returns a new instance of StringArray.



2230
2231
2232
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2230

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valuesArray<String>

The values of the array Corresponds to the JSON property values

Returns:

  • (Array<String>)


2228
2229
2230
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2228

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2235
2236
2237
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2235

def update!(**args)
  @values = args[:values] if args.key?(:values)
end