Class: Google::Apis::NotebooksV1::RuntimeMigrationEligibility

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

RuntimeMigrationEligibility represents the feasibility information of a migration from GmN to WbI.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RuntimeMigrationEligibility

Returns a new instance of RuntimeMigrationEligibility.



2436
2437
2438
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2436

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

Instance Attribute Details

#errorsArray<String>

Output only. Certain configurations make the GmN ineligible for an automatic migration. A manual migration is required. Corresponds to the JSON property errors

Returns:

  • (Array<String>)


2429
2430
2431
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2429

def errors
  @errors
end

#warningsArray<String>

Output only. Certain configurations will be defaulted during the migration. Corresponds to the JSON property warnings

Returns:

  • (Array<String>)


2434
2435
2436
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2434

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2441
2442
2443
2444
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2441

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