Class: Google::Apis::NotebooksV1::RegisterInstanceRequest

Inherits:
Object
  • Object
show all
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 registering a notebook instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegisterInstanceRequest

Returns a new instance of RegisterInstanceRequest.



1064
1065
1066
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1064

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#instance_idString

Required. User defined unique ID of this instance. The instance_id must be 1 to 63 characters long and contain only lowercase letters, numeric characters, and dashes. The first character must be a lowercase letter and the last character cannot be a dash. Corresponds to the JSON property instanceId

Returns:

  • (String)


1062
1063
1064
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1062

def instance_id
  @instance_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1069
1070
1071
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1069

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