Reference documentation and code samples for the Google Cloud Memorystore V1 Client class PscAttachmentDetail.
Configuration of a service attachment of the cluster, for creating PSC connections.
Generated from protobuf message google.cloud.memorystore.v1.PscAttachmentDetail
Namespace
Google \ Cloud \ Memorystore \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ service_attachment |
string
Output only. Service attachment URI which your self-created PscConnection should use as target. |
↳ connection_type |
int
Output only. Type of Psc endpoint. |
getServiceAttachment
Output only. Service attachment URI which your self-created PscConnection should use as target.
| Returns | |
|---|---|
| Type | Description |
string |
|
setServiceAttachment
Output only. Service attachment URI which your self-created PscConnection should use as target.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConnectionType
Output only. Type of Psc endpoint.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ConnectionType. |
setConnectionType
Output only. Type of Psc endpoint.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ConnectionType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|