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.
361 362 363 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 361 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
354 355 356 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 354 def diagnostic_config @diagnostic_config end |
#timeout_minutes ⇒ Fixnum
Optional. Maxmium amount of time in minutes before the operation times out.
Corresponds to the JSON property timeoutMinutes
359 360 361 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 359 def timeout_minutes @timeout_minutes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
366 367 368 369 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 366 def update!(**args) @diagnostic_config = args[:diagnostic_config] if args.key?(:diagnostic_config) @timeout_minutes = args[:timeout_minutes] if args.key?(:timeout_minutes) end |