Compute V1 Client - Class ServiceAttachmentConnectedEndpoint (1.18.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
Name Description
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
Type Description
string

hasConsumerNetwork

clearConsumerNetwork

setConsumerNetwork

The url of the consumer network.

Parameter
Name Description
var string
Returns
Type Description
$this

getEndpoint

The url of a connected endpoint.

Returns
Type Description
string

hasEndpoint

clearEndpoint

setEndpoint

The url of a connected endpoint.

Parameter
Name Description
var string
Returns
Type Description
$this

getPscConnectionId

The PSC connection id of the connected endpoint.

Returns
Type Description
int|string

hasPscConnectionId

clearPscConnectionId

setPscConnectionId

The PSC connection id of the connected endpoint.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getStatus

The status of a connected endpoint to this service attachment.

Check the Status enum for the list of possible values.

Returns
Type Description
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
Name Description
var string
Returns
Type Description
$this