Class: Google::Apis::DatamigrationV1beta1::SshScript

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamigration_v1beta1/classes.rb,
lib/google/apis/datamigration_v1beta1/representations.rb,
lib/google/apis/datamigration_v1beta1/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.



1407
1408
1409
# File 'lib/google/apis/datamigration_v1beta1/classes.rb', line 1407

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

Instance Attribute Details

#scriptString

The ssh configuration script. Corresponds to the JSON property script

Returns:

  • (String)


1405
1406
1407
# File 'lib/google/apis/datamigration_v1beta1/classes.rb', line 1405

def script
  @script
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1412
1413
1414
# File 'lib/google/apis/datamigration_v1beta1/classes.rb', line 1412

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