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

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
Name Description
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
Type Description
string

setEndpoint

The endpoint that the connection is made against.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCluster

Cluster information.

Returns
Type Description
Google\Cloud\ApigeeConnect\V1\Cluster|null

hasCluster

clearCluster

setCluster

Cluster information.

Parameter
Name Description
var Google\Cloud\ApigeeConnect\V1\Cluster
Returns
Type Description
$this

getStreamCount

The count of streams.

Returns
Type Description
int

setStreamCount

The count of streams.

Parameter
Name Description
var int
Returns
Type Description
$this