Class: Google::Apis::NotebooksV1::UpdateInstanceMetadataItemsResponse

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

Overview

Response for adding/changing metadata items for an instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateInstanceMetadataItemsResponse

Returns a new instance of UpdateInstanceMetadataItemsResponse.



2616
2617
2618
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2616

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

Instance Attribute Details

#itemsHash<String,String>

Map of items that were added/updated to/in the metadata. Corresponds to the JSON property items

Returns:

  • (Hash<String,String>)


2614
2615
2616
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2614

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2621
2622
2623
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2621

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