Class: Google::Apis::NetworkconnectivityV1::VirtualMachine
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::NetworkconnectivityV1::VirtualMachine
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb 
Overview
VM instances that this policy-based route applies to.
Instance Attribute Summary collapse
- 
  
    
      #tags  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VirtualMachine 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VirtualMachine.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ VirtualMachine
Returns a new instance of VirtualMachine.
      3563 3564 3565  | 
    
      # File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3563 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#tags ⇒ Array<String>
Optional. A list of VM instance tags that this policy-based route applies to.
VM instances that have ANY of tags specified here installs this PBR.
Corresponds to the JSON property tags
      3561 3562 3563  | 
    
      # File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3561 def @tags end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3568 3569 3570  | 
    
      # File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3568 def update!(**args) @tags = args[:tags] if args.key?(:tags) end  |