Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class Peering.
Peering type.
Protobuf type google.cloud.networkconnectivity.v1.InternalRange.Peering
Namespace
Google \ Cloud \ NetworkConnectivity \ V1 \ InternalRangeMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
PEERING_UNSPECIFIED
Value: 0
If Peering is left unspecified in CreateInternalRange or UpdateInternalRange, it will be defaulted to FOR_SELF.
Generated from protobuf enum PEERING_UNSPECIFIED = 0;
FOR_SELF
Value: 1
This is the default behavior and represents the case that this internal range is intended to be used in the VPC in which it is created and is accessible from its peers. This implies that peers or peers-of-peers cannot use this range.
Generated from protobuf enum FOR_SELF = 1;
FOR_PEER
Value: 2
This behavior can be set when the internal range is being reserved for usage by peers. This means that no resource within the VPC in which it is being created can use this to associate with a VPC resource, but one of the peers can. This represents donating a range for peers to use.
Generated from protobuf enum FOR_PEER = 2;
NOT_SHARED
Value: 3
This behavior can be set when the internal range is being reserved for usage by the VPC in which it is created, but not shared with peers.
In a sense, it is local to the VPC. This can be used to create internal ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for Interconnect routes that are not shared with peers. This also implies that peers cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC, too.
Generated from protobuf enum NOT_SHARED = 3;