Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::Endpoint (v0.5.1)

Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::Endpoint.

Source or destination of the Connectivity Test.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cloud_sql_instance

def cloud_sql_instance() -> ::String
Returns

#cloud_sql_instance=

def cloud_sql_instance=(value) -> ::String
Parameter
  • value (::String) — A Cloud SQL instance URI.
Returns

#gke_master_cluster

def gke_master_cluster() -> ::String
Returns

#gke_master_cluster=

def gke_master_cluster=(value) -> ::String
Parameter
Returns

#instance

def instance() -> ::String
Returns
  • (::String) — A Compute Engine instance URI.

#instance=

def instance=(value) -> ::String
Parameter
  • value (::String) — A Compute Engine instance URI.
Returns
  • (::String) — A Compute Engine instance URI.

#ip_address

def ip_address() -> ::String
Returns
  • (::String) — 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.

#ip_address=

def ip_address=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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

def network() -> ::String
Returns
  • (::String) — A Compute Engine network URI.

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — A Compute Engine network URI.
Returns
  • (::String) — A Compute Engine network URI.

#network_type

def network_type() -> ::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType
Returns

#network_type=

def network_type=(value) -> ::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType
Parameter
Returns

#port

def port() -> ::Integer
Returns
  • (::Integer) — The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.

#port=

def port=(value) -> ::Integer
Parameter
  • value (::Integer) — The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
Returns
  • (::Integer) — The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.

#project_id

def project_id() -> ::String
Returns
  • (::String) —

    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.

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) —

    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.
Returns
  • (::String) —

    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.