Class: Google::Apis::DatamigrationV1::TcpProxyScript

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 'GenerateTcpProxyScript' request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TcpProxyScript

Returns a new instance of TcpProxyScript.



5191
5192
5193
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5191

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

Instance Attribute Details

#scriptString

The TCP Proxy configuration script. Corresponds to the JSON property script

Returns:

  • (String)


5189
5190
5191
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5189

def script
  @script
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5196
5197
5198
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5196

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