Class: Google::Apis::ComputeAlpha::NetworkEndpointGroupLbNetworkEndpointGroup
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeAlpha::NetworkEndpointGroupLbNetworkEndpointGroup
 
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
 generated/google/apis/compute_alpha/representations.rb,
 generated/google/apis/compute_alpha/representations.rb
Overview
Load balancing specific fields for network endpoint group of type LOAD_BALANCING.
Instance Attribute Summary collapse
- 
  
    
      #default_port  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The default port used if the port number is not specified in the network endpoint. 
- 
  
    
      #network  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL of the network to which all network endpoints in the NEG belong. 
- 
  
    
      #subnetwork  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional URL of the subnetwork to which all network endpoints in the NEG belong. 
- 
  
    
      #zone  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Output Only] The URL of the zone where the network endpoint group is located. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ NetworkEndpointGroupLbNetworkEndpointGroup 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of NetworkEndpointGroupLbNetworkEndpointGroup. 
- 
  
    
      #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) ⇒ NetworkEndpointGroupLbNetworkEndpointGroup
Returns a new instance of NetworkEndpointGroupLbNetworkEndpointGroup
| 15085 15086 15087 | # File 'generated/google/apis/compute_alpha/classes.rb', line 15085 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#default_port ⇒ Fixnum
The default port used if the port number is not specified in the network
endpoint. If the network endpoint type is GCE_VM_IP, this field must not be
specified.
Corresponds to the JSON property defaultPort
| 15066 15067 15068 | # File 'generated/google/apis/compute_alpha/classes.rb', line 15066 def default_port @default_port end | 
#network ⇒ String
The URL of the network to which all network endpoints in the NEG belong. Uses "
default" project network if unspecified.
Corresponds to the JSON property network
| 15072 15073 15074 | # File 'generated/google/apis/compute_alpha/classes.rb', line 15072 def network @network end | 
#subnetwork ⇒ String
Optional URL of the subnetwork to which all network endpoints in the NEG
belong.
Corresponds to the JSON property subnetwork
| 15078 15079 15080 | # File 'generated/google/apis/compute_alpha/classes.rb', line 15078 def subnetwork @subnetwork end | 
#zone ⇒ String
[Output Only] The URL of the zone where the network endpoint group is located.
Corresponds to the JSON property zone
| 15083 15084 15085 | # File 'generated/google/apis/compute_alpha/classes.rb', line 15083 def zone @zone end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 15090 15091 15092 15093 15094 15095 | # File 'generated/google/apis/compute_alpha/classes.rb', line 15090 def update!(**args) @default_port = args[:default_port] if args.key?(:default_port) @network = args[:network] if args.key?(:network) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @zone = args[:zone] if args.key?(:zone) end |