Class: Google::Apis::NotebooksV1::InstanceMigrationEligibility

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

InstanceMigrationEligibility represents the feasibility information of a migration from UmN to WbI.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceMigrationEligibility

Returns a new instance of InstanceMigrationEligibility.



1193
1194
1195
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1193

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

Instance Attribute Details

#errorsArray<String>

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

Returns:

  • (Array<String>)


1186
1187
1188
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1186

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>)


1191
1192
1193
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1191

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1198
1199
1200
1201
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1198

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