Class: Google::Apis::NotebooksV1::DiagnoseInstanceRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/notebooks_v1/classes.rb,
lib/google/apis/notebooks_v1/representations.rb,
lib/google/apis/notebooks_v1/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.



218
219
220
# File 'lib/google/apis/notebooks_v1/classes.rb', line 218

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

Instance Attribute Details

#diagnostic_configGoogle::Apis::NotebooksV1::DiagnosticConfig

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



211
212
213
# File 'lib/google/apis/notebooks_v1/classes.rb', line 211

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)


216
217
218
# File 'lib/google/apis/notebooks_v1/classes.rb', line 216

def timeout_minutes
  @timeout_minutes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



223
224
225
226
# File 'lib/google/apis/notebooks_v1/classes.rb', line 223

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