Class: Google::Cloud::NetworkServices::V1::TlsRoute

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkservices/v1/tls_route.rb

Overview

TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.

Defined Under Namespace

Classes: RouteAction, RouteDestination, RouteMatch, RouteRule

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the resource was created.

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/cloud/networkservices/v1/tls_route.rb', line 64

class TlsRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies how to match traffic and how to route traffic when traffic is
  # matched.
  # @!attribute [rw] matches
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>]
  #     Required. RouteMatch defines the predicate used to match requests to a
  #     given action. Multiple match types are "OR"ed for evaluation.
  # @!attribute [rw] action
  #   @return [::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction]
  #     Required. The detailed rule defining how to route matched traffic.
  class RouteRule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # RouteMatch defines the predicate used to match requests to a given action.
  # Multiple match types are "AND"ed for evaluation.
  # If no routeMatch field is specified, this rule will unconditionally match
  # traffic.
  # @!attribute [rw] sni_host
  #   @return [::Array<::String>]
  #     Optional. SNI (server name indicator) to match against.
  #     SNI will be matched against all wildcard domains, i.e. `www.example.com`
  #     will be first matched against `www.example.com`, then `*.example.com`,
  #     then `*.com.`
  #     Partial wildcards are not supported, and values like *w.example.com are
  #     invalid.
  #     At least one of sni_host and alpn is required.
  #     Up to 5 sni hosts across all matches can be set.
  # @!attribute [rw] alpn
  #   @return [::Array<::String>]
  #     Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
  #     Examples: "http/1.1", "h2".
  #     At least one of sni_host and alpn is required.
  #     Up to 5 alpns across all matches can be set.
  class RouteMatch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The specifications for routing traffic and applying associated policies.
  # @!attribute [rw] destinations
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>]
  #     Required. The destination services to which traffic should be forwarded.
  #     At least one destination service is required.
  class RouteAction
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describe the destination for traffic to be routed to.
  # @!attribute [rw] service_name
  #   @return [::String]
  #     Required. The URL of a BackendService to route traffic to.
  # @!attribute [rw] weight
  #   @return [::Integer]
  #     Optional. Specifies the proportion of requests forwareded to the backend
  #     referenced by the service_name field. This is computed as:
  #     - weight/Sum(weights in destinations)
  #     Weights in all destinations does not need to sum up to 100.
  class RouteDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#description::String

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



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/cloud/networkservices/v1/tls_route.rb', line 64

class TlsRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies how to match traffic and how to route traffic when traffic is
  # matched.
  # @!attribute [rw] matches
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>]
  #     Required. RouteMatch defines the predicate used to match requests to a
  #     given action. Multiple match types are "OR"ed for evaluation.
  # @!attribute [rw] action
  #   @return [::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction]
  #     Required. The detailed rule defining how to route matched traffic.
  class RouteRule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # RouteMatch defines the predicate used to match requests to a given action.
  # Multiple match types are "AND"ed for evaluation.
  # If no routeMatch field is specified, this rule will unconditionally match
  # traffic.
  # @!attribute [rw] sni_host
  #   @return [::Array<::String>]
  #     Optional. SNI (server name indicator) to match against.
  #     SNI will be matched against all wildcard domains, i.e. `www.example.com`
  #     will be first matched against `www.example.com`, then `*.example.com`,
  #     then `*.com.`
  #     Partial wildcards are not supported, and values like *w.example.com are
  #     invalid.
  #     At least one of sni_host and alpn is required.
  #     Up to 5 sni hosts across all matches can be set.
  # @!attribute [rw] alpn
  #   @return [::Array<::String>]
  #     Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
  #     Examples: "http/1.1", "h2".
  #     At least one of sni_host and alpn is required.
  #     Up to 5 alpns across all matches can be set.
  class RouteMatch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The specifications for routing traffic and applying associated policies.
  # @!attribute [rw] destinations
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>]
  #     Required. The destination services to which traffic should be forwarded.
  #     At least one destination service is required.
  class RouteAction
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describe the destination for traffic to be routed to.
  # @!attribute [rw] service_name
  #   @return [::String]
  #     Required. The URL of a BackendService to route traffic to.
  # @!attribute [rw] weight
  #   @return [::Integer]
  #     Optional. Specifies the proportion of requests forwareded to the backend
  #     referenced by the service_name field. This is computed as:
  #     - weight/Sum(weights in destinations)
  #     Weights in all destinations does not need to sum up to 100.
  class RouteDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#gateways::Array<::String>

Returns 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>



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/cloud/networkservices/v1/tls_route.rb', line 64

class TlsRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies how to match traffic and how to route traffic when traffic is
  # matched.
  # @!attribute [rw] matches
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>]
  #     Required. RouteMatch defines the predicate used to match requests to a
  #     given action. Multiple match types are "OR"ed for evaluation.
  # @!attribute [rw] action
  #   @return [::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction]
  #     Required. The detailed rule defining how to route matched traffic.
  class RouteRule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # RouteMatch defines the predicate used to match requests to a given action.
  # Multiple match types are "AND"ed for evaluation.
  # If no routeMatch field is specified, this rule will unconditionally match
  # traffic.
  # @!attribute [rw] sni_host
  #   @return [::Array<::String>]
  #     Optional. SNI (server name indicator) to match against.
  #     SNI will be matched against all wildcard domains, i.e. `www.example.com`
  #     will be first matched against `www.example.com`, then `*.example.com`,
  #     then `*.com.`
  #     Partial wildcards are not supported, and values like *w.example.com are
  #     invalid.
  #     At least one of sni_host and alpn is required.
  #     Up to 5 sni hosts across all matches can be set.
  # @!attribute [rw] alpn
  #   @return [::Array<::String>]
  #     Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
  #     Examples: "http/1.1", "h2".
  #     At least one of sni_host and alpn is required.
  #     Up to 5 alpns across all matches can be set.
  class RouteMatch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The specifications for routing traffic and applying associated policies.
  # @!attribute [rw] destinations
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>]
  #     Required. The destination services to which traffic should be forwarded.
  #     At least one destination service is required.
  class RouteAction
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describe the destination for traffic to be routed to.
  # @!attribute [rw] service_name
  #   @return [::String]
  #     Required. The URL of a BackendService to route traffic to.
  # @!attribute [rw] weight
  #   @return [::Integer]
  #     Optional. Specifies the proportion of requests forwareded to the backend
  #     referenced by the service_name field. This is computed as:
  #     - weight/Sum(weights in destinations)
  #     Weights in all destinations does not need to sum up to 100.
  class RouteDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#meshes::Array<::String>

Returns 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



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/cloud/networkservices/v1/tls_route.rb', line 64

class TlsRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies how to match traffic and how to route traffic when traffic is
  # matched.
  # @!attribute [rw] matches
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>]
  #     Required. RouteMatch defines the predicate used to match requests to a
  #     given action. Multiple match types are "OR"ed for evaluation.
  # @!attribute [rw] action
  #   @return [::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction]
  #     Required. The detailed rule defining how to route matched traffic.
  class RouteRule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # RouteMatch defines the predicate used to match requests to a given action.
  # Multiple match types are "AND"ed for evaluation.
  # If no routeMatch field is specified, this rule will unconditionally match
  # traffic.
  # @!attribute [rw] sni_host
  #   @return [::Array<::String>]
  #     Optional. SNI (server name indicator) to match against.
  #     SNI will be matched against all wildcard domains, i.e. `www.example.com`
  #     will be first matched against `www.example.com`, then `*.example.com`,
  #     then `*.com.`
  #     Partial wildcards are not supported, and values like *w.example.com are
  #     invalid.
  #     At least one of sni_host and alpn is required.
  #     Up to 5 sni hosts across all matches can be set.
  # @!attribute [rw] alpn
  #   @return [::Array<::String>]
  #     Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
  #     Examples: "http/1.1", "h2".
  #     At least one of sni_host and alpn is required.
  #     Up to 5 alpns across all matches can be set.
  class RouteMatch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The specifications for routing traffic and applying associated policies.
  # @!attribute [rw] destinations
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>]
  #     Required. The destination services to which traffic should be forwarded.
  #     At least one destination service is required.
  class RouteAction
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describe the destination for traffic to be routed to.
  # @!attribute [rw] service_name
  #   @return [::String]
  #     Required. The URL of a BackendService to route traffic to.
  # @!attribute [rw] weight
  #   @return [::Integer]
  #     Optional. Specifies the proportion of requests forwareded to the backend
  #     referenced by the service_name field. This is computed as:
  #     - weight/Sum(weights in destinations)
  #     Weights in all destinations does not need to sum up to 100.
  class RouteDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

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



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/cloud/networkservices/v1/tls_route.rb', line 64

class TlsRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies how to match traffic and how to route traffic when traffic is
  # matched.
  # @!attribute [rw] matches
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>]
  #     Required. RouteMatch defines the predicate used to match requests to a
  #     given action. Multiple match types are "OR"ed for evaluation.
  # @!attribute [rw] action
  #   @return [::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction]
  #     Required. The detailed rule defining how to route matched traffic.
  class RouteRule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # RouteMatch defines the predicate used to match requests to a given action.
  # Multiple match types are "AND"ed for evaluation.
  # If no routeMatch field is specified, this rule will unconditionally match
  # traffic.
  # @!attribute [rw] sni_host
  #   @return [::Array<::String>]
  #     Optional. SNI (server name indicator) to match against.
  #     SNI will be matched against all wildcard domains, i.e. `www.example.com`
  #     will be first matched against `www.example.com`, then `*.example.com`,
  #     then `*.com.`
  #     Partial wildcards are not supported, and values like *w.example.com are
  #     invalid.
  #     At least one of sni_host and alpn is required.
  #     Up to 5 sni hosts across all matches can be set.
  # @!attribute [rw] alpn
  #   @return [::Array<::String>]
  #     Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
  #     Examples: "http/1.1", "h2".
  #     At least one of sni_host and alpn is required.
  #     Up to 5 alpns across all matches can be set.
  class RouteMatch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The specifications for routing traffic and applying associated policies.
  # @!attribute [rw] destinations
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>]
  #     Required. The destination services to which traffic should be forwarded.
  #     At least one destination service is required.
  class RouteAction
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describe the destination for traffic to be routed to.
  # @!attribute [rw] service_name
  #   @return [::String]
  #     Required. The URL of a BackendService to route traffic to.
  # @!attribute [rw] weight
  #   @return [::Integer]
  #     Optional. Specifies the proportion of requests forwareded to the backend
  #     referenced by the service_name field. This is computed as:
  #     - weight/Sum(weights in destinations)
  #     Weights in all destinations does not need to sum up to 100.
  class RouteDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#rules::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteRule>

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

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/cloud/networkservices/v1/tls_route.rb', line 64

class TlsRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies how to match traffic and how to route traffic when traffic is
  # matched.
  # @!attribute [rw] matches
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>]
  #     Required. RouteMatch defines the predicate used to match requests to a
  #     given action. Multiple match types are "OR"ed for evaluation.
  # @!attribute [rw] action
  #   @return [::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction]
  #     Required. The detailed rule defining how to route matched traffic.
  class RouteRule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # RouteMatch defines the predicate used to match requests to a given action.
  # Multiple match types are "AND"ed for evaluation.
  # If no routeMatch field is specified, this rule will unconditionally match
  # traffic.
  # @!attribute [rw] sni_host
  #   @return [::Array<::String>]
  #     Optional. SNI (server name indicator) to match against.
  #     SNI will be matched against all wildcard domains, i.e. `www.example.com`
  #     will be first matched against `www.example.com`, then `*.example.com`,
  #     then `*.com.`
  #     Partial wildcards are not supported, and values like *w.example.com are
  #     invalid.
  #     At least one of sni_host and alpn is required.
  #     Up to 5 sni hosts across all matches can be set.
  # @!attribute [rw] alpn
  #   @return [::Array<::String>]
  #     Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
  #     Examples: "http/1.1", "h2".
  #     At least one of sni_host and alpn is required.
  #     Up to 5 alpns across all matches can be set.
  class RouteMatch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The specifications for routing traffic and applying associated policies.
  # @!attribute [rw] destinations
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>]
  #     Required. The destination services to which traffic should be forwarded.
  #     At least one destination service is required.
  class RouteAction
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describe the destination for traffic to be routed to.
  # @!attribute [rw] service_name
  #   @return [::String]
  #     Required. The URL of a BackendService to route traffic to.
  # @!attribute [rw] weight
  #   @return [::Integer]
  #     Optional. Specifies the proportion of requests forwareded to the backend
  #     referenced by the service_name field. This is computed as:
  #     - weight/Sum(weights in destinations)
  #     Weights in all destinations does not need to sum up to 100.
  class RouteDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

Returns Output only. Server-defined URL of this resource.

Returns:

  • (::String)

    Output only. Server-defined URL of this resource



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/cloud/networkservices/v1/tls_route.rb', line 64

class TlsRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies how to match traffic and how to route traffic when traffic is
  # matched.
  # @!attribute [rw] matches
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>]
  #     Required. RouteMatch defines the predicate used to match requests to a
  #     given action. Multiple match types are "OR"ed for evaluation.
  # @!attribute [rw] action
  #   @return [::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction]
  #     Required. The detailed rule defining how to route matched traffic.
  class RouteRule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # RouteMatch defines the predicate used to match requests to a given action.
  # Multiple match types are "AND"ed for evaluation.
  # If no routeMatch field is specified, this rule will unconditionally match
  # traffic.
  # @!attribute [rw] sni_host
  #   @return [::Array<::String>]
  #     Optional. SNI (server name indicator) to match against.
  #     SNI will be matched against all wildcard domains, i.e. `www.example.com`
  #     will be first matched against `www.example.com`, then `*.example.com`,
  #     then `*.com.`
  #     Partial wildcards are not supported, and values like *w.example.com are
  #     invalid.
  #     At least one of sni_host and alpn is required.
  #     Up to 5 sni hosts across all matches can be set.
  # @!attribute [rw] alpn
  #   @return [::Array<::String>]
  #     Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
  #     Examples: "http/1.1", "h2".
  #     At least one of sni_host and alpn is required.
  #     Up to 5 alpns across all matches can be set.
  class RouteMatch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The specifications for routing traffic and applying associated policies.
  # @!attribute [rw] destinations
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>]
  #     Required. The destination services to which traffic should be forwarded.
  #     At least one destination service is required.
  class RouteAction
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describe the destination for traffic to be routed to.
  # @!attribute [rw] service_name
  #   @return [::String]
  #     Required. The URL of a BackendService to route traffic to.
  # @!attribute [rw] weight
  #   @return [::Integer]
  #     Optional. Specifies the proportion of requests forwareded to the backend
  #     referenced by the service_name field. This is computed as:
  #     - weight/Sum(weights in destinations)
  #     Weights in all destinations does not need to sum up to 100.
  class RouteDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the resource was updated.

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/cloud/networkservices/v1/tls_route.rb', line 64

class TlsRoute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies how to match traffic and how to route traffic when traffic is
  # matched.
  # @!attribute [rw] matches
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteMatch>]
  #     Required. RouteMatch defines the predicate used to match requests to a
  #     given action. Multiple match types are "OR"ed for evaluation.
  # @!attribute [rw] action
  #   @return [::Google::Cloud::NetworkServices::V1::TlsRoute::RouteAction]
  #     Required. The detailed rule defining how to route matched traffic.
  class RouteRule
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # RouteMatch defines the predicate used to match requests to a given action.
  # Multiple match types are "AND"ed for evaluation.
  # If no routeMatch field is specified, this rule will unconditionally match
  # traffic.
  # @!attribute [rw] sni_host
  #   @return [::Array<::String>]
  #     Optional. SNI (server name indicator) to match against.
  #     SNI will be matched against all wildcard domains, i.e. `www.example.com`
  #     will be first matched against `www.example.com`, then `*.example.com`,
  #     then `*.com.`
  #     Partial wildcards are not supported, and values like *w.example.com are
  #     invalid.
  #     At least one of sni_host and alpn is required.
  #     Up to 5 sni hosts across all matches can be set.
  # @!attribute [rw] alpn
  #   @return [::Array<::String>]
  #     Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
  #     Examples: "http/1.1", "h2".
  #     At least one of sni_host and alpn is required.
  #     Up to 5 alpns across all matches can be set.
  class RouteMatch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The specifications for routing traffic and applying associated policies.
  # @!attribute [rw] destinations
  #   @return [::Array<::Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination>]
  #     Required. The destination services to which traffic should be forwarded.
  #     At least one destination service is required.
  class RouteAction
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Describe the destination for traffic to be routed to.
  # @!attribute [rw] service_name
  #   @return [::String]
  #     Required. The URL of a BackendService to route traffic to.
  # @!attribute [rw] weight
  #   @return [::Integer]
  #     Optional. Specifies the proportion of requests forwareded to the backend
  #     referenced by the service_name field. This is computed as:
  #     - weight/Sum(weights in destinations)
  #     Weights in all destinations does not need to sum up to 100.
  class RouteDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end