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

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



1404
1405
1406
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 1404

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

Instance Attribute Details

#scriptString

The ssh configuration script. Corresponds to the JSON property script

Returns:

  • (String)


1402
1403
1404
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 1402

def script
  @script
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1409
1410
1411
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 1409

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