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 | |
|---|---|
| Name | Description |
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 | |
|---|---|
| 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 |
|