GoogleApi.NetworkServices.V1.Model.TcpRoute (google_api_network_services v0.11.0)
View SourceTcpRoute is the resource defining how TCP traffic should be routed by a Mesh/Gateway resource.
Attributes
-
createTime
(type:DateTime.t
, default:nil
) - Output only. The timestamp when the resource was created. -
description
(type:String.t
, default:nil
) - Optional. A free-text description of the resource. Max length 1024 characters. -
gateways
(type:list(String.t)
, default:nil
) - Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern:projects/*/locations/global/gateways/
-
labels
(type:map()
, default:nil
) - Optional. Set of label tags associated with the TcpRoute resource. -
meshes
(type:list(String.t)
, default:nil
) - Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern:projects/*/locations/global/meshes/
The attached Mesh should be of a type SIDECAR -
name
(type:String.t
, default:nil
) - Identifier. Name of the TcpRoute resource. It matches patternprojects/*/locations/global/tcpRoutes/tcp_route_name>
. -
rules
(type:list(GoogleApi.NetworkServices.V1.Model.TcpRouteRouteRule.t)
, default:nil
) - Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match. -
selfLink
(type:String.t
, default:nil
) - Output only. Server-defined URL of this resource -
updateTime
(type:DateTime.t
, default:nil
) - Output only. The timestamp when the resource was updated.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.NetworkServices.V1.Model.TcpRoute{ createTime: DateTime.t() | nil, description: String.t() | nil, gateways: [String.t()] | nil, labels: map() | nil, meshes: [String.t()] | nil, name: String.t() | nil, rules: [GoogleApi.NetworkServices.V1.Model.TcpRouteRouteRule.t()] | nil, selfLink: String.t() | nil, updateTime: DateTime.t() | nil }