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.



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

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


1184
1185
1186
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1184

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


1189
1190
1191
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1189

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1196
1197
1198
1199
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1196

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