Network Connectivity V1 API - Class Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConnection (v1.4.0)

Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConnection.

PSC connection details on consumer side.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#error

def error() -> ::Google::Rpc::Status
Returns

#error=

def error=(value) -> ::Google::Rpc::Status
Parameter
Returns

#error_info

def error_info() -> ::Google::Rpc::ErrorInfo
Returns

#error_type

def error_type() -> ::Google::Cloud::NetworkConnectivity::V1::ConnectionErrorType
Returns

#error_type=

def error_type=(value) -> ::Google::Cloud::NetworkConnectivity::V1::ConnectionErrorType
Parameter
Returns

#forwarding_rule

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

#forwarding_rule=

def forwarding_rule=(value) -> ::String
Parameter
  • value (::String) — The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
Returns
  • (::String) — The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.

#gce_operation

def gce_operation() -> ::String
Returns
  • (::String) — The last Compute Engine operation to setup PSC connection.

#gce_operation=

def gce_operation=(value) -> ::String
Parameter
  • value (::String) — The last Compute Engine operation to setup PSC connection.
Returns
  • (::String) — The last Compute Engine operation to setup PSC connection.

#ip

def ip() -> ::String
Returns
  • (::String) — The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.

#ip=

def ip=(value) -> ::String
Parameter
  • value (::String) — The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.
Returns
  • (::String) — The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.

#ip_version

def ip_version() -> ::Google::Cloud::NetworkConnectivity::V1::IPVersion
Returns

#ip_version=

def ip_version=(value) -> ::Google::Cloud::NetworkConnectivity::V1::IPVersion
Parameter
Returns

#network

def network() -> ::String
Returns
  • (::String) — The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).
Returns
  • (::String) — The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).

#producer_instance_id

def producer_instance_id() -> ::String
Returns
  • (::String) — Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.

#producer_instance_id=

def producer_instance_id=(value) -> ::String
Parameter
  • value (::String) — Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.
Returns
  • (::String) — Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.

#producer_instance_metadata

def producer_instance_metadata() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Immutable. An immutable map for the producer instance metadata.

#producer_instance_metadata=

def producer_instance_metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Immutable. An immutable map for the producer instance metadata.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Immutable. An immutable map for the producer instance metadata.

#project

def project() -> ::String
Returns
  • (::String) — The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.
Returns
  • (::String) — The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.

#psc_connection_id

def psc_connection_id() -> ::String
Returns
  • (::String) — The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.

#psc_connection_id=

def psc_connection_id=(value) -> ::String
Parameter
  • value (::String) — The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.
Returns
  • (::String) — The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.

#selected_subnetwork

def selected_subnetwork() -> ::String
Returns
  • (::String) — Output only. The URI of the selected subnetwork selected to allocate IP address for this connection.

#service_attachment_uri

def service_attachment_uri() -> ::String
Returns
  • (::String) — The URI of a service attachment which is the target of the PSC connection.

#service_attachment_uri=

def service_attachment_uri=(value) -> ::String
Parameter
  • value (::String) — The URI of a service attachment which is the target of the PSC connection.
Returns
  • (::String) — The URI of a service attachment which is the target of the PSC connection.

#state

def state() -> ::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConnection::State

#state=

def state=(value) -> ::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConnection::State