NAME

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

SYNOPSIS

use Google::Cloud::Networkservices::V1::TlsRoute;

my $msg = Google::Cloud::Networkservices::V1::TlsRoute::TlsRoute->new({
    name => $name,
    self_link => $self_link,
    create_time => $create_time,
    update_time => $update_time,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkservices/v1/tls_route.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::TlsRoute::TlsRoute

TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/*/tlsRoutes/tls_route_name>`.

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

    Type: String

    Output only. Server-defined URL of this resource

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was updated.

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

    Type: String

    Optional. A free-text description of the resource. Max length 1024 characters.

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

    Type: Message (Google::Cloud::Networkservices::V1::TlsRoute::TlsRoute::RouteRule)

    Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.

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

    Type: String

    Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh.

    Each mesh reference should match the pattern: `projects/*/locations/*/meshes/<mesh_name>`

    The attached Mesh should be of a type SIDECAR

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

    Type: String

    Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway.

    Each gateway reference should match the pattern: `projects/*/locations/*/gateways/<gateway_name>`

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

    Type: String

    Optional. TargetProxies defines a list of TargetTcpProxies this TlsRoute is attached to, as one of the routing rules to route the requests served by the TargetTcpProxy.

    Each TargetTcpProxy reference should match the pattern: `projects/*/locations/*/targetTcpProxies/<target_tcp_proxy_name>`

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

    Type: Message (Google::Cloud::Networkservices::V1::TlsRoute::TlsRoute::LabelsEntry)

    Optional. Set of label tags associated with the TlsRoute resource.

Google::Cloud::Networkservices::V1::TlsRoute::ListTlsRoutesRequest

Request used with the ListTlsRoutes method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/*/locations/*`.

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

    Type: Int32

    Maximum number of TlsRoutes to return per call.

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

    Type: String

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

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

    Type: Bool

    Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.

Google::Cloud::Networkservices::V1::TlsRoute::ListTlsRoutesResponse

Response returned by the ListTlsRoutes method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkservices::V1::TlsRoute::TlsRoute)

    List of TlsRoute resources.

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

    Type: String

    If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.

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

    Type: String

    Unreachable resources. Populated when the request opts into [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success] and reading across collections e.g. when attempting to list all resources across all supported locations.

Google::Cloud::Networkservices::V1::TlsRoute::GetTlsRouteRequest

Request used by the GetTlsRoute method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the TlsRoute to get. Must be in the format `projects/*/locations/*/tlsRoutes/*`.

Google::Cloud::Networkservices::V1::TlsRoute::CreateTlsRouteRequest

Request used by the TlsRoute method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource of the TlsRoute. Must be in the format `projects/*/locations/*`.

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

    Type: String

    Required. Short name of the TlsRoute resource to be created.

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

    Type: Message (Google::Cloud::Networkservices::V1::TlsRoute::TlsRoute)

    Required. TlsRoute resource to be created.

Google::Cloud::Networkservices::V1::TlsRoute::UpdateTlsRouteRequest

Request used by the UpdateTlsRoute method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the TlsRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

    Type: Message (Google::Cloud::Networkservices::V1::TlsRoute::TlsRoute)

    Required. Updated TlsRoute resource.

Google::Cloud::Networkservices::V1::TlsRoute::DeleteTlsRouteRequest

Request used by the DeleteTlsRoute method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the TlsRoute to delete. Must be in the format `projects/*/locations/*/tlsRoutes/*`.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.