Google Cloud Cloud Controls Partner V1beta Client - Class EkmConnection (0.1.4)

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 \ V1beta

Methods

__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 Google\Cloud\CloudControlsPartner\V1beta\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

setConnectionState

Output only. The connection state

Parameter
Name Description
var int
Returns
Type Description
$this

getConnectionError

The connection error that occurred if any

Returns
Type Description
Google\Cloud\CloudControlsPartner\V1beta\EkmConnection\ConnectionError|null

hasConnectionError

clearConnectionError

setConnectionError

The connection error that occurred if any

Parameter
Name Description
var Google\Cloud\CloudControlsPartner\V1beta\EkmConnection\ConnectionError
Returns
Type Description
$this