Endpoint class
Source or destination of the Connectivity Test.
Constructors
-
Endpoint({Input<
AppEngineVersionEndpoint> ? appEngineVersion, Input<CloudFunctionEndpoint> ? cloudFunction, Input<CloudRunRevisionEndpoint> ? cloudRunRevision, Input<String> ? cloudSqlInstance, Input<String> ? forwardingRule, Input<String> ? gkeMasterCluster, Input<String> ? instance, Input<String> ? ipAddress, Input<String> ? network, Input<EndpointNetworkType> ? networkType, Input<int> ? port, Input<String> ? project}) -
Creates a new Endpoint.
appEngineVersionAn App Engine service version.cloudFunctionA Cloud Function.cloudRunRevisionA Cloud Run revisioncloudSqlInstanceA Cloud SQL instance URI.forwardingRuleA forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}gkeMasterClusterA cluster URI for Google Kubernetes Engine master.instanceA Compute Engine instance URI.ipAddressThe 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.networkA Compute Engine network URI.networkTypeType of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.portThe IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.projectProject 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: 1. Only the IP address is specified, and the IP address is within a Google Cloud project. 2. 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.const -
Endpoint.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
appEngineVersion
→ Input<
AppEngineVersionEndpoint> ? -
An App Engine service version.
final
-
cloudFunction
→ Input<
CloudFunctionEndpoint> ? -
A Cloud Function.
final
-
cloudRunRevision
→ Input<
CloudRunRevisionEndpoint> ? -
A Cloud Run revision
final
-
cloudSqlInstance
→ Input<
String> ? -
A Cloud SQL instance URI.
final
-
forwardingRule
→ Input<
String> ? -
A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}
final
-
gkeMasterCluster
→ Input<
String> ? -
A cluster URI for Google Kubernetes Engine master.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instance
→ Input<
String> ? -
A Compute Engine instance URI.
final
-
ipAddress
→ Input<
String> ? -
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.
final
-
network
→ Input<
String> ? -
A Compute Engine network URI.
final
-
networkType
→ Input<
EndpointNetworkType> ? -
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
final
-
port
→ Input<
int> ? -
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
final
-
project
→ Input<
String> ? -
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: 1. Only the IP address is specified, and the IP address is within a Google Cloud project. 2. 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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited