Class: Google::Apis::NotebooksV1::ReportRuntimeEventRequest

Inherits:
Object
  • Object
show all
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

Overview

Request for reporting a Managed Notebook Event.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportRuntimeEventRequest

Returns a new instance of ReportRuntimeEventRequest.



2018
2019
2020
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2018

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

Instance Attribute Details

#eventGoogle::Apis::NotebooksV1::Event

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



2010
2011
2012
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2010

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)


2016
2017
2018
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2016

def vm_id
  @vm_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2023
2024
2025
2026
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2023

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