Class: Google::Apis::NotebooksV2::DiagnoseInstanceRequest

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiagnoseInstanceRequest

Returns a new instance of DiagnoseInstanceRequest.



386
387
388
# File 'lib/google/apis/notebooks_v2/classes.rb', line 386

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

Instance Attribute Details

#diagnostic_configGoogle::Apis::NotebooksV2::DiagnosticConfig

Defines flags that are used to run the diagnostic tool Corresponds to the JSON property diagnosticConfig



379
380
381
# File 'lib/google/apis/notebooks_v2/classes.rb', line 379

def diagnostic_config
  @diagnostic_config
end

#timeout_minutesFixnum

Optional. Maxmium amount of time in minutes before the operation times out. Corresponds to the JSON property timeoutMinutes

Returns:

  • (Fixnum)


384
385
386
# File 'lib/google/apis/notebooks_v2/classes.rb', line 384

def timeout_minutes
  @timeout_minutes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



391
392
393
394
# File 'lib/google/apis/notebooks_v2/classes.rb', line 391

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