Google Cloud Apigee Connect V1 Client - Class Connection (1.1.3)

Reference documentation and code samples for the Google Cloud Apigee Connect V1 Client class Connection.

Generated from protobuf message google.cloud.apigeeconnect.v1.Connection

Namespace

Google \ Cloud \ ApigeeConnect \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ endpoint string

The endpoint that the connection is made against. Format: projects/{project_number}/endpoints/{endpoint}

↳ cluster Google\Cloud\ApigeeConnect\V1\Cluster

Cluster information.

↳ stream_count int

The count of streams.

getEndpoint

The endpoint that the connection is made against.

Format: projects/{project_number}/endpoints/{endpoint}

Returns
TypeDescription
string

setEndpoint

The endpoint that the connection is made against.

Format: projects/{project_number}/endpoints/{endpoint}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCluster

Cluster information.

Returns
TypeDescription
Google\Cloud\ApigeeConnect\V1\Cluster|null

hasCluster

clearCluster

setCluster

Cluster information.

Parameter
NameDescription
var Google\Cloud\ApigeeConnect\V1\Cluster
Returns
TypeDescription
$this

getStreamCount

The count of streams.

Returns
TypeDescription
int

setStreamCount

The count of streams.

Parameter
NameDescription
var int
Returns
TypeDescription
$this