Class: Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate
 
 
- 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
Network template.
Instance Attribute Summary collapse
- 
  
    
      #applicable_instance_types  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Instance types this template is applicable to.
 - 
  
    
      #logical_interfaces  ⇒ Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Logical interfaces.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ServerNetworkTemplate 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ServerNetworkTemplate.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ServerNetworkTemplate
Returns a new instance of ServerNetworkTemplate.
      2189 2190 2191  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2189 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#applicable_instance_types ⇒ Array<String>
Instance types this template is applicable to.
Corresponds to the JSON property applicableInstanceTypes
      2174 2175 2176  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2174 def applicable_instance_types @applicable_instance_types end  | 
  
#logical_interfaces ⇒ Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface>
Logical interfaces.
Corresponds to the JSON property logicalInterfaces
      2179 2180 2181  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2179 def logical_interfaces @logical_interfaces end  | 
  
#name ⇒ String
Output only. Template's unique name. The full resource name follows the
pattern: projects/project/locations/location/serverNetworkTemplate/
server_network_template`Generally, theserver_network_templatefollows the
syntax of "bond" or "nic".
Corresponds to the JSON propertyname`
      2187 2188 2189  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2187 def name @name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2194 2195 2196 2197 2198  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2194 def update!(**args) @applicable_instance_types = args[:applicable_instance_types] if args.key?(:applicable_instance_types) @logical_interfaces = args[:logical_interfaces] if args.key?(:logical_interfaces) @name = args[:name] if args.key?(:name) end  |