NAME

Google::Cloud::Networkmanagement::V1::Trace - Compiled Protocol Buffers messages for google/cloud/networkmanagement/v1/trace.proto

SYNOPSIS

use Google::Cloud::Networkmanagement::V1::Trace;

my $msg = Google::Cloud::Networkmanagement::V1::Trace::Trace->new({
    endpoint_info => $endpoint_info,
    steps => $steps,
    forward_trace_id => $forward_trace_id,
});

# Read or update a field
my $val = $msg->endpoint_info();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Networkmanagement::V1::Trace::Trace->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkmanagement/v1/trace.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Networkmanagement::V1::Trace::Trace

Trace represents one simulated packet forwarding path.

* Each trace contains multiple ordered steps.
* Each step is in a particular state with associated configuration.
* State is categorized as final or non-final states.
* Each final state has a reason associated.
* Each trace must end with a final state (the last step).
```
|---------------------Trace----------------------|
Step1(State) Step2(State) ---  StepN(State(final))
```

Inherits from Protobuf::Message.

Accessors

  • $msg->endpoint_info() / $msg->endpoint_info($value)

    Type: Message (Google::Cloud::Networkmanagement::V1::Trace::EndpointInfo)

    Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. If there are multiple traces starting from different source locations, then the endpoint_info may be different between traces.

  • $msg->steps() / $msg->steps($value)

    Type: Message (Google::Cloud::Networkmanagement::V1::Trace::Step)

    A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).

    The steps are ordered by the processing sequence within the simulated network state machine. It is critical to preserve the order of the steps and avoid reordering or sorting them.

  • $msg->forward_trace_id() / $msg->forward_trace_id($value)

    Type: Int32

    ID of trace. For forward traces, this ID is unique for each trace. For return traces, it matches ID of associated forward trace. A single forward trace can be associated with none, one or more than one return trace.

Google::Cloud::Networkmanagement::V1::Trace::Step

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

Inherits from Protobuf::Message.

Accessors

Enum: Step::State

  • STATE_UNSPECIFIED => 0

  • START_FROM_INSTANCE => 1

  • START_FROM_INTERNET => 2

  • START_FROM_GOOGLE_SERVICE => 27

  • START_FROM_PRIVATE_NETWORK => 3

  • START_FROM_GKE_MASTER => 21

  • START_FROM_CLOUD_SQL_INSTANCE => 22

  • START_FROM_GKE_POD => 39

  • START_FROM_REDIS_INSTANCE => 32

  • START_FROM_REDIS_CLUSTER => 33

  • START_FROM_CLOUD_FUNCTION => 23

  • START_FROM_APP_ENGINE_VERSION => 25

  • START_FROM_CLOUD_RUN_REVISION => 26

  • START_FROM_CLOUD_RUN_JOB => 50

  • START_FROM_STORAGE_BUCKET => 29

  • START_FROM_PSC_PUBLISHED_SERVICE => 30

  • START_FROM_SERVERLESS_NEG => 31

  • START_FROM_DMS_PRIVATE_CONNECTION => 48

  • START_FROM_DATASTREAM_PRIVATE_CONNECTION => 49

  • APPLY_INGRESS_FIREWALL_RULE => 4

  • APPLY_EGRESS_FIREWALL_RULE => 5

  • APPLY_ROUTE => 6

  • APPLY_FORWARDING_RULE => 7

  • ANALYZE_LOAD_BALANCER_BACKEND => 28

  • SPOOFING_APPROVED => 8

  • ARRIVE_AT_INSTANCE => 9

  • ARRIVE_AT_INTERNAL_LOAD_BALANCER => 10

  • ARRIVE_AT_EXTERNAL_LOAD_BALANCER => 11

  • ARRIVE_AT_HYBRID_SUBNET => 38

  • ARRIVE_AT_VPN_GATEWAY => 12

  • ARRIVE_AT_VPN_TUNNEL => 13

  • ARRIVE_AT_INTERCONNECT_ATTACHMENT => 37

  • ARRIVE_AT_VPC_CONNECTOR => 24

  • ARRIVE_AT_GKE_POD => 44

  • DIRECT_VPC_EGRESS_CONNECTION => 35

  • SERVERLESS_EXTERNAL_CONNECTION => 36

  • NGFW_PACKET_INSPECTION => 47

  • NAT => 14

  • SKIP_GKE_POD_IP_MASQUERADING => 40

  • SKIP_GKE_INGRESS_NETWORK_POLICY => 41

  • SKIP_GKE_EGRESS_NETWORK_POLICY => 42

  • APPLY_INGRESS_GKE_NETWORK_POLICY => 45

  • APPLY_EGRESS_GKE_NETWORK_POLICY => 46

  • PROXY_CONNECTION => 15

  • DELIVER => 16

  • DROP => 17

  • FORWARD => 18

  • ABORT => 19

  • VIEWER_PERMISSION_MISSING => 20

Google::Cloud::Networkmanagement::V1::Trace::InstanceInfo

For display only. Metadata associated with a Compute Engine instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a Compute Engine instance.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of a Compute Engine instance in format "projects/{project}/zones/{zone}/instances/{instance}"

  • $msg->interface() / $msg->interface($value)

    Type: String

    Name of the network interface of a Compute Engine instance.

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of a Compute Engine network in format "projects/{project}/global/networks/{network}"

  • $msg->internal_ip() / $msg->internal_ip($value)

    Type: String

    Internal IP address of the network interface.

  • $msg->external_ip() / $msg->external_ip($value)

    Type: String

    External IP address of the network interface.

  • $msg->network_tags() / $msg->network_tags($value)

    Type: String

    Network tags configured on the instance.

  • $msg->service_account() / $msg->service_account($value)

    Type: String

    Service account authorized for the instance.

  • $msg->psc_network_attachment_uri() / $msg->psc_network_attachment_uri($value)

    Type: String

    URI of the PSC network attachment the NIC is attached to (if relevant) in format "projects/{project}/regions/{region}/networkAttachments/{network_attachment}"

  • $msg->running() / $msg->running($value)

    Type: Bool

    Indicates whether the Compute Engine instance is running. Deprecated: use the `status` field instead.

  • $msg->status() / $msg->status($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::InstanceInfo::Status)

    The status of the instance.

Enum: InstanceInfo::Status

  • STATUS_UNSPECIFIED => 0

  • RUNNING => 1

  • NOT_RUNNING => 2

Google::Cloud::Networkmanagement::V1::Trace::NetworkInfo

For display only. Metadata associated with a Compute Engine network.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a Compute Engine network.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of a Compute Engine network in format "projects/{project}/global/networks/{network}"

  • $msg->matched_subnet_uri() / $msg->matched_subnet_uri($value)

    Type: String

    URI of the subnet matching the source IP address of the test in format "projects/{project}/regions/{region}/subnetworks/{subnetwork}"

  • $msg->matched_ip_range() / $msg->matched_ip_range($value)

    Type: String

    The IP range of the subnet matching the source IP address of the test.

  • $msg->region() / $msg->region($value)

    Type: String

    The region of the subnet matching the source IP address of the test.

Google::Cloud::Networkmanagement::V1::Trace::FirewallInfo

For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a firewall policy rule.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The display name of the firewall rule. This field might be empty for firewall policy rules.

  • $msg->uri() / $msg->uri($value)

    Type: String

    The URI of the firewall rule in format "projects/{project}/global/firewalls/{firewall}". This field is not applicable to implied VPC firewall rules.

  • $msg->direction() / $msg->direction($value)

    Type: String

    Possible values: INGRESS, EGRESS

  • $msg->action() / $msg->action($value)

    Type: String

    Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP

  • $msg->priority() / $msg->priority($value)

    Type: Int32

    The priority of the firewall rule.

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    The URI of the VPC network that the firewall rule is associated with in format "projects/{project}/global/networks/{network}". This field is not applicable to hierarchical firewall policy rules.

  • $msg->target_tags() / $msg->target_tags($value)

    Type: String

    The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.

  • $msg->target_service_accounts() / $msg->target_service_accounts($value)

    Type: String

    The target service accounts specified by the firewall rule.

  • $msg->policy() / $msg->policy($value)

    Type: String

    The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.

  • $msg->policy_uri() / $msg->policy_uri($value)

    Type: String

    The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules. Format: * `locations/global/firewallPolicies/{policy_id}` (hierarchical policy) * `projects/{project_id}/global/firewallPolicies/{policy_id}` (global network firewall policy) * `projects/{project_id}/regions/{region}/firewallPolicies/{policy_id}` (regional network firewall policy)

  • $msg->firewall_rule_type() / $msg->firewall_rule_type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::FirewallInfo::FirewallRuleType)

    The firewall rule's type.

  • $msg->policy_priority() / $msg->policy_priority($value)

    Type: Int32

    The priority of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.

  • $msg->target_type() / $msg->target_type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::FirewallInfo::TargetType)

    Target type of the firewall rule.

Enum: FirewallInfo::FirewallRuleType

  • FIREWALL_RULE_TYPE_UNSPECIFIED => 0

  • HIERARCHICAL_FIREWALL_POLICY_RULE => 1

  • VPC_FIREWALL_RULE => 2

  • IMPLIED_VPC_FIREWALL_RULE => 3

  • SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE => 4

  • NETWORK_FIREWALL_POLICY_RULE => 5

  • NETWORK_REGIONAL_FIREWALL_POLICY_RULE => 6

  • SYSTEM_NETWORK_FIREWALL_POLICY_RULE => 7

  • SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE => 8

  • UNSUPPORTED_FIREWALL_POLICY_RULE => 100

  • TRACKING_STATE => 101

  • ANALYSIS_SKIPPED => 102

Enum: FirewallInfo::TargetType

  • TARGET_TYPE_UNSPECIFIED => 0

  • INSTANCES => 1

  • INTERNAL_MANAGED_LB => 2

Google::Cloud::Networkmanagement::V1::Trace::RouteInfo

For display only. Metadata associated with a Compute Engine route.

Inherits from Protobuf::Message.

Accessors

  • $msg->route_type() / $msg->route_type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::RouteInfo::RouteType)

    Type of route.

  • $msg->next_hop_type() / $msg->next_hop_type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::RouteInfo::NextHopType)

    Type of next hop.

  • $msg->route_scope() / $msg->route_scope($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::RouteInfo::RouteScope)

    Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a route.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of a route in format "projects/{project}/global/routes/{route}". SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.

  • $msg->region() / $msg->region($value)

    Type: String

    Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to. If set to "all" for POLICY_BASED route, the route applies to VLAN attachments of Cloud Interconnect in all regions.

  • $msg->dest_ip_range() / $msg->dest_ip_range($value)

    Type: String

    Destination IP range of the route.

  • $msg->next_hop() / $msg->next_hop($value)

    Type: String

    String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of a VPC network where route is located in format "projects/{project}/global/networks/{network}".

  • $msg->priority() / $msg->priority($value)

    Type: Int32

    Priority of the route.

  • $msg->instance_tags() / $msg->instance_tags($value)

    Type: String

    Instance tags of the route.

  • $msg->src_ip_range() / $msg->src_ip_range($value)

    Type: String

    Source IP address range of the route. POLICY_BASED routes only.

  • $msg->dest_port_ranges() / $msg->dest_port_ranges($value)

    Type: String

    Destination port ranges of the route. POLICY_BASED routes only.

  • $msg->src_port_ranges() / $msg->src_port_ranges($value)

    Type: String

    Source port ranges of the route. POLICY_BASED routes only.

  • $msg->protocols() / $msg->protocols($value)

    Type: String

    Protocols of the route. POLICY_BASED routes only.

  • $msg->ncc_hub_uri() / $msg->ncc_hub_uri($value)

    Type: String

    URI of the NCC Hub the route is advertised by in format "projects/{project}/locations/global/hubs/{hub}". PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.

  • $msg->ncc_spoke_uri() / $msg->ncc_spoke_uri($value)

    Type: String

    URI of the destination NCC Spoke in format "projects/{project}/locations/{location}/spokes/{spoke}" (regional) or "projects/{project}/locations/global/spokes/{spoke}" (global). PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.

  • $msg->advertised_route_source_router_uri() / $msg->advertised_route_source_router_uri($value)

    Type: String

    For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix in format "projects/{project}/regions/{region}/routers/{router}".

  • $msg->advertised_route_next_hop_uri() / $msg->advertised_route_next_hop_uri($value)

    Type: String

    For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.

  • $msg->next_hop_uri() / $msg->next_hop_uri($value)

    Type: String

    URI of the next hop resource.

  • $msg->next_hop_network_uri() / $msg->next_hop_network_uri($value)

    Type: String

    URI of a VPC network where the next hop resource is located in format "projects/{project}/global/networks/{network}".

  • $msg->originating_route_uri() / $msg->originating_route_uri($value)

    Type: String

    For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route. Format: `projects/{project_id}/global/routes/{route_id}`

  • $msg->originating_route_display_name() / $msg->originating_route_display_name($value)

    Type: String

    For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.

  • $msg->ncc_hub_route_uri() / $msg->ncc_hub_route_uri($value)

    Type: String

    For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table. Format: `projects/{project_id}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}/routes/{route_id}`

Enum: RouteInfo::RouteType

  • ROUTE_TYPE_UNSPECIFIED => 0

  • SUBNET => 1

  • STATIC => 2

  • DYNAMIC => 3

  • PEERING_SUBNET => 4

  • PEERING_STATIC => 5

  • PEERING_DYNAMIC => 6

  • POLICY_BASED => 7

  • ADVERTISED => 101

Enum: RouteInfo::NextHopType

  • NEXT_HOP_TYPE_UNSPECIFIED => 0

  • NEXT_HOP_IP => 1

  • NEXT_HOP_INSTANCE => 2

  • NEXT_HOP_NETWORK => 3

  • NEXT_HOP_PEERING => 4

  • NEXT_HOP_INTERCONNECT => 5

  • NEXT_HOP_VPN_TUNNEL => 6

  • NEXT_HOP_VPN_GATEWAY => 7

  • NEXT_HOP_INTERNET_GATEWAY => 8

  • NEXT_HOP_BLACKHOLE => 9

  • NEXT_HOP_ILB => 10

  • NEXT_HOP_ROUTER_APPLIANCE => 11

  • NEXT_HOP_NCC_HUB => 12

  • SECURE_WEB_PROXY_GATEWAY => 13

Enum: RouteInfo::RouteScope

  • ROUTE_SCOPE_UNSPECIFIED => 0

  • NETWORK => 1

  • NCC_HUB => 2

Google::Cloud::Networkmanagement::V1::Trace::GoogleServiceInfo

For display only. Details of a Google Service sending packets to a VPC network. Although the source IP might be a publicly routable address, some Google Services use special routes within Google production infrastructure to reach Compute Engine Instances. https://cloud.google.com/vpc/docs/routes#special_return_paths

Inherits from Protobuf::Message.

Accessors

Enum: GoogleServiceInfo::GoogleServiceType

  • GOOGLE_SERVICE_TYPE_UNSPECIFIED => 0

  • IAP => 1

  • GFE_PROXY_OR_HEALTH_CHECK_PROBER => 2

  • CLOUD_DNS => 3

  • GOOGLE_API => 4

  • GOOGLE_API_PSC => 5

  • GOOGLE_API_VPC_SC => 6

  • SERVERLESS_VPC_ACCESS => 7

Google::Cloud::Networkmanagement::V1::Trace::ForwardingRuleInfo

For display only. Metadata associated with a Compute Engine forwarding rule.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of the forwarding rule.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the forwarding rule in format "projects/{project}/global/forwardingRules/{forwarding_rule}" (global) or "projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}" (regional).

  • $msg->matched_protocol() / $msg->matched_protocol($value)

    Type: String

    Protocol defined in the forwarding rule that matches the packet.

  • $msg->matched_port_range() / $msg->matched_port_range($value)

    Type: String

    Port range defined in the forwarding rule that matches the packet.

  • $msg->vip() / $msg->vip($value)

    Type: String

    VIP of the forwarding rule.

  • $msg->target() / $msg->target($value)

    Type: String

    Target type of the forwarding rule.

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of a VPC network where the forwarding rule is located in format "projects/{project}/global/networks/{network}".

  • $msg->region() / $msg->region($value)

    Type: String

    Region of the forwarding rule. Set only for regional forwarding rules.

  • $msg->load_balancer_name() / $msg->load_balancer_name($value)

    Type: String

    Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).

  • $msg->psc_service_attachment_uri() / $msg->psc_service_attachment_uri($value)

    Type: String

    URI of the PSC service attachment this forwarding rule targets (if applicable) in format "projects/{project}/regions/{region}/serviceAttachments/{service_attachment}".

  • $msg->psc_google_api_target() / $msg->psc_google_api_target($value)

    Type: String

    PSC Google API target this forwarding rule targets (if applicable).

Google::Cloud::Networkmanagement::V1::Trace::LoadBalancerInfo

For display only. Metadata associated with a load balancer.

Inherits from Protobuf::Message.

Accessors

  • $msg->load_balancer_type() / $msg->load_balancer_type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::LoadBalancerInfo::LoadBalancerType)

    Type of the load balancer.

  • $msg->health_check_uri() / $msg->health_check_uri($value)

    Type: String

    URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.

  • $msg->backends() / $msg->backends($value)

    Type: Message (Google::Cloud::Networkmanagement::V1::Trace::LoadBalancerBackend)

    Information for the loadbalancer backends.

  • $msg->backend_type() / $msg->backend_type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::LoadBalancerInfo::BackendType)

    Type of load balancer's backend configuration.

  • $msg->backend_uri() / $msg->backend_uri($value)

    Type: String

    URI of the backend associated with the load balancer. Format: * `projects/{project_id}/regions/{region}/backendServices/{backend_service_id}` * `projects/{project_id}/global/backendServices/{backend_service_id}` * `projects/{project_id}/regions/{region}/targetPools/{target_pool_id}` * `projects/{project_id}/zones/{zone}/targetInstances/{target_instance_id}`

Enum: LoadBalancerInfo::LoadBalancerType

  • LOAD_BALANCER_TYPE_UNSPECIFIED => 0

  • INTERNAL_TCP_UDP => 1

  • NETWORK_TCP_UDP => 2

  • HTTP_PROXY => 3

  • TCP_PROXY => 4

  • SSL_PROXY => 5

Enum: LoadBalancerInfo::BackendType

  • BACKEND_TYPE_UNSPECIFIED => 0

  • BACKEND_SERVICE => 1

  • TARGET_POOL => 2

  • TARGET_INSTANCE => 3

Google::Cloud::Networkmanagement::V1::Trace::LoadBalancerBackend

For display only. Metadata associated with a specific load balancer backend.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a Compute Engine instance or network endpoint.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the backend instance or network endpoint. Format: * `projects/{project_id}/zones/{zone}/instances/{instance_id}` (instance) * `projects/{project_id}/zones/{zone}/networkEndpointGroups/{neg_id}` (zonal NEG) * `projects/{project_id}/regions/{region}/networkEndpointGroups/{neg_id}` (regional NEG) * `projects/{project_id}/global/networkEndpointGroups/{neg_id}` (global NEG)

  • $msg->health_check_firewall_state() / $msg->health_check_firewall_state($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::LoadBalancerBackend::HealthCheckFirewallState)

    State of the health check firewall configuration.

  • $msg->health_check_allowing_firewall_rules() / $msg->health_check_allowing_firewall_rules($value)

    Type: String

    A list of firewall rule URIs allowing probes from health check IP ranges.

  • $msg->health_check_blocking_firewall_rules() / $msg->health_check_blocking_firewall_rules($value)

    Type: String

    A list of firewall rule URIs blocking probes from health check IP ranges.

Enum: LoadBalancerBackend::HealthCheckFirewallState

  • HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED => 0

  • CONFIGURED => 1

  • MISCONFIGURED => 2

Google::Cloud::Networkmanagement::V1::Trace::HybridSubnetInfo

