Class: Google::Apis::ComputeAlpha::GuestAttributesValue
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::GuestAttributesValue
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Array of guest attribute namespace/key/value tuples.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::ComputeAlpha::GuestAttributesEntry>
Corresponds to the JSON property
items
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuestAttributesValue
constructor
A new instance of GuestAttributesValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuestAttributesValue
Returns a new instance of GuestAttributesValue.
10121 10122 10123 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10121 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::ComputeAlpha::GuestAttributesEntry>
Corresponds to the JSON property items
10119 10120 10121 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10119 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10126 10127 10128 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10126 def update!(**args) @items = args[:items] if args.key?(:items) end |