Google Cloud Network Services V1 Client - Class Mesh (0.8.2)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Network Services V1 Client 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.
Generated from protobuf message google.cloud.networkservices.v1.Mesh
Namespace
Google \ Cloud \ NetworkServices \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getName
Identifier. Name of the Mesh resource. It matches pattern
projects/*/locations/global/meshes/<mesh_name>.
Returns
Type
Description
string
setName
Identifier. Name of the Mesh resource. It matches pattern
projects/*/locations/global/meshes/<mesh_name>.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSelfLink
Output only. Server-defined URL of this resource
Returns
Type
Description
string
setSelfLink
Output only. Server-defined URL of this resource
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The timestamp when the resource was created.
Optional. A free-text description of the resource. Max length 1024
characters.
Returns
Type
Description
string
setDescription
Optional. A free-text description of the resource. Max length 1024
characters.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getInterceptionPort
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.
Returns
Type
Description
int
setInterceptionPort
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.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getEnvoyHeaders
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.
Returns
Type
Description
int
hasEnvoyHeaders
clearEnvoyHeaders
setEnvoyHeaders
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]