Compute V1 Client - Class ServiceAttachmentConnectedEndpoint (1.8.3)

Reference documentation and code samples for the Compute V1 Client class ServiceAttachmentConnectedEndpoint.

[Output Only] A connection connected to this service attachment.

Generated from protobuf message google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ endpoint string

The url of a connected endpoint.

↳ psc_connection_id int|string

The PSC connection id of the connected endpoint.

↳ status string

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

getEndpoint

The url of a connected endpoint.

Returns
TypeDescription
string

hasEndpoint

clearEndpoint

setEndpoint

The url of a connected endpoint.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPscConnectionId

The PSC connection id of the connected endpoint.

Returns
TypeDescription
int|string

hasPscConnectionId

clearPscConnectionId

setPscConnectionId

The PSC connection id of the connected endpoint.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getStatus

The status of a connected endpoint to this service attachment.

Check the Status enum for the list of possible values.

Returns
TypeDescription
string

hasStatus

clearStatus

setStatus

The status of a connected endpoint to this service attachment.

Check the Status enum for the list of possible values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this