@maxim_mazurok/gapi.client.artifactregistry-v1 0.1.20251029 → 0.1.20260102
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.
- package/index.d.ts +24 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://artifactregistry.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260102
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -121,8 +121,12 @@ declare namespace gapi.client {
|
|
|
121
121
|
uri?: string;
|
|
122
122
|
}
|
|
123
123
|
interface DockerImage {
|
|
124
|
+
/** ArtifactType of this image, e.g. "application/vnd.example+type". If the `subject_digest` is set and no `artifact_type` is given, the `media_type` will be considered as the `artifact_type`. This field is returned as the `metadata.artifactType` field in the Version resource. */
|
|
125
|
+
artifactType?: string;
|
|
124
126
|
/** The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor. */
|
|
125
127
|
buildTime?: string;
|
|
128
|
+
/** Optional. For multi-arch images (manifest lists), this field contains the list of image manifests. */
|
|
129
|
+
imageManifests?: ImageManifest[];
|
|
126
130
|
/** Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in the Version resource. */
|
|
127
131
|
imageSizeBytes?: string;
|
|
128
132
|
/** Media type of this image, e.g. "application/vnd.docker.distribution.manifest.v2+json". This field is returned as the 'metadata.mediaType' field in the Version resource. */
|
|
@@ -283,6 +287,22 @@ declare namespace gapi.client {
|
|
|
283
287
|
/** The hash value. */
|
|
284
288
|
value?: string;
|
|
285
289
|
}
|
|
290
|
+
interface ImageManifest {
|
|
291
|
+
/** Optional. The CPU architecture of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le", "s390x", "riscv64", "mips64le", etc. */
|
|
292
|
+
architecture?: string;
|
|
293
|
+
/** Optional. The manifest digest, in the format "sha256:". */
|
|
294
|
+
digest?: string;
|
|
295
|
+
/** Optional. The media type of the manifest, e.g., "application/vnd.docker.distribution.manifest.v2+json" */
|
|
296
|
+
mediaType?: string;
|
|
297
|
+
/** Optional. The operating system of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix", etc. */
|
|
298
|
+
os?: string;
|
|
299
|
+
/** Optional. The required OS features for the image, for example on Windows `win32k`. */
|
|
300
|
+
osFeatures?: string[];
|
|
301
|
+
/** Optional. The OS version of the image, for example on Windows `10.0.14393.1066`. */
|
|
302
|
+
osVersion?: string;
|
|
303
|
+
/** Optional. The variant of the CPU in the image, for example `v7` to specify ARMv7 when architecture is `arm`. */
|
|
304
|
+
variant?: string;
|
|
305
|
+
}
|
|
286
306
|
interface ImportAptArtifactsErrorInfo {
|
|
287
307
|
/** The detailed error status. */
|
|
288
308
|
error?: Status;
|
|
@@ -734,6 +754,8 @@ declare namespace gapi.client {
|
|
|
734
754
|
createTime?: string;
|
|
735
755
|
/** Optional. Description of the version, as specified in its metadata. */
|
|
736
756
|
description?: string;
|
|
757
|
+
/** Output only. Immutable reference for the version, calculated based on the version's content. Currently we only support dirsum_sha256 hash algorithm. Additional hash algorithms may be added in the future. */
|
|
758
|
+
fingerprints?: Hash[];
|
|
737
759
|
/** Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact */
|
|
738
760
|
metadata?: {[P in string]: any};
|
|
739
761
|
/** The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped. */
|
|
@@ -2859,7 +2881,7 @@ declare namespace gapi.client {
|
|
|
2859
2881
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2860
2882
|
uploadType?: string;
|
|
2861
2883
|
}): Request<Operation>;
|
|
2862
|
-
/** Exports an artifact. */
|
|
2884
|
+
/** Exports an artifact to a Cloud Storage bucket. */
|
|
2863
2885
|
exportArtifact(request: {
|
|
2864
2886
|
/** V1 error format. */
|
|
2865
2887
|
'$.xgafv'?: string;
|