Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::PscAutoConnection (v0.6.0)

Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::PscAutoConnection.

Details of consumer resources in a PSC connection that is created through Service Connectivity Automation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#address

def address() -> ::String
Returns
  • (::String) — Output only. The IP allocated on the consumer network for the PSC forwarding rule.

#connection_type

def connection_type() -> ::Google::Cloud::Redis::Cluster::V1::ConnectionType
Returns

#forwarding_rule

def forwarding_rule() -> ::String
Returns
  • (::String) — Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

#network

def network() -> ::String
Returns
  • (::String) — Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.
Returns
  • (::String) — Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.

#project_id

def project_id() -> ::String
Returns
  • (::String) — Required. The consumer project_id where the forwarding rule is created from.

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — Required. The consumer project_id where the forwarding rule is created from.
Returns
  • (::String) — Required. The consumer project_id where the forwarding rule is created from.

#psc_connection_id

def psc_connection_id() -> ::String
Returns
  • (::String) — Output only. The PSC connection id of the forwarding rule connected to the service attachment.

#psc_connection_status

def psc_connection_status() -> ::Google::Cloud::Redis::Cluster::V1::PscConnectionStatus
Returns

#service_attachment

def service_attachment() -> ::String
Returns
  • (::String) — Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.