Network Connectivity v1 API - Class ServiceConnectionMap.Types.ConsumerPscConfig (2.10.0)

public sealed class ServiceConnectionMap.Types.ConsumerPscConfig : IMessage<ServiceConnectionMap.Types.ConsumerPscConfig>, IEquatable<ServiceConnectionMap.Types.ConsumerPscConfig>, IDeepCloneable<ServiceConnectionMap.Types.ConsumerPscConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Connectivity v1 API class ServiceConnectionMap.Types.ConsumerPscConfig.

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

Inheritance

object > ServiceConnectionMap.Types.ConsumerPscConfig

Namespace

Google.Cloud.NetworkConnectivity.V1

Assembly

Google.Cloud.NetworkConnectivity.V1.dll

Constructors

ConsumerPscConfig()

public ConsumerPscConfig()

ConsumerPscConfig(ConsumerPscConfig)

public ConsumerPscConfig(ServiceConnectionMap.Types.ConsumerPscConfig other)
Parameter
Name Description
other ServiceConnectionMapTypesConsumerPscConfig

Properties

ConsumerInstanceProject

public string ConsumerInstanceProject { get; set; }

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/<project_id_or_number>' Eg. 'projects/consumer-project' or 'projects/1234'

Property Value
Type Description
string

ConsumerInstanceProjectAsProjectName

public ProjectName ConsumerInstanceProjectAsProjectName { get; set; }

ProjectName-typed view over the ConsumerInstanceProject resource name property.

Property Value
Type Description
ProjectName

DisableGlobalAccess

public bool DisableGlobalAccess { get; set; }

This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.

Property Value
Type Description
bool

HasIpVersion

public bool HasIpVersion { get; }

Gets whether the "ip_version" field is set

Property Value
Type Description
bool

IpVersion

public IPVersion IpVersion { get; set; }

The requested IP version for the PSC connection.

Property Value
Type Description
IPVersion

Network

public string Network { get; set; }

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}.

Property Value
Type Description
string

NetworkAsNetworkName

public NetworkName NetworkAsNetworkName { get; set; }

NetworkName-typed view over the Network resource name property.

Property Value
Type Description
NetworkName

ProducerInstanceId

[Obsolete]
public string ProducerInstanceId { get; set; }

Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.

Property Value
Type Description
string

ProducerInstanceMetadata

public MapField<string, string> ProducerInstanceMetadata { get; }

Immutable. An immutable map for the producer instance metadata.

Property Value
Type Description
MapFieldstringstring

Project

public string Project { get; set; }

The consumer project where PSC connections are allowed to be created in.

Property Value
Type Description
string

ServiceAttachmentIpAddressMap

public MapField<string, string> ServiceAttachmentIpAddressMap { get; }

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.

Property Value
Type Description
MapFieldstringstring

State

public ServiceConnectionMap.Types.ConsumerPscConfig.Types.State State { get; set; }

Output only. Overall state of PSC Connections management for this consumer psc config.

Property Value
Type Description
ServiceConnectionMapTypesConsumerPscConfigTypesState