For display only. Metadata associated with a hybrid subnet.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a hybrid subnet.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the hybrid subnet. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`

  • $msg->region() / $msg->region($value)

    Type: String

    Name of a Google Cloud region where the hybrid subnet is configured.

Google::Cloud::Networkmanagement::V1::Trace::VpnGatewayInfo

For display only. Metadata associated with a Compute Engine VPN gateway.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a VPN gateway.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the VPN gateway. Format: * `projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}` (HA VPN gateway) * `projects/{project_id}/regions/{region}/targetVpnGateways/{target_vpn_gateway_id}` (Classic VPN gateway)

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of the VPC network where the VPN gateway is configured. Format: `projects/{project_id}/global/networks/{network_id}`

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    IP address of the VPN gateway.

  • $msg->vpn_tunnel_uri() / $msg->vpn_tunnel_uri($value)

    Type: String

    URI of the VPN tunnel associated with the VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed. Format: `projects/{project_id}/regions/{region}/vpnTunnels/{vpn_tunnel_id}`

  • $msg->region() / $msg->region($value)

    Type: String

    Name of a Google Cloud region where this VPN gateway is configured.

Google::Cloud::Networkmanagement::V1::Trace::VpnTunnelInfo

For display only. Metadata associated with a Compute Engine VPN tunnel.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a VPN tunnel.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the VPN tunnel. Format: `projects/{project_id}/regions/{region}/vpnTunnels/{vpn_tunnel_id}`

  • $msg->source_gateway() / $msg->source_gateway($value)

    Type: String

    URI of the VPN gateway at local end of the tunnel. Format: * `projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}` (HA VPN gateway) * `projects/{project_id}/regions/{region}/targetVpnGateways/{target_vpn_gateway_id}` (Classic VPN gateway)

  • $msg->remote_gateway() / $msg->remote_gateway($value)

    Type: String

    URI of a VPN gateway at remote end of the tunnel. Format: * `projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}` (GCP HA VPN gateway) * `projects/{project_id}/global/peerVpnGateways/{peer_vpn_gateway_id}` (GCP peer VPN gateway)

  • $msg->remote_gateway_ip() / $msg->remote_gateway_ip($value)

    Type: String

    Remote VPN gateway's IP address.

  • $msg->source_gateway_ip() / $msg->source_gateway_ip($value)

    Type: String

    Local VPN gateway's IP address.

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of the VPC network where the VPN tunnel is configured. Format: `projects/{project_id}/global/networks/{network_id}`

  • $msg->region() / $msg->region($value)

    Type: String

    Name of a Google Cloud region where this VPN tunnel is configured.

  • $msg->routing_type() / $msg->routing_type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::VpnTunnelInfo::RoutingType)

    Type of the routing policy.

Enum: VpnTunnelInfo::RoutingType

  • ROUTING_TYPE_UNSPECIFIED => 0

  • ROUTE_BASED => 1

  • POLICY_BASED => 2

  • DYNAMIC => 3

Google::Cloud::Networkmanagement::V1::Trace::InterconnectAttachmentInfo

For display only. Metadata associated with an Interconnect attachment.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of an Interconnect attachment.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the Interconnect attachment. Format: `projects/{project_id}/regions/{region}/interconnectAttachments/{attachment_id}`

  • $msg->interconnect_uri() / $msg->interconnect_uri($value)

    Type: String

    URI of the Interconnect. Format: `projects/{project_id}/global/interconnects/{interconnect_id}`

  • $msg->region() / $msg->region($value)

    Type: String

    Name of a Google Cloud region where the Interconnect attachment is configured.

  • $msg->cloud_router_uri() / $msg->cloud_router_uri($value)

    Type: String

    URI of the Cloud Router to be used for dynamic routing. Format: `projects/{project_id}/regions/{region}/routers/{router_id}`

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::InterconnectAttachmentInfo::Type)

    The type of interconnect attachment this is.

  • $msg->l2_attachment_matched_ip_address() / $msg->l2_attachment_matched_ip_address($value)

    Type: String

    Appliance IP address that was matched for L2_DEDICATED attachments.

Enum: InterconnectAttachmentInfo::Type

  • TYPE_UNSPECIFIED => 0

  • DEDICATED => 1

  • PARTNER => 2

  • PARTNER_PROVIDER => 3

  • L2_DEDICATED => 4

Google::Cloud::Networkmanagement::V1::Trace::EndpointInfo

For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model.

Inherits from Protobuf::Message.

Accessors

  • $msg->source_ip() / $msg->source_ip($value)

    Type: String

    Source IP address.

  • $msg->destination_ip() / $msg->destination_ip($value)

    Type: String

    Destination IP address.

  • $msg->protocol() / $msg->protocol($value)

    Type: String

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

  • $msg->source_port() / $msg->source_port($value)

    Type: Int32

    Source port. Only valid when protocol is TCP or UDP.

  • $msg->destination_port() / $msg->destination_port($value)

    Type: Int32

    Destination port. Only valid when protocol is TCP or UDP.

  • $msg->source_network_uri() / $msg->source_network_uri($value)

    Type: String

    URI of the network where this packet originates from. Format: `projects/{project_id}/global/networks/{network_id}`

  • $msg->destination_network_uri() / $msg->destination_network_uri($value)

    Type: String

    URI of the network where this packet is sent to. Format: `projects/{project_id}/global/networks/{network_id}`

  • $msg->source_agent_uri() / $msg->source_agent_uri($value)

    Type: String

    URI of the source telemetry agent this packet originates from.

Google::Cloud::Networkmanagement::V1::Trace::DeliverInfo

Details of the final state "deliver" and associated resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->target() / $msg->target($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::DeliverInfo::Target)

    Target type where the packet is delivered to.

  • $msg->resource_uri() / $msg->resource_uri($value)

    Type: String

    URI of the resource that the packet is delivered to. For example: * `"projects/{project}/zones/{zone}/instances/{instance}"` * `"projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}"`

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    IP address of the target (if applicable).

  • $msg->storage_bucket() / $msg->storage_bucket($value)

    Type: String

    Name of the Cloud Storage Bucket the packet is delivered to (if applicable).

  • $msg->psc_google_api_target() / $msg->psc_google_api_target($value)

    Type: String

    PSC Google API target the packet is delivered to (if applicable).

  • $msg->google_service_type() / $msg->google_service_type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::DeliverInfo::GoogleServiceType)

    Recognized type of a Google Service the packet is delivered to (if applicable).

Enum: DeliverInfo::Target

  • TARGET_UNSPECIFIED => 0

  • INSTANCE => 1

  • INTERNET => 2

  • GOOGLE_API => 3

  • GKE_MASTER => 4

  • CLOUD_SQL_INSTANCE => 5

  • PSC_PUBLISHED_SERVICE => 6

  • PSC_GOOGLE_API => 7

  • PSC_VPC_SC => 8

  • SERVERLESS_NEG => 9

  • STORAGE_BUCKET => 10

  • PRIVATE_NETWORK => 11

  • CLOUD_FUNCTION => 12

  • APP_ENGINE_VERSION => 13

  • CLOUD_RUN_REVISION => 14

  • GOOGLE_MANAGED_SERVICE => 15

  • REDIS_INSTANCE => 16

  • REDIS_CLUSTER => 17

  • GKE_POD => 19

  • CLOUD_RUN_JOB => 20

  • DMS_PRIVATE_CONNECTION => 21

  • DATASTREAM_PRIVATE_CONNECTION => 22

Enum: DeliverInfo::GoogleServiceType

  • GOOGLE_SERVICE_TYPE_UNSPECIFIED => 0

  • IAP => 1

  • GFE_PROXY_OR_HEALTH_CHECK_PROBER => 2

  • CLOUD_DNS => 3

  • PRIVATE_GOOGLE_ACCESS => 4

  • SERVERLESS_VPC_ACCESS => 5

Google::Cloud::Networkmanagement::V1::Trace::ForwardInfo

Details of the final state "forward" and associated resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->target() / $msg->target($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::ForwardInfo::Target)

    Target type where this packet is forwarded to.

  • $msg->resource_uri() / $msg->resource_uri($value)

    Type: String

    URI of the resource that the packet is forwarded to. Format: * `projects/{project_id}/global/networks/{network_id}` (VPC peering network) * `projects/{project_id}/regions/{region}/vpnGateways/{vpn_gateway_id}` (VPN gateway)

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    IP address of the target (if applicable).

Enum: ForwardInfo::Target

  • TARGET_UNSPECIFIED => 0

  • PEERING_VPC => 1

  • VPN_GATEWAY => 2

  • INTERCONNECT => 3

  • GKE_MASTER => 4

  • IMPORTED_CUSTOM_ROUTE_NEXT_HOP => 5

  • CLOUD_SQL_INSTANCE => 6

  • ANOTHER_PROJECT => 7

  • NCC_HUB => 8

  • ROUTER_APPLIANCE => 9

  • SECURE_WEB_PROXY_GATEWAY => 10

Google::Cloud::Networkmanagement::V1::Trace::AbortInfo

Details of the final state "abort" and associated resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->cause() / $msg->cause($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::AbortInfo::Cause)

    Causes that the analysis is aborted.

  • $msg->resource_uri() / $msg->resource_uri($value)

    Type: String

    URI of the resource that caused the abort. Format: * `projects/{project_id}/global/networks/{network_id}` (VPC network) * `projects/{project_id}/zones/{zone}/instances/{instance_id}` (VM instance)

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    IP address that caused the abort.

  • $msg->projects_missing_permission() / $msg->projects_missing_permission($value)

    Type: String

    List of project IDs the user specified in the request but lacks access to. In this case, analysis is aborted with the PERMISSION_DENIED cause.

Enum: AbortInfo::Cause

  • CAUSE_UNSPECIFIED => 0

  • UNKNOWN_NETWORK => 1

  • UNKNOWN_PROJECT => 3

  • NO_EXTERNAL_IP => 7

  • UNINTENDED_DESTINATION => 8

  • SOURCE_ENDPOINT_NOT_FOUND => 11

  • MISMATCHED_SOURCE_NETWORK => 12

  • DESTINATION_ENDPOINT_NOT_FOUND => 13

  • MISMATCHED_DESTINATION_NETWORK => 14

  • UNKNOWN_IP => 2

  • GOOGLE_MANAGED_SERVICE_UNKNOWN_IP => 32

  • SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK => 23

  • PERMISSION_DENIED => 4

  • PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS => 28

  • PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS => 29

  • PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS => 36

  • NO_SOURCE_LOCATION => 5

  • NO_SOURCE_GCP_NETWORK_LOCATION => 42

  • NO_SOURCE_NON_GCP_NETWORK_LOCATION => 43

  • NO_SOURCE_INTERNET_LOCATION => 44

  • INVALID_ARGUMENT => 6

  • TRACE_TOO_LONG => 9

  • INTERNAL_ERROR => 10

  • UNSUPPORTED => 15

  • MISMATCHED_IP_VERSION => 16

  • GKE_KONNECTIVITY_PROXY_UNSUPPORTED => 17

  • RESOURCE_CONFIG_NOT_FOUND => 18

  • VM_INSTANCE_CONFIG_NOT_FOUND => 24

  • NETWORK_CONFIG_NOT_FOUND => 25

  • FIREWALL_CONFIG_NOT_FOUND => 26

  • ROUTE_CONFIG_NOT_FOUND => 27

  • GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT => 19

  • GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT => 39

  • SOURCE_PSC_CLOUD_SQL_UNSUPPORTED => 20

  • SOURCE_EXTERNAL_CLOUD_SQL_UNSUPPORTED => 45

  • SOURCE_REDIS_CLUSTER_UNSUPPORTED => 34

  • SOURCE_REDIS_INSTANCE_UNSUPPORTED => 35

  • SOURCE_FORWARDING_RULE_UNSUPPORTED => 21

  • NON_ROUTABLE_IP_ADDRESS => 22

  • UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT => 30

  • UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG => 31

  • NO_SERVERLESS_IP_RANGES => 37

  • IP_VERSION_PROTOCOL_MISMATCH => 40

  • GKE_POD_UNKNOWN_ENDPOINT_LOCATION => 41

Google::Cloud::Networkmanagement::V1::Trace::DropInfo

Details of the final state "drop" and associated resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->cause() / $msg->cause($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::DropInfo::Cause)

    Cause that the packet is dropped.

  • $msg->resource_uri() / $msg->resource_uri($value)

    Type: String

    URI of the resource that caused the drop. Format: * `projects/{project_id}/global/firewalls/{firewall_id}` (firewall rule) * `projects/{project_id}/global/routes/{route_id}` (route)

  • $msg->source_ip() / $msg->source_ip($value)

    Type: String

    Source IP address of the dropped packet (if relevant).

  • $msg->destination_ip() / $msg->destination_ip($value)

    Type: String

    Destination IP address of the dropped packet (if relevant).

  • $msg->region() / $msg->region($value)

    Type: String

    Region of the dropped packet (if relevant).

  • $msg->source_geolocation_code() / $msg->source_geolocation_code($value)

    Type: String

    Geolocation (region code) of the source IP address (if relevant).

  • $msg->destination_geolocation_code() / $msg->destination_geolocation_code($value)

    Type: String

    Geolocation (region code) of the destination IP address (if relevant).

Enum: DropInfo::Cause

  • CAUSE_UNSPECIFIED => 0

  • UNKNOWN_EXTERNAL_ADDRESS => 1

  • FOREIGN_IP_DISALLOWED => 2

  • FIREWALL_RULE => 3

  • NO_ROUTE => 4

  • ROUTE_BLACKHOLE => 5

  • ROUTE_WRONG_NETWORK => 6

  • ROUTE_NEXT_HOP_IP_ADDRESS_NOT_RESOLVED => 42

  • ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND => 43

  • ROUTE_NEXT_HOP_INSTANCE_WRONG_NETWORK => 49

  • ROUTE_NEXT_HOP_INSTANCE_NON_PRIMARY_IP => 50

  • ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH => 51

  • ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED => 52

  • ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID => 53

  • NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS => 44

  • NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV4_ADDRESS => 109

  • NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS => 98

  • VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH => 45

  • VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH => 46

  • PRIVATE_TRAFFIC_TO_INTERNET => 7

  • PRIVATE_GOOGLE_ACCESS_DISALLOWED => 8

  • PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED => 47

  • NO_EXTERNAL_ADDRESS => 9

  • UNKNOWN_INTERNAL_ADDRESS => 10

  • FORWARDING_RULE_MISMATCH => 11

  • FORWARDING_RULE_NO_INSTANCES => 12

  • FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK => 13

  • INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS => 85

  • INSTANCE_NOT_RUNNING => 14

  • GKE_CLUSTER_NOT_RUNNING => 27

  • GKE_POD_NOT_RUNNING => 103

  • CLOUD_SQL_INSTANCE_NOT_RUNNING => 28

  • REDIS_INSTANCE_NOT_RUNNING => 68

  • REDIS_CLUSTER_NOT_RUNNING => 69

  • TRAFFIC_TYPE_BLOCKED => 15

  • GKE_MASTER_UNAUTHORIZED_ACCESS => 16

  • CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS => 17

  • DROPPED_INSIDE_GKE_SERVICE => 18

  • DROPPED_INSIDE_CLOUD_SQL_SERVICE => 19

  • DROPPED_INSIDE_DMS_PRIVATE_CONNECTION => 114

  • DROPPED_INSIDE_DATASTREAM_PRIVATE_CONNECTION => 115

  • GOOGLE_MANAGED_SERVICE_NO_PEERING => 20

  • GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT => 38

  • GKE_PSC_ENDPOINT_MISSING => 36

  • CLOUD_SQL_INSTANCE_NO_IP_ADDRESS => 21

  • GKE_CONTROL_PLANE_REGION_MISMATCH => 30

  • PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION => 31

  • GKE_CONTROL_PLANE_NO_ROUTE => 32

  • CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC => 33

  • PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION => 34

  • CLOUD_SQL_INSTANCE_NO_ROUTE => 35

  • CLOUD_SQL_CONNECTOR_REQUIRED => 63

  • CLOUD_FUNCTION_NOT_ACTIVE => 22

  • VPC_CONNECTOR_NOT_SET => 23

  • VPC_CONNECTOR_NOT_RUNNING => 24

  • VPC_CONNECTOR_SERVERLESS_TRAFFIC_BLOCKED => 60

  • VPC_CONNECTOR_HEALTH_CHECK_TRAFFIC_BLOCKED => 61

  • FORWARDING_RULE_REGION_MISMATCH => 25

  • PSC_CONNECTION_NOT_ACCEPTED => 26

  • PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK => 41

  • PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS => 48

  • PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS => 54

  • CLOUD_SQL_PSC_NEG_UNSUPPORTED => 58

  • NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT => 57

  • PSC_TRANSITIVITY_NOT_PROPAGATED => 64

  • HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED => 55

  • HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED => 56

  • CLOUD_RUN_REVISION_NOT_READY => 29

  • CLOUD_RUN_JOB_NOT_READY => 113

  • DROPPED_INSIDE_PSC_SERVICE_PRODUCER => 37

  • LOAD_BALANCER_HAS_NO_PROXY_SUBNET => 39

  • CLOUD_NAT_NO_ADDRESSES => 40

  • ROUTING_LOOP => 59

  • DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE => 62

  • LOAD_BALANCER_BACKEND_INVALID_NETWORK => 65

  • BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED => 66

  • DESTINATION_IS_PRIVATE_NAT_IP_RANGE => 67

  • DROPPED_INSIDE_REDIS_INSTANCE_SERVICE => 70

  • REDIS_INSTANCE_UNSUPPORTED_PORT => 71

  • REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS => 72

  • REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK => 73

  • REDIS_INSTANCE_NO_EXTERNAL_IP => 74

  • REDIS_INSTANCE_UNSUPPORTED_PROTOCOL => 78

  • DROPPED_INSIDE_REDIS_CLUSTER_SERVICE => 75

  • REDIS_CLUSTER_UNSUPPORTED_PORT => 76

  • REDIS_CLUSTER_NO_EXTERNAL_IP => 77

  • REDIS_CLUSTER_UNSUPPORTED_PROTOCOL => 79

  • NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION => 80

  • NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION => 81

  • NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION => 82

  • PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED => 83

  • PSC_PORT_MAPPING_PORT_MISMATCH => 86

  • PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED => 87

  • UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION => 88

  • TRAFFIC_FROM_HYBRID_ENDPOINT_TO_INTERNET_DISALLOWED => 89

  • NO_MATCHING_NAT64_GATEWAY => 90

  • NO_CONFIGURED_PRIVATE_NAT64_RULE => 107

  • LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH => 96

  • NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION => 97

  • CLOUD_NAT_PROTOCOL_UNSUPPORTED => 99

  • L2_INTERCONNECT_UNSUPPORTED_PROTOCOL => 100

  • L2_INTERCONNECT_UNSUPPORTED_PORT => 101

  • L2_INTERCONNECT_DESTINATION_IP_MISMATCH => 102

  • NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED => 104

  • HYBRID_SUBNET_REGION_MISMATCH => 105

  • HYBRID_SUBNET_NO_ROUTE => 106

  • GKE_NETWORK_POLICY => 108

  • NO_VALID_ROUTE_FROM_GOOGLE_MANAGED_NETWORK_TO_DESTINATION => 110

  • PRIVATE_CONNECTION_NO_RUNNING_INSTANCE => 111

Google::Cloud::Networkmanagement::V1::Trace::GKEMasterInfo

For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master.

Inherits from Protobuf::Message.

Accessors

  • $msg->cluster_uri() / $msg->cluster_uri($value)

    Type: String

    URI of the GKE cluster. Format: * `projects/{project_id}/locations/{location}/clusters/{cluster_id}` (regional cluster) * `projects/{project_id}/zones/{zone}/clusters/{cluster_id}` (zonal cluster)

  • $msg->cluster_network_uri() / $msg->cluster_network_uri($value)

    Type: String

    URI of the GKE cluster network. Format: `projects/{project_id}/global/networks/{network_id}`

  • $msg->internal_ip() / $msg->internal_ip($value)

    Type: String

    Internal IP address of a GKE cluster control plane.

  • $msg->external_ip() / $msg->external_ip($value)

    Type: String

    External IP address of a GKE cluster control plane.

  • $msg->dns_endpoint() / $msg->dns_endpoint($value)

    Type: String

    DNS endpoint of a GKE cluster control plane.

Google::Cloud::Networkmanagement::V1::Trace::GkePodInfo

For display only. Metadata associated with a Google Kubernetes Engine (GKE) Pod.

Inherits from Protobuf::Message.

Accessors

  • $msg->pod_uri() / $msg->pod_uri($value)

    Type: String

    URI of a GKE Pod. For Pods in regional Clusters, the URI format is: `projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}` For Pods in zonal Clusters, the URI format is: `projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}`

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of the network containing the GKE Pod. Format: `projects/{project_id}/global/networks/{network_id}`

Google::Cloud::Networkmanagement::V1::Trace::IpMasqueradingSkippedInfo

For display only. Contains information about why IP masquerading was skipped for the packet.

Inherits from Protobuf::Message.

Accessors

  • $msg->reason() / $msg->reason($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::IpMasqueradingSkippedInfo::Reason)

    Reason why IP masquerading was not applied.

  • $msg->non_masquerade_range() / $msg->non_masquerade_range($value)

    Type: String

    The matched non-masquerade IP range. Only set if reason is DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.

Enum: IpMasqueradingSkippedInfo::Reason

  • REASON_UNSPECIFIED => 0

  • DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE => 1

  • DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE => 2

  • DESTINATION_ON_SAME_NODE => 3

  • DEFAULT_SNAT_DISABLED => 4

  • NO_MASQUERADING_FOR_IPV6 => 5

  • POD_USES_NODE_NETWORK_NAMESPACE => 6

  • NO_MASQUERADING_FOR_RETURN_PACKET => 7

Google::Cloud::Networkmanagement::V1::Trace::GkeNetworkPolicyInfo

For display only. Metadata associated with a GKE Network Policy.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The name of the Network Policy.

  • $msg->uri() / $msg->uri($value)

    Type: String

    The URI of the Network Policy. Format for a Network Policy in a zonal cluster: `projects/<project_id>/zones/<zone>/clusters/<cluster>/k8s/namespaces/<namespace>/networking.k8s.io/networkpolicies/<networkpolicy>` Format for a Network Policy in a regional cluster: `projects/<project_id>/locations/<location>/clusters/<cluster>/k8s/namespaces/<namespace>/networking.k8s.io/networkpolicies/<networkpolicy>`

  • $msg->direction() / $msg->direction($value)

    Type: String

    Possible values: INGRESS, EGRESS

  • $msg->action() / $msg->action($value)

    Type: String

    Possible values: ALLOW, DENY

Google::Cloud::Networkmanagement::V1::Trace::GkeNetworkPolicySkippedInfo

For display only. Contains information about why GKE Network Policy evaluation was skipped.

Inherits from Protobuf::Message.

Accessors

Enum: GkeNetworkPolicySkippedInfo::Reason

  • REASON_UNSPECIFIED => 0

  • NETWORK_POLICY_DISABLED => 1

  • INGRESS_SOURCE_ON_SAME_NODE => 2

  • EGRESS_FROM_NODE_NETWORK_NAMESPACE_POD => 3

  • NETWORK_POLICY_NOT_APPLIED_TO_RESPONSE_TRAFFIC => 4

  • NETWORK_POLICY_ANALYSIS_UNSUPPORTED => 100

Google::Cloud::Networkmanagement::V1::Trace::CloudSQLInstanceInfo

For display only. Metadata associated with a Cloud SQL instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a Cloud SQL instance.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of a Cloud SQL instance in format "projects/{project}/instances/{instance}"

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of a Cloud SQL instance network or empty string if the instance does not have one. In format "projects/{project}/global/networks/{network}".

  • $msg->internal_ip() / $msg->internal_ip($value)

    Type: String

    Internal IP address of a Cloud SQL instance.

  • $msg->external_ip() / $msg->external_ip($value)

    Type: String

    External IP address of a Cloud SQL instance.

  • $msg->region() / $msg->region($value)

    Type: String

    Region in which the Cloud SQL instance is running.

Google::Cloud::Networkmanagement::V1::Trace::RedisInstanceInfo

For display only. Metadata associated with a Cloud Redis Instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a Cloud Redis Instance.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of a Cloud Redis Instance in format "projects/{project}/locations/{location}/instances/{instance}"

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of a Cloud Redis Instance network in format "projects/{project}/global/networks/{network}".

  • $msg->primary_endpoint_ip() / $msg->primary_endpoint_ip($value)

    Type: String

    Primary endpoint IP address of a Cloud Redis Instance.

  • $msg->read_endpoint_ip() / $msg->read_endpoint_ip($value)

    Type: String

    Read endpoint IP address of a Cloud Redis Instance (if applicable).

  • $msg->region() / $msg->region($value)

    Type: String

    Region in which the Cloud Redis Instance is defined.

Google::Cloud::Networkmanagement::V1::Trace::RedisClusterInfo

For display only. Metadata associated with a Redis Cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a Redis Cluster.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of a Redis Cluster in format "projects/{project_id}/locations/{location}/clusters/{cluster_id}"

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of the network containing the Redis Cluster endpoints in format "projects/{project_id}/global/networks/{network_id}".

  • $msg->discovery_endpoint_ip_address() / $msg->discovery_endpoint_ip_address($value)

    Type: String

    Discovery endpoint IP address of a Redis Cluster.

  • $msg->secondary_endpoint_ip_address() / $msg->secondary_endpoint_ip_address($value)

    Type: String

    Secondary endpoint IP address of a Redis Cluster.

  • $msg->location() / $msg->location($value)

    Type: String

    Name of the region in which the Redis Cluster is defined. For example, "us-central1".

Google::Cloud::Networkmanagement::V1::Trace::CloudFunctionInfo

For display only. Metadata associated with a Cloud Function.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a Cloud Function.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the Cloud Function. Format: `projects/{project_id}/locations/{location}/functions/{function_id}`

  • $msg->location() / $msg->location($value)

    Type: String

    Location in which the Cloud Function is deployed.

  • $msg->version_id() / $msg->version_id($value)

    Type: Int64

    Latest successfully deployed version id of the Cloud Function.

Google::Cloud::Networkmanagement::V1::Trace::CloudRunRevisionInfo

For display only. Metadata associated with a Cloud Run revision.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a Cloud Run revision.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the Cloud Run revision. Format: `projects/{project_id}/locations/{location}/revisions/{revision_id}`

  • $msg->location() / $msg->location($value)

    Type: String

    Location in which this revision is deployed.

  • $msg->service_uri() / $msg->service_uri($value)

    Type: String

    URI of Cloud Run service this revision belongs to. Format: `projects/{project_id}/locations/{location}/services/{service_id}` Mutually exclusive with `worker_pool_uri`.

Google::Cloud::Networkmanagement::V1::Trace::CloudRunJobInfo

For display only. Metadata associated with a Cloud Run job.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a Cloud Run job.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the Cloud Run job. Format: `projects/{project_id}/locations/{location}/jobs/{job_id}`

  • $msg->location() / $msg->location($value)

    Type: String

    Location in which this job is deployed.

Google::Cloud::Networkmanagement::V1::Trace::AppEngineVersionInfo

For display only. Metadata associated with an App Engine version.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of an App Engine version.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the App Engine version. Format: `apps/{app_id}/services/{service_id}/versions/{version_id}`

  • $msg->runtime() / $msg->runtime($value)

    Type: String

    Runtime of the App Engine version.

  • $msg->environment() / $msg->environment($value)

    Type: String

    App Engine execution environment for a version.

Google::Cloud::Networkmanagement::V1::Trace::VpcConnectorInfo

For display only. Metadata associated with a VPC connector.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Name of a VPC connector.

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of a VPC connector. Format: `projects/{project_id}/locations/{location}/connectors/{connector_id}`

  • $msg->location() / $msg->location($value)

    Type: String

    Location in which the VPC connector is deployed.

Google::Cloud::Networkmanagement::V1::Trace::DirectVpcEgressConnectionInfo

For display only. Metadata associated with a serverless direct VPC egress connection.

Inherits from Protobuf::Message.

Accessors

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of the VPC network for direct egress. Format: `projects/{project_id}/global/networks/{network_id}`

  • $msg->subnetwork_uri() / $msg->subnetwork_uri($value)

    Type: String

    URI of the subnetwork for direct egress. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`

  • $msg->selected_ip_range() / $msg->selected_ip_range($value)

    Type: String

    Selected IP range.

  • $msg->selected_ip_address() / $msg->selected_ip_address($value)

    Type: String

    Selected starting IP address, from the selected IP range.

  • $msg->region() / $msg->region($value)

    Type: String

    Region in which the Direct VPC egress is deployed.

