google-cloud-network_services-v1 2.2.0 → 2.3.0
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.
- checksums.yaml +4 -4
- data/lib/google/cloud/network_services/v1/dep_service/client.rb +579 -24
- data/lib/google/cloud/network_services/v1/dep_service/paths.rb +19 -0
- data/lib/google/cloud/network_services/v1/dep_service/rest/client.rb +544 -24
- data/lib/google/cloud/network_services/v1/dep_service/rest/service_stub.rb +307 -0
- data/lib/google/cloud/network_services/v1/network_services/client.rb +944 -0
- data/lib/google/cloud/network_services/v1/network_services/paths.rb +40 -0
- data/lib/google/cloud/network_services/v1/network_services/rest/client.rb +881 -0
- data/lib/google/cloud/network_services/v1/network_services/rest/service_stub.rb +552 -0
- data/lib/google/cloud/network_services/v1/version.rb +1 -1
- data/lib/google/cloud/networkservices/v1/dep_pb.rb +10 -2
- data/lib/google/cloud/networkservices/v1/dep_services_pb.rb +12 -0
- data/lib/google/cloud/networkservices/v1/extensibility_pb.rb +66 -0
- data/lib/google/cloud/networkservices/v1/network_services_pb.rb +3 -1
- data/lib/google/cloud/networkservices/v1/network_services_services_pb.rb +22 -0
- data/proto_docs/google/cloud/networkservices/v1/dep.rb +376 -52
- data/proto_docs/google/cloud/networkservices/v1/extensibility.rb +518 -0
- metadata +3 -1
@@ -0,0 +1,518 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module NetworkServices
|
23
|
+
module V1
|
24
|
+
# `WasmPlugin` is a resource representing a service executing
|
25
|
+
# a customer-provided Wasm module.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Identifier. Name of the `WasmPlugin` resource in the following format:
|
29
|
+
# `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.
|
30
|
+
# @!attribute [r] create_time
|
31
|
+
# @return [::Google::Protobuf::Timestamp]
|
32
|
+
# Output only. The timestamp when the resource was created.
|
33
|
+
# @!attribute [r] update_time
|
34
|
+
# @return [::Google::Protobuf::Timestamp]
|
35
|
+
# Output only. The timestamp when the resource was updated.
|
36
|
+
# @!attribute [rw] description
|
37
|
+
# @return [::String]
|
38
|
+
# Optional. A human-readable description of the resource.
|
39
|
+
# @!attribute [rw] labels
|
40
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
41
|
+
# Optional. Set of labels associated with the `WasmPlugin` resource.
|
42
|
+
#
|
43
|
+
# The format must comply with [the following
|
44
|
+
# requirements](/compute/docs/labeling-resources#requirements).
|
45
|
+
# @!attribute [rw] main_version_id
|
46
|
+
# @return [::String]
|
47
|
+
# Optional. The ID of the `WasmPluginVersion` resource that is the
|
48
|
+
# currently serving one. The version referred to must be a child of this
|
49
|
+
# `WasmPlugin` resource.
|
50
|
+
# @!attribute [rw] log_config
|
51
|
+
# @return [::Google::Cloud::NetworkServices::V1::WasmPlugin::LogConfig]
|
52
|
+
# Optional. Specifies the logging options for the activity performed by this
|
53
|
+
# plugin. If logging is enabled, plugin logs are exported to
|
54
|
+
# Cloud Logging.
|
55
|
+
# Note that the settings relate to the logs generated by using
|
56
|
+
# logging statements in your Wasm code.
|
57
|
+
# @!attribute [rw] versions
|
58
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkServices::V1::WasmPlugin::VersionDetails}]
|
59
|
+
# Optional. All versions of this `WasmPlugin` resource in the key-value
|
60
|
+
# format. The key is the resource ID, and the value is the `VersionDetails`
|
61
|
+
# object.
|
62
|
+
#
|
63
|
+
# Lets you create or update a `WasmPlugin` resource and its versions in a
|
64
|
+
# single request. When the `main_version_id` field is not empty, it must
|
65
|
+
# point to one of the `VersionDetails` objects in the map.
|
66
|
+
#
|
67
|
+
# If provided in a `PATCH` request, the new versions replace the
|
68
|
+
# previous set. Any version omitted from the `versions` field is removed.
|
69
|
+
# Because the `WasmPluginVersion` resource is immutable, if a
|
70
|
+
# `WasmPluginVersion` resource with the same name already exists and differs,
|
71
|
+
# the request fails.
|
72
|
+
#
|
73
|
+
# Note: In a `GET` request, this field is populated only if the field
|
74
|
+
# `GetWasmPluginRequest.view` is set to `WASM_PLUGIN_VIEW_FULL`.
|
75
|
+
# @!attribute [r] used_by
|
76
|
+
# @return [::Array<::Google::Cloud::NetworkServices::V1::WasmPlugin::UsedBy>]
|
77
|
+
# Output only. List of all
|
78
|
+
# [extensions](https://cloud.google.com/service-extensions/docs/overview)
|
79
|
+
# that use this `WasmPlugin` resource.
|
80
|
+
class WasmPlugin
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
|
84
|
+
# Details of a `WasmPluginVersion` resource to be inlined in the
|
85
|
+
# `WasmPlugin` resource.
|
86
|
+
# @!attribute [rw] plugin_config_data
|
87
|
+
# @return [::String]
|
88
|
+
# Configuration for the plugin.
|
89
|
+
# The configuration is provided to the plugin at runtime through
|
90
|
+
# the `ON_CONFIGURE` callback. When a new
|
91
|
+
# `WasmPluginVersion` version is created, the digest of the
|
92
|
+
# contents is saved in the `plugin_config_digest` field.
|
93
|
+
#
|
94
|
+
# Note: The following fields are mutually exclusive: `plugin_config_data`, `plugin_config_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
95
|
+
# @!attribute [rw] plugin_config_uri
|
96
|
+
# @return [::String]
|
97
|
+
# URI of the plugin configuration stored in the Artifact Registry.
|
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
|
103
|
+
# `plugin_config_digest` field.
|
104
|
+
#
|
105
|
+
# 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.
|
106
|
+
# @!attribute [r] create_time
|
107
|
+
# @return [::Google::Protobuf::Timestamp]
|
108
|
+
# Output only. The timestamp when the resource was created.
|
109
|
+
# @!attribute [r] update_time
|
110
|
+
# @return [::Google::Protobuf::Timestamp]
|
111
|
+
# Output only. The timestamp when the resource was updated.
|
112
|
+
# @!attribute [rw] description
|
113
|
+
# @return [::String]
|
114
|
+
# Optional. A human-readable description of the resource.
|
115
|
+
# @!attribute [rw] labels
|
116
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
117
|
+
# Optional. Set of labels associated with the `WasmPluginVersion`
|
118
|
+
# resource.
|
119
|
+
# @!attribute [rw] image_uri
|
120
|
+
# @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.
|
126
|
+
# @!attribute [r] image_digest
|
127
|
+
# @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.
|
133
|
+
# @!attribute [r] plugin_config_digest
|
134
|
+
# @return [::String]
|
135
|
+
# Output only. This field holds the digest (usually checksum) value for the
|
136
|
+
# plugin configuration. The value is calculated based on the contents of
|
137
|
+
# the `plugin_config_data` field or the container image defined by the
|
138
|
+
# `plugin_config_uri` field.
|
139
|
+
class VersionDetails
|
140
|
+
include ::Google::Protobuf::MessageExts
|
141
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
142
|
+
|
143
|
+
# @!attribute [rw] key
|
144
|
+
# @return [::String]
|
145
|
+
# @!attribute [rw] value
|
146
|
+
# @return [::String]
|
147
|
+
class LabelsEntry
|
148
|
+
include ::Google::Protobuf::MessageExts
|
149
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
# Specifies the logging options for the activity performed by this
|
154
|
+
# plugin. If logging is enabled, plugin logs are exported to
|
155
|
+
# Cloud Logging.
|
156
|
+
# @!attribute [rw] enable
|
157
|
+
# @return [::Boolean]
|
158
|
+
# Optional. Specifies whether to enable logging for activity by this
|
159
|
+
# plugin.
|
160
|
+
#
|
161
|
+
# Defaults to `false`.
|
162
|
+
# @!attribute [rw] sample_rate
|
163
|
+
# @return [::Float]
|
164
|
+
# Non-empty default. Configures the sampling rate of activity logs, where
|
165
|
+
# `1.0` means all logged activity is reported and `0.0` means no activity
|
166
|
+
# is reported. A floating point value between `0.0` and `1.0` indicates
|
167
|
+
# that a percentage of log messages is stored.
|
168
|
+
#
|
169
|
+
# The default value when logging is enabled is `1.0`. The value of the
|
170
|
+
# field must be between `0` and `1` (inclusive).
|
171
|
+
#
|
172
|
+
# This field can be specified only if logging is enabled for this plugin.
|
173
|
+
# @!attribute [rw] min_log_level
|
174
|
+
# @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.
|
178
|
+
#
|
179
|
+
# This field is can be set only if logging is enabled for the plugin.
|
180
|
+
#
|
181
|
+
# If the field is not provided when logging is enabled, it is set to
|
182
|
+
# `INFO` by default.
|
183
|
+
class LogConfig
|
184
|
+
include ::Google::Protobuf::MessageExts
|
185
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
186
|
+
|
187
|
+
# Possible values to specify the lowest level of logs to be exported to
|
188
|
+
# Cloud Logging.
|
189
|
+
module LogLevel
|
190
|
+
# Unspecified value. Defaults to `LogLevel.INFO`.
|
191
|
+
LOG_LEVEL_UNSPECIFIED = 0
|
192
|
+
|
193
|
+
# Report logs with TRACE level and above.
|
194
|
+
TRACE = 1
|
195
|
+
|
196
|
+
# Report logs with DEBUG level and above.
|
197
|
+
DEBUG = 2
|
198
|
+
|
199
|
+
# Report logs with INFO level and above.
|
200
|
+
INFO = 3
|
201
|
+
|
202
|
+
# Report logs with WARN level and above.
|
203
|
+
WARN = 4
|
204
|
+
|
205
|
+
# Report logs with ERROR level and above.
|
206
|
+
ERROR = 5
|
207
|
+
|
208
|
+
# Report logs with CRITICAL level only.
|
209
|
+
CRITICAL = 6
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
# Defines a resource that uses the `WasmPlugin` resource.
|
214
|
+
# @!attribute [r] name
|
215
|
+
# @return [::String]
|
216
|
+
# Output only. Full name of the resource
|
217
|
+
# https://google.aip.dev/122#full-resource-names, for example
|
218
|
+
# `//networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}`
|
219
|
+
class UsedBy
|
220
|
+
include ::Google::Protobuf::MessageExts
|
221
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
222
|
+
end
|
223
|
+
|
224
|
+
# @!attribute [rw] key
|
225
|
+
# @return [::String]
|
226
|
+
# @!attribute [rw] value
|
227
|
+
# @return [::String]
|
228
|
+
class LabelsEntry
|
229
|
+
include ::Google::Protobuf::MessageExts
|
230
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
231
|
+
end
|
232
|
+
|
233
|
+
# @!attribute [rw] key
|
234
|
+
# @return [::String]
|
235
|
+
# @!attribute [rw] value
|
236
|
+
# @return [::Google::Cloud::NetworkServices::V1::WasmPlugin::VersionDetails]
|
237
|
+
class VersionsEntry
|
238
|
+
include ::Google::Protobuf::MessageExts
|
239
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# A single immutable version of a `WasmPlugin` resource.
|
244
|
+
# Defines the Wasm module used and optionally its runtime config.
|
245
|
+
# @!attribute [rw] plugin_config_data
|
246
|
+
# @return [::String]
|
247
|
+
# Configuration for the plugin.
|
248
|
+
# The configuration is provided to the plugin at runtime through
|
249
|
+
# the `ON_CONFIGURE` callback. When a new
|
250
|
+
# `WasmPluginVersion` resource is created, the digest of the
|
251
|
+
# contents is saved in the `plugin_config_digest` field.
|
252
|
+
#
|
253
|
+
# Note: The following fields are mutually exclusive: `plugin_config_data`, `plugin_config_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
254
|
+
# @!attribute [rw] plugin_config_uri
|
255
|
+
# @return [::String]
|
256
|
+
# URI of the plugin configuration stored in the Artifact Registry.
|
257
|
+
# 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.
|
262
|
+
#
|
263
|
+
# 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
|
+
# @!attribute [rw] name
|
265
|
+
# @return [::String]
|
266
|
+
# Identifier. Name of the `WasmPluginVersion` resource in the following
|
267
|
+
# format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/
|
268
|
+
# versions/\\{wasm_plugin_version}`.
|
269
|
+
# @!attribute [r] create_time
|
270
|
+
# @return [::Google::Protobuf::Timestamp]
|
271
|
+
# Output only. The timestamp when the resource was created.
|
272
|
+
# @!attribute [r] update_time
|
273
|
+
# @return [::Google::Protobuf::Timestamp]
|
274
|
+
# Output only. The timestamp when the resource was updated.
|
275
|
+
# @!attribute [rw] description
|
276
|
+
# @return [::String]
|
277
|
+
# Optional. A human-readable description of the resource.
|
278
|
+
# @!attribute [rw] labels
|
279
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
280
|
+
# Optional. Set of labels associated with the `WasmPluginVersion`
|
281
|
+
# resource.
|
282
|
+
# @!attribute [rw] image_uri
|
283
|
+
# @return [::String]
|
284
|
+
# Optional. URI of the container image containing the plugin, stored in the
|
285
|
+
# 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.
|
290
|
+
# @!attribute [r] image_digest
|
291
|
+
# @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.
|
296
|
+
# @!attribute [r] plugin_config_digest
|
297
|
+
# @return [::String]
|
298
|
+
# Output only. This field holds the digest (usually checksum) value for the
|
299
|
+
# 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.
|
302
|
+
class WasmPluginVersion
|
303
|
+
include ::Google::Protobuf::MessageExts
|
304
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
305
|
+
|
306
|
+
# @!attribute [rw] key
|
307
|
+
# @return [::String]
|
308
|
+
# @!attribute [rw] value
|
309
|
+
# @return [::String]
|
310
|
+
class LabelsEntry
|
311
|
+
include ::Google::Protobuf::MessageExts
|
312
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
# Request used with the `ListWasmPlugins` method.
|
317
|
+
# @!attribute [rw] parent
|
318
|
+
# @return [::String]
|
319
|
+
# Required. The project and location from which the `WasmPlugin` resources
|
320
|
+
# are listed, specified in the following format:
|
321
|
+
# `projects/{project}/locations/global`.
|
322
|
+
# @!attribute [rw] page_size
|
323
|
+
# @return [::Integer]
|
324
|
+
# Maximum number of `WasmPlugin` resources to return per call.
|
325
|
+
# If not specified, at most 50 `WasmPlugin` resources are returned.
|
326
|
+
# The maximum value is 1000; values above 1000 are coerced to 1000.
|
327
|
+
# @!attribute [rw] page_token
|
328
|
+
# @return [::String]
|
329
|
+
# The value returned by the last `ListWasmPluginsResponse` call.
|
330
|
+
# Indicates that this is a continuation of a prior
|
331
|
+
# `ListWasmPlugins` call, and that the
|
332
|
+
# next page of data is to be returned.
|
333
|
+
class ListWasmPluginsRequest
|
334
|
+
include ::Google::Protobuf::MessageExts
|
335
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
336
|
+
end
|
337
|
+
|
338
|
+
# Response returned by the `ListWasmPlugins` method.
|
339
|
+
# @!attribute [rw] wasm_plugins
|
340
|
+
# @return [::Array<::Google::Cloud::NetworkServices::V1::WasmPlugin>]
|
341
|
+
# List of `WasmPlugin` resources.
|
342
|
+
# @!attribute [rw] next_page_token
|
343
|
+
# @return [::String]
|
344
|
+
# If there might be more results than those appearing in this response, then
|
345
|
+
# `next_page_token` is included. To get the next set of results,
|
346
|
+
# call this method again using the value of `next_page_token` as
|
347
|
+
# `page_token`.
|
348
|
+
# @!attribute [rw] unreachable
|
349
|
+
# @return [::Array<::String>]
|
350
|
+
# Unreachable resources. Populated when the request attempts to list all
|
351
|
+
# resources across all supported locations, while some locations are
|
352
|
+
# temporarily unavailable.
|
353
|
+
class ListWasmPluginsResponse
|
354
|
+
include ::Google::Protobuf::MessageExts
|
355
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
356
|
+
end
|
357
|
+
|
358
|
+
# Request used by the `GetWasmPlugin` method.
|
359
|
+
# @!attribute [rw] name
|
360
|
+
# @return [::String]
|
361
|
+
# Required. A name of the `WasmPlugin` resource to get. Must be in the
|
362
|
+
# format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
|
363
|
+
# @!attribute [rw] view
|
364
|
+
# @return [::Google::Cloud::NetworkServices::V1::WasmPluginView]
|
365
|
+
# Determines how much data must be returned in the response. See
|
366
|
+
# [AIP-157](https://google.aip.dev/157).
|
367
|
+
class GetWasmPluginRequest
|
368
|
+
include ::Google::Protobuf::MessageExts
|
369
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
370
|
+
end
|
371
|
+
|
372
|
+
# Request used by the `CreateWasmPlugin` method.
|
373
|
+
# @!attribute [rw] parent
|
374
|
+
# @return [::String]
|
375
|
+
# Required. The parent resource of the `WasmPlugin` resource. Must be in the
|
376
|
+
# format `projects/{project}/locations/global`.
|
377
|
+
# @!attribute [rw] wasm_plugin_id
|
378
|
+
# @return [::String]
|
379
|
+
# Required. User-provided ID of the `WasmPlugin` resource to be created.
|
380
|
+
# @!attribute [rw] wasm_plugin
|
381
|
+
# @return [::Google::Cloud::NetworkServices::V1::WasmPlugin]
|
382
|
+
# Required. `WasmPlugin` resource to be created.
|
383
|
+
class CreateWasmPluginRequest
|
384
|
+
include ::Google::Protobuf::MessageExts
|
385
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
386
|
+
end
|
387
|
+
|
388
|
+
# Request used by the `UpdateWasmPlugin` method.
|
389
|
+
# @!attribute [rw] update_mask
|
390
|
+
# @return [::Google::Protobuf::FieldMask]
|
391
|
+
# Optional. Used to specify the fields to be overwritten in the
|
392
|
+
# `WasmPlugin` resource by the update.
|
393
|
+
# The fields specified in the `update_mask` field are relative to the
|
394
|
+
# resource, not the full request.
|
395
|
+
# An omitted `update_mask` field is treated as an implied `update_mask`
|
396
|
+
# field equivalent to all fields that are populated (that have a non-empty
|
397
|
+
# value).
|
398
|
+
# The `update_mask` field supports a special value `*`, which means that
|
399
|
+
# each field in the given `WasmPlugin` resource (including the empty ones)
|
400
|
+
# replaces the current value.
|
401
|
+
# @!attribute [rw] wasm_plugin
|
402
|
+
# @return [::Google::Cloud::NetworkServices::V1::WasmPlugin]
|
403
|
+
# Required. Updated `WasmPlugin` resource.
|
404
|
+
class UpdateWasmPluginRequest
|
405
|
+
include ::Google::Protobuf::MessageExts
|
406
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
407
|
+
end
|
408
|
+
|
409
|
+
# Request used by the `DeleteWasmPlugin` method.
|
410
|
+
# @!attribute [rw] name
|
411
|
+
# @return [::String]
|
412
|
+
# Required. A name of the `WasmPlugin` resource to delete. Must be in the
|
413
|
+
# format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
|
414
|
+
class DeleteWasmPluginRequest
|
415
|
+
include ::Google::Protobuf::MessageExts
|
416
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
417
|
+
end
|
418
|
+
|
419
|
+
# Request used with the `ListWasmPluginVersions` method.
|
420
|
+
# @!attribute [rw] parent
|
421
|
+
# @return [::String]
|
422
|
+
# Required. The `WasmPlugin` resource whose `WasmPluginVersion`s
|
423
|
+
# are listed, specified in the following format:
|
424
|
+
# `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
|
425
|
+
# @!attribute [rw] page_size
|
426
|
+
# @return [::Integer]
|
427
|
+
# Maximum number of `WasmPluginVersion` resources to return per
|
428
|
+
# call. If not specified, at most 50 `WasmPluginVersion` resources are
|
429
|
+
# returned. The maximum value is 1000; values above 1000 are coerced to
|
430
|
+
# 1000.
|
431
|
+
# @!attribute [rw] page_token
|
432
|
+
# @return [::String]
|
433
|
+
# The value returned by the last `ListWasmPluginVersionsResponse` call.
|
434
|
+
# Indicates that this is a continuation of a prior
|
435
|
+
# `ListWasmPluginVersions` call, and that the
|
436
|
+
# next page of data is to be returned.
|
437
|
+
class ListWasmPluginVersionsRequest
|
438
|
+
include ::Google::Protobuf::MessageExts
|
439
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
440
|
+
end
|
441
|
+
|
442
|
+
# Response returned by the `ListWasmPluginVersions` method.
|
443
|
+
# @!attribute [rw] wasm_plugin_versions
|
444
|
+
# @return [::Array<::Google::Cloud::NetworkServices::V1::WasmPluginVersion>]
|
445
|
+
# List of `WasmPluginVersion` resources.
|
446
|
+
# @!attribute [rw] next_page_token
|
447
|
+
# @return [::String]
|
448
|
+
# If there might be more results than those appearing in this response, then
|
449
|
+
# `next_page_token` is included. To get the next set of results,
|
450
|
+
# call this method again using the value of `next_page_token` as
|
451
|
+
# `page_token`.
|
452
|
+
# @!attribute [rw] unreachable
|
453
|
+
# @return [::Array<::String>]
|
454
|
+
# Unreachable resources. Populated when the request attempts to list all
|
455
|
+
# resources across all supported locations, while some locations are
|
456
|
+
# temporarily unavailable.
|
457
|
+
class ListWasmPluginVersionsResponse
|
458
|
+
include ::Google::Protobuf::MessageExts
|
459
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
460
|
+
end
|
461
|
+
|
462
|
+
# Request used by the `GetWasmPluginVersion` method.
|
463
|
+
# @!attribute [rw] name
|
464
|
+
# @return [::String]
|
465
|
+
# Required. A name of the `WasmPluginVersion` resource to get. Must be in
|
466
|
+
# the format
|
467
|
+
# `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.
|
468
|
+
class GetWasmPluginVersionRequest
|
469
|
+
include ::Google::Protobuf::MessageExts
|
470
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
471
|
+
end
|
472
|
+
|
473
|
+
# Request used by the `CreateWasmPluginVersion` method.
|
474
|
+
# @!attribute [rw] parent
|
475
|
+
# @return [::String]
|
476
|
+
# Required. The parent resource of the `WasmPluginVersion` resource. Must be
|
477
|
+
# in the format
|
478
|
+
# `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
|
479
|
+
# @!attribute [rw] wasm_plugin_version_id
|
480
|
+
# @return [::String]
|
481
|
+
# Required. User-provided ID of the `WasmPluginVersion` resource to be
|
482
|
+
# created.
|
483
|
+
# @!attribute [rw] wasm_plugin_version
|
484
|
+
# @return [::Google::Cloud::NetworkServices::V1::WasmPluginVersion]
|
485
|
+
# Required. `WasmPluginVersion` resource to be created.
|
486
|
+
class CreateWasmPluginVersionRequest
|
487
|
+
include ::Google::Protobuf::MessageExts
|
488
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
489
|
+
end
|
490
|
+
|
491
|
+
# Request used by the `DeleteWasmPluginVersion` method.
|
492
|
+
# @!attribute [rw] name
|
493
|
+
# @return [::String]
|
494
|
+
# Required. A name of the `WasmPluginVersion` resource to delete. Must be in
|
495
|
+
# the format
|
496
|
+
# `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.
|
497
|
+
class DeleteWasmPluginVersionRequest
|
498
|
+
include ::Google::Protobuf::MessageExts
|
499
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
500
|
+
end
|
501
|
+
|
502
|
+
# Determines the information that should be returned by the server.
|
503
|
+
module WasmPluginView
|
504
|
+
# Unspecified value. Do not use.
|
505
|
+
WASM_PLUGIN_VIEW_UNSPECIFIED = 0
|
506
|
+
|
507
|
+
# If specified in the `GET` request for a `WasmPlugin` resource, the server's
|
508
|
+
# response includes just the `WasmPlugin` resource.
|
509
|
+
WASM_PLUGIN_VIEW_BASIC = 1
|
510
|
+
|
511
|
+
# If specified in the `GET` request for a `WasmPlugin` resource, the server's
|
512
|
+
# response includes the `WasmPlugin` resource with all its versions.
|
513
|
+
WASM_PLUGIN_VIEW_FULL = 2
|
514
|
+
end
|
515
|
+
end
|
516
|
+
end
|
517
|
+
end
|
518
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-network_services-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- lib/google/cloud/networkservices/v1/dep_pb.rb
|
106
106
|
- lib/google/cloud/networkservices/v1/dep_services_pb.rb
|
107
107
|
- lib/google/cloud/networkservices/v1/endpoint_policy_pb.rb
|
108
|
+
- lib/google/cloud/networkservices/v1/extensibility_pb.rb
|
108
109
|
- lib/google/cloud/networkservices/v1/gateway_pb.rb
|
109
110
|
- lib/google/cloud/networkservices/v1/grpc_route_pb.rb
|
110
111
|
- lib/google/cloud/networkservices/v1/http_route_pb.rb
|
@@ -125,6 +126,7 @@ files:
|
|
125
126
|
- proto_docs/google/cloud/networkservices/v1/common.rb
|
126
127
|
- proto_docs/google/cloud/networkservices/v1/dep.rb
|
127
128
|
- proto_docs/google/cloud/networkservices/v1/endpoint_policy.rb
|
129
|
+
- proto_docs/google/cloud/networkservices/v1/extensibility.rb
|
128
130
|
- proto_docs/google/cloud/networkservices/v1/gateway.rb
|
129
131
|
- proto_docs/google/cloud/networkservices/v1/grpc_route.rb
|
130
132
|
- proto_docs/google/cloud/networkservices/v1/http_route.rb
|