Class: Google::Apis::BaremetalsolutionV2::NetworkMountPoint
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BaremetalsolutionV2::NetworkMountPoint
 
 
- 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
Mount point for a network.
Instance Attribute Summary collapse
- 
  
    
      #default_gateway  ⇒ Boolean 
    
    
      (also: #default_gateway?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Network should be a default gateway.
 - 
  
    
      #instance  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Instance to attach network to.
 - 
  
    
      #ip_address  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Ip address of the server.
 - 
  
    
      #logical_interface  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Logical interface to detach from.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ NetworkMountPoint 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of NetworkMountPoint.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ NetworkMountPoint
Returns a new instance of NetworkMountPoint.
      1493 1494 1495  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1493 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#default_gateway ⇒ Boolean Also known as: default_gateway?
Network should be a default gateway.
Corresponds to the JSON property defaultGateway
      1475 1476 1477  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1475 def default_gateway @default_gateway end  | 
  
#instance ⇒ String
Instance to attach network to.
Corresponds to the JSON property instance
      1481 1482 1483  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1481 def instance @instance end  | 
  
#ip_address ⇒ String
Ip address of the server.
Corresponds to the JSON property ipAddress
      1486 1487 1488  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1486 def ip_address @ip_address end  | 
  
#logical_interface ⇒ String
Logical interface to detach from.
Corresponds to the JSON property logicalInterface
      1491 1492 1493  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1491 def logical_interface @logical_interface end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1498 1499 1500 1501 1502 1503  | 
    
      # File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1498 def update!(**args) @default_gateway = args[:default_gateway] if args.key?(:default_gateway) @instance = args[:instance] if args.key?(:instance) @ip_address = args[:ip_address] if args.key?(:ip_address) @logical_interface = args[:logical_interface] if args.key?(:logical_interface) end  |