Google::Cloud::Networkmanagement::V1::Trace::ServerlessExternalConnectionInfo

For display only. Metadata associated with a serverless public connection.

Inherits from Protobuf::Message.

Accessors

  • $msg->selected_ip_address() / $msg->selected_ip_address($value)

    Type: String

    Selected starting IP address, from the Google dynamic address pool.

Google::Cloud::Networkmanagement::V1::Trace::NatInfo

For display only. Metadata associated with NAT.

Inherits from Protobuf::Message.

Accessors

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::NatInfo::Type)

    Type of NAT.

  • $msg->protocol() / $msg->protocol($value)

    Type: String

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

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of the VPC network where NAT translation takes place. Format: `projects/{project_id}/global/networks/{network_id}`

  • $msg->old_source_ip() / $msg->old_source_ip($value)

    Type: String

    Source IP address before NAT translation.

  • $msg->new_source_ip() / $msg->new_source_ip($value)

    Type: String

    Source IP address after NAT translation.

  • $msg->old_destination_ip() / $msg->old_destination_ip($value)

    Type: String

    Destination IP address before NAT translation.

  • $msg->new_destination_ip() / $msg->new_destination_ip($value)

    Type: String

    Destination IP address after NAT translation.

  • $msg->old_source_port() / $msg->old_source_port($value)

    Type: Int32

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

  • $msg->new_source_port() / $msg->new_source_port($value)

    Type: Int32

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

  • $msg->old_destination_port() / $msg->old_destination_port($value)

    Type: Int32

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

  • $msg->new_destination_port() / $msg->new_destination_port($value)

    Type: Int32

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

  • $msg->router_uri() / $msg->router_uri($value)

    Type: String

    URI of the Cloud Router. Only valid when type is CLOUD_NAT. Format: `projects/{project_id}/regions/{region}/routers/{router_id}`

  • $msg->nat_gateway_name() / $msg->nat_gateway_name($value)

    Type: String

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

  • $msg->cloud_nat_gateway_type() / $msg->cloud_nat_gateway_type($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::NatInfo::CloudNatGatewayType)

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

