public sealed class PscAutoConnection : IMessage<PscAutoConnection>, IEquatable<PscAutoConnection>, IDeepCloneable<PscAutoConnection>, IBufferMessage, IMessageReference documentation and code samples for the Memorystore v1 API class PscAutoConnection.
Details of consumer resources in a PSC connection.
Implements
IMessagePscAutoConnection, IEquatablePscAutoConnection, IDeepCloneablePscAutoConnection, IBufferMessage, IMessageNamespace
Google.Cloud.Memorystore.V1Assembly
Google.Cloud.Memorystore.V1.dll
Constructors
PscAutoConnection()
public PscAutoConnection()PscAutoConnection(PscAutoConnection)
public PscAutoConnection(PscAutoConnection other)| Parameter | |
|---|---|
| Name | Description |
other |
PscAutoConnection |
Properties
ConnectionType
public ConnectionType ConnectionType { get; set; }Output only. Type of the PSC connection.
| Property Value | |
|---|---|
| Type | Description |
ConnectionType |
|
ForwardingRule
public string ForwardingRule { get; set; }Output only. The URI of the consumer side forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ForwardingRuleAsForwardingRuleName
public ForwardingRuleName ForwardingRuleAsForwardingRuleName { get; set; }ForwardingRuleName-typed view over the ForwardingRule resource name property.
| Property Value | |
|---|---|
| Type | Description |
ForwardingRuleName |
|
HasPort
public bool HasPort { get; }Gets whether the "port" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
IpAddress
public string IpAddress { get; set; }Output only. The IP allocated on the consumer network for the PSC forwarding rule.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Network
public string Network { get; set; }Required. The network where the PSC endpoints are created, in the form of projects/{project_id}/global/networks/{network_id}.
| 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 |
|
Port
public int Port { get; set; }Optional. port will only be set for Primary/Reader or Discovery endpoint.
| Property Value | |
|---|---|
| Type | Description |
int |
|
PortsCase
public PscAutoConnection.PortsOneofCase PortsCase { get; }| Property Value | |
|---|---|
| Type | Description |
PscAutoConnectionPortsOneofCase |
|
ProjectId
public string ProjectId { get; set; }Required. The consumer project_id where PSC connections are established. This should be the same project_id that the instance is being created in.
| Property Value | |
|---|---|
| Type | Description |
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 |
string |
|
PscConnectionStatus
public PscConnectionStatus PscConnectionStatus { get; set; }Output only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists. Please note that this value is updated periodically. Please use Private Service Connect APIs for the latest status.
| Property Value | |
|---|---|
| Type | Description |
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 |
string |
|
ServiceAttachmentAsServiceAttachmentName
public ServiceAttachmentName ServiceAttachmentAsServiceAttachmentName { get; set; }ServiceAttachmentName-typed view over the ServiceAttachment resource name property.
| Property Value | |
|---|---|
| Type | Description |
ServiceAttachmentName |
|