Class: Google::Apis::ComputeAlpha::GuestAttributesValue

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

Overview

Array of guest attribute namespace/key/value tuples.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GuestAttributesValue

Returns a new instance of GuestAttributesValue



7359
7360
7361
# File 'generated/google/apis/compute_alpha/classes.rb', line 7359

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

Instance Attribute Details

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

Corresponds to the JSON property items



7357
7358
7359
# File 'generated/google/apis/compute_alpha/classes.rb', line 7357

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7364
7365
7366
# File 'generated/google/apis/compute_alpha/classes.rb', line 7364

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