Class: Google::Cloud::NetworkManagement::V1::Endpoint
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkManagement::V1::Endpoint
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb
Overview
Source or destination of the Connectivity Test.
Defined Under Namespace
Modules: NetworkType
Instance Attribute Summary collapse
-
#cloud_sql_instance ⇒ ::String
A Cloud SQL instance URI.
-
#gke_master_cluster ⇒ ::String
A cluster URI for Google Kubernetes Engine master.
-
#instance ⇒ ::String
A Compute Engine instance URI.
-
#ip_address ⇒ ::String
The IP address of the endpoint, which can be an external or internal IP.
-
#network ⇒ ::String
A Compute Engine network URI.
-
#network_type ⇒ ::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType
Type of the network where the endpoint is located.
-
#port ⇒ ::Integer
The IP protocol port of the endpoint.
-
#project_id ⇒ ::String
Project ID where the endpoint is located.
Instance Attribute Details
#cloud_sql_instance ⇒ ::String
Returns A Cloud SQL instance URI.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 154 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type definition of an endpoint's network. Use one of the # following choices: module NetworkType # Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0 # A network hosted within Google Cloud Platform. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud Platform. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end end |
#gke_master_cluster ⇒ ::String
Returns A cluster URI for Google Kubernetes Engine master.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 154 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type definition of an endpoint's network. Use one of the # following choices: module NetworkType # Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0 # A network hosted within Google Cloud Platform. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud Platform. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end end |
#instance ⇒ ::String
Returns A Compute Engine instance URI.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 154 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type definition of an endpoint's network. Use one of the # following choices: module NetworkType # Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0 # A network hosted within Google Cloud Platform. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud Platform. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end end |
#ip_address ⇒ ::String
Returns 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.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 154 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type definition of an endpoint's network. Use one of the # following choices: module NetworkType # Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0 # A network hosted within Google Cloud Platform. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud Platform. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end end |
#network ⇒ ::String
Returns A Compute Engine network URI.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 154 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type definition of an endpoint's network. Use one of the # following choices: module NetworkType # Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0 # A network hosted within Google Cloud Platform. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud Platform. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end end |
#network_type ⇒ ::Google::Cloud::NetworkManagement::V1::Endpoint::NetworkType
Returns Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 154 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type definition of an endpoint's network. Use one of the # following choices: module NetworkType # Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0 # A network hosted within Google Cloud Platform. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud Platform. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end end |
#port ⇒ ::Integer
Returns The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 154 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type definition of an endpoint's network. Use one of the # following choices: module NetworkType # Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0 # A network hosted within Google Cloud Platform. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud Platform. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end end |
#project_id ⇒ ::String
Returns 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.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 154 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type definition of an endpoint's network. Use one of the # following choices: module NetworkType # Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0 # A network hosted within Google Cloud Platform. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud Platform. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end end |