public sealed class ServiceConnectionPolicy.Types.PscConfig : IMessage<ServiceConnectionPolicy.Types.PscConfig>, IEquatable<ServiceConnectionPolicy.Types.PscConfig>, IDeepCloneable<ServiceConnectionPolicy.Types.PscConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class ServiceConnectionPolicy.Types.PscConfig.
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
Implements
IMessageServiceConnectionPolicyTypesPscConfig, IEquatableServiceConnectionPolicyTypesPscConfig, IDeepCloneableServiceConnectionPolicyTypesPscConfig, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkConnectivity.V1Assembly
Google.Cloud.NetworkConnectivity.V1.dll
Constructors
PscConfig()
public PscConfig()
PscConfig(PscConfig)
public PscConfig(ServiceConnectionPolicy.Types.PscConfig other)
Parameter | |
---|---|
Name | Description |
other |
ServiceConnectionPolicyTypesPscConfig |
Properties
AllowedGoogleProducersResourceHierarchyLevel
public RepeatedField<string> AllowedGoogleProducersResourceHierarchyLevel { get; }
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 <resource type>/<id> where <resource type> is one of 'projects', 'folders', or 'organizations' and <id> is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: 'projects/<project_id_or_number>' or 'folders/<folder_id>' or 'organizations/<organization_id>' Eg. [projects/my-project-id, projects/567, folders/891, organizations/123]
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
HasLimit
public bool HasLimit { get; }
Gets whether the "limit" field is set
Property Value | |
---|---|
Type | Description |
bool |
Limit
public long Limit { get; set; }
Optional. Max number of PSC connections for this policy.
Property Value | |
---|---|
Type | Description |
long |
ProducerInstanceLocation
public ServiceConnectionPolicy.Types.PscConfig.Types.ProducerInstanceLocation ProducerInstanceLocation { get; set; }
Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
Property Value | |
---|---|
Type | Description |
ServiceConnectionPolicyTypesPscConfigTypesProducerInstanceLocation |
Subnetworks
public RepeatedField<string> Subnetworks { get; }
The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
SubnetworksAsSubnetworkNames
public ResourceNameList<SubnetworkName> SubnetworksAsSubnetworkNames { get; }
SubnetworkName-typed view over the Subnetworks resource name property.
Property Value | |
---|---|
Type | Description |
ResourceNameListSubnetworkName |