1.0.0-beta19 (latest) 1.0.0-beta18

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

Reference documentation and code samples for the AlloyDB v1beta API class Instance.Types.PscAutoConnectionConfig.

Configuration for setting up PSC service automation. Consumer projects in
the configs will be allowlisted automatically for the instance.

## Inheritance

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

## Implements

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

## 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.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)

## Assembly

Google.Cloud.AlloyDb.V1Beta.dll

## Constructors

### PscAutoConnectionConfig()

    public PscAutoConnectionConfig()

### PscAutoConnectionConfig(PscAutoConnectionConfig)

    public PscAutoConnectionConfig(Instance.Types.PscAutoConnectionConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Instance.Types.PscAutoConnectionConfig` |

## Properties

### ConsumerNetwork

    public string ConsumerNetwork { get; set; }

The consumer network for the PSC service automation, example:
"projects/vpc-host-project/global/networks/default".
The consumer network might be hosted a different project than the
consumer project.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ConsumerNetworkStatus

    public string ConsumerNetworkStatus { get; set; }

Output only. The status of the service connection policy.
Possible values:
"STATE_UNSPECIFIED" - Default state, when Connection Map is created
initially.
"VALID" - Set when policy and map configuration is valid, and their
matching can lead to allowing creation of PSC Connections subject to
other constraints like connections limit.
"CONNECTION_POLICY_MISSING" - No Service Connection Policy found for
this network and Service Class
"POLICY_LIMIT_REACHED" - Service Connection Policy limit reached for
this network and Service Class
"CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED" - The consumer instance
project is not in AllowedGoogleProducersResourceHierarchyLevels of the
matching ServiceConnectionPolicy.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ConsumerProject

    public string ConsumerProject { get; set; }

The consumer project to which the PSC service automation endpoint will
be created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### IpAddress

    public string IpAddress { get; set; }

Output only. The IP address of the PSC service automation endpoint.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Status

    public string Status { get; set; }

Output only. The status of the PSC service automation connection.
Possible values:
"STATE_UNSPECIFIED" - An invalid state as the default case.
"ACTIVE" - The connection has been created successfully.
"FAILED" - The connection is not functional since some resources on the
connection fail to be created.
"CREATING" - The connection is being created.
"DELETING" - The connection is being deleted.
"CREATE_REPAIRING" - The connection is being repaired to complete
creation.
"DELETE_REPAIRING" - The connection is being repaired to complete
deletion.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |