Google Cloud Tpu V1 Client - Class NetworkEndpoint (1.2.0)

Reference documentation and code samples for the Google Cloud Tpu V1 Client class NetworkEndpoint.

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

Generated from protobuf message google.cloud.tpu.v1.NetworkEndpoint

Namespace

Google \ Cloud \ Tpu \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ ip_address
string

The IP address of this network endpoint.

↳ port
int

The port of this network endpoint.

getIpAddress

The IP address of this network endpoint.

Returns
Type
Description
string

setIpAddress

The IP address of this network endpoint.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPort

The port of this network endpoint.

Returns
Type
Description
int

setPort

The port of this network endpoint.

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: