public sealed class Endpoint : IMessage<Endpoint>, IEquatable<Endpoint>, IDeepCloneable<Endpoint>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Management v1 API class Endpoint.
Source or destination of the Connectivity Test.
Implements
IMessage<Endpoint>, IEquatable<Endpoint>, IDeepCloneable<Endpoint>, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkManagement.V1Assembly
Google.Cloud.NetworkManagement.V1.dll
Constructors
Endpoint()
public Endpoint()
Endpoint(Endpoint)
public Endpoint(Endpoint other)
Parameter | |
---|---|
Name | Description |
other | Endpoint |
Properties
CloudSqlInstance
public string CloudSqlInstance { get; set; }
A Cloud SQL instance URI.
Property Value | |
---|---|
Type | Description |
String |
GkeMasterCluster
public string GkeMasterCluster { get; set; }
A cluster URI for Google Kubernetes Engine master.
Property Value | |
---|---|
Type | Description |
String |
Instance
public string Instance { get; set; }
A Compute Engine instance URI.
Property Value | |
---|---|
Type | Description |
String |
IpAddress
public string IpAddress { get; set; }
The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a global load balancer VIP.
Property Value | |
---|---|
Type | Description |
String |
Network
public string Network { get; set; }
A Compute Engine network URI.
Property Value | |
---|---|
Type | Description |
String |
NetworkType
public Endpoint.Types.NetworkType NetworkType { get; set; }
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
Property Value | |
---|---|
Type | Description |
Endpoint.Types.NetworkType |
Port
public int Port { get; set; }
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
Property Value | |
---|---|
Type | Description |
Int32 |
ProjectId
public string ProjectId { get; set; }
Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID:
- Only the IP address is specified, and the IP address is within a GCP project.
- When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
Property Value | |
---|---|
Type | Description |
String |