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.



2747
2748
2749
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2747

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>)


2745
2746
2747
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2745

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2752
2753
2754
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2752

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