Endpoint constructor

const Endpoint({
  1. Input<AppEngineVersionEndpoint>? appEngineVersion,
  2. Input<CloudFunctionEndpoint>? cloudFunction,
  3. Input<CloudRunRevisionEndpoint>? cloudRunRevision,
  4. Input<String>? cloudSqlInstance,
  5. Input<String>? forwardingRule,
  6. Input<String>? gkeMasterCluster,
  7. Input<String>? instance,
  8. Input<String>? ipAddress,
  9. Input<String>? network,
  10. Input<EndpointNetworkType>? networkType,
  11. Input<int>? port,
  12. Input<String>? project,
})

Creates a new Endpoint. appEngineVersion An App Engine service version. cloudFunction A Cloud Function. cloudRunRevision A Cloud Run revision cloudSqlInstance A Cloud SQL instance URI. forwardingRule 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} gkeMasterCluster A cluster URI for Google Kubernetes Engine master. instance A Compute Engine instance URI. ipAddress 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. network A Compute Engine network URI. networkType Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source. port The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP. project 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.

Implementation

const Endpoint({
  this.appEngineVersion,
  this.cloudFunction,
  this.cloudRunRevision,
  this.cloudSqlInstance,
  this.forwardingRule,
  this.gkeMasterCluster,
  this.instance,
  this.ipAddress,
  this.network,
  this.networkType,
  this.port,
  this.project,
});