Class: Google::Apis::BaremetalsolutionV2::Vrf
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BaremetalsolutionV2::Vrf
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb 
Overview
A network VRF.
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the VRF.
 - 
  
    
      #qos_policy  ⇒ Google::Apis::BaremetalsolutionV2::QosPolicy 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
QOS policy parameters.
 - 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The possible state of VRF.
 - 
  
    
      #vlan_attachments  ⇒ Array<Google::Apis::BaremetalsolutionV2::VlanAttachment> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The list of VLAN attachments for the VRF.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Vrf 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Vrf.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ Vrf
Returns a new instance of Vrf.
      2428 2429 2430  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2428 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#name ⇒ String
The name of the VRF.
Corresponds to the JSON property name
      2411 2412 2413  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2411 def name @name end  | 
  
#qos_policy ⇒ Google::Apis::BaremetalsolutionV2::QosPolicy
QOS policy parameters.
Corresponds to the JSON property qosPolicy
      2416 2417 2418  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2416 def qos_policy @qos_policy end  | 
  
#state ⇒ String
The possible state of VRF.
Corresponds to the JSON property state
      2421 2422 2423  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2421 def state @state end  | 
  
#vlan_attachments ⇒ Array<Google::Apis::BaremetalsolutionV2::VlanAttachment>
The list of VLAN attachments for the VRF.
Corresponds to the JSON property vlanAttachments
      2426 2427 2428  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2426 def @vlan_attachments end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2433 2434 2435 2436 2437 2438  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2433 def update!(**args) @name = args[:name] if args.key?(:name) @qos_policy = args[:qos_policy] if args.key?(:qos_policy) @state = args[:state] if args.key?(:state) @vlan_attachments = args[:vlan_attachments] if args.key?(:vlan_attachments) end  |