Class: Google::Apis::NotebooksV1::SetInstanceLabelsRequest
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::SetInstanceLabelsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/notebooks_v1/classes.rb,
generated/google/apis/notebooks_v1/representations.rb,
generated/google/apis/notebooks_v1/representations.rb
Overview
Request for setting instance labels.
Instance Attribute Summary collapse
-
#labels ⇒ Hash<String,String>
Labels to apply to this instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetInstanceLabelsRequest
constructor
A new instance of SetInstanceLabelsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SetInstanceLabelsRequest
Returns a new instance of SetInstanceLabelsRequest.
1197 1198 1199 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Hash<String,String>
Labels to apply to this instance. These can be later modified by the setLabels
method
Corresponds to the JSON property labels
1195 1196 1197 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1195 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1202 1203 1204 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1202 def update!(**args) @labels = args[:labels] if args.key?(:labels) end |