public sealed class Mesh : IMessage<Mesh>, IEquatable<Mesh>, IDeepCloneable<Mesh>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class 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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eMesh\u003c/code\u003e class in the Network Services v1 API represents a logical grouping for workload-to-workload communication within a service mesh.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMesh\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.NetworkServices.V1\u003c/code\u003e namespace and is defined in the \u003ccode\u003eGoogle.Cloud.NetworkServices.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMesh\u003c/code\u003e instances have properties like \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eInterceptionPort\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eMeshName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eSelfLink\u003c/code\u003e, that are associated with the resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInterceptionPort\u003c/code\u003e property, if set, directs the SIDECAR proxy to listen on a specified localhost port, otherwise a port 15001 is used.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMesh\u003c/code\u003e objects are identified by a name that follows the pattern \u003ccode\u003eprojects/*/locations/global/meshes/<mesh_name>\u003c/code\u003e, and the resource provides a \u003ccode\u003eSelfLink\u003c/code\u003e property which is the server defined URL for itself.\u003c/p\u003e\n"]]],[],null,["# Network Services v1 API - Class Mesh (1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.Mesh)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.Mesh)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.Mesh)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.Mesh) \n\n public sealed class Mesh : IMessage\u003cMesh\u003e, IEquatable\u003cMesh\u003e, IDeepCloneable\u003cMesh\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class Mesh.\n\nMesh represents a logical configuration grouping for workload to workload\ncommunication within a service mesh. Routes that point to mesh dictate how\nrequests are routed within this logical mesh boundary. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Mesh \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Mesh](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.Mesh), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Mesh](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.Mesh), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Mesh](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.Mesh), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.NetworkServices.V1](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkServices.V1.dll\n\nConstructors\n------------\n\n### Mesh()\n\n public Mesh()\n\n### Mesh(Mesh)\n\n public Mesh(Mesh other)\n\nProperties\n----------\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The timestamp when the resource was created.\n\n### Description\n\n public string Description { get; set; }\n\nOptional. A free-text description of the resource. Max length 1024\ncharacters.\n\n### EnvoyHeaders\n\n public EnvoyHeaders EnvoyHeaders { get; set; }\n\nOptional. Determines if envoy will insert internal debug headers into\nupstream requests. Other Envoy headers may still be injected. By default,\nenvoy will not insert any debug headers.\n\n### HasEnvoyHeaders\n\n public bool HasEnvoyHeaders { get; }\n\nGets whether the \"envoy_headers\" field is set\n\n### InterceptionPort\n\n public int InterceptionPort { get; set; }\n\nOptional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy\nto listen on the specified port of localhost (127.0.0.1) address. The\nSIDECAR proxy will expect all traffic to be redirected to this port\nregardless of its actual ip:port destination. If unset, a port '15001' is\nused as the interception port. This is applicable only for sidecar proxy\ndeployments.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. Set of label tags associated with the Mesh resource.\n\n### MeshName\n\n public MeshName MeshName { get; set; }\n\n[MeshName](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.MeshName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.Mesh#Google_Cloud_NetworkServices_V1_Mesh_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. Name of the Mesh resource. It matches pattern\n`projects/*/locations/global/meshes/\u003cmesh_name\u003e`.\n\n### SelfLink\n\n public string SelfLink { get; set; }\n\nOutput only. Server-defined URL of this resource\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The timestamp when the resource was updated."]]