EndpointResponse

data class EndpointResponse(val appEngineVersion: AppEngineVersionEndpointResponse, val cloudFunction: CloudFunctionEndpointResponse, val cloudRunRevision: CloudRunRevisionEndpointResponse, val cloudSqlInstance: String, val gkeMasterCluster: String, val instance: String, val ipAddress: String, val network: String, val networkType: String, val port: Int, val project: String)

Source or destination of the Connectivity Test.

Constructors

Link copied to clipboard
fun EndpointResponse(appEngineVersion: AppEngineVersionEndpointResponse, cloudFunction: CloudFunctionEndpointResponse, cloudRunRevision: CloudRunRevisionEndpointResponse, cloudSqlInstance: String, gkeMasterCluster: String, instance: String, ipAddress: String, network: String, networkType: String, port: Int, project: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A Cloud SQL instance URI.

Link copied to clipboard
Link copied to clipboard

A Compute Engine instance URI.

Link copied to clipboard

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 /load-balancing/docs/load-balancing-overview.

Link copied to clipboard

A Compute Engine network URI.

Link copied to clipboard

Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.

Link copied to clipboard
val port: Int

The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.

Link copied to clipboard

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.