class Google::Apis::TpuV2alpha1::NetworkEndpoint

A network endpoint over which a TPU worker can be reached.

Attributes

access_config[RW]

An access config attached to the TPU worker. Corresponds to the JSON property ‘accessConfig` @return [Google::Apis::TpuV2alpha1::AccessConfig]

ip_address[RW]

The internal IP address of this network endpoint. Corresponds to the JSON property ‘ipAddress` @return [String]

port[RW]

The port of this network endpoint. Corresponds to the JSON property ‘port` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/tpu_v2alpha1/classes.rb, line 524
def update!(**args)
  @access_config = args[:access_config] if args.key?(:access_config)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @port = args[:port] if args.key?(:port)
end