@@ -45,19 +45,27 @@ public final class WasmPluginVersion extends com.google.api.client.json.GenericJ
4545 private java .lang .String description ;
4646
4747 /**
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.
5153 * The value may be {@code null}.
5254 */
5355 @ com .google .api .client .util .Key
5456 private java .lang .String imageDigest ;
5557
5658 /**
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.
6169 * The value may be {@code null}.
6270 */
6371 @ com .google .api .client .util .Key
@@ -90,7 +98,7 @@ public final class WasmPluginVersion extends com.google.api.client.json.GenericJ
9098
9199 /**
92100 * 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
94102 * defined by the `plugin_config_uri` field.
95103 * The value may be {@code null}.
96104 */
@@ -99,9 +107,16 @@ public final class WasmPluginVersion extends com.google.api.client.json.GenericJ
99107
100108 /**
101109 * 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.
105120 * The value may be {@code null}.
106121 */
107122 @ com .google .api .client .util .Key
@@ -149,19 +164,23 @@ public WasmPluginVersion setDescription(java.lang.String description) {
149164 }
150165
151166 /**
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.
155172 * @return value or {@code null} for none
156173 */
157174 public java .lang .String getImageDigest () {
158175 return imageDigest ;
159176 }
160177
161178 /**
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.
165184 * @param imageDigest imageDigest or {@code null} for none
166185 */
167186 public WasmPluginVersion setImageDigest (java .lang .String imageDigest ) {
@@ -170,21 +189,33 @@ public WasmPluginVersion setImageDigest(java.lang.String imageDigest) {
170189 }
171190
172191 /**
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.
177202 * @return value or {@code null} for none
178203 */
179204 public java .lang .String getImageUri () {
180205 return imageUri ;
181206 }
182207
183208 /**
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.
188219 * @param imageUri imageUri or {@code null} for none
189220 */
190221 public WasmPluginVersion setImageUri (java .lang .String imageUri ) {
@@ -285,7 +316,7 @@ public WasmPluginVersion encodePluginConfigData(byte[] pluginConfigData) {
285316
286317 /**
287318 * 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
289320 * defined by the `plugin_config_uri` field.
290321 * @return value or {@code null} for none
291322 */
@@ -295,7 +326,7 @@ public java.lang.String getPluginConfigDigest() {
295326
296327 /**
297328 * 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
299330 * defined by the `plugin_config_uri` field.
300331 * @param pluginConfigDigest pluginConfigDigest or {@code null} for none
301332 */
@@ -306,9 +337,16 @@ public WasmPluginVersion setPluginConfigDigest(java.lang.String pluginConfigDige
306337
307338 /**
308339 * 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.
312350 * @return value or {@code null} for none
313351 */
314352 public java .lang .String getPluginConfigUri () {
@@ -317,9 +355,16 @@ public java.lang.String getPluginConfigUri() {
317355
318356 /**
319357 * 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.
323368 * @param pluginConfigUri pluginConfigUri or {@code null} for none
324369 */
325370 public WasmPluginVersion setPluginConfigUri (java .lang .String pluginConfigUri ) {
0 commit comments