Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1StringList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/assuredworkloads_v1/classes.rb,
lib/google/apis/assuredworkloads_v1/representations.rb,
lib/google/apis/assuredworkloads_v1/representations.rb

Overview

A list of strings for the parameter value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1StringList

Returns a new instance of GoogleCloudAssuredworkloadsV1StringList.



1571
1572
1573
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1571

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

Instance Attribute Details

#valuesArray<String>

Required. The strings in the list. Corresponds to the JSON property values

Returns:

  • (Array<String>)


1569
1570
1571
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1569

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1576
1577
1578
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 1576

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