Google Cloud Redis Cluster V1 Client - Class PscConnection (0.1.0)

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

Details of consumer resources in a PSC connection.

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

Namespace

Google \ Cloud \ Redis \ Cluster \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ psc_connection_id string

Output only. The PSC connection id of the forwarding rule connected to the service attachment.

↳ address string

Output only. The IP allocated on the consumer network for the PSC forwarding rule.

↳ forwarding_rule string

Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

↳ project_id string

Output only. The consumer project_id where the forwarding rule is created from.

↳ network string

The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.

getPscConnectionId

Output only. The PSC connection id of the forwarding rule connected to the service attachment.

Returns
TypeDescription
string

setPscConnectionId

Output only. The PSC connection id of the forwarding rule connected to the service attachment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAddress

Output only. The IP allocated on the consumer network for the PSC forwarding rule.

Returns
TypeDescription
string

setAddress

Output only. The IP allocated on the consumer network for the PSC forwarding rule.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getForwardingRule

Output only. The URI of the consumer side forwarding rule.

Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

Returns
TypeDescription
string

setForwardingRule

Output only. The URI of the consumer side forwarding rule.

Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProjectId

Output only. The consumer project_id where the forwarding rule is created from.

Returns
TypeDescription
string

setProjectId

Output only. The consumer project_id where the forwarding rule is created from.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNetwork

The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.

Returns
TypeDescription
string

setNetwork

The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this