@maxim_mazurok/gapi.client.artifactregistry-v1 0.1.20251007 → 0.1.20251029
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 +84 -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: 20251029
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -150,6 +150,30 @@ declare namespace gapi.client {
|
|
|
150
150
|
}
|
|
151
151
|
interface DownloadFileResponse {}
|
|
152
152
|
interface Empty {}
|
|
153
|
+
interface ExportArtifactMetadata {
|
|
154
|
+
/** The exported artifact files. */
|
|
155
|
+
exportedFiles?: ExportedFile[];
|
|
156
|
+
}
|
|
157
|
+
interface ExportArtifactRequest {
|
|
158
|
+
/** The Cloud Storage path to export the artifact to. Should start with the bucket name, and optionally have a directory path. Examples: `dst_bucket`, `dst_bucket/sub_dir`. Existing objects with the same path will be overwritten. */
|
|
159
|
+
gcsPath?: string;
|
|
160
|
+
/** The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag} */
|
|
161
|
+
sourceTag?: string;
|
|
162
|
+
/** The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version} */
|
|
163
|
+
sourceVersion?: string;
|
|
164
|
+
}
|
|
165
|
+
interface ExportArtifactResponse {
|
|
166
|
+
/** The exported version. Should be the same as the request version with fingerprint resource name. */
|
|
167
|
+
exportedVersion?: Version;
|
|
168
|
+
}
|
|
169
|
+
interface ExportedFile {
|
|
170
|
+
/** Cloud Storage Object path of the exported file. Examples: `dst_bucket/file1`, `dst_bucket/sub_dir/file1` */
|
|
171
|
+
gcsObjectPath?: string;
|
|
172
|
+
/** The hashes of the file content. */
|
|
173
|
+
hashes?: Hash[];
|
|
174
|
+
/** Name of the exported artifact file. Format: `projects/p1/locations/us/repositories/repo1/files/file1` */
|
|
175
|
+
name?: string;
|
|
176
|
+
}
|
|
153
177
|
interface Expr {
|
|
154
178
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
155
179
|
description?: string;
|
|
@@ -2835,6 +2859,64 @@ declare namespace gapi.client {
|
|
|
2835
2859
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2836
2860
|
uploadType?: string;
|
|
2837
2861
|
}): Request<Operation>;
|
|
2862
|
+
/** Exports an artifact. */
|
|
2863
|
+
exportArtifact(request: {
|
|
2864
|
+
/** V1 error format. */
|
|
2865
|
+
'$.xgafv'?: string;
|
|
2866
|
+
/** OAuth access token. */
|
|
2867
|
+
access_token?: string;
|
|
2868
|
+
/** Data format for response. */
|
|
2869
|
+
alt?: string;
|
|
2870
|
+
/** JSONP */
|
|
2871
|
+
callback?: string;
|
|
2872
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2873
|
+
fields?: string;
|
|
2874
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2875
|
+
key?: string;
|
|
2876
|
+
/** OAuth 2.0 token for the current user. */
|
|
2877
|
+
oauth_token?: string;
|
|
2878
|
+
/** Returns response with indentations and line breaks. */
|
|
2879
|
+
prettyPrint?: boolean;
|
|
2880
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2881
|
+
quotaUser?: string;
|
|
2882
|
+
/** Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository} */
|
|
2883
|
+
repository: string;
|
|
2884
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2885
|
+
upload_protocol?: string;
|
|
2886
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2887
|
+
uploadType?: string;
|
|
2888
|
+
/** Request body */
|
|
2889
|
+
resource: ExportArtifactRequest;
|
|
2890
|
+
}): Request<Operation>;
|
|
2891
|
+
exportArtifact(
|
|
2892
|
+
request: {
|
|
2893
|
+
/** V1 error format. */
|
|
2894
|
+
'$.xgafv'?: string;
|
|
2895
|
+
/** OAuth access token. */
|
|
2896
|
+
access_token?: string;
|
|
2897
|
+
/** Data format for response. */
|
|
2898
|
+
alt?: string;
|
|
2899
|
+
/** JSONP */
|
|
2900
|
+
callback?: string;
|
|
2901
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2902
|
+
fields?: string;
|
|
2903
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2904
|
+
key?: string;
|
|
2905
|
+
/** OAuth 2.0 token for the current user. */
|
|
2906
|
+
oauth_token?: string;
|
|
2907
|
+
/** Returns response with indentations and line breaks. */
|
|
2908
|
+
prettyPrint?: boolean;
|
|
2909
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2910
|
+
quotaUser?: string;
|
|
2911
|
+
/** Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository} */
|
|
2912
|
+
repository: string;
|
|
2913
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2914
|
+
upload_protocol?: string;
|
|
2915
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2916
|
+
uploadType?: string;
|
|
2917
|
+
},
|
|
2918
|
+
body: ExportArtifactRequest,
|
|
2919
|
+
): Request<Operation>;
|
|
2838
2920
|
/** Gets a repository. */
|
|
2839
2921
|
get(request?: {
|
|
2840
2922
|
/** V1 error format. */
|
|
@@ -3128,7 +3210,7 @@ declare namespace gapi.client {
|
|
|
3128
3210
|
alt?: string;
|
|
3129
3211
|
/** JSONP */
|
|
3130
3212
|
callback?: string;
|
|
3131
|
-
/** Optional.
|
|
3213
|
+
/** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
|
|
3132
3214
|
extraLocationTypes?: string | string[];
|
|
3133
3215
|
/** Selector specifying which fields to include in a partial response. */
|
|
3134
3216
|
fields?: string;
|