Class: Google::Apis::DatamigrationV1::SshScript

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb

Overview

Response message for 'GenerateSshScript' request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SshScript

Returns a new instance of SshScript.



4920
4921
4922
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4920

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

Instance Attribute Details

#scriptString

The ssh configuration script. Corresponds to the JSON property script

Returns:

  • (String)


4918
4919
4920
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4918

def script
  @script
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4925
4926
4927
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4925

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