Class: Google::Cloud::NetworkManagement::V1::Step

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkmanagement/v1/trace.rb

Overview

A simulated forwarding path is composed of multiple steps. Each step has a well-defined state and an associated configuration.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#abort::Google::Cloud::NetworkManagement::V1::AbortInfo

Returns Display information of the final state "abort" and reason.

Note: The following fields are mutually exclusive: abort, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::AbortInfo)

    Display information of the final state "abort" and reason.

    Note: The following fields are mutually exclusive: abort, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#app_engine_version::Google::Cloud::NetworkManagement::V1::AppEngineVersionInfo

Returns Display information of an App Engine service version.

Note: The following fields are mutually exclusive: app_engine_version, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::AppEngineVersionInfo)

    Display information of an App Engine service version.

    Note: The following fields are mutually exclusive: app_engine_version, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#causes_drop::Boolean

Returns This is a step that leads to the final state Drop.

Returns:

  • (::Boolean)

    This is a step that leads to the final state Drop.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#cloud_function::Google::Cloud::NetworkManagement::V1::CloudFunctionInfo

Returns Display information of a Cloud Function.

Note: The following fields are mutually exclusive: cloud_function, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::CloudFunctionInfo)

    Display information of a Cloud Function.

    Note: The following fields are mutually exclusive: cloud_function, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#cloud_run_revision::Google::Cloud::NetworkManagement::V1::CloudRunRevisionInfo

Returns Display information of a Cloud Run revision.

Note: The following fields are mutually exclusive: cloud_run_revision, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::CloudRunRevisionInfo)

    Display information of a Cloud Run revision.

    Note: The following fields are mutually exclusive: cloud_run_revision, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#cloud_sql_instance::Google::Cloud::NetworkManagement::V1::CloudSQLInstanceInfo

Returns Display information of a Cloud SQL instance.

Note: The following fields are mutually exclusive: cloud_sql_instance, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::CloudSQLInstanceInfo)

    Display information of a Cloud SQL instance.

    Note: The following fields are mutually exclusive: cloud_sql_instance, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#deliver::Google::Cloud::NetworkManagement::V1::DeliverInfo

Returns Display information of the final state "deliver" and reason.

Note: The following fields are mutually exclusive: deliver, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::DeliverInfo)

    Display information of the final state "deliver" and reason.

    Note: The following fields are mutually exclusive: deliver, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#description::String

Returns A description of the step. Usually this is a summary of the state.

Returns:

  • (::String)

    A description of the step. Usually this is a summary of the state.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#direct_vpc_egress_connection::Google::Cloud::NetworkManagement::V1::DirectVpcEgressConnectionInfo

Returns Display information of a serverless direct VPC egress connection.

Note: The following fields are mutually exclusive: direct_vpc_egress_connection, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::DirectVpcEgressConnectionInfo)

    Display information of a serverless direct VPC egress connection.

    Note: The following fields are mutually exclusive: direct_vpc_egress_connection, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#drop::Google::Cloud::NetworkManagement::V1::DropInfo

Returns Display information of the final state "drop" and reason.

Note: The following fields are mutually exclusive: drop, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::DropInfo)

    Display information of the final state "drop" and reason.

    Note: The following fields are mutually exclusive: drop, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#endpoint::Google::Cloud::NetworkManagement::V1::EndpointInfo

Returns Display information of the source and destination under analysis. The endpoint information in an intermediate state may differ with the initial input, as it might be modified by state like NAT, or Connection Proxy.

Note: The following fields are mutually exclusive: endpoint, instance, firewall, route, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::EndpointInfo)

    Display information of the source and destination under analysis. The endpoint information in an intermediate state may differ with the initial input, as it might be modified by state like NAT, or Connection Proxy.

    Note: The following fields are mutually exclusive: endpoint, instance, firewall, route, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#firewall::Google::Cloud::NetworkManagement::V1::FirewallInfo

Returns Display information of a Compute Engine firewall rule.

