1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class Instance.Types.PscInstanceConfig : IMessage<Instance.Types.PscInstanceConfig>, IEquatable<Instance.Types.PscInstanceConfig>, IDeepCloneable<Instance.Types.PscInstanceConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the AlloyDB v1 API class Instance.Types.PscInstanceConfig.

PscInstanceConfig contains PSC related configuration at an
instance level.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Instance.Types.PscInstanceConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.md.txt)[PscInstanceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.PscInstanceConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.md.txt)[PscInstanceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.PscInstanceConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.md.txt)[PscInstanceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.PscInstanceConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AlloyDb.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.md.txt)

## Assembly

Google.Cloud.AlloyDb.V1.dll

## Constructors

### PscInstanceConfig()

    public PscInstanceConfig()

### PscInstanceConfig(PscInstanceConfig)

    public PscInstanceConfig(Instance.Types.PscInstanceConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `InstanceTypesPscInstanceConfig` |

## Properties

### AllowedConsumerProjects

    public RepeatedField<string> AllowedConsumerProjects { get; }

Optional. List of consumer projects that are allowed to create
PSC endpoints to service-attachments to this instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### PscAutoConnections

    public RepeatedField<Instance.Types.PscAutoConnectionConfig> PscAutoConnections { get; }

Optional. Configurations for setting up PSC service automation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldInstanceTypesPscAutoConnectionConfig` |   |

### PscDnsName

    public string PscDnsName { get; set; }

Output only. The DNS name of the instance for PSC connectivity.
Name convention: \<uid\>.\<uid\>.\<region\>.alloydb-psc.goog

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PscInterfaceConfigs

    public RepeatedField<Instance.Types.PscInterfaceConfig> PscInterfaceConfigs { get; }

Optional. Configurations for setting up PSC interfaces attached to the
instance which are used for outbound connectivity. Only primary instances
can have PSC interface attached. Currently we only support 0 or 1 PSC
interface.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldInstanceTypesPscInterfaceConfig` |   |

### ServiceAttachmentLink

    public string ServiceAttachmentLink { get; set; }

Output only. The service attachment created when Private
Service Connect (PSC) is enabled for the instance.
The name of the resource will be in the format of
`projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ServiceAttachmentLinkAsServiceAttachmentName

    public ServiceAttachmentName ServiceAttachmentLinkAsServiceAttachmentName { get; set; }

[ServiceAttachmentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.ServiceAttachmentName.md.txt)-typed view over the [ServiceAttachmentLink](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Instance.Types.PscInstanceConfig.md.txt#Google_Cloud_AlloyDb_V1_Instance_Types_PscInstanceConfig_ServiceAttachmentLink) resource
name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ServiceAttachmentName` |   |