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 v1alpha API class Instance.Types.PscAutoConnectionConfig.
Configuration for setting up PSC service automation. Consumer projects in
the configs will be allowlisted automatically for the instance.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# AlloyDB v1alpha API - Class Instance.Types.PscAutoConnectionConfig (1.0.0-alpha12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscAutoConnectionConfig)\n- [1.0.0-alpha11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/1.0.0-alpha11/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscAutoConnectionConfig) \n\n public sealed class Instance.Types.PscAutoConnectionConfig : IMessage\u003cInstance.Types.PscAutoConnectionConfig\u003e, IEquatable\u003cInstance.Types.PscAutoConnectionConfig\u003e, IDeepCloneable\u003cInstance.Types.PscAutoConnectionConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1alpha API class Instance.Types.PscAutoConnectionConfig.\n\nConfiguration for setting up PSC service automation. Consumer projects in\nthe configs will be allowlisted automatically for the instance. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Instance.Types.PscAutoConnectionConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types)[PscAutoConnectionConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscAutoConnectionConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types)[PscAutoConnectionConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types.PscAutoConnectionConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Instance.Types)[PscAutoConnectionConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AlloyDb.V1Alpha](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Alpha.dll\n\nConstructors\n------------\n\n### PscAutoConnectionConfig()\n\n public PscAutoConnectionConfig()\n\n### PscAutoConnectionConfig(PscAutoConnectionConfig)\n\n public PscAutoConnectionConfig(Instance.Types.PscAutoConnectionConfig other)\n\nProperties\n----------\n\n### ConsumerNetwork\n\n public string ConsumerNetwork { get; set; }\n\nThe consumer network for the PSC service automation, example:\n\"projects/vpc-host-project/global/networks/default\".\nThe consumer network might be hosted a different project than the\nconsumer project.\n\n### ConsumerNetworkStatus\n\n public string ConsumerNetworkStatus { get; set; }\n\nOutput only. The status of the service connection policy.\nPossible values:\n\"STATE_UNSPECIFIED\" - Default state, when Connection Map is created\ninitially.\n\"VALID\" - Set when policy and map configuration is valid, and their\nmatching can lead to allowing creation of PSC Connections subject to\nother constraints like connections limit.\n\"CONNECTION_POLICY_MISSING\" - No Service Connection Policy found for\nthis network and Service Class\n\"POLICY_LIMIT_REACHED\" - Service Connection Policy limit reached for\nthis network and Service Class\n\"CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED\" - The consumer instance\nproject is not in AllowedGoogleProducersResourceHierarchyLevels of the\nmatching ServiceConnectionPolicy.\n\n### ConsumerProject\n\n public string ConsumerProject { get; set; }\n\nThe consumer project to which the PSC service automation endpoint will\nbe created.\n\n### IpAddress\n\n public string IpAddress { get; set; }\n\nOutput only. The IP address of the PSC service automation endpoint.\n\n### Status\n\n public string Status { get; set; }\n\nOutput only. The status of the PSC service automation connection.\nPossible values:\n\"STATE_UNSPECIFIED\" - An invalid state as the default case.\n\"ACTIVE\" - The connection has been created successfully.\n\"FAILED\" - The connection is not functional since some resources on the\nconnection fail to be created.\n\"CREATING\" - The connection is being created.\n\"DELETING\" - The connection is being deleted.\n\"CREATE_REPAIRING\" - The connection is being repaired to complete\ncreation.\n\"DELETE_REPAIRING\" - The connection is being repaired to complete\ndeletion."]]