EndpointResponse

data class EndpointResponse(val appEngineVersion: AppEngineVersionEndpointResponse, val cloudFunction: CloudFunctionEndpointResponse, val cloudRunRevision: CloudRunRevisionEndpointResponse, val cloudSqlInstance: String, val forwardingRule: String, val forwardingRuleTarget: String, val gkeMasterCluster: String, val instance: String, val ipAddress: String, val loadBalancerId: String, val loadBalancerType: 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, forwardingRule: String, forwardingRuleTarget: String, gkeMasterCluster: String, instance: String, ipAddress: String, loadBalancerId: String, loadBalancerType: 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

Forwarding rule URI. Forwarding rules are frontends for load balancers, PSC endpoints and Protocol Forwarding. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}

Link copied to clipboard

Specifies the type of the target of the forwarding rule.

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 global load balancer VIP.

Link copied to clipboard

ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.

Link copied to clipboard

Type of the load balancer the forwarding rule points to.

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.