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.
Fields
name
Identifier. Name of the Mesh resource. It matches pattern
projects/*/locations/global/meshes/<mesh_name>.
self_link
Output only. Server-defined URL of this resource
create_time
Output only. The timestamp when the resource was created.
update_time
Output only. The timestamp when the resource was updated.
labels
Optional. Set of label tags associated with the Mesh resource.
description
Optional. A free-text description of the resource. Max length 1024 characters.
interception_port
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.
envoy_headers
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.
Implementations
new
fn new() -> Self
set_name
fn set_name<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [name][crate::model::Mesh::name].
set_self_link
fn set_self_link<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [self_link][crate::model::Mesh::self_link].
set_create_time
fn set_create_time<T>(self, v: T) -> Self
where
T: std::convert::Into<wkt::Timestamp>,
Sets the value of [create_time][crate::model::Mesh::create_time].
set_or_clear_create_time
fn set_or_clear_create_time<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<wkt::Timestamp>,
Sets or clears the value of [create_time][crate::model::Mesh::create_time].
set_update_time
fn set_update_time<T>(self, v: T) -> Self
where
T: std::convert::Into<wkt::Timestamp>,
Sets the value of [update_time][crate::model::Mesh::update_time].
set_or_clear_update_time
fn set_or_clear_update_time<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<wkt::Timestamp>,
Sets or clears the value of [update_time][crate::model::Mesh::update_time].
set_labels
fn set_labels<T, K, V>(self, v: T) -> Self
where
T: std::iter::IntoIterator,
K: std::convert::Into<std::string::String>,
V: std::convert::Into<std::string::String>,
Sets the value of [labels][crate::model::Mesh::labels].
set_description
fn set_description<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [description][crate::model::Mesh::description].
set_interception_port
fn set_interception_port<T: std::convert::Into<i32>>(self, v: T) -> Self
Sets the value of [interception_port][crate::model::Mesh::interception_port].
set_envoy_headers
fn set_envoy_headers<T>(self, v: T) -> Self
where
T: std::convert::Into<crate::model::EnvoyHeaders>,
Sets the value of [envoy_headers][crate::model::Mesh::envoy_headers].
set_or_clear_envoy_headers
fn set_or_clear_envoy_headers<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<crate::model::EnvoyHeaders>,
Sets or clears the value of [envoy_headers][crate::model::Mesh::envoy_headers].