Class: Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
Load balancing specific fields for network endpoint group.
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
14303 14304 14305 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14303 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. [Deprecated] This field is deprecated.
Corresponds to the JSON property defaultPort
14283 14284 14285 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14283 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. [Deprecated] This field is deprecated.
Corresponds to the JSON property network
14289 14290 14291 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14289 def network @network end |
#subnetwork ⇒ String
Optional URL of the subnetwork to which all network endpoints in the NEG
belong. [Deprecated] This field is deprecated.
Corresponds to the JSON property subnetwork
14295 14296 14297 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14295 def subnetwork @subnetwork end |
#zone ⇒ String
[Output Only] The URL of the zone where the network endpoint group is located.
[Deprecated] This field is deprecated.
Corresponds to the JSON property zone
14301 14302 14303 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14301 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14308 14309 14310 14311 14312 14313 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14308 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 |