Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConfig.
Allow the producer to specify which consumers can connect to it.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#consumer_instance_project
def consumer_instance_project() -> ::String
Returns
- (::String) — Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who's created a producer instance, this is the project of the producer instance. Format: 'projects/
#consumer_instance_project=
def consumer_instance_project=(value) -> ::String
Parameter
- value (::String) — Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who's created a producer instance, this is the project of the producer instance. Format: 'projects/
Returns
- (::String) — Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who's created a producer instance, this is the project of the producer instance. Format: 'projects/
#disable_global_access
def disable_global_access() -> ::Boolean
Returns
- (::Boolean) — This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
#disable_global_access=
def disable_global_access=(value) -> ::Boolean
Parameter
- value (::Boolean) — This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
Returns
- (::Boolean) — This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
#ip_version
def ip_version() -> ::Google::Cloud::NetworkConnectivity::V1::IPVersion
Returns
- (::Google::Cloud::NetworkConnectivity::V1::IPVersion) — The requested IP version for the PSC connection.
#ip_version=
def ip_version=(value) -> ::Google::Cloud::NetworkConnectivity::V1::IPVersion
Parameter
- value (::Google::Cloud::NetworkConnectivity::V1::IPVersion) — The requested IP version for the PSC connection.
Returns
- (::Google::Cloud::NetworkConnectivity::V1::IPVersion) — The requested IP version for the PSC connection.
#network
def network() -> ::String
Returns
- (::String) — The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
#network=
def network=(value) -> ::String
Parameter
- value (::String) — The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
Returns
- (::String) — The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
#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 where PSC connections are allowed to be created in.
#project=
def project=(value) -> ::String
Parameter
- value (::String) — The consumer project where PSC connections are allowed to be created in.
Returns
- (::String) — The consumer project where PSC connections are allowed to be created in.
#service_attachment_ip_address_map
def service_attachment_ip_address_map() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Output only. A map to store mapping between customer vip and target service attachment. Only service attachment with producer specified ip addresses are stored here.
#state
def state() -> ::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConfig::State
Returns
- (::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConfig::State) — Output only. Overall state of PSC Connections management for this consumer psc config.