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.



2300
2301
2302
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2300

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>)


2298
2299
2300
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2298

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2305
2306
2307
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2305

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