Class PscConfig (2.13.0)

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

Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.

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

Attributes

Name Description
subnetworks MutableSequence[str]
The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
limit int
Optional. Max number of PSC connections for this policy. This field is a member of oneof_ _limit.
producer_instance_location google.cloud.networkconnectivity_v1.types.ServiceConnectionPolicy.PscConfig.ProducerInstanceLocation
Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
allowed_google_producers_resource_hierarchy_level MutableSequence[str]
Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both 'organizations/foo' and 'projects/bar' as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the 'foo' organization or the 'bar' project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is / where is one of 'projects', 'folders', or 'organizations' and is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: 'projects/

Classes

ProducerInstanceLocation

ProducerInstanceLocation(value)

ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.