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

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 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
EkmConnection\ConnectionError|null

hasConnectionError

clearConnectionError

setConnectionError

The connection error that occurred if any

Parameter
Name Description
var EkmConnection\ConnectionError
Returns
Type Description
$this