NAME

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

SYNOPSIS

use Google::Cloud::Networkservices::V1::Mesh;

my $msg = Google::Cloud::Networkservices::V1::Mesh::Mesh->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::Mesh::Mesh->parse($bytes);

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

DESCRIPTION

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

Mesh represents a logical configuration grouping for workload to workload communication within a service mesh. Routes that point to mesh dictate how requests are routed within this logical mesh boundary.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. Name of the Mesh resource. It matches pattern `projects/*/locations/*/meshes/<mesh_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->labels() / $msg->labels($value)

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

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

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

    Type: String

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

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

    Type: Int32

    Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. This is applicable only for sidecar proxy deployments.

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

    Type: Enum (Google::Cloud::Networkservices::V1::EnvoyHeaders)

    Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.

Google::Cloud::Networkservices::V1::Mesh::ListMeshesRequest

Request used with the ListMeshes method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Int32

    Maximum number of Meshes to return per call.

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

    Type: String

    The value returned by the last `ListMeshesResponse` Indicates that this is a continuation of a prior `ListMeshes` 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::Mesh::ListMeshesResponse

Response returned by the ListMeshes method.

Inherits from Protobuf::Message.

Accessors

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

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

    List of Mesh 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` and reading across collections e.g. when attempting to list all resources across all supported locations.

Google::Cloud::Networkservices::V1::Mesh::GetMeshRequest

Request used by the GetMesh method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

Google::Cloud::Networkservices::V1::Mesh::CreateMeshRequest

Request used by the CreateMesh method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: String

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

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

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

    Required. Mesh resource to be created.

Google::Cloud::Networkservices::V1::Mesh::UpdateMeshRequest

Request used by the UpdateMesh 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 Mesh 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->mesh() / $msg->mesh($value)

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

    Required. Updated Mesh resource.

Google::Cloud::Networkservices::V1::Mesh::DeleteMeshRequest

Request used by the DeleteMesh method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.