Class: Google::Apis::DatamigrationV1::GenerateTcpProxyScriptRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::GenerateTcpProxyScriptRequest
 
- 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
Request message for 'GenerateTcpProxyScript' request.
Instance Attribute Summary collapse
- 
  
    
      #vm_machine_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #vm_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #vm_subnet  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #vm_zone  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GenerateTcpProxyScriptRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GenerateTcpProxyScriptRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GenerateTcpProxyScriptRequest
Returns a new instance of GenerateTcpProxyScriptRequest.
| 2033 2034 2035 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2033 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#vm_machine_type ⇒ String
Required. The type of the Compute instance that will host the proxy.
Corresponds to the JSON property vmMachineType
| 2010 2011 2012 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2010 def vm_machine_type @vm_machine_type end | 
#vm_name ⇒ String
Required. The name of the Compute instance that will host the proxy.
Corresponds to the JSON property vmName
| 2015 2016 2017 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2015 def vm_name @vm_name end | 
#vm_subnet ⇒ String
Required. The name of the subnet the Compute instance will use for private
connectivity. Must be supplied in the form of projects/project/regions/
region/subnetworks/subnetwork. Note: the region for the subnet must match
the Compute instance region.
Corresponds to the JSON property vmSubnet
| 2023 2024 2025 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2023 def vm_subnet @vm_subnet end | 
#vm_zone ⇒ String
Optional. The Google Cloud Platform zone to create the VM in. The fully
qualified name of the zone must be specified, including the region name, for
example "us-central1-b". If not specified, uses the "-b" zone of the
destination Connection Profile's region.
Corresponds to the JSON property vmZone
| 2031 2032 2033 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2031 def vm_zone @vm_zone end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2038 2039 2040 2041 2042 2043 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 2038 def update!(**args) @vm_machine_type = args[:vm_machine_type] if args.key?(:vm_machine_type) @vm_name = args[:vm_name] if args.key?(:vm_name) @vm_subnet = args[:vm_subnet] if args.key?(:vm_subnet) @vm_zone = args[:vm_zone] if args.key?(:vm_zone) end |