Class: Google::Cloud::NetworkManagement::V1::NatInfo

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

Overview

For display only. Metadata associated with NAT.

Defined Under Namespace

Modules: CloudNatGatewayType, Type

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_nat_gateway_type::Google::Cloud::NetworkManagement::V1::NatInfo::CloudNatGatewayType

Returns Type of Cloud NAT gateway. Only valid when type is CLOUD_NAT.

Returns:



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#nat_gateway_name::String

Returns The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.

Returns:

  • (::String)

    The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#network_uri::String

Returns URI of the network where NAT translation takes place.

Returns:

  • (::String)

    URI of the network where NAT translation takes place.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#new_destination_ip::String

Returns Destination IP address after NAT translation.

Returns:

  • (::String)

    Destination IP address after NAT translation.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#new_destination_port::Integer

Returns Destination port after NAT translation. Only valid when protocol is TCP or UDP.

Returns:

  • (::Integer)

    Destination port after NAT translation. Only valid when protocol is TCP or UDP.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#new_source_ip::String

Returns Source IP address after NAT translation.

Returns:

  • (::String)

    Source IP address after NAT translation.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#new_source_port::Integer

Returns Source port after NAT translation. Only valid when protocol is TCP or UDP.

Returns:

  • (::Integer)

    Source port after NAT translation. Only valid when protocol is TCP or UDP.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#old_destination_ip::String

Returns Destination IP address before NAT translation.

Returns:

  • (::String)

    Destination IP address before NAT translation.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#old_destination_port::Integer

Returns Destination port before NAT translation. Only valid when protocol is TCP or UDP.

Returns:

  • (::Integer)

    Destination port before NAT translation. Only valid when protocol is TCP or UDP.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#old_source_ip::String

Returns Source IP address before NAT translation.

Returns:

  • (::String)

    Source IP address before NAT translation.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#old_source_port::Integer

Returns Source port before NAT translation. Only valid when protocol is TCP or UDP.

Returns:

  • (::Integer)

    Source port before NAT translation. Only valid when protocol is TCP or UDP.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#protocol::String

Returns IP protocol in string format, for example: "TCP", "UDP", "ICMP".

Returns:

  • (::String)

    IP protocol in string format, for example: "TCP", "UDP", "ICMP".



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#router_uri::String

Returns Uri of the Cloud Router. Only valid when type is CLOUD_NAT.

Returns:

  • (::String)

    Uri of the Cloud Router. Only valid when type is CLOUD_NAT.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end

#type::Google::Cloud::NetworkManagement::V1::NatInfo::Type

Returns Type of NAT.



2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 2381

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

  # Types of NAT.
  module Type
    # Type is unspecified.
    TYPE_UNSPECIFIED = 0

    # From Compute Engine instance's internal address to external address.
    INTERNAL_TO_EXTERNAL = 1

    # From Compute Engine instance's external address to internal address.
    EXTERNAL_TO_INTERNAL = 2

    # Cloud NAT Gateway.
    CLOUD_NAT = 3

    # Private service connect NAT.
    PRIVATE_SERVICE_CONNECT = 4

    # GKE Pod IP address masquerading.
    GKE_POD_IP_MASQUERADING = 5
  end

  # Types of Cloud NAT gateway.
  module CloudNatGatewayType
    # Type is unspecified.
    CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED = 0

    # Public NAT gateway.
    PUBLIC_NAT44 = 1

    # Public NAT64 gateway.
    PUBLIC_NAT64 = 2

    # Private NAT gateway for NCC.
    PRIVATE_NAT_NCC = 3

    # Private NAT gateway for hybrid connectivity.
    PRIVATE_NAT_HYBRID = 4

    # Private NAT64 gateway.
    PRIVATE_NAT64 = 5
  end
end