Class: Google::Apis::ComputeV1::GuestAttributesValue

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

Overview

Array of guest attribute namespace/key/value tuples.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuestAttributesValue

Returns a new instance of GuestAttributesValue.



16875
16876
16877
# File 'lib/google/apis/compute_v1/classes.rb', line 16875

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

Instance Attribute Details

#itemsArray<Google::Apis::ComputeV1::GuestAttributesEntry>

Corresponds to the JSON property items



16873
16874
16875
# File 'lib/google/apis/compute_v1/classes.rb', line 16873

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16880
16881
16882
# File 'lib/google/apis/compute_v1/classes.rb', line 16880

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