Google Cloud Redis Cluster V1 Client - Class DiscoveryEndpoint (0.5.0)

Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class DiscoveryEndpoint.

Endpoints on each network, for Redis clients to connect to the cluster.

Generated from protobuf message google.cloud.redis.cluster.v1.DiscoveryEndpoint

Namespace

Google \ Cloud \ Redis \ Cluster \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ address
string

Output only. Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.

↳ port
int

Output only. The port number of the exposed Redis endpoint.

↳ psc_config
PscConfig

Output only. Customer configuration for where the endpoint is created and accessed from.

getAddress

Output only. Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.

Returns
Type
Description
string

setAddress

Output only. Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPort

Output only. The port number of the exposed Redis endpoint.

Returns
Type
Description
int

setPort

Output only. The port number of the exposed Redis endpoint.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getPscConfig

Output only. Customer configuration for where the endpoint is created and accessed from.

Returns
Type
Description
PscConfig |null

hasPscConfig

clearPscConfig

setPscConfig

Output only. Customer configuration for where the endpoint is created and accessed from.

Parameter
Name
Description
var
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: