google-cloud-network_services-v1 2.9.0 → 2.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/network_services/v1/dep_service/client.rb +2 -0
  4. data/lib/google/cloud/network_services/v1/dep_service/operations.rb +2 -0
  5. data/lib/google/cloud/network_services/v1/dep_service/rest/client.rb +2 -0
  6. data/lib/google/cloud/network_services/v1/dep_service/rest/operations.rb +2 -0
  7. data/lib/google/cloud/network_services/v1/network_services/client.rb +551 -26
  8. data/lib/google/cloud/network_services/v1/network_services/operations.rb +2 -0
  9. data/lib/google/cloud/network_services/v1/network_services/paths.rb +38 -0
  10. data/lib/google/cloud/network_services/v1/network_services/rest/client.rb +516 -26
  11. data/lib/google/cloud/network_services/v1/network_services/rest/operations.rb +2 -0
  12. data/lib/google/cloud/network_services/v1/network_services/rest/service_stub.rb +307 -0
  13. data/lib/google/cloud/network_services/v1/version.rb +1 -1
  14. data/lib/google/cloud/networkservices/v1/agent_gateway_pb.rb +41 -0
  15. data/lib/google/cloud/networkservices/v1/dep_pb.rb +2 -1
  16. data/lib/google/cloud/networkservices/v1/gateway_pb.rb +1 -1
  17. data/lib/google/cloud/networkservices/v1/http_route_pb.rb +2 -1
  18. data/lib/google/cloud/networkservices/v1/mesh_pb.rb +1 -1
  19. data/lib/google/cloud/networkservices/v1/network_services_pb.rb +2 -1
  20. data/lib/google/cloud/networkservices/v1/network_services_services_pb.rb +10 -0
  21. data/lib/google/cloud/networkservices/v1/service_binding_pb.rb +2 -1
  22. data/lib/google/cloud/networkservices/v1/tls_route_pb.rb +1 -1
  23. data/proto_docs/google/api/client.rb +4 -0
  24. data/proto_docs/google/cloud/networkservices/v1/agent_gateway.rb +302 -0
  25. data/proto_docs/google/cloud/networkservices/v1/common.rb +4 -4
  26. data/proto_docs/google/cloud/networkservices/v1/dep.rb +110 -7
  27. data/proto_docs/google/cloud/networkservices/v1/endpoint_policy.rb +5 -5
  28. data/proto_docs/google/cloud/networkservices/v1/extensibility.rb +90 -33
  29. data/proto_docs/google/cloud/networkservices/v1/gateway.rb +11 -1
  30. data/proto_docs/google/cloud/networkservices/v1/grpc_route.rb +7 -7
  31. data/proto_docs/google/cloud/networkservices/v1/http_route.rb +13 -7
  32. data/proto_docs/google/cloud/networkservices/v1/mesh.rb +5 -5
  33. data/proto_docs/google/cloud/networkservices/v1/tcp_route.rb +7 -7
  34. data/proto_docs/google/cloud/networkservices/v1/tls_route.rb +15 -7
  35. metadata +5 -3
@@ -62,12 +62,14 @@ module Google
62
62
  # A single extension in the chain to execute for the matching request.
63
63
  # @!attribute [rw] name
64
64
  # @return [::String]
65
- # Required. The name for this extension.
65
+ # Optional. The name for this extension.
66
66
  # The name is logged as part of the HTTP request logs.
67
67
  # The name must conform with RFC-1034, is restricted to lower-cased
68
68
  # letters, numbers and hyphens, and can have a maximum length of 63
69
69
  # characters. Additionally, the first character must be a letter and the
70
70
  # last a letter or a number.
71
+ #
72
+ # This field is required except for AuthzExtension.
71
73
  # @!attribute [rw] authority
72
74
  # @return [::String]
73
75
  # Optional. The `:authority` header in the gRPC request sent from Envoy
@@ -112,6 +114,10 @@ module Google
112
114
  #
113
115
  # For the `LbEdgeExtension` resource, this field is required and must only
114
116
  # contain `REQUEST_HEADERS` event.
117
+ #
118
+ # For the `AuthzExtension` resource, this field is optional.
119
+ # `REQUEST_HEADERS` is the only supported event. If unspecified,
120
+ # `REQUEST_HEADERS` event is assumed as supported.
115
121
  # @!attribute [rw] timeout
116
122
  # @return [::Google::Protobuf::Duration]
117
123
  # Optional. Specifies the timeout for each individual message on the