Note: The following fields are mutually exclusive: firewall, instance, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::FirewallInfo)

    Display information of a Compute Engine firewall rule.

    Note: The following fields are mutually exclusive: firewall, instance, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#forward::Google::Cloud::NetworkManagement::V1::ForwardInfo

Returns Display information of the final state "forward" and reason.

Note: The following fields are mutually exclusive: forward, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::ForwardInfo)

    Display information of the final state "forward" and reason.

    Note: The following fields are mutually exclusive: forward, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#forwarding_rule::Google::Cloud::NetworkManagement::V1::ForwardingRuleInfo

Returns Display information of a Compute Engine forwarding rule.

Note: The following fields are mutually exclusive: forwarding_rule, instance, firewall, route, endpoint, google_service, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::ForwardingRuleInfo)

    Display information of a Compute Engine forwarding rule.

    Note: The following fields are mutually exclusive: forwarding_rule, instance, firewall, route, endpoint, google_service, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#gke_master::Google::Cloud::NetworkManagement::V1::GKEMasterInfo

Returns Display information of a Google Kubernetes Engine cluster master.

Note: The following fields are mutually exclusive: gke_master, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::GKEMasterInfo)

    Display information of a Google Kubernetes Engine cluster master.

    Note: The following fields are mutually exclusive: gke_master, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#google_service::Google::Cloud::NetworkManagement::V1::GoogleServiceInfo

Returns Display information of a Google service

Note: The following fields are mutually exclusive: google_service, instance, firewall, route, endpoint, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::GoogleServiceInfo)

    Display information of a Google service

    Note: The following fields are mutually exclusive: google_service, instance, firewall, route, endpoint, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#instance::Google::Cloud::NetworkManagement::V1::InstanceInfo

Returns Display information of a Compute Engine instance.

Note: The following fields are mutually exclusive: instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::InstanceInfo)

    Display information of a Compute Engine instance.

    Note: The following fields are mutually exclusive: instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#load_balancer::Google::Cloud::NetworkManagement::V1::LoadBalancerInfo

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Display information of the load balancers. Deprecated in favor of the load_balancer_backend_info field, not used in new tests.

Note: The following fields are mutually exclusive: load_balancer, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::LoadBalancerInfo)

    Display information of the load balancers. Deprecated in favor of the load_balancer_backend_info field, not used in new tests.

    Note: The following fields are mutually exclusive: load_balancer, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#load_balancer_backend_info::Google::Cloud::NetworkManagement::V1::LoadBalancerBackendInfo

Returns Display information of a specific load balancer backend.

Note: The following fields are mutually exclusive: load_balancer_backend_info, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::LoadBalancerBackendInfo)

    Display information of a specific load balancer backend.

    Note: The following fields are mutually exclusive: load_balancer_backend_info, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#nat::Google::Cloud::NetworkManagement::V1::NatInfo

Returns Display information of a NAT.

Note: The following fields are mutually exclusive: nat, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::NatInfo)

    Display information of a NAT.

    Note: The following fields are mutually exclusive: nat, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#network::Google::Cloud::NetworkManagement::V1::NetworkInfo

Returns Display information of a Google Cloud network.

Note: The following fields are mutually exclusive: network, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::NetworkInfo)

    Display information of a Google Cloud network.

    Note: The following fields are mutually exclusive: network, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#project_id::String

Returns Project ID that contains the configuration this step is validating.

Returns:

  • (::String)

    Project ID that contains the configuration this step is validating.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#proxy_connection::Google::Cloud::NetworkManagement::V1::ProxyConnectionInfo

Returns Display information of a ProxyConnection.

Note: The following fields are mutually exclusive: proxy_connection, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::ProxyConnectionInfo)

    Display information of a ProxyConnection.

    Note: The following fields are mutually exclusive: proxy_connection, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#redis_cluster::Google::Cloud::NetworkManagement::V1::RedisClusterInfo

Returns Display information of a Redis Cluster.

Note: The following fields are mutually exclusive: redis_cluster, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::RedisClusterInfo)

    Display information of a Redis Cluster.

    Note: The following fields are mutually exclusive: redis_cluster, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#redis_instance::Google::Cloud::NetworkManagement::V1::RedisInstanceInfo

Returns Display information of a Redis Instance.

Note: The following fields are mutually exclusive: redis_instance, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::RedisInstanceInfo)

    Display information of a Redis Instance.

    Note: The following fields are mutually exclusive: redis_instance, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#route::Google::Cloud::NetworkManagement::V1::RouteInfo

Returns Display information of a Compute Engine route.

Note: The following fields are mutually exclusive: route, instance, firewall, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::RouteInfo)

    Display information of a Compute Engine route.

    Note: The following fields are mutually exclusive: route, instance, firewall, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#serverless_external_connection::Google::Cloud::NetworkManagement::V1::ServerlessExternalConnectionInfo

Returns Display information of a serverless public (external) connection.

Note: The following fields are mutually exclusive: serverless_external_connection, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::ServerlessExternalConnectionInfo)

    Display information of a serverless public (external) connection.

    Note: The following fields are mutually exclusive: serverless_external_connection, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#serverless_neg::Google::Cloud::NetworkManagement::V1::ServerlessNegInfo

Returns Display information of a Serverless network endpoint group backend. Used only for return traces.

Note: The following fields are mutually exclusive: serverless_neg, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::ServerlessNegInfo)

    Display information of a Serverless network endpoint group backend. Used only for return traces.

    Note: The following fields are mutually exclusive: serverless_neg, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#state::Google::Cloud::NetworkManagement::V1::Step::State

Returns Each step is in one of the pre-defined states.

Returns:



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#storage_bucket::Google::Cloud::NetworkManagement::V1::StorageBucketInfo

Returns Display information of a Storage Bucket. Used only for return traces.

Note: The following fields are mutually exclusive: storage_bucket, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::StorageBucketInfo)

    Display information of a Storage Bucket. Used only for return traces.

    Note: The following fields are mutually exclusive: storage_bucket, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#vpc_connector::Google::Cloud::NetworkManagement::V1::VpcConnectorInfo

Returns Display information of a VPC connector.

Note: The following fields are mutually exclusive: vpc_connector, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::VpcConnectorInfo)

    Display information of a VPC connector.

    Note: The following fields are mutually exclusive: vpc_connector, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpn_tunnel, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#vpn_gateway::Google::Cloud::NetworkManagement::V1::VpnGatewayInfo

Returns Display information of a Compute Engine VPN gateway.

Note: The following fields are mutually exclusive: vpn_gateway, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::VpnGatewayInfo)

    Display information of a Compute Engine VPN gateway.

    Note: The following fields are mutually exclusive: vpn_gateway, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_tunnel, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end

#vpn_tunnel::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo

Returns Display information of a Compute Engine VPN tunnel.

Note: The following fields are mutually exclusive: vpn_tunnel, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo)

    Display information of a Compute Engine VPN tunnel.

    Note: The following fields are mutually exclusive: vpn_tunnel, instance, firewall, route, endpoint, google_service, forwarding_rule, vpn_gateway, vpc_connector, direct_vpc_egress_connection, serverless_external_connection, deliver, forward, abort, drop, load_balancer, network, gke_master, cloud_sql_instance, redis_instance, redis_cluster, cloud_function, app_engine_version, cloud_run_revision, nat, proxy_connection, load_balancer_backend_info, storage_bucket, serverless_neg. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 224

class Step
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Type of states that are defined in the network state machine.
  # Each step in the packet trace is in a specific state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Initial state: packet originating from a Compute Engine instance.
    # An InstanceInfo is populated with starting instance information.
    START_FROM_INSTANCE = 1

    # Initial state: packet originating from the internet.
    # The endpoint information is populated.
    START_FROM_INTERNET = 2

    # Initial state: packet originating from a Google service.
    # The google_service information is populated.
    START_FROM_GOOGLE_SERVICE = 27

    # Initial state: packet originating from a VPC or on-premises network
    # with internal source IP.
    # If the source is a VPC network visible to the user, a NetworkInfo
    # is populated with details of the network.
    START_FROM_PRIVATE_NETWORK = 3

    # Initial state: packet originating from a Google Kubernetes Engine cluster
    # master. A GKEMasterInfo is populated with starting instance information.
    START_FROM_GKE_MASTER = 21

    # Initial state: packet originating from a Cloud SQL instance.
    # A CloudSQLInstanceInfo is populated with starting instance information.
    START_FROM_CLOUD_SQL_INSTANCE = 22

    # Initial state: packet originating from a Redis instance.
    # A RedisInstanceInfo is populated with starting instance information.
    START_FROM_REDIS_INSTANCE = 32

    # Initial state: packet originating from a Redis Cluster.
    # A RedisClusterInfo is populated with starting Cluster information.
    START_FROM_REDIS_CLUSTER = 33

    # Initial state: packet originating from a Cloud Function.
    # A CloudFunctionInfo is populated with starting function information.
    START_FROM_CLOUD_FUNCTION = 23

    # Initial state: packet originating from an App Engine service version.
    # An AppEngineVersionInfo is populated with starting version information.
    START_FROM_APP_ENGINE_VERSION = 25

    # Initial state: packet originating from a Cloud Run revision.
    # A CloudRunRevisionInfo is populated with starting revision information.
    START_FROM_CLOUD_RUN_REVISION = 26

    # Initial state: packet originating from a Storage Bucket. Used only for
    # return traces.
    # The storage_bucket information is populated.
    START_FROM_STORAGE_BUCKET = 29

    # Initial state: packet originating from a published service that uses
    # Private Service Connect. Used only for return traces.
    START_FROM_PSC_PUBLISHED_SERVICE = 30

    # Initial state: packet originating from a serverless network endpoint
    # group backend. Used only for return traces.
    # The serverless_neg information is populated.
    START_FROM_SERVERLESS_NEG = 31

    # Config checking state: verify ingress firewall rule.
    APPLY_INGRESS_FIREWALL_RULE = 4

    # Config checking state: verify egress firewall rule.
    APPLY_EGRESS_FIREWALL_RULE = 5

    # Config checking state: verify route.
    APPLY_ROUTE = 6

    # Config checking state: match forwarding rule.
    APPLY_FORWARDING_RULE = 7

    # Config checking state: verify load balancer backend configuration.
    ANALYZE_LOAD_BALANCER_BACKEND = 28

    # Config checking state: packet sent or received under foreign IP
    # address and allowed.
    SPOOFING_APPROVED = 8

    # Forwarding state: arriving at a Compute Engine instance.
    ARRIVE_AT_INSTANCE = 9

    # Forwarding state: arriving at a Compute Engine internal load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10

    # Forwarding state: arriving at a Compute Engine external load balancer.
    # Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not
    # used in new tests.
    ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11

    # Forwarding state: arriving at a Cloud VPN gateway.
    ARRIVE_AT_VPN_GATEWAY = 12

    # Forwarding state: arriving at a Cloud VPN tunnel.
    ARRIVE_AT_VPN_TUNNEL = 13

    # Forwarding state: arriving at a VPC connector.
    ARRIVE_AT_VPC_CONNECTOR = 24

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through Direct VPC egress.
    DIRECT_VPC_EGRESS_CONNECTION = 35

    # Forwarding state: for packets originating from a serverless endpoint
    # forwarded through public (external) connectivity.
    SERVERLESS_EXTERNAL_CONNECTION = 36

    # Transition state: packet header translated.
    NAT = 14

    # Transition state: original connection is terminated and a new proxied
    # connection is initiated.
    PROXY_CONNECTION = 15

    # Final state: packet could be delivered.
    DELIVER = 16

    # Final state: packet could be dropped.
    DROP = 17

    # Final state: packet could be forwarded to a network with an unknown
    # configuration.
    FORWARD = 18

    # Final state: analysis is aborted.
    ABORT = 19

    # Special state: viewer of the test result does not have permission to
    # see the configuration in this step.
    VIEWER_PERMISSION_MISSING = 20
  end
end