Class ConsumerPscConfig (2.13.0)

ConsumerPscConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Allow the producer to specify which consumers can connect to it.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
project str
The consumer project where PSC connections are allowed to be created in.
network str
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}.
disable_global_access bool
This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
state google.cloud.networkconnectivity_v1.types.ServiceConnectionMap.ConsumerPscConfig.State
Output only. Overall state of PSC Connections management for this consumer psc config.
producer_instance_id str
Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.
service_attachment_ip_address_map MutableMapping[str, str]
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.
consumer_instance_project str
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/
producer_instance_metadata MutableMapping[str, str]
Immutable. An immutable map for the producer instance metadata.
ip_version google.cloud.networkconnectivity_v1.types.IPVersion
The requested IP version for the PSC connection. This field is a member of oneof_ _ip_version.

Classes

ProducerInstanceMetadataEntry

ProducerInstanceMetadataEntry(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

ServiceAttachmentIpAddressMapEntry

ServiceAttachmentIpAddressMapEntry(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

PSC Consumer Config State.