@@ -141,13 +147,27 @@ module Google
141
147
  # Optional. List of the HTTP headers to forward to the extension
142
148
  # (from the client or backend). If omitted, all headers are sent.
143
149
  # Each element is a string indicating the header name.
150
+ # @!attribute [rw] forward_attributes
151
+ # @return [::Array<::String>]
152
+ # Optional. List of the Envoy attributes to forward to the extension
153
+ # server. The attributes provided here are included as part of the
154
+ # `ProcessingRequest.attributes` field (of type
155
+ # `map<string, google.protobuf.Struct>`), where the keys are the attribute
156
+ # names. Refer to the
157
+ # [documentation](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference#attributes)
158
+ # for the names of attributes that can be forwarded. If omitted, no
159
+ # attributes are sent. Each element is a string indicating the
160
+ # attribute name.
144
161
  # @!attribute [rw] metadata
145
162
  # @return [::Google::Protobuf::Struct]
146
163
  # Optional. The metadata provided here is included as part of the
147
164
  # `metadata_context` (of type `google.protobuf.Struct`) in the
148
165
  # `ProcessingRequest` message sent to the extension server.
149
166
  #
150
- # The metadata is available under the namespace
167
+ # For `AuthzExtension` resources, the metadata is available under the
168
+ # namespace `com.google.authz_extension.<resource_name>`.
169
+ # For other types of extensions, the metadata is available under the
170
+ # namespace
151
171
  # `com.google.<extension_type>.<resource_name>.<extension_chain_name>.<extension_name>`.
152
172
  # For example:
153
173
  # `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`.
@@ -171,6 +191,45 @@ module Google
171
191
  # * The length of each key must be less than 64 characters.
172
192
  # * The length of each value must be less than 1024 characters.
173
193
  # * All values must be strings.
194
+ # @!attribute [rw] request_body_send_mode
195
+ # @return [::Google::Cloud::NetworkServices::V1::BodySendMode]
196
+ # Optional. Configures the send mode for request body processing.
197
+ #
198
+ # The field can only be set if `supported_events` includes `REQUEST_BODY`.
199
+ # If `supported_events` includes `REQUEST_BODY`,
200
+ # but `request_body_send_mode` is unset, the default value `STREAMED` is
201
+ # used.
202
+ #
203
+ # When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events`
204
+ # must include both `REQUEST_BODY` and `REQUEST_TRAILERS`.
205
+ #
206
+ # This field can be set only for `LbTrafficExtension` and
207
+ # `LbRouteExtension` resources, and only when the `service` field of the
208
+ # extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode
209
+ # is supported for `LbRouteExtension` resources.
210
+ # @!attribute [rw] response_body_send_mode
211
+ # @return [::Google::Cloud::NetworkServices::V1::BodySendMode]
212
+ # Optional. Configures the send mode for response processing. If
213
+ # unspecified, the default value `STREAMED` is used.
214
+ #
215
+ # The field can only be set if `supported_events` includes `RESPONSE_BODY`.
216
+ # If `supported_events` includes `RESPONSE_BODY`, but
217
+ # `response_body_send_mode` is unset, the default value `STREAMED` is used.
218
+ #
219
+ # When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events`
220
+ # must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`.
221
+ #
222
+ # This field can be set only for `LbTrafficExtension` resources, and only
223
+ # when the `service` field of the extension points to a `BackendService`.
224
+ # @!attribute [rw] observability_mode
225
+ # @return [::Boolean]
226
+ # Optional. When set to `true`, the calls to the extension backend are
227
+ # performed asynchronously, without pausing the processing of the ongoing
228
+ # request. In this mode, only `STREAMED` (default) body processing is
229
+ # supported. Responses, if any, are ignored.
230
+ #
231
+ # Supported by regional `LbTrafficExtension` and `LbRouteExtension`
232
+ # resources.
174
233
  class Extension
175
234
  include ::Google::Protobuf::MessageExts
176
235
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -831,15 +890,17 @@ module Google
831
890
  # resources.
832
891
  # @!attribute [rw] load_balancing_scheme
833
892
  # @return [::Google::Cloud::NetworkServices::V1::LoadBalancingScheme]
834
- # Required. All backend services and forwarding rules referenced by this
893
+ # Optional. All backend services and forwarding rules referenced by this
835
894
  # extension must share the same load balancing scheme. Supported values:
836
- # `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to
895
+ # `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. Can be omitted for AuthzExtensions
896
+ # that do not reference a backend service. For more information, refer to
837
897
  # [Backend services
838
898
  # overview](https://cloud.google.com/load-balancing/docs/backend-service).
839
899
  # @!attribute [rw] authority
840
900
  # @return [::String]
841
- # Required. The `:authority` header in the gRPC request sent from Envoy
842
- # to the extension service.
901
+ # Optional. The `:authority` header in the gRPC request sent from Envoy to
902
+ # the extension service. It is required when the `service` field points to a
903
+ # backend service or a wasm plugin.
843
904
  # @!attribute [rw] service
844
905
  # @return [::String]
845
906
  # Required. The reference to the service that runs the extension.
@@ -888,10 +949,23 @@ module Google
888
949
  # Optional. List of the HTTP headers to forward to the extension
889
950
  # (from the client). If omitted, all headers are sent.
890
951
  # Each element is a string indicating the header name.
952
+ # @!attribute [rw] forward_attributes
953
+ # @return [::Array<::String>]
954
+ # Optional. List of the Envoy attributes to forward to the extension server.
955
+ # The attributes provided here are included as part of the
956
+ # `ProcessingRequest.attributes` field (of type
957
+ # `map<string, google.protobuf.Struct>`), where the keys are the attribute
958
+ # names. Refer to the
959
+ # [documentation](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference#attributes)
960
+ # for the names of attributes that can be forwarded. If omitted, no
961
+ # attributes are sent. Each element is a string indicating the
962
+ # attribute name.
891
963
  # @!attribute [rw] wire_format
892
964
  # @return [::Google::Cloud::NetworkServices::V1::WireFormat]
893
965
  # Optional. The format of communication supported by the callout extension.
894
- # If not specified, the default value `EXT_PROC_GRPC` is used.
966
+ # This field is supported only for regional `AuthzExtension` resources. If
967
+ # not specified, the default value `EXT_PROC_GRPC` is used. Global
968
+ # `AuthzExtension` resources use the `EXT_PROC_GRPC` wire format.
895
969
  class AuthzExtension
896
970
  include ::Google::Protobuf::MessageExts
897
971
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1099,6 +1173,35 @@ module Google
1099
1173
  # `supported_events` for a client request are sent as part of the same
1100
1174
  # gRPC stream.
1101
1175
  EXT_PROC_GRPC = 1
1176
+
1177
+ # The extension service uses Envoy's `ext_authz` gRPC API. The backend
1178
+ # service for the extension must use HTTP2 or H2C as the protocol.
1179
+ # `EXT_AUTHZ_GRPC` is only supported for regional `AuthzExtension` resources.
1180
+ EXT_AUTHZ_GRPC = 3
1181
+ end
1182
+
1183
+ # The send mode for body processing.
1184
+ module BodySendMode
1185
+ # Default value. Do not use.
1186
+ BODY_SEND_MODE_UNSPECIFIED = 0
1187
+
1188
+ # Calls to the extension are executed in the streamed mode. Subsequent
1189
+ # chunks will be sent only after the previous chunks have been processed.
1190
+ #
1191
+ # The content of the body chunks is sent one way to the extension. Extension
1192
+ # may send modified chunks back.
1193
+ #
1194
+ # This is the default value if the processing mode is not specified.
1195
+ BODY_SEND_MODE_STREAMED = 1
1196
+
1197
+ # Calls are executed in the full duplex mode. Subsequent chunks will be sent
1198
+ # for processing without waiting for the response for the previous chunk or
1199
+ # for the response for `REQUEST_HEADERS` event.
1200
+ #
1201
+ # Extension can freely modify or chunk the body contents. If the extension
1202
+ # doesn't send the body contents back, the next extension in the chain or the
1203
+ # upstream will receive an empty body.
1204
+ BODY_SEND_MODE_FULL_DUPLEX_STREAMED = 2
1102
1205
  end
1103
1206
  end
1104
1207
  end
@@ -28,7 +28,7 @@ module Google
28
28
  # @!attribute [rw] name
29
29
  # @return [::String]
30
30
  # Identifier. Name of the EndpointPolicy resource. It matches pattern
31
- # `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`.
31
+ # `projects/{project}/locations/*/endpointPolicies/{endpoint_policy}`.
32
32
  # @!attribute [r] create_time
33
33
  # @return [::Google::Protobuf::Timestamp]
34
34
  # Output only. The timestamp when the resource was created.
@@ -107,7 +107,7 @@ module Google
107
107
  # @!attribute [rw] parent
108
108
  # @return [::String]
