Class: Google::Cloud::NetworkManagement::V1::Endpoint

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#app_engine_version::Google::Cloud::NetworkManagement::V1::Endpoint::AppEngineVersionEndpoint

Returns An App Engine service version. Applicable only to source endpoint.



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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. Applicable only to source endpoint.

Returns:



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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

Returns A Cloud Run revision Applicable only to source endpoint.



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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.

Returns:



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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. Applicable only to destination endpoint. Format: projects/{project}/global/forwardingRules/{id} or projects/{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} or projects/{project}/regions/{region}/forwardingRules/{id}



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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.

Returns:



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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

#fqdn::String

Returns 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:



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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:



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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_pod::String

Returns A GKE Pod URI.

Returns:



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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.

Returns:

  • (::String)

    A Compute Engine instance URI.



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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.

Returns:

  • (::String)

    The IP address of the endpoint, which can be an external or internal IP.



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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.

Returns:

  • (::String)

    Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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.

Returns:



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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 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.



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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 For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.

Returns:



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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.

Returns:

  • (::Integer)

    The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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 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.



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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

#redis_cluster::String

Returns A Redis Cluster URI. Applicable only to destination endpoint.

Returns:

  • (::String)

    A Redis Cluster URI. Applicable only to destination endpoint.



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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

#redis_instance::String

Returns A Redis Instance URI. Applicable only to destination endpoint.

Returns:

  • (::String)

    A Redis Instance URI. Applicable only to destination endpoint.



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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/cloud/networkmanagement/v1/connectivity_test.rb', line 193

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}
  # @!attribute [r] service_uri
  #   @return [::String]
  #     Output only. The URI of the Cloud Run service that the revision belongs
  #     to. The format is:
  #     projects/\\{project}/locations/\\{location}/services/\\{service}
  class CloudRunRevisionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of the network of the IP address endpoint. Relevant for the source
  # IP address endpoints.
  module NetworkType
    # Unspecified. The test will analyze all possible IP address locations.
    # This might take longer and produce inaccurate or ambiguous results, so
    # prefer specifying an explicit network type.
    #
    # The `project_id` field should be set to the project where the GCP
    # endpoint is located, or where the non-GCP endpoint should be reachable
    # from (via routes to non-GCP networks). The project might also be inferred
    # from the Connectivity Test project or other projects referenced in the
    # request.
    NETWORK_TYPE_UNSPECIFIED = 0

    # A VPC network. Should be used for internal IP addresses in VPC networks.
    # The `network` field should be set to the URI of this network. Only
    # endpoints within this network will be considered.
    GCP_NETWORK = 1

    # A non-GCP network (for example, an on-premises network or another cloud
    # provider network). Should be used for internal IP addresses outside of
    # Google Cloud. The `network` field should be set to the URI of the VPC
    # network containing a corresponding Cloud VPN tunnel, Cloud Interconnect
    # VLAN attachment, or a router appliance instance. Only endpoints reachable
    # from the provided VPC network via the routes to non-GCP networks will be
    # considered.
    NON_GCP_NETWORK = 2

    # Internet. Should be used for internet-routable external IP addresses or
    # IP addresses for global Google APIs and services.
    INTERNET = 3
  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