Class: Google::Apis::DatamigrationV1::TcpProxyScript
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::TcpProxyScript
- 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
-
#script ⇒ String
The TCP Proxy configuration script.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TcpProxyScript
constructor
A new instance of TcpProxyScript.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TcpProxyScript
Returns a new instance of TcpProxyScript.
5119 5120 5121 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#script ⇒ String
The TCP Proxy configuration script.
Corresponds to the JSON property script
5117 5118 5119 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5117 def script @script end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5124 5125 5126 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5124 def update!(**args) @script = args[:script] if args.key?(:script) end |