109
109
  # Required. The project and location from which the EndpointPolicies should
110
- # be listed, specified in the format `projects/*/locations/global`.
110
+ # be listed, specified in the format `projects/*/locations/*`.
111
111
  # @!attribute [rw] page_size
112
112
  # @return [::Integer]
113
113
  # Maximum number of EndpointPolicies to return per call.
@@ -151,7 +151,7 @@ module Google
151
151
  # @!attribute [rw] name
152
152
  # @return [::String]
153
153
  # Required. A name of the EndpointPolicy to get. Must be in the format
154
- # `projects/*/locations/global/endpointPolicies/*`.
154
+ # `projects/*/locations/*/endpointPolicies/*`.
155
155
  class GetEndpointPolicyRequest
156
156
  include ::Google::Protobuf::MessageExts
157
157
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -161,7 +161,7 @@ module Google
161
161
  # @!attribute [rw] parent
162
162
  # @return [::String]
163
163
  # Required. The parent resource of the EndpointPolicy. Must be in the
164
- # format `projects/*/locations/global`.
164
+ # format `projects/*/locations/*`.
165
165
  # @!attribute [rw] endpoint_policy_id
166
166
  # @return [::String]
167
167
  # Required. Short name of the EndpointPolicy resource to be created.
@@ -194,7 +194,7 @@ module Google
194
194
  # @!attribute [rw] name
195
195
  # @return [::String]
196
196
  # Required. A name of the EndpointPolicy to delete. Must be in the format
197
- # `projects/*/locations/global/endpointPolicies/*`.
197
+ # `projects/*/locations/*/endpointPolicies/*`.
198
198
  class DeleteEndpointPolicyRequest
199
199
  include ::Google::Protobuf::MessageExts
200
200
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -96,10 +96,23 @@ module Google
96
96
  # @return [::String]
97
97
  # URI of the plugin configuration stored in the Artifact Registry.
98
98
  # The configuration is provided to the plugin at runtime through
99
- # the `ON_CONFIGURE` callback. The container image must
100
- # contain only a single file with the name
101
- # `plugin.config`. When a new `WasmPluginVersion`
102
- # resource is created, the digest of the container image is saved in the
99
+ # the `ON_CONFIGURE` callback.
100
+ #
101
+ # The URI can refer to one of the following repository formats:
102
+ #
103
+ # * Container images: the `plugin_config_uri` must point to a container
104
+ # that contains a single file with the name `plugin.config`.
105
+ # When a new `WasmPluginVersion` resource is created, the digest of the
106
+ # image is saved in the `plugin_config_digest` field.
107
+ # When pulling a container image from Artifact Registry, the digest
108
+ # value is used instead of an image tag.
109
+ #
110
+ # * Generic artifacts: the `plugin_config_uri` must be in this format:
111
+ # `projects/{project}/locations/{location}/repositories/{repository}/
112
+ # genericArtifacts/\\{package}:\\{version}`.
113
+ # The specified package and version must contain a file with the name
114
+ # `plugin.config`. When a new `WasmPluginVersion` resource is
115
+ # created, the checksum of the contents of the file is saved in the
103
116
  # `plugin_config_digest` field.
104
117
  #
105
118
  # Note: The following fields are mutually exclusive: `plugin_config_uri`, `plugin_config_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
@@ -118,23 +131,38 @@ module Google
118
131
  # resource.
119
132
  # @!attribute [rw] image_uri
120
133
  # @return [::String]
121
- # Optional. URI of the container image containing the Wasm module, stored
122
- # in the Artifact Registry. The container image must contain only a single
123
- # file with the name `plugin.wasm`. When a new `WasmPluginVersion` resource
124
- # is created, the URI gets resolved to an image digest and saved in the
125
- # `image_digest` field.
134
+ # Optional. URI of the image containing the Wasm module, stored in
135
+ # Artifact Registry.
136
+ #
137
+ # The URI can refer to one of the following repository formats:
138
+ #
139
+ # * Container images: the `image_uri` must point to a container that
140
+ # contains a single file with the name `plugin.wasm`.
141
+ # When a new `WasmPluginVersion` resource is created, the digest of the
142
+ # image is saved in the `image_digest` field.
143
+ # When pulling a container image from Artifact Registry, the digest value
144
+ # is used instead of an image tag.
145
+ #
146
+ # * Generic artifacts: the `image_uri` must be in this format:
147
+ # `projects/{project}/locations/{location}/repositories/{repository}/
148
+ # genericArtifacts/\\{package}:\\{version}`.
149
+ # The specified package and version must contain a file with the name
150
+ # `plugin.wasm`. When a new `WasmPluginVersion` resource is created, the
151
+ # checksum of the contents of the file is saved in the `image_digest`
152
+ # field.
126
153
  # @!attribute [r] image_digest
