GoogleApi.NetworkManagement.V1beta1.Model.Endpoint (google_api_network_management v0.9.0) View Source

Source or destination of the Connectivity Test.

Attributes

  • cloudSqlInstance (type: String.t, default: nil) - A Cloud SQL instance URI.
  • gkeMasterCluster (type: String.t, default: nil) - A cluster URI for Google Kubernetes Engine master.
  • instance (type: String.t, default: nil) - A Compute Engine instance URI.
  • ipAddress (type: String.t, default: nil) - 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 (type: String.t, default: nil) - A Compute Engine network URI.
  • networkType (type: String.t, default: nil) - 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 (type: integer(), default: nil) - The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
  • projectId (type: String.t, default: nil) - 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 GCP 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.NetworkManagement.V1beta1.Model.Endpoint{
  cloudSqlInstance: String.t(),
  gkeMasterCluster: String.t(),
  instance: String.t(),
  ipAddress: String.t(),
  network: String.t(),
  networkType: String.t(),
  port: integer(),
  projectId: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.