Google Cloud Memorystore V1beta Client - Class DiscoveryEndpoint (0.1.0)

Reference documentation and code samples for the Google Cloud Memorystore V1beta Client class DiscoveryEndpoint.

Represents an endpoint for clients to connect to the instance.

Generated from protobuf message google.cloud.memorystore.v1beta.DiscoveryEndpoint

Namespace

Google \ Cloud \ Memorystore \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ address string

Output only. IP address of the exposed endpoint clients connect to.

↳ port int

Output only. The port number of the exposed endpoint.

↳ network string

Output only. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.

getAddress

Output only. IP address of the exposed endpoint clients connect to.

Returns
Type Description
string

setAddress

Output only. IP address of the exposed endpoint clients connect to.

Parameter
Name Description
var string
Returns
Type Description
$this

getPort

Output only. The port number of the exposed endpoint.

Returns
Type Description
int

setPort

Output only. The port number of the exposed endpoint.

Parameter
Name Description
var int
Returns
Type Description
$this

getNetwork

Output only. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.

Returns
Type Description
string

setNetwork

Output only. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.

Parameter
Name Description
var string
Returns
Type Description
$this