127
154
  # @return [::String]
128
- # Output only. The resolved digest for the image specified in `image`.
129
- # The digest is resolved during the creation of a
130
- # `WasmPluginVersion` resource.
131
- # This field holds the digest value regardless of whether a tag or
132
- # digest was originally specified in the `image` field.
155
+ # Output only. This field holds the digest (usually checksum) value for the
156
+ # plugin image. The value is calculated based on the `image_uri` field. If
157
+ # the `image_uri` field refers to a container image, the digest value is
158
+ # obtained from the container image. If the `image_uri` field refers to
159
+ # a generic artifact, the digest value is calculated based on the
160
+ # contents of the file.
133
161
  # @!attribute [r] plugin_config_digest
134
162
  # @return [::String]
135
163
  # Output only. This field holds the digest (usually checksum) value for the
136
164
  # plugin configuration. The value is calculated based on the contents of
137
- # the `plugin_config_data` field or the container image defined by the
165
+ # `plugin_config_data` field or the image defined by the
138
166
  # `plugin_config_uri` field.
139
167
  class VersionDetails
140
168
  include ::Google::Protobuf::MessageExts
@@ -172,9 +200,9 @@ module Google
172
200
  # This field can be specified only if logging is enabled for this plugin.
173
201
  # @!attribute [rw] min_log_level
174
202
  # @return [::Google::Cloud::NetworkServices::V1::WasmPlugin::LogConfig::LogLevel]
175
- # Non-empty default. Specificies the lowest level of the plugin logs that
176
- # are exported to Cloud Logging. This setting relates to the logs generated
177
- # by using logging statements in your Wasm code.
203
+ # Non-empty default. Specifies the lowest level of the plugin logs that are
204
+ # exported to Cloud Logging. This setting relates to the logs generated by
205
+ # using logging statements in your Wasm code.
178
206
  #
179
207
  # This field is can be set only if logging is enabled for the plugin.
180
208
  #
@@ -255,10 +283,24 @@ module Google
255
283
  # @return [::String]
256
284
  # URI of the plugin configuration stored in the Artifact Registry.
257
285
  # The configuration is provided to the plugin at runtime through
258
- # the `ON_CONFIGURE` callback. The container image must contain
259
- # only a single file with the name `plugin.config`. When a
260
- # new `WasmPluginVersion` resource is created, the digest of the
261
- # container image is saved in the `plugin_config_digest` field.
286
+ # the `ON_CONFIGURE` callback.
287
+ #
288
+ # The URI can refer to one of the following repository formats:
289
+ #
290
+ # * Container images: the `plugin_config_uri` must point to a container
291
+ # that contains a single file with the name `plugin.config`.
292
+ # When a new `WasmPluginVersion` resource is created, the digest of the
293
+ # image is saved in the `plugin_config_digest` field.
294
+ # When pulling a container image from Artifact Registry, the digest
295
+ # value is used instead of an image tag.
296
+ #
297
+ # * Generic artifacts: the `plugin_config_uri` must be in this format:
298
+ # `projects/{project}/locations/{location}/repositories/{repository}/
299
+ # genericArtifacts/\\{package}:\\{version}`.
300
+ # The specified package and version must contain a file with the name
301
+ # `plugin.config`. When a new `WasmPluginVersion` resource is
302
+ # created, the checksum of the contents of the file is saved in the
303
+ # `plugin_config_digest` field.
262
304
  #
263
305
  # Note: The following fields are mutually exclusive: `plugin_config_uri`, `plugin_config_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
264
306
  # @!attribute [rw] name
@@ -281,24 +323,39 @@ module Google
281
323
  # resource.
282
324
  # @!attribute [rw] image_uri
283
325
  # @return [::String]
284
- # Optional. URI of the container image containing the plugin, stored in the
326
+ # Optional. URI of the image containing the Wasm module, stored in
285
327
  # Artifact Registry.
