Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::TlsRoute.
TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was created.
#description
def description() -> ::String
- (::String) — Optional. A free-text description of the resource. Max length 1024 characters.
#description=
def description=(value) -> ::String
- value (::String) — Optional. A free-text description of the resource. Max length 1024 characters.
- (::String) — Optional. A free-text description of the resource. Max length 1024 characters.
#gateways
def gateways() -> ::Array<::String>
-
(::Array<::String>) — Optional. Gateways defines a list of gateways this TlsRoute 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/<gateway_name>
#gateways=
def gateways=(value) -> ::Array<::String>
-
value (::Array<::String>) — Optional. Gateways defines a list of gateways this TlsRoute 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/<gateway_name>
-
(::Array<::String>) — Optional. Gateways defines a list of gateways this TlsRoute 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/<gateway_name>
#meshes
def meshes() -> ::Array<::String>
-
(::Array<::String>) — Optional. Meshes defines a list of meshes this TlsRoute 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/<mesh_name>
The attached Mesh should be of a type SIDECAR
#meshes=
def meshes=(value) -> ::Array<::String>
-
value (::Array<::String>) — Optional. Meshes defines a list of meshes this TlsRoute 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/<mesh_name>
The attached Mesh should be of a type SIDECAR
-
(::Array<::String>) — Optional. Meshes defines a list of meshes this TlsRoute 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/<mesh_name>
The attached Mesh should be of a type SIDECAR
#name
def name() -> ::String
-
(::String) — Required. Name of the TlsRoute resource. It matches pattern
projects/*/locations/global/tlsRoutes/tls_route_name>
.
#name=
def name=(value) -> ::String
-
value (::String) — Required. Name of the TlsRoute resource. It matches pattern
projects/*/locations/global/tlsRoutes/tls_route_name>
.
-
(::String) — Required. Name of the TlsRoute resource. It matches pattern
projects/*/locations/global/tlsRoutes/tls_route_name>
.
#rules
def rules() -> ::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteRule>
- (::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteRule>) — 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.
#rules=
def rules=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteRule>
- value (::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteRule>) — 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.
- (::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteRule>) — 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.
#self_link
def self_link() -> ::String
- (::String) — Output only. Server-defined URL of this resource
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was updated.