class Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup
Load balancing specific fields for network endpoint group.
Attributes
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` @return [Fixnum]
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` @return [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` @return [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` @return [String]
Public Class Methods
# File lib/google/apis/compute_beta/classes.rb, line 19955 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_beta/classes.rb, line 19960 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