Class: Google::Apis::NotebooksV2::ReportInstanceInfoSystemRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/notebooks_v2/classes.rb,
lib/google/apis/notebooks_v2/representations.rb,
lib/google/apis/notebooks_v2/representations.rb

Overview

Request for notebook instances to report information to Notebooks API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportInstanceInfoSystemRequest

Returns a new instance of ReportInstanceInfoSystemRequest.



1229
1230
1231
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1229

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

Instance Attribute Details

#eventGoogle::Apis::NotebooksV2::Event

The definition of an Event for a managed / semi-managed notebook instance. Corresponds to the JSON property event



1221
1222
1223
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1221

def event
  @event
end

#vm_idString

Required. The VM hardware token for authenticating the VM. https://cloud. google.com/compute/docs/instances/verifying-instance-identity Corresponds to the JSON property vmId

Returns:

  • (String)


1227
1228
1229
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1227

def vm_id
  @vm_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1234
1235
1236
1237
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1234

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