Class: Google::Apis::GenomicsV2alpha1::Network
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GenomicsV2alpha1::Network
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v2alpha1/classes.rb,
 generated/google/apis/genomics_v2alpha1/representations.rb,
 generated/google/apis/genomics_v2alpha1/representations.rb
Overview
VM networking options.
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The network name to attach the VM's network interface to. 
- 
  
    
      #use_private_address  ⇒ Boolean 
    
    
      (also: #use_private_address?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    If set to true, do not attach a public IP address to the VM. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Network 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Network. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Network
Returns a new instance of Network
| 717 718 719 | # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 717 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#name ⇒ String
The network name to attach the VM's network interface to.  If unspecified,
the global default network is used.
Corresponds to the JSON property name
| 705 706 707 | # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 705 def name @name end | 
#use_private_address ⇒ Boolean Also known as: use_private_address?
If set to true, do not attach a public IP address to the VM.  Note that
without an public IP address, additional configuration is required to
allow the VM to access Google services.
See https://cloud.google.com/vpc/docs/configure-private-google-access
for more information.
Corresponds to the JSON property usePrivateAddress
| 714 715 716 | # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 714 def use_private_address @use_private_address end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 722 723 724 725 | # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 722 def update!(**args) @name = args[:name] if args.key?(:name) @use_private_address = args[:use_private_address] if args.key?(:use_private_address) end |