Class: Google::Apis::NotebooksV1::ReportInstanceInfoRequest
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::ReportInstanceInfoRequest
- 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 notebook instances to report information to Notebooks API.
Instance Attribute Summary collapse
-
#metadata ⇒ Hash<String,String>
The metadata reported to Notebooks API.
-
#vm_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportInstanceInfoRequest
constructor
A new instance of ReportInstanceInfoRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportInstanceInfoRequest
Returns a new instance of ReportInstanceInfoRequest.
1090 1091 1092 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1090 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,String>
The metadata reported to Notebooks API. This will be merged to the instance
metadata store
Corresponds to the JSON property metadata
1082 1083 1084 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1082 def @metadata 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
1088 1089 1090 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1088 def vm_id @vm_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1095 1096 1097 1098 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 1095 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @vm_id = args[:vm_id] if args.key?(:vm_id) end |