Class: Google::Apis::NotebooksV2::ReportInstanceInfoSystemRequest
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV2::ReportInstanceInfoSystemRequest
- 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
-
#event ⇒ Google::Apis::NotebooksV2::Event
The definition of an Event for a managed / semi-managed notebook instance.
-
#vm_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportInstanceInfoSystemRequest
constructor
A new instance of ReportInstanceInfoSystemRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportInstanceInfoSystemRequest
Returns a new instance of ReportInstanceInfoSystemRequest.
1283 1284 1285 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event ⇒ Google::Apis::NotebooksV2::Event
The definition of an Event for a managed / semi-managed notebook instance.
Corresponds to the JSON property event
1275 1276 1277 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1275 def event @event end |
#vm_id ⇒ String
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
1281 1282 1283 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1281 def vm_id @vm_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1288 1289 1290 1291 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1288 def update!(**args) @event = args[:event] if args.key?(:event) @vm_id = args[:vm_id] if args.key?(:vm_id) end |