class Google::Apis::TpuV1::NetworkEndpoint
A network endpoint over which a TPU worker can be reached.
Attributes
ip_address[RW]
The 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_v1/classes.rb, line 271 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_v1/classes.rb, line 276 def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @port = args[:port] if args.key?(:port) end