Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::SetInstanceLabelsRequest.
Request for setting instance labels.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels to apply to this instance. These can be later modified by the setLabels method
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Labels to apply to this instance. These can be later modified by the setLabels method
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels to apply to this instance. These can be later modified by the setLabels method
#name
def name() -> ::String
Returns
-
(::String) — Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
Returns
-
(::String) — Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}