NAME

Google::Cloud::Networkservices::V1::RouteView - Compiled Protocol Buffers messages for google/cloud/networkservices/v1/route_view.proto

SYNOPSIS

use Google::Cloud::Networkservices::V1::RouteView;

my $msg = Google::Cloud::Networkservices::V1::RouteView::GatewayRouteView->new({
    name => $name,
    route_project_number => $route_project_number,
    route_location => $route_location,
    route_type => $route_type,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkservices/v1/route_view.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::Networkservices::V1::RouteView::GatewayRouteView

GatewayRouteView defines view-only resource for Routes to a Gateway

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Identifier. Full path name of the GatewayRouteView resource. Format: projects/{project_number}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

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

    Type: Int64

    Output only. Project number where the route exists.

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

    Type: String

    Output only. Location where the route exists.

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

    Type: String

    Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute

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

    Type: String

    Output only. The resource id for the route.

Google::Cloud::Networkservices::V1::RouteView::MeshRouteView

MeshRouteView defines view-only resource for Routes to a Mesh

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project}/locations/{location}/meshes/{mesh}/routeViews/{route_view}

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

    Type: Int64

    Output only. Project number where the route exists.

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

    Type: String

    Output only. Location where the route exists.

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

    Type: String

    Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute

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

    Type: String

    Output only. The resource id for the route.

Google::Cloud::Networkservices::V1::RouteView::GetGatewayRouteViewRequest

Request used with the GetGatewayRouteView method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the GatewayRouteView resource. Formats: projects/{project}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

Google::Cloud::Networkservices::V1::RouteView::GetMeshRouteViewRequest

Request used with the GetMeshRouteView method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the MeshRouteView resource. Format: projects/{project}/locations/{location}/meshes/{mesh}/routeViews/{route_view}

Google::Cloud::Networkservices::V1::RouteView::ListGatewayRouteViewsRequest

Request used with the ListGatewayRouteViews method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Gateway to which a Route is associated. Formats: projects/{project}/locations/{location}/gateways/{gateway}

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

    Type: Int32

    Maximum number of GatewayRouteViews to return per call.

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

    Type: String

    The value returned by the last `ListGatewayRouteViewsResponse` Indicates that this is a continuation of a prior `ListGatewayRouteViews` call, and that the system should return the next page of data.

Google::Cloud::Networkservices::V1::RouteView::ListMeshRouteViewsRequest

Request used with the ListMeshRouteViews method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Mesh to which a Route is associated. Format: projects/{project}/locations/{location}/meshes/{mesh}

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

    Type: Int32

    Maximum number of MeshRouteViews to return per call.

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

    Type: String

    The value returned by the last `ListMeshRouteViewsResponse` Indicates that this is a continuation of a prior `ListMeshRouteViews` call, and that the system should return the next page of data.

Google::Cloud::Networkservices::V1::RouteView::ListGatewayRouteViewsResponse

Response returned by the ListGatewayRouteViews method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkservices::V1::RouteView::GatewayRouteView)

    List of GatewayRouteView resources.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

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

    Type: String

    Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

Google::Cloud::Networkservices::V1::RouteView::ListMeshRouteViewsResponse

Response returned by the ListMeshRouteViews method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkservices::V1::RouteView::MeshRouteView)

    List of MeshRouteView resources.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

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

    Type: String

    Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networkservices::V1::RouteView::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.