Class: Google::Apis::ContainerV1beta1::NetworkConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContainerV1beta1::NetworkConfig
 
 
- Defined in:
 - generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb 
Overview
NetworkConfig reports the relative names of network & subnetwork.
Instance Attribute Summary collapse
- 
  
    
      #network  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #subnetwork  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ NetworkConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of NetworkConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ NetworkConfig
Returns a new instance of NetworkConfig
      1596 1597 1598  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 1596 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#network ⇒ String
Output only. The relative name of the Google Compute Engine
network(/compute/docs/networks-and-firewalls#networks) to which
the cluster is connected.
Example: projects/my-project/global/networks/my-network
Corresponds to the JSON property network
      1587 1588 1589  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 1587 def network @network end  | 
  
#subnetwork ⇒ String
Output only. The relative name of the Google Compute Engine
subnetwork to which the cluster is connected.
Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
Corresponds to the JSON property subnetwork
      1594 1595 1596  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 1594 def subnetwork @subnetwork end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1601 1602 1603 1604  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 1601 def update!(**args) @network = args[:network] if args.key?(:network) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end  |