286
- # When a new `WasmPluginVersion` resource is created, the digest
287
- # of the container image is saved in the `image_digest` field.
288
- # When downloading an image, the digest value is used instead of an
289
- # image tag.
328
+ #
329
+ # The URI can refer to one of the following repository formats:
330
+ #
331
+ # * Container images: the `image_uri` must point to a container that
332
+ # contains a single file with the name `plugin.wasm`.
333
+ # When a new `WasmPluginVersion` resource is created, the digest of the
334
+ # image is saved in the `image_digest` field.
335
+ # When pulling a container image from Artifact Registry, the digest value
336
+ # is used instead of an image tag.
337
+ #
338
+ # * Generic artifacts: the `image_uri` must be in this format:
339
+ # `projects/{project}/locations/{location}/repositories/{repository}/
340
+ # genericArtifacts/\\{package}:\\{version}`.
341
+ # The specified package and version must contain a file with the name
342
+ # `plugin.wasm`. When a new `WasmPluginVersion` resource is created, the
343
+ # checksum of the contents of the file is saved in the `image_digest`
344
+ # field.
290
345
  # @!attribute [r] image_digest
291
346
  # @return [::String]
292
- # Output only. The resolved digest for the image specified in the `image`
293
- # field. The digest is resolved during the creation of `WasmPluginVersion`
294
- # resource. This field holds the digest value, regardless of whether a tag or
295
- # digest was originally specified in the `image` field.
347
+ # Output only. This field holds the digest (usually checksum) value for the
348
+ # plugin image. The value is calculated based on the `image_uri` field. If
349
+ # the `image_uri` field refers to a container image, the digest value is
350
+ # obtained from the container image. If the `image_uri` field refers to
351
+ # a generic artifact, the digest value is calculated based on the
352
+ # contents of the file.
296
353
  # @!attribute [r] plugin_config_digest
297
354
  # @return [::String]
298
355
  # Output only. This field holds the digest (usually checksum) value for the
299
356
  # plugin configuration. The value is calculated based on the contents of
300
- # `plugin_config_data` or the container image defined by
301
- # the `plugin_config_uri` field.
357
+ # `plugin_config_data` field or the image defined by the
358
+ # `plugin_config_uri` field.
302
359
  class WasmPluginVersion
303
360
  include ::Google::Protobuf::MessageExts
304
361
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -61,9 +61,14 @@ module Google
61
61
  # @return [::Array<::Integer>]
62
62
  # Required. One or more port numbers (1-65535), on which the Gateway will
63
63
  # receive traffic. The proxy binds to the specified ports.
64
- # Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port.
64
+ # Gateways of type 'SECURE_WEB_GATEWAY' are limited to 5 ports.
65
65
  # Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and
66
66
  # support multiple ports.
67
+ # @!attribute [rw] all_ports
68
+ # @return [::Boolean]
69
+ # Optional. If true, the Gateway will listen on all ports. This is mutually
70
+ # exclusive with the `ports` field. This field only applies to gateways of
71
+ # type 'SECURE_WEB_GATEWAY'.
67
72
  # @!attribute [rw] scope
68
73
  # @return [::String]
69
74
  # Optional. Scope determines how configuration across multiple Gateway
@@ -121,6 +126,11 @@ module Google
121
126
  # Optional. The routing mode of the Gateway.
122
127
  # This field is configurable only for gateways of type SECURE_WEB_GATEWAY.
123
128
  # This field is required for gateways of type SECURE_WEB_GATEWAY.
129
+ # @!attribute [rw] allow_global_access
130
+ # @return [::Boolean]
131
+ # Optional. If true, the gateway will allow traffic from clients outside of
132
+ # the region where the gateway is located.
133
+ # This field is configurable only for gateways of type SECURE_WEB_GATEWAY.
124
134
  class Gateway
125
135
  include ::Google::Protobuf::MessageExts
126
136
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -26,7 +26,7 @@ module Google
26
26
  # @!attribute [rw] name
27
27
  # @return [::String]
28
28
  # Identifier. Name of the GrpcRoute resource. It matches pattern
29
- # `projects/*/locations/global/grpcRoutes/<grpc_route_name>`
29
+ # `projects/*/locations/*/grpcRoutes/<grpc_route_name>`
30
30
  # @!attribute [r] self_link
31
31
  # @return [::String]
32
32
  # Output only. Server-defined URL of this resource
@@ -82,7 +82,7 @@ module Google
82
82
  # one of the routing rules to route the requests served by the mesh.
83
83
  #
84
84
  # Each mesh reference should match the pattern:
85
- # `projects/*/locations/global/meshes/<mesh_name>`
85
+ # `projects/*/locations/*/meshes/<mesh_name>`
86
86
  # @!attribute [rw] gateways
87
87
  # @return [::Array<::String>]
88
88
  # Optional. Gateways defines a list of gateways this GrpcRoute is attached
@@ -90,7 +90,7 @@ module Google
90
90
  # gateway.
91
91
  #
92
92
  # Each gateway reference should match the pattern:
93
- # `projects/*/locations/global/gateways/<gateway_name>`
93
+ # `projects/*/locations/*/gateways/<gateway_name>`
94
94
  # @!attribute [rw] rules
95
95
  # @return [::Array<::Google::Cloud::NetworkServices::V1::GrpcRoute::RouteRule>]
96
96
  # Required. A list of detailed rules defining how to route traffic.
@@ -378,7 +378,7 @@ module Google
378
378
  # @!attribute [rw] parent
379
379
  # @return [::String]
380
380
  # Required. The project and location from which the GrpcRoutes should be
381
- # listed, specified in the format `projects/*/locations/global`.
381
+ # listed, specified in the format `projects/*/locations/*`.
382
382
  # @!attribute [rw] page_size
383
383
  # @return [::Integer]
384
384
  # Maximum number of GrpcRoutes to return per call.
@@ -421,7 +421,7 @@ module Google
421
421
  # @!attribute [rw] name
422
422
  # @return [::String]
423
423
  # Required. A name of the GrpcRoute to get. Must be in the format
424
- # `projects/*/locations/global/grpcRoutes/*`.
424
+ # `projects/*/locations/*/grpcRoutes/*`.
425
425
  class GetGrpcRouteRequest
426
426
  include ::Google::Protobuf::MessageExts
427
427
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -431,7 +431,7 @@ module Google
431
431
  # @!attribute [rw] parent
432
432
  # @return [::String]
433
433
  # Required. The parent resource of the GrpcRoute. Must be in the
434
- # format `projects/*/locations/global`.
434
+ # format `projects/*/locations/*`.
435
435
  # @!attribute [rw] grpc_route_id
436
436
  # @return [::String]
437
437
  # Required. Short name of the GrpcRoute resource to be created.
@@ -463,7 +463,7 @@ module Google
463
463
  # @!attribute [rw] name
464
464
  # @return [::String]
465
465
  # Required. A name of the GrpcRoute to delete. Must be in the format
466
- # `projects/*/locations/global/grpcRoutes/*`.
466
+ # `projects/*/locations/*/grpcRoutes/*`.
467
467
  class DeleteGrpcRouteRequest
468
468
  include ::Google::Protobuf::MessageExts
469
469
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -26,7 +26,7 @@ module Google
26
26
  # @!attribute [rw] name
27
27
  # @return [::String]
28
28
  # Identifier. Name of the HttpRoute resource. It matches pattern
29
- # `projects/*/locations/global/httpRoutes/http_route_name>`.
29
+ # `projects/*/locations/*/httpRoutes/http_route_name>`.
30
30
  # @!attribute [r] self_link
31
31
  # @return [::String]
32
32
  # Output only. Server-defined URL of this resource
@@ -72,7 +72,7 @@ module Google
72
72
  # one of the routing rules to route the requests served by the mesh.
73
73
  #
74
74
  # Each mesh reference should match the pattern:
75
- # `projects/*/locations/global/meshes/<mesh_name>`
75
+ # `projects/*/locations/*/meshes/<mesh_name>`
76
76
  #
77
77
  # The attached Mesh should be of a type SIDECAR
78
78
  # @!attribute [rw] gateways
@@ -82,7 +82,7 @@ module Google
82
82
  # gateway.
83
83
  #
84
84
  # Each gateway reference should match the pattern:
85
- # `projects/*/locations/global/gateways/<gateway_name>`
85
+ # `projects/*/locations/*/gateways/<gateway_name>`
86
86
  # @!attribute [rw] labels
87
87
  # @return [::Google::Protobuf::Map{::String => ::String}]
88
88
  # Optional. Set of label tags associated with the HttpRoute resource.
@@ -683,7 +683,7 @@ module Google
683
683
  # @!attribute [rw] parent
684
684
  # @return [::String]
685
685
  # Required. The project and location from which the HttpRoutes should be
686
- # listed, specified in the format `projects/*/locations/global`.
686
+ # listed, specified in the format `projects/*/locations/*`.
687
687
  # @!attribute [rw] page_size
688
688
  # @return [::Integer]
689
689
  # Maximum number of HttpRoutes to return per call.
