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
#app_engine_version
def app_engine_version() -> ::Google::Cloud::NetworkManagement::V1::Endpoint::AppEngineVersionEndpoint
Returns
- (::Google::Cloud::NetworkManagement::V1::Endpoint::AppEngineVersionEndpoint) — An App Engine service version. Applicable only to source endpoint.
#app_engine_version=
def app_engine_version=(value) -> ::Google::Cloud::NetworkManagement::V1::Endpoint::AppEngineVersionEndpoint
Parameter
- value (::Google::Cloud::NetworkManagement::V1::Endpoint::AppEngineVersionEndpoint) — An App Engine service version. Applicable only to source endpoint.
Returns
- (::Google::Cloud::NetworkManagement::V1::Endpoint::AppEngineVersionEndpoint) — An App Engine service version. Applicable only to source endpoint.
#cloud_function
def cloud_function() -> ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudFunctionEndpoint
Returns
- (::Google::Cloud::NetworkManagement::V1::Endpoint::CloudFunctionEndpoint) — A Cloud Function. Applicable only to source endpoint.
#cloud_function=
def cloud_function=(value) -> ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudFunctionEndpoint
Parameter
- value (::Google::Cloud::NetworkManagement::V1::Endpoint::CloudFunctionEndpoint) — A Cloud Function. Applicable only to source endpoint.
Returns
- (::Google::Cloud::NetworkManagement::V1::Endpoint::CloudFunctionEndpoint) — A Cloud Function. Applicable only to source endpoint.
#cloud_run_revision
def cloud_run_revision() -> ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudRunRevisionEndpoint
Returns
- (::Google::Cloud::NetworkManagement::V1::Endpoint::CloudRunRevisionEndpoint) — A Cloud Run revision Applicable only to source endpoint.
#cloud_run_revision=
def cloud_run_revision=(value) -> ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudRunRevisionEndpoint
Parameter
- value (::Google::Cloud::NetworkManagement::V1::Endpoint::CloudRunRevisionEndpoint) — A Cloud Run revision Applicable only to source endpoint.
Returns
- (::Google::Cloud::NetworkManagement::V1::Endpoint::CloudRunRevisionEndpoint) — A Cloud Run revision Applicable only to source endpoint.
#cloud_sql_instance
def cloud_sql_instance() -> ::String
Returns
- (::String) — A Cloud SQL instance URI.
#cloud_sql_instance=
def cloud_sql_instance=(value) -> ::String
Parameter
- value (::String) — A Cloud SQL instance URI.
Returns
- (::String) — A Cloud SQL instance URI.
#forwarding_rule
def forwarding_rule() -> ::String
Returns
-
(::String) — A forwarding rule and its corresponding IP address represent the frontend
configuration of a Google Cloud load balancer. Forwarding rules are also
used for protocol forwarding, Private Service Connect and other network
services to provide forwarding information in the control plane. Applicable
only to destination endpoint. Format:
projects/{project}/global/forwardingRules/{id}orprojects/{project}/regions/{region}/forwardingRules/{id}
#forwarding_rule=
def forwarding_rule=(value) -> ::String
Parameter
-
value (::String) — A forwarding rule and its corresponding IP address represent the frontend
configuration of a Google Cloud load balancer. Forwarding rules are also
used for protocol forwarding, Private Service Connect and other network
services to provide forwarding information in the control plane. Applicable
only to destination endpoint. Format:
projects/{project}/global/forwardingRules/{id}orprojects/{project}/regions/{region}/forwardingRules/{id}
Returns
-
(::String) — A forwarding rule and its corresponding IP address represent the frontend
configuration of a Google Cloud load balancer. Forwarding rules are also
used for protocol forwarding, Private Service Connect and other network
services to provide forwarding information in the control plane. Applicable
only to destination endpoint. Format:
projects/{project}/global/forwardingRules/{id}orprojects/{project}/regions/{region}/forwardingRules/{id}
#forwarding_rule_target
def forwarding_rule_target() -> ::Google::Cloud::NetworkManagement::V1::Endpoint::ForwardingRuleTarget
Returns
- (::Google::Cloud::NetworkManagement::V1::Endpoint::ForwardingRuleTarget) — Output only. Specifies the type of the target of the forwarding rule.
#fqdn
def fqdn() -> ::String
Returns
- (::String) — DNS endpoint of Google Kubernetes Engine cluster control plane. Requires gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or network. Applicable only to destination endpoint.
#fqdn=
def fqdn=(value) -> ::String
Parameter
- value (::String) — DNS endpoint of Google Kubernetes Engine cluster control plane. Requires gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or network. Applicable only to destination endpoint.
Returns
- (::String) — DNS endpoint of Google Kubernetes Engine cluster control plane. Requires gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or network. Applicable only to destination endpoint.
#gke_master_cluster
def gke_master_cluster() -> ::String
Returns
- (::String) — A cluster URI for Google Kubernetes Engine cluster control plane.
#gke_master_cluster=
def gke_master_cluster=(value) -> ::String
Parameter
- value (::String) — A cluster URI for Google Kubernetes Engine cluster control plane.
Returns
- (::String) — A cluster URI for Google Kubernetes Engine cluster control plane.
#gke_pod
def gke_pod() -> ::String
Returns
- (::String) — A GKE Pod URI.
#gke_pod=
def gke_pod=(value) -> ::String
Parameter
- value (::String) — A GKE Pod URI.
Returns
- (::String) — A GKE Pod URI.
#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.
#ip_address=
def ip_address=(value) -> ::String
Parameter
- value (::String) — The IP address of the endpoint, which can be an external or internal IP.
Returns
- (::String) — The IP address of the endpoint, which can be an external or internal IP.
#load_balancer_id
def load_balancer_id() -> ::String
Returns
- (::String) — Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.
#load_balancer_type
def load_balancer_type() -> ::Google::Cloud::NetworkManagement::V1::LoadBalancerType
Returns
- (::Google::Cloud::NetworkManagement::V1::LoadBalancerType) — Output only. Type of the load balancer the forwarding rule points to.
#network
def network() -> ::String
Returns
-
(::String) — A VPC network URI. For source endpoints, used according to the
network_type. For destination endpoints, used only when the source is an external IP address endpoint, and the destination is an internal IP address endpoint.
#network=
def network=(value) -> ::String
Parameter
-
value (::String) — A VPC network URI. For source endpoints, used according to the
network_type. For destination endpoints, used only when the source is an external IP address endpoint, and the destination is an internal IP address endpoint.
Returns
-
(::String) — A VPC network URI. For source endpoints, used according to the
network_type. For destination endpoints, used only when the source is an external IP address endpoint, and the destination is an internal IP address endpoint.
#network_type
def network_type() -> ::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType
Returns
- (::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType) — For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.
#network_type=
def network_type=(value) -> ::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType
Parameter
- value (::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType) — For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.
Returns
- (::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType) — For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.
#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) — For source endpoints, endpoint project ID. Used according to the
network_type. Not relevant for destination endpoints.
#project_id=
def project_id=(value) -> ::String
Parameter
-
value (::String) — For source endpoints, endpoint project ID. Used according to the
network_type. Not relevant for destination endpoints.
Returns
-
(::String) — For source endpoints, endpoint project ID. Used according to the
network_type. Not relevant for destination endpoints.
#redis_cluster
def redis_cluster() -> ::String
Returns
- (::String) — A Redis Cluster URI. Applicable only to destination endpoint.
#redis_cluster=
def redis_cluster=(value) -> ::String
Parameter
- value (::String) — A Redis Cluster URI. Applicable only to destination endpoint.
Returns
- (::String) — A Redis Cluster URI. Applicable only to destination endpoint.
#redis_instance
def redis_instance() -> ::String
Returns
- (::String) — A Redis Instance URI. Applicable only to destination endpoint.
#redis_instance=
def redis_instance=(value) -> ::String
Parameter
- value (::String) — A Redis Instance URI. Applicable only to destination endpoint.
Returns
- (::String) — A Redis Instance URI. Applicable only to destination endpoint.