ConnectivityTestSource

data class ConnectivityTestSource(val instance: String? = null, val ipAddress: String? = null, val network: String? = null, val networkType: String? = null, val port: Int? = null, val projectId: String? = null)

Constructors

Link copied to clipboard
constructor(instance: String? = null, ipAddress: String? = null, network: String? = null, networkType: String? = null, port: Int? = null, projectId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val instance: String? = null

A Compute Engine instance URI.

Link copied to clipboard
val ipAddress: String? = null

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
val network: String? = null

A Compute Engine network URI.

Link copied to clipboard
val networkType: String? = null

Type of the network where the endpoint is located. Possible values are: GCP_NETWORK, NON_GCP_NETWORK.

Link copied to clipboard
val port: Int? = null

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

Link copied to clipboard
val projectId: String? = null

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: