Network Services V1 API - Class Google::Cloud::NetworkServices::V1::TlsRoute (v1.0.0)

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
Returns

#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.

#gateways

def gateways() -> ::Array<::String>
Returns
  • (::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>
Parameter
  • 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>

Returns
  • (::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>
Returns
  • (::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>
Parameter
  • 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

Returns
  • (::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
Returns
  • (::String) — Required. Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
Returns
  • (::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>
Returns

#rules=

def rules=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteRule>
Parameter
Returns
def self_link() -> ::String
Returns
  • (::String) — Output only. Server-defined URL of this resource

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns