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
- (::String) — A Cloud SQL instance URI.
#cloud_sql_instance=
def cloud_sql_instance=(value) -> ::String
- value (::String) — A Cloud SQL instance URI.
- (::String) — A Cloud SQL instance URI.
#gke_master_cluster
def gke_master_cluster() -> ::String
- (::String) — A cluster URI for Google Kubernetes Engine master.
#gke_master_cluster=
def gke_master_cluster=(value) -> ::String
- value (::String) — A cluster URI for Google Kubernetes Engine master.
- (::String) — A cluster URI for Google Kubernetes Engine master.
#instance
def instance() -> ::String
- (::String) — A Compute Engine instance URI.
#instance=
def instance=(value) -> ::String
- value (::String) — A Compute Engine instance URI.
- (::String) — A Compute Engine instance URI.
#ip_address
def ip_address() -> ::String
- (::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
- 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.
- (::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
- (::String) — A Compute Engine network URI.
#network=
def network=(value) -> ::String
- value (::String) — A Compute Engine network URI.
- (::String) — A Compute Engine network URI.
#network_type
def network_type() -> ::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType
- (::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType) — Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
#network_type=
def network_type=(value) -> ::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType
- value (::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType) — Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
- (::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType) — 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
def port() -> ::Integer
- (::Integer) — The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
#port=
def port=(value) -> ::Integer
- value (::Integer) — The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
- (::Integer) — The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
#project_id
def project_id() -> ::String
-
(::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:
- Only the IP address is specified, and the IP address is within a GCP project.
- 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
-
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:
- Only the IP address is specified, and the IP address is within a GCP project.
- 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.
-
(::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:
- Only the IP address is specified, and the IP address is within a GCP project.
- 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.