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

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
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
Cluster |null

hasCluster

clearCluster

setCluster

Cluster information.

Parameter
Name
Description
var
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
Create a Mobile Website
View Site in Mobile | Classic
Share by: