Memorystore V1 API - Class Google::Cloud::Memorystore::V1::PscConnection (v0.1.0)

Reference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::PscConnection.

User created Psc connection configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#connection_type

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

#forwarding_rule

def forwarding_rule() -> ::String
Returns
  • (::String) — Required. The URI of the consumer side forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}

#forwarding_rule=

def forwarding_rule=(value) -> ::String
Parameter
  • value (::String) — Required. The URI of the consumer side forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
Returns
  • (::String) — Required. The URI of the consumer side forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}

#ip_address

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

#ip_address=

def ip_address=(value) -> ::String
Parameter
  • value (::String) — Required. The IP allocated on the consumer network for the PSC forwarding rule.
Returns
  • (::String) — Required. The IP allocated on the consumer network for the PSC forwarding rule.

#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) — Output only. 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::Memorystore::V1::PscConnectionStatus
Returns
  • (::Google::Cloud::Memorystore::V1::PscConnectionStatus) — Output only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists. Please note that this value is updated periodically. Please use Private Service Connect APIs for the latest status.

#service_attachment

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

#service_attachment=

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