Class: Google::Apis::NotebooksV1::UpdateInstanceMetadataItemsRequest
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::UpdateInstanceMetadataItemsRequest
- 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 more...
Overview
Request for adding/changing metadata items for an instance.
Instance Attribute Summary collapse
-
#items ⇒ Hash<String,String>
Metadata items to add/update for the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateInstanceMetadataItemsRequest
constructor
A new instance of UpdateInstanceMetadataItemsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateInstanceMetadataItemsRequest
Returns a new instance of UpdateInstanceMetadataItemsRequest.
3084 3085 3086 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3084 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Hash<String,String>
Metadata items to add/update for the instance.
Corresponds to the JSON property items
3082 3083 3084 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3082 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3089 3090 3091 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3089 def update!(**args) @items = args[:items] if args.key?(:items) end |