public sealed class ServiceConnectionPolicy.Types.PscConnection : IMessage<ServiceConnectionPolicy.Types.PscConnection>, IEquatable<ServiceConnectionPolicy.Types.PscConnection>, IDeepCloneable<ServiceConnectionPolicy.Types.PscConnection>, IBufferMessage, IMessageReference documentation and code samples for the Network Connectivity v1 API class ServiceConnectionPolicy.Types.PscConnection.
Information about a specific Private Service Connect connection.
Implements
IMessageServiceConnectionPolicyTypesPscConnection, IEquatableServiceConnectionPolicyTypesPscConnection, IDeepCloneableServiceConnectionPolicyTypesPscConnection, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkConnectivity.V1Assembly
Google.Cloud.NetworkConnectivity.V1.dll
Constructors
PscConnection()
public PscConnection()PscConnection(PscConnection)
public PscConnection(ServiceConnectionPolicy.Types.PscConnection other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceConnectionPolicyTypesPscConnection |
Properties
ConsumerAddress
public string ConsumerAddress { get; set; }The resource reference of the consumer address.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ConsumerForwardingRule
public string ConsumerForwardingRule { get; set; }The resource reference of the PSC Forwarding Rule within the consumer VPC.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ConsumerTargetProject
public string ConsumerTargetProject { get; set; }The project where the PSC connection is created.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Error
[Obsolete]
public Status Error { get; set; }The most recent error during operating this connection. Deprecated, please use error_info instead.
| Property Value | |
|---|---|
| Type | Description |
Status |
|
ErrorInfo
public ErrorInfo ErrorInfo { get; set; }Output only. The error info for the latest error during operating this connection.
| Property Value | |
|---|---|
| Type | Description |
ErrorInfo |
|
ErrorType
[Obsolete]
public ConnectionErrorType ErrorType { get; set; }The error type indicates whether the error is consumer facing, producer facing or system internal.
| Property Value | |
|---|---|
| Type | Description |
ConnectionErrorType |
|
GceOperation
public string GceOperation { get; set; }The last Compute Engine operation to setup PSC connection.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasIpVersion
public bool HasIpVersion { get; }Gets whether the "ip_version" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
IpVersion
public IPVersion IpVersion { get; set; }The requested IP version for the PSC connection.
| Property Value | |
|---|---|
| Type | Description |
IPVersion |
|
ProducerInstanceId
[Obsolete]
public string ProducerInstanceId { get; set; }Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ProducerInstanceMetadata
public MapField<string, string> ProducerInstanceMetadata { get; }Immutable. An immutable map for the producer instance metadata.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
PscConnectionId
public string PscConnectionId { get; set; }The PSC connection id of the PSC forwarding rule.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SelectedSubnetwork
public string SelectedSubnetwork { get; set; }Output only. The URI of the subnetwork selected to allocate IP address for this connection.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ServiceClass
public string ServiceClass { get; set; }Output only. [Output only] The service class associated with this PSC Connection. The value is derived from the SCPolicy and matches the service class name provided by the customer.
| Property Value | |
|---|---|
| Type | Description |
string |
|
State
public ServiceConnectionPolicy.Types.State State { get; set; }State of the PSC Connection
| Property Value | |
|---|---|
| Type | Description |
ServiceConnectionPolicyTypesState |
|