Cloud TPU V1 API - Class Google::Cloud::Tpu::V1::NetworkEndpoint (v0.5.0)

Reference documentation and code samples for the Cloud TPU V1 API class Google::Cloud::Tpu::V1::NetworkEndpoint.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ip_address

def ip_address() -> ::String
Returns
  • (::String) — The IP address of this network endpoint.

#ip_address=

def ip_address=(value) -> ::String
Parameter
  • value (::String) — The IP address of this network endpoint.
Returns
  • (::String) — The IP address of this network endpoint.

#port

def port() -> ::Integer
Returns
  • (::Integer) — The port of this network endpoint.

#port=

def port=(value) -> ::Integer
Parameter
  • value (::Integer) — The port of this network endpoint.
Returns
  • (::Integer) — The port of this network endpoint.