Enum: NatInfo::Type

  • TYPE_UNSPECIFIED => 0

  • INTERNAL_TO_EXTERNAL => 1

  • EXTERNAL_TO_INTERNAL => 2

  • CLOUD_NAT => 3

  • PRIVATE_SERVICE_CONNECT => 4

  • GKE_POD_IP_MASQUERADING => 5

Enum: NatInfo::CloudNatGatewayType

  • CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED => 0

  • PUBLIC_NAT44 => 1

  • PUBLIC_NAT64 => 2

  • PRIVATE_NAT_NCC => 3

  • PRIVATE_NAT_HYBRID => 4

  • PRIVATE_NAT64 => 5

Google::Cloud::Networkmanagement::V1::Trace::ProxyConnectionInfo

For display only. Metadata associated with ProxyConnection.

Inherits from Protobuf::Message.

Accessors

  • $msg->protocol() / $msg->protocol($value)

    Type: String

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

  • $msg->old_source_ip() / $msg->old_source_ip($value)

    Type: String

    Source IP address of an original connection.

  • $msg->new_source_ip() / $msg->new_source_ip($value)

    Type: String

    Source IP address of a new connection.

  • $msg->old_destination_ip() / $msg->old_destination_ip($value)

    Type: String

    Destination IP address of an original connection

  • $msg->new_destination_ip() / $msg->new_destination_ip($value)

    Type: String

    Destination IP address of a new connection.

  • $msg->old_source_port() / $msg->old_source_port($value)

    Type: Int32

    Source port of an original connection. Only valid when protocol is TCP or UDP.

  • $msg->new_source_port() / $msg->new_source_port($value)

    Type: Int32

    Source port of a new connection. Only valid when protocol is TCP or UDP.

  • $msg->old_destination_port() / $msg->old_destination_port($value)

    Type: Int32

    Destination port of an original connection. Only valid when protocol is TCP or UDP.

  • $msg->new_destination_port() / $msg->new_destination_port($value)

    Type: Int32

    Destination port of a new connection. Only valid when protocol is TCP or UDP.

  • $msg->subnet_uri() / $msg->subnet_uri($value)

    Type: String

    URI of the proxy subnet. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`

  • $msg->network_uri() / $msg->network_uri($value)

    Type: String

    URI of the VPC network where connection is proxied. Format: `projects/{project_id}/global/networks/{network_id}`

Google::Cloud::Networkmanagement::V1::Trace::LoadBalancerBackendInfo

For display only. Metadata associated with the load balancer backend.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.

  • $msg->instance_uri() / $msg->instance_uri($value)

    Type: String

    URI of the backend instance (if applicable) in format "projects/{project}/zones/{zone}/instances/{instance}". Populated for instance group backends, and zonal NEG backends.

  • $msg->backend_service_uri() / $msg->backend_service_uri($value)

    Type: String

    URI of the backend service this backend belongs to (if applicable) in format "projects/{project}/regions/{region}/backendServices/{backend_service}" (regional) or "projects/{project}/global/backendServices/{backend_service}" (global).

  • $msg->instance_group_uri() / $msg->instance_group_uri($value)

    Type: String

    URI of the instance group this backend belongs to (if applicable) in format "projects/{project}/zones/{zone}/instanceGroups/{instance_group}".

  • $msg->network_endpoint_group_uri() / $msg->network_endpoint_group_uri($value)

    Type: String

    URI of the network endpoint group this backend belongs to (if applicable) Format: * `projects/{project_id}/zones/{zone}/networkEndpointGroups/{neg_id}` (zonal NEG) * `projects/{project_id}/regions/{region}/networkEndpointGroups/{neg_id}` (regional NEG) * `projects/{project_id}/global/networkEndpointGroups/{neg_id}` (global NEG)

  • $msg->backend_bucket_uri() / $msg->backend_bucket_uri($value)

    Type: String

    URI of the backend bucket this backend targets (if applicable) in format "projects/{project}/global/backendBuckets/{backend_bucket}".

  • $msg->psc_service_attachment_uri() / $msg->psc_service_attachment_uri($value)

    Type: String

    URI of the PSC service attachment this PSC NEG backend targets (if applicable) in format "projects/{project}/regions/{region}/serviceAttachments/{service_attachment}".

  • $msg->psc_google_api_target() / $msg->psc_google_api_target($value)

    Type: String

    PSC Google API target this PSC NEG backend targets (if applicable).

  • $msg->health_check_uri() / $msg->health_check_uri($value)

    Type: String

    URI of the health check attached to this backend (if applicable). Format: * `projects/{project_id}/global/healthChecks/{health_check_id}` * `projects/{project_id}/regions/{region}/healthChecks/{health_check_id}` * `projects/{project_id}/global/httpHealthChecks/{health_check_id}` (legacy)

  • $msg->health_check_firewalls_config_state() / $msg->health_check_firewalls_config_state($value)

    Type: Enum (Google::Cloud::Networkmanagement::V1::LoadBalancerBackendInfo::HealthCheckFirewallsConfigState)

    Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules

Enum: LoadBalancerBackendInfo::HealthCheckFirewallsConfigState

  • HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED => 0

  • FIREWALLS_CONFIGURED => 1

  • FIREWALLS_PARTIALLY_CONFIGURED => 2

  • FIREWALLS_NOT_CONFIGURED => 3

  • FIREWALLS_UNSUPPORTED => 4

Google::Cloud::Networkmanagement::V1::Trace::StorageBucketInfo

For display only. Metadata associated with Storage Bucket.

Inherits from Protobuf::Message.

Accessors

  • $msg->bucket() / $msg->bucket($value)

    Type: String

    Cloud Storage Bucket name.

Google::Cloud::Networkmanagement::V1::Trace::ServerlessNegInfo

For display only. Metadata associated with the serverless network endpoint group backend.

Inherits from Protobuf::Message.

Accessors

  • $msg->neg_uri() / $msg->neg_uri($value)

    Type: String

    URI of the serverless network endpoint group in format "projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}".

Google::Cloud::Networkmanagement::V1::Trace::NgfwPacketInspectionInfo

For display only. Metadata associated with a layer 7 packet inspection by the firewall.

Inherits from Protobuf::Message.

Accessors

  • $msg->security_profile_group_uri() / $msg->security_profile_group_uri($value)

    Type: String

    URI of the security profile group associated with this firewall packet inspection. Format: `organizations/{organization_id}/locations/global/securityProfileGroups/{security_profile_group_id}`

Google::Cloud::Networkmanagement::V1::Trace::PrivateConnectionInfo

For display only. Metadata associated with a Private Connection.

Inherits from Protobuf::Message.

Accessors

  • $msg->uri() / $msg->uri($value)

    Type: String

    URI of the Private Connection in format "projects/{project_id}/locations/{location}/privateConnections/{private_connection_id}"

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networkmanagement::V1::Trace::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.