Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class EkmConnection.
Details about the EKM connection
Generated from protobuf message google.cloud.cloudcontrolspartner.v1beta.EkmConnection
Namespace
Google \ Cloud \ CloudControlsPartner \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ connection_name |
string
Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection} |
↳ connection_state |
int
Output only. The connection state |
↳ connection_error |
EkmConnection\ConnectionError
The connection error that occurred if any |
getConnectionName
Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
| Returns | |
|---|---|
| Type | Description |
string |
|
setConnectionName
Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConnectionState
Output only. The connection state
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ConnectionState. |
setConnectionState
Output only. The connection state
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ConnectionState. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConnectionError
The connection error that occurred if any
| Returns | |
|---|---|
| Type | Description |
EkmConnection\ConnectionError|null |
|
hasConnectionError
clearConnectionError
setConnectionError
The connection error that occurred if any
| Parameter | |
|---|---|
| Name | Description |
var |
EkmConnection\ConnectionError
|
| Returns | |
|---|---|
| Type | Description |
$this |
|