Compute V1 Client - Class ServiceAttachmentConnectedEndpoint (1.14.0)

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ consumer_network string

The url of the consumer network.

↳ 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.

getConsumerNetwork

The url of the consumer network.

Returns
TypeDescription
string

hasConsumerNetwork

clearConsumerNetwork

setConsumerNetwork

The url of the consumer network.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

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