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: ForwardingRuleTarget, NetworkType Classes: AppEngineVersionEndpoint, CloudFunctionEndpoint, CloudRunRevisionEndpoint
Instance Attribute Summary collapse
- #app_engine_version ⇒ ::Google::Cloud::NetworkManagement::V1::Endpoint::AppEngineVersionEndpoint
- #cloud_function ⇒ ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudFunctionEndpoint
- #cloud_run_revision ⇒ ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudRunRevisionEndpoint
-
#cloud_sql_instance ⇒ ::String
A Cloud SQL instance URI.
-
#forwarding_rule ⇒ ::String
A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer.
-
#forwarding_rule_target ⇒ ::Google::Cloud::NetworkManagement::V1::Endpoint::ForwardingRuleTarget
readonly
Output only.
-
#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.
-
#load_balancer_id ⇒ ::String
readonly
Output only.
-
#load_balancer_type ⇒ ::Google::Cloud::NetworkManagement::V1::LoadBalancerType
readonly
Output only.
-
#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
#app_engine_version ⇒ ::Google::Cloud::NetworkManagement::V1::Endpoint::AppEngineVersionEndpoint
Returns An App Engine service version.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#cloud_function ⇒ ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudFunctionEndpoint
Returns A Cloud Function.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#cloud_run_revision ⇒ ::Google::Cloud::NetworkManagement::V1::Endpoint::CloudRunRevisionEndpoint
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#cloud_sql_instance ⇒ ::String
Returns A Cloud SQL instance URI.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#forwarding_rule ⇒ ::String
Returns 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}.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#forwarding_rule_target ⇒ ::Google::Cloud::NetworkManagement::V1::Endpoint::ForwardingRuleTarget (readonly)
Returns Output only. Specifies the type of the target of the forwarding rule.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#gke_master_cluster ⇒ ::String
Returns A cluster URI for Google Kubernetes Engine master.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#instance ⇒ ::String
Returns A Compute Engine instance URI.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#ip_address ⇒ ::String
Returns The IP address of the endpoint, which can be an external or internal IP.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#load_balancer_id ⇒ ::String (readonly)
Returns Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#load_balancer_type ⇒ ::Google::Cloud::NetworkManagement::V1::LoadBalancerType (readonly)
Returns Output only. Type of the load balancer the forwarding rule points to.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#network ⇒ ::String
Returns A Compute Engine network URI.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 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.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |
#port ⇒ ::Integer
Returns The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 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 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.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 191 class Endpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Wrapper for Cloud Function attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Function](https://cloud.google.com/functions) name. class CloudFunctionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for the App Engine service version attributes. # @!attribute [rw] uri # @return [::String] # An [App Engine](https://cloud.google.com/appengine) [service # version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) # name. class AppEngineVersionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Wrapper for Cloud Run revision attributes. # @!attribute [rw] uri # @return [::String] # A [Cloud Run](https://cloud.google.com/run) # [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) # URI. The format is: # projects/\\{project}/locations/\\{location}/revisions/\\{revision} class CloudRunRevisionEndpoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # To receive more detailed output, specify the URI for the source or # destination network. GCP_NETWORK = 1 # A network hosted outside of Google Cloud. # This can be an on-premises network, or a network hosted by another cloud # provider. NON_GCP_NETWORK = 2 end # Type of the target of a forwarding rule. module ForwardingRuleTarget # Forwarding rule target is unknown. FORWARDING_RULE_TARGET_UNSPECIFIED = 0 # Compute Engine instance for protocol forwarding. INSTANCE = 1 # Load Balancer. The specific type can be found from [load_balancer_type] # [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. LOAD_BALANCER = 2 # Classic Cloud VPN Gateway. VPN_GATEWAY = 3 # Forwarding Rule is a Private Service Connect endpoint. PSC = 4 end end |