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
#app_engine_version=
def app_engine_version=(value) -> ::Google::Cloud::NetworkManagement::V1::Endpoint::AppEngineVersionEndpoint
#cloud_function
def cloud_function() -> ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudFunctionEndpoint
#cloud_function=
def cloud_function=(value) -> ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudFunctionEndpoint
#cloud_run_revision
def cloud_run_revision() -> ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudRunRevisionEndpoint
#cloud_run_revision=
def cloud_run_revision=(value) -> ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudRunRevisionEndpoint
#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.
#forwarding_rule
def forwarding_rule() -> ::String
- (::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. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}
#forwarding_rule=
def forwarding_rule=(value) -> ::String
- 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. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}
- (::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. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id}
#forwarding_rule_target
def forwarding_rule_target() -> ::Google::Cloud::NetworkManagement::V1::Endpoint::ForwardingRuleTarget
- (::Google::Cloud::NetworkManagement::V1::Endpoint::ForwardingRuleTarget) — Output only. Specifies the type of the target of the forwarding rule.
#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.
#load_balancer_id
def load_balancer_id() -> ::String
- (::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
- (::Google::Cloud::NetworkManagement::V1::LoadBalancerType) — Output only. Type of the load balancer the forwarding rule points to.
#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 Google Cloud 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 Google Cloud 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 Google Cloud 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.