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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/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.



7935
7936
7937
# File 'generated/google/apis/compute_v1/classes.rb', line 7935

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

Instance Attribute Details

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

Corresponds to the JSON property items



7933
7934
7935
# File 'generated/google/apis/compute_v1/classes.rb', line 7933

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7940
7941
7942
# File 'generated/google/apis/compute_v1/classes.rb', line 7940

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