Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::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
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was created.
#description
def description() -> ::String
Returns
- (::String) — Optional. A free-text description of the resource. Max length 1024 characters.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. A free-text description of the resource. Max length 1024 characters.
Returns
- (::String) — Optional. A free-text description of the resource. Max length 1024 characters.
#interception_port
def interception_port() -> ::Integer
Returns
- (::Integer) — 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.
#interception_port=
def interception_port=(value) -> ::Integer
Parameter
- value (::Integer) — 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
- (::Integer) — 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.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the Mesh resource.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the Mesh resource.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the Mesh resource.
#name
def name() -> ::String
Returns
-
(::String) — Required. Name of the Mesh resource. It matches pattern
projects/*/locations/global/meshes/<mesh_name>
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Name of the Mesh resource. It matches pattern
projects/*/locations/global/meshes/<mesh_name>
.
Returns
-
(::String) — Required. Name of the Mesh resource. It matches pattern
projects/*/locations/global/meshes/<mesh_name>
.
#self_link
def self_link() -> ::String
Returns
- (::String) — Output only. Server-defined URL of this resource
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was updated.