@@ -45,19 +45,27 @@ public final class WasmPluginVersion extends com.google.api.client.json.GenericJ
45
45
private java .lang .String description ;
46
46
47
47
/**
48
- * Output only. The resolved digest for the image specified in the `image` field. The digest is
49
- * resolved during the creation of `WasmPluginVersion` resource. This field holds the digest
50
- * value, regardless of whether a tag or digest was originally specified in the `image` field.
48
+ * Output only. This field holds the digest (usually checksum) value for the plugin image. The
49
+ * value is calculated based on the `image_uri` field. If the `image_uri` field refers to a
50
+ * container image, the digest value is obtained from the container image. If the `image_uri`
51
+ * field refers to a generic artifact, the digest value is calculated based on the contents of the
52
+ * file.
51
53
* The value may be {@code null}.
52
54
*/
53
55
@ com .google .api .client .util .Key
54
56
private java .lang .String imageDigest ;
55
57
56
58
/**
57
- * Optional. URI of the container image containing the plugin, stored in the Artifact Registry.
58
- * When a new `WasmPluginVersion` resource is created, the digest of the container image is saved
59
- * in the `image_digest` field. When downloading an image, the digest value is used instead of an
60
- * image tag.
59
+ * Optional. URI of the image containing the Wasm module, stored in Artifact Registry. The URI can
60
+ * refer to one of the following repository formats: * Container images: the `image_uri` must
61
+ * point to a container that contains a single file with the name `plugin.wasm`. When a new
62
+ * `WasmPluginVersion` resource is created, the digest of the image is saved in the `image_digest`
63
+ * field. When pulling a container image from Artifact Registry, the digest value is used instead
64
+ * of an image tag. * Generic artifacts: the `image_uri` must be in this format:
65
+ * `projects/{project}/locations/{location}/repositories/{repository}/
66
+ * genericArtifacts/{package}:{version}`. The specified package and version must contain a file
67
+ * with the name `plugin.wasm`. When a new `WasmPluginVersion` resource is created, the checksum
68
+ * of the contents of the file is saved in the `image_digest` field.
61
69
* The value may be {@code null}.
62
70
*/
63
71
@ com .google .api .client .util .Key
@@ -90,7 +98,7 @@ public final class WasmPluginVersion extends com.google.api.client.json.GenericJ
90
98
91
99
/**
92
100
* Output only. This field holds the digest (usually checksum) value for the plugin configuration.
93
- * The value is calculated based on the contents of `plugin_config_data` or the container image
101
+ * The value is calculated based on the contents of `plugin_config_data` field or the image
94
102
* defined by the `plugin_config_uri` field.
95
103
* The value may be {@code null}.
96
104
*/
@@ -99,9 +107,16 @@ public final class WasmPluginVersion extends com.google.api.client.json.GenericJ
99
107
100
108
/**
101
109
* URI of the plugin configuration stored in the Artifact Registry. The configuration is provided
102
- * to the plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain
103
- * only a single file with the name `plugin.config`. When a new `WasmPluginVersion` resource is
104
- * created, the digest of the container image is saved in the `plugin_config_digest` field.
110
+ * to the plugin at runtime through the `ON_CONFIGURE` callback. The URI can refer to one of the
111
+ * following repository formats: * Container images: the `plugin_config_uri` must point to a
112
+ * container that contains a single file with the name `plugin.config`. When a new
113
+ * `WasmPluginVersion` resource is created, the digest of the image is saved in the
114
+ * `plugin_config_digest` field. When pulling a container image from Artifact Registry, the digest
115
+ * value is used instead of an image tag. * Generic artifacts: the `plugin_config_uri` must be in
116
+ * this format: `projects/{project}/locations/{location}/repositories/{repository}/
117
+ * genericArtifacts/{package}:{version}`. The specified package and version must contain a file
118
+ * with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the checksum
119
+ * of the contents of the file is saved in the `plugin_config_digest` field.
105
120
* The value may be {@code null}.
106
121
*/
107
122
@ com .google .api .client .util .Key
@@ -149,19 +164,23 @@ public WasmPluginVersion setDescription(java.lang.String description) {
149
164
}
150
165
151
166
/**
152
- * Output only. The resolved digest for the image specified in the `image` field. The digest is
153
- * resolved during the creation of `WasmPluginVersion` resource. This field holds the digest
154
- * value, regardless of whether a tag or digest was originally specified in the `image` field.
167
+ * Output only. This field holds the digest (usually checksum) value for the plugin image. The
168
+ * value is calculated based on the `image_uri` field. If the `image_uri` field refers to a
169
+ * container image, the digest value is obtained from the container image. If the `image_uri`
170
+ * field refers to a generic artifact, the digest value is calculated based on the contents of the
171
+ * file.
155
172
* @return value or {@code null} for none
156
173
*/
157
174
public java .lang .String getImageDigest () {
158
175
return imageDigest ;
159
176
}
160
177
161
178
/**
162
- * Output only. The resolved digest for the image specified in the `image` field. The digest is
163
- * resolved during the creation of `WasmPluginVersion` resource. This field holds the digest
164
- * value, regardless of whether a tag or digest was originally specified in the `image` field.
179
+ * Output only. This field holds the digest (usually checksum) value for the plugin image. The
180
+ * value is calculated based on the `image_uri` field. If the `image_uri` field refers to a
181
+ * container image, the digest value is obtained from the container image. If the `image_uri`
182
+ * field refers to a generic artifact, the digest value is calculated based on the contents of the
183
+ * file.
165
184
* @param imageDigest imageDigest or {@code null} for none
166
185
*/
167
186
public WasmPluginVersion setImageDigest (java .lang .String imageDigest ) {
@@ -170,21 +189,33 @@ public WasmPluginVersion setImageDigest(java.lang.String imageDigest) {
170
189
}
171
190
172
191
/**
173
- * Optional. URI of the container image containing the plugin, stored in the Artifact Registry.
174
- * When a new `WasmPluginVersion` resource is created, the digest of the container image is saved
175
- * in the `image_digest` field. When downloading an image, the digest value is used instead of an
176
- * image tag.
192
+ * Optional. URI of the image containing the Wasm module, stored in Artifact Registry. The URI can
193
+ * refer to one of the following repository formats: * Container images: the `image_uri` must
194
+ * point to a container that contains a single file with the name `plugin.wasm`. When a new
195
+ * `WasmPluginVersion` resource is created, the digest of the image is saved in the `image_digest`
196
+ * field. When pulling a container image from Artifact Registry, the digest value is used instead
197
+ * of an image tag. * Generic artifacts: the `image_uri` must be in this format:
198
+ * `projects/{project}/locations/{location}/repositories/{repository}/
199
+ * genericArtifacts/{package}:{version}`. The specified package and version must contain a file
200
+ * with the name `plugin.wasm`. When a new `WasmPluginVersion` resource is created, the checksum
201
+ * of the contents of the file is saved in the `image_digest` field.
177
202
* @return value or {@code null} for none
178
203
*/
179
204
public java .lang .String getImageUri () {
180
205
return imageUri ;
181
206
}
182
207
183
208
/**
184
- * Optional. URI of the container image containing the plugin, stored in the Artifact Registry.
185
- * When a new `WasmPluginVersion` resource is created, the digest of the container image is saved
186
- * in the `image_digest` field. When downloading an image, the digest value is used instead of an
187
- * image tag.
209
+ * Optional. URI of the image containing the Wasm module, stored in Artifact Registry. The URI can
210
+ * refer to one of the following repository formats: * Container images: the `image_uri` must
211
+ * point to a container that contains a single file with the name `plugin.wasm`. When a new
212
+ * `WasmPluginVersion` resource is created, the digest of the image is saved in the `image_digest`
213
+ * field. When pulling a container image from Artifact Registry, the digest value is used instead
214
+ * of an image tag. * Generic artifacts: the `image_uri` must be in this format:
215
+ * `projects/{project}/locations/{location}/repositories/{repository}/
216
+ * genericArtifacts/{package}:{version}`. The specified package and version must contain a file
217
+ * with the name `plugin.wasm`. When a new `WasmPluginVersion` resource is created, the checksum
218
+ * of the contents of the file is saved in the `image_digest` field.
188
219
* @param imageUri imageUri or {@code null} for none
189
220
*/
190
221
public WasmPluginVersion setImageUri (java .lang .String imageUri ) {
@@ -285,7 +316,7 @@ public WasmPluginVersion encodePluginConfigData(byte[] pluginConfigData) {
285
316
286
317
/**
287
318
* Output only. This field holds the digest (usually checksum) value for the plugin configuration.
288
- * The value is calculated based on the contents of `plugin_config_data` or the container image
319
+ * The value is calculated based on the contents of `plugin_config_data` field or the image
289
320
* defined by the `plugin_config_uri` field.
290
321
* @return value or {@code null} for none
291
322
*/
@@ -295,7 +326,7 @@ public java.lang.String getPluginConfigDigest() {
295
326
296
327
/**
297
328
* Output only. This field holds the digest (usually checksum) value for the plugin configuration.
298
- * The value is calculated based on the contents of `plugin_config_data` or the container image
329
+ * The value is calculated based on the contents of `plugin_config_data` field or the image
299
330
* defined by the `plugin_config_uri` field.
300
331
* @param pluginConfigDigest pluginConfigDigest or {@code null} for none
301
332
*/
@@ -306,9 +337,16 @@ public WasmPluginVersion setPluginConfigDigest(java.lang.String pluginConfigDige
306
337
307
338
/**
308
339
* URI of the plugin configuration stored in the Artifact Registry. The configuration is provided
309
- * to the plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain
310
- * only a single file with the name `plugin.config`. When a new `WasmPluginVersion` resource is
311
- * created, the digest of the container image is saved in the `plugin_config_digest` field.
340
+ * to the plugin at runtime through the `ON_CONFIGURE` callback. The URI can refer to one of the
341
+ * following repository formats: * Container images: the `plugin_config_uri` must point to a
342
+ * container that contains a single file with the name `plugin.config`. When a new
343
+ * `WasmPluginVersion` resource is created, the digest of the image is saved in the
344
+ * `plugin_config_digest` field. When pulling a container image from Artifact Registry, the digest
345
+ * value is used instead of an image tag. * Generic artifacts: the `plugin_config_uri` must be in
346
+ * this format: `projects/{project}/locations/{location}/repositories/{repository}/
347
+ * genericArtifacts/{package}:{version}`. The specified package and version must contain a file
348
+ * with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the checksum
349
+ * of the contents of the file is saved in the `plugin_config_digest` field.
312
350
* @return value or {@code null} for none
313
351
*/
314
352
public java .lang .String getPluginConfigUri () {
@@ -317,9 +355,16 @@ public java.lang.String getPluginConfigUri() {
317
355
318
356
/**
319
357
* URI of the plugin configuration stored in the Artifact Registry. The configuration is provided
320
- * to the plugin at runtime through the `ON_CONFIGURE` callback. The container image must contain
321
- * only a single file with the name `plugin.config`. When a new `WasmPluginVersion` resource is
322
- * created, the digest of the container image is saved in the `plugin_config_digest` field.
358
+ * to the plugin at runtime through the `ON_CONFIGURE` callback. The URI can refer to one of the
359
+ * following repository formats: * Container images: the `plugin_config_uri` must point to a
360
+ * container that contains a single file with the name `plugin.config`. When a new
361
+ * `WasmPluginVersion` resource is created, the digest of the image is saved in the
362
+ * `plugin_config_digest` field. When pulling a container image from Artifact Registry, the digest
363
+ * value is used instead of an image tag. * Generic artifacts: the `plugin_config_uri` must be in
364
+ * this format: `projects/{project}/locations/{location}/repositories/{repository}/
365
+ * genericArtifacts/{package}:{version}`. The specified package and version must contain a file
366
+ * with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the checksum
367
+ * of the contents of the file is saved in the `plugin_config_digest` field.
323
368
* @param pluginConfigUri pluginConfigUri or {@code null} for none
324
369
*/
325
370
public WasmPluginVersion setPluginConfigUri (java .lang .String pluginConfigUri ) {
0 commit comments