Class: Google::Apis::NotebooksV1::PreMigrationCheck

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

PreMigrationCheck checks how feasible a migration from UmN is.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PreMigrationCheck

Returns a new instance of PreMigrationCheck.



1872
1873
1874
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1872

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

Instance Attribute Details

#messageString

Message provides a summary or workaround. Corresponds to the JSON property message

Returns:

  • (String)


1865
1866
1867
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1865

def message
  @message
end

#resultString

Result returns the result of the check. Corresponds to the JSON property result

Returns:

  • (String)


1870
1871
1872
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1870

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1877
1878
1879
1880
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1877

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