1.11.0 (latest) 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 PscAutoConnection : IMessage<PscAutoConnection>, IEquatable<PscAutoConnection>, IDeepCloneable<PscAutoConnection>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class PscAutoConnection.

Details of consumer resources in a PSC connection that is created through
Service Connectivity Automation.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PscAutoConnection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.PscAutoConnection), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PscAutoConnection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.PscAutoConnection), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PscAutoConnection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.PscAutoConnection), [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.Redis.Cluster.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1)

## Assembly

Google.Cloud.Redis.Cluster.V1.dll

## Constructors

### PscAutoConnection()

    public PscAutoConnection()

### PscAutoConnection(PscAutoConnection)

    public PscAutoConnection(PscAutoConnection other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.PscAutoConnection` |

## Properties

### Address

    public string Address { get; set; }

Output only. The IP allocated on the consumer network for the PSC
forwarding rule.

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

### ConnectionType

    public ConnectionType ConnectionType { get; set; }

Output only. Type of the PSC connection.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.ConnectionType` |   |

### ForwardingRule

    public string ForwardingRule { get; set; }

Output only. The URI of the consumer side forwarding rule.
Example:
projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

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

### ForwardingRuleAsForwardingRuleName

    public ForwardingRuleName ForwardingRuleAsForwardingRuleName { get; set; }

[ForwardingRuleName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.ForwardingRuleName)-typed view over the [ForwardingRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.PscAutoConnection#Google_Cloud_Redis_Cluster_V1_PscAutoConnection_ForwardingRule) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.ForwardingRuleName` |   |

### Network

    public string Network { get; set; }

Required. The consumer network where the IP address resides, in the form of
projects/{project_id}/global/networks/{network_id}.

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

### NetworkAsNetworkName

    public NetworkName NetworkAsNetworkName { get; set; }

[NetworkName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.NetworkName)-typed view over the [Network](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.PscAutoConnection#Google_Cloud_Redis_Cluster_V1_PscAutoConnection_Network) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.NetworkName` |   |

### ProjectId

    public string ProjectId { get; set; }

Required. The consumer project_id where the forwarding rule is created
from.

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

### PscConnectionId

    public string PscConnectionId { get; set; }

Output only. The PSC connection id of the forwarding rule connected to the
service attachment.

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

### PscConnectionStatus

    public PscConnectionStatus PscConnectionStatus { get; set; }

Output only. The status of the PSC connection.
Please note that this value is updated periodically.
Please use Private Service Connect APIs for the latest status.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.PscConnectionStatus` |   |

### ServiceAttachment

    public string ServiceAttachment { get; set; }

Output only. The service attachment which is the target of the PSC
connection, in the form of
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.

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

### ServiceAttachmentAsServiceAttachmentName

    public ServiceAttachmentName ServiceAttachmentAsServiceAttachmentName { get; set; }

[ServiceAttachmentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.ServiceAttachmentName)-typed view over the [ServiceAttachment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.PscAutoConnection#Google_Cloud_Redis_Cluster_V1_PscAutoConnection_ServiceAttachment) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.ServiceAttachmentName` |   |