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.



3102
3103
3104
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3102

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


3100
3101
3102
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3100

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3107
3108
3109
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3107

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