Class: Google::Apis::NotebooksV2::DiagnoseInstanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV2::DiagnoseInstanceRequest
- 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 creating a notebook instance diagnostic file.
Instance Attribute Summary collapse
-
#diagnostic_config ⇒ Google::Apis::NotebooksV2::DiagnosticConfig
Defines flags that are used to run the diagnostic tool Corresponds to the JSON property
diagnosticConfig
. -
#timeout_minutes ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiagnoseInstanceRequest
constructor
A new instance of DiagnoseInstanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiagnoseInstanceRequest
Returns a new instance of DiagnoseInstanceRequest.
409 410 411 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 409 def initialize(**args) update!(**args) end |
Instance Attribute Details
#diagnostic_config ⇒ Google::Apis::NotebooksV2::DiagnosticConfig
Defines flags that are used to run the diagnostic tool
Corresponds to the JSON property diagnosticConfig
402 403 404 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 402 def diagnostic_config @diagnostic_config end |
#timeout_minutes ⇒ Fixnum
Optional. Maximum amount of time in minutes before the operation times out.
Corresponds to the JSON property timeoutMinutes
407 408 409 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 407 def timeout_minutes @timeout_minutes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
414 415 416 417 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 414 def update!(**args) @diagnostic_config = args[:diagnostic_config] if args.key?(:diagnostic_config) @timeout_minutes = args[:timeout_minutes] if args.key?(:timeout_minutes) end |