Class Connection
Represents a private connection resource. A private connection is implemented as a VPC Network Peering connection between a service producer's VPC network and a service consumer's VPC network.
Implements
Inherited Members
Namespace: Google.Apis.ServiceNetworking.v1.Data
Assembly: Google.Apis.ServiceNetworking.v1.dll
Syntax
public class Connection : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Network
The name of service consumer's VPC network that's connected with service producer network, in the following
format: projects/{project}/global/networks/{network}
. {project}
is a project number, such as in 12345
that includes the VPC service consumer's VPC network. {network}
is the name of the service consumer's VPC
network.
Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
Type | Description |
---|---|
string |
Peering
Output only. The name of the VPC Network Peering connection that was created by the service producer.
Declaration
[JsonProperty("peering")]
public virtual string Peering { get; set; }
Property Value
Type | Description |
---|---|
string |
ReservedPeeringRanges
The name of one or more allocated IP address ranges for this service producer of type PEERING
. Note that
invoking CreateConnection method with a different range when connection is already established will not
modify already provisioned service producer subnetworks. If CreateConnection method is invoked repeatedly to
reconnect when peering connection had been disconnected on the consumer side, leaving this field empty will
restore previously allocated IP ranges.
Declaration
[JsonProperty("reservedPeeringRanges")]
public virtual IList<string> ReservedPeeringRanges { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Service
Output only. The name of the peering service that's associated with this connection, in the following
format: services/{service name}
.
Declaration
[JsonProperty("service")]
public virtual string Service { get; set; }
Property Value
Type | Description |
---|---|
string |