Class: Google::Apis::ReplicapoolV1beta1::NetworkInterface
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ReplicapoolV1beta1::NetworkInterface
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/replicapool_v1beta1/classes.rb,
 generated/google/apis/replicapool_v1beta1/representations.rb,
 generated/google/apis/replicapool_v1beta1/representations.rb
Overview
A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
Instance Attribute Summary collapse
- 
  
    
      #access_configs  ⇒ Array<Google::Apis::ReplicapoolV1beta1::AccessConfig> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An array of configurations for this interface. 
- 
  
    
      #network  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name the Network resource to which this interface applies. 
- 
  
    
      #network_ip  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An optional IPV4 internal network address to assign to the instance for this network interface. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ NetworkInterface 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of NetworkInterface. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NetworkInterface
Returns a new instance of NetworkInterface
| 353 354 355 | # File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 353 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#access_configs ⇒ Array<Google::Apis::ReplicapoolV1beta1::AccessConfig>
An array of configurations for this interface. This specifies how this
interface is configured to interact with other network services.
Corresponds to the JSON property accessConfigs
| 340 341 342 | # File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 340 def access_configs @access_configs end | 
#network ⇒ String
Name the Network resource to which this interface applies.
Corresponds to the JSON property network
| 345 346 347 | # File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 345 def network @network end | 
#network_ip ⇒ String
An optional IPV4 internal network address to assign to the instance for this
network interface.
Corresponds to the JSON property networkIp
| 351 352 353 | # File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 351 def network_ip @network_ip end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 358 359 360 361 362 | # File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 358 def update!(**args) @access_configs = args[:access_configs] if args.key?(:access_configs) @network = args[:network] if args.key?(:network) @network_ip = args[:network_ip] if args.key?(:network_ip) end |