@@ -697,6 +697,9 @@ module Google
697
697
  # Optional. If true, allow partial responses for multi-regional Aggregated
698
698
  # List requests. Otherwise if one of the locations is down or unreachable,
699
699
  # the Aggregated List request will fail.
700
+ # @!attribute [rw] filter
701
+ # @return [::String]
702
+ # Optional. Filter expression to restrict the list.
700
703
  class ListHttpRoutesRequest
701
704
  include ::Google::Protobuf::MessageExts
702
705
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -726,7 +729,7 @@ module Google
726
729
  # @!attribute [rw] name
727
730
  # @return [::String]
728
731
  # Required. A name of the HttpRoute to get. Must be in the format
729
- # `projects/*/locations/global/httpRoutes/*`.
732
+ # `projects/*/locations/*/httpRoutes/*`.
730
733
  class GetHttpRouteRequest
731
734
  include ::Google::Protobuf::MessageExts
732
735
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -736,13 +739,16 @@ module Google
736
739
  # @!attribute [rw] parent
737
740
  # @return [::String]
738
741
  # Required. The parent resource of the HttpRoute. Must be in the
739
- # format `projects/*/locations/global`.
742
+ # format `projects/*/locations/*`.
740
743
  # @!attribute [rw] http_route_id
741
744
  # @return [::String]
742
745
  # Required. Short name of the HttpRoute resource to be created.
743
746
  # @!attribute [rw] http_route
744
747
  # @return [::Google::Cloud::NetworkServices::V1::HttpRoute]
745
748
  # Required. HttpRoute resource to be created.
749
+ # @!attribute [rw] request_id
750
+ # @return [::String]
751
+ # Optional. Idempotent request UUID.
746
752
  class CreateHttpRouteRequest
747
753
  include ::Google::Protobuf::MessageExts
748
754
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -768,7 +774,7 @@ module Google
768
774
  # @!attribute [rw] name
769
775
  # @return [::String]
770
776
  # Required. A name of the HttpRoute to delete. Must be in the format
771
- # `projects/*/locations/global/httpRoutes/*`.
777
+ # `projects/*/locations/*/httpRoutes/*`.
772
778
  class DeleteHttpRouteRequest
773
779
  include ::Google::Protobuf::MessageExts
774
780
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -27,7 +27,7 @@ module Google
27
27
  # @!attribute [rw] name
28
28
  # @return [::String]
29
29
  # Identifier. Name of the Mesh resource. It matches pattern
30
- # `projects/*/locations/global/meshes/<mesh_name>`.
30
+ # `projects/*/locations/*/meshes/<mesh_name>`.
31
31
  # @!attribute [r] self_link
32
32
  # @return [::String]
33
33
  # Output only. Server-defined URL of this resource
@@ -75,7 +75,7 @@ module Google
75
75
  # @!attribute [rw] parent
76
76
  # @return [::String]
77
77
  # Required. The project and location from which the Meshes should be
78
- # listed, specified in the format `projects/*/locations/global`.
78
+ # listed, specified in the format `projects/*/locations/*`.
79
79
  # @!attribute [rw] page_size
80
80
  # @return [::Integer]
81
81
  # Maximum number of Meshes to return per call.
@@ -117,7 +117,7 @@ module Google
117
117
  # @!attribute [rw] name
118
118
  # @return [::String]
119
119
  # Required. A name of the Mesh to get. Must be in the format
120
- # `projects/*/locations/global/meshes/*`.
120
+ # `projects/*/locations/*/meshes/*`.
121
121
  class GetMeshRequest
122
122
  include ::Google::Protobuf::MessageExts
123
123
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -127,7 +127,7 @@ module Google
127
127
  # @!attribute [rw] parent
128
128
  # @return [::String]
129
129
  # Required. The parent resource of the Mesh. Must be in the
130
- # format `projects/*/locations/global`.
130
+ # format `projects/*/locations/*`.
131
131
  # @!attribute [rw] mesh_id
132
132
  # @return [::String]
133
133
  # Required. Short name of the Mesh resource to be created.
@@ -159,7 +159,7 @@ module Google
159
159
  # @!attribute [rw] name
160
160
  # @return [::String]
161
161
  # Required. A name of the Mesh to delete. Must be in the format
162
- # `projects/*/locations/global/meshes/*`.
162
+ # `projects/*/locations/*/meshes/*`.
163
163
  class DeleteMeshRequest
164
164
  include ::Google::Protobuf::MessageExts
165
165
  extend ::Google::Protobuf::MessageExts::ClassMethods