public sealed class ServiceConnectionMap.Types.ConsumerPscConnection : IMessage<ServiceConnectionMap.Types.ConsumerPscConnection>, IEquatable<ServiceConnectionMap.Types.ConsumerPscConnection>, IDeepCloneable<ServiceConnectionMap.Types.ConsumerPscConnection>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class ServiceConnectionMap.Types.ConsumerPscConnection.
PSC connection details on consumer side.
Implements
IMessageServiceConnectionMapTypesConsumerPscConnection, IEquatableServiceConnectionMapTypesConsumerPscConnection, IDeepCloneableServiceConnectionMapTypesConsumerPscConnection, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkConnectivity.V1Assembly
Google.Cloud.NetworkConnectivity.V1.dll
Constructors
ConsumerPscConnection()
public ConsumerPscConnection()
ConsumerPscConnection(ConsumerPscConnection)
public ConsumerPscConnection(ServiceConnectionMap.Types.ConsumerPscConnection other)
Parameter | |
---|---|
Name | Description |
other |
ServiceConnectionMapTypesConsumerPscConnection |
Properties
Error
[Obsolete]
public Status Error { get; set; }
The most recent error during operating this connection.
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 |
ForwardingRule
public string ForwardingRule { get; set; }
The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
Property Value | |
---|---|
Type | Description |
string |
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 |
Ip
public string Ip { get; set; }
The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.
Property Value | |
---|---|
Type | Description |
string |
IpVersion
public IPVersion IpVersion { get; set; }
The requested IP version for the PSC connection.
Property Value | |
---|---|
Type | Description |
IPVersion |
Network
public string Network { get; set; }
The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).
Property Value | |
---|---|
Type | Description |
string |
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 |
Project
public string Project { get; set; }
The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.
Property Value | |
---|---|
Type | Description |
string |
PscConnectionId
public string PscConnectionId { get; set; }
The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.
Property Value | |
---|---|
Type | Description |
string |
SelectedSubnetwork
public string SelectedSubnetwork { get; set; }
Output only. The URI of the selected subnetwork selected to allocate IP address for this connection.
Property Value | |
---|---|
Type | Description |
string |
ServiceAttachmentUri
public string ServiceAttachmentUri { get; set; }
The URI of a service attachment which is the target of the PSC connection.
Property Value | |
---|---|
Type | Description |
string |
State
public ServiceConnectionMap.Types.ConsumerPscConnection.Types.State State { get; set; }
The state of the PSC connection.
Property Value | |
---|---|
Type | Description |
ServiceConnectionMapTypesConsumerPscConnectionTypesState |