class Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup

Load balancing specific fields for network endpoint group.

Attributes

default_port[RW]

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]

network[RW]

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]

subnetwork[RW]

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]

zone[RW]
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

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 19955
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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