@maxim_mazurok/gapi.client.artifactregistry-v1 0.0.20220809
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 +1964 -0
- package/package.json +20 -0
- package/readme.md +81 -0
- package/tests.ts +315 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1964 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Artifact Registry API v1 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/artifacts/docs/
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
// TypeScript Version: 2.8
|
|
8
|
+
|
|
9
|
+
// IMPORTANT
|
|
10
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
|
+
// Generated from: https://artifactregistry.googleapis.com/$discovery/rest?version=v1
|
|
13
|
+
// Revision: 20220809
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Artifact Registry API v1 */
|
|
19
|
+
function load(urlOrObject: "https://artifactregistry.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "artifactregistry", version: "v1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "artifactregistry", version: "v1", callback: () => any): void;
|
|
24
|
+
|
|
25
|
+
namespace artifactregistry {
|
|
26
|
+
interface AptArtifact {
|
|
27
|
+
/** Output only. Operating system architecture of the artifact. */
|
|
28
|
+
architecture?: string;
|
|
29
|
+
/** Output only. Repository component of the artifact. */
|
|
30
|
+
component?: string;
|
|
31
|
+
/** Output only. Contents of the artifact's control metadata file. */
|
|
32
|
+
controlFile?: string;
|
|
33
|
+
/** Output only. The Artifact Registry resource name of the artifact. */
|
|
34
|
+
name?: string;
|
|
35
|
+
/** Output only. The Apt package name of the artifact. */
|
|
36
|
+
packageName?: string;
|
|
37
|
+
/** Output only. An artifact is a binary or source package. */
|
|
38
|
+
packageType?: string;
|
|
39
|
+
}
|
|
40
|
+
interface BatchDeleteVersionsMetadata {
|
|
41
|
+
/** The versions the operation failed to delete. */
|
|
42
|
+
failedVersions?: string[];
|
|
43
|
+
}
|
|
44
|
+
interface Binding {
|
|
45
|
+
/**
|
|
46
|
+
* The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`,
|
|
47
|
+
* then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which
|
|
48
|
+
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
49
|
+
*/
|
|
50
|
+
condition?: Expr;
|
|
51
|
+
/**
|
|
52
|
+
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
|
|
53
|
+
* the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
|
|
54
|
+
* account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
|
|
55
|
+
* represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier
|
|
56
|
+
* for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example,
|
|
57
|
+
* `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. *
|
|
58
|
+
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
|
|
59
|
+
* `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. *
|
|
60
|
+
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
|
|
61
|
+
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service
|
|
62
|
+
* account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently
|
|
63
|
+
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in
|
|
64
|
+
* the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
|
|
65
|
+
*/
|
|
66
|
+
members?: string[];
|
|
67
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
68
|
+
role?: string;
|
|
69
|
+
}
|
|
70
|
+
interface DockerImage {
|
|
71
|
+
/**
|
|
72
|
+
* 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,
|
|
73
|
+
* which can be easily used with the JavaScript Date constructor.
|
|
74
|
+
*/
|
|
75
|
+
buildTime?: string;
|
|
76
|
+
/** Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in the Version resource. */
|
|
77
|
+
imageSizeBytes?: string;
|
|
78
|
+
/** 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. */
|
|
79
|
+
mediaType?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Required. registry_location, project_id, repository_name and image id forms a unique image name:`projects//locations//repository//dockerImages/`. For example,
|
|
82
|
+
* "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/ nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf", where "us-west4" is
|
|
83
|
+
* the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf" is
|
|
84
|
+
* the image's digest.
|
|
85
|
+
*/
|
|
86
|
+
name?: string;
|
|
87
|
+
/** Tags attached to this image. */
|
|
88
|
+
tags?: string[];
|
|
89
|
+
/** Output only. The time when the docker image was last updated. */
|
|
90
|
+
updateTime?: string;
|
|
91
|
+
/** Time the image was uploaded. */
|
|
92
|
+
uploadTime?: string;
|
|
93
|
+
/** Required. URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf */
|
|
94
|
+
uri?: string;
|
|
95
|
+
}
|
|
96
|
+
// tslint:disable-next-line:no-empty-interface
|
|
97
|
+
interface Empty {
|
|
98
|
+
}
|
|
99
|
+
interface Expr {
|
|
100
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
101
|
+
description?: string;
|
|
102
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
103
|
+
expression?: string;
|
|
104
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
105
|
+
location?: string;
|
|
106
|
+
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
107
|
+
title?: string;
|
|
108
|
+
}
|
|
109
|
+
interface GoogleDevtoolsArtifactregistryV1File {
|
|
110
|
+
/** The time when the File was created. */
|
|
111
|
+
createTime?: string;
|
|
112
|
+
/** The hashes of the file content. */
|
|
113
|
+
hashes?: Hash[];
|
|
114
|
+
/** The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped. */
|
|
115
|
+
name?: string;
|
|
116
|
+
/** The name of the Package or Version that owns this file, if any. */
|
|
117
|
+
owner?: string;
|
|
118
|
+
/** The size of the File in bytes. */
|
|
119
|
+
sizeBytes?: string;
|
|
120
|
+
/** The time when the File was last updated. */
|
|
121
|
+
updateTime?: string;
|
|
122
|
+
}
|
|
123
|
+
interface Hash {
|
|
124
|
+
/** The algorithm used to compute the hash value. */
|
|
125
|
+
type?: string;
|
|
126
|
+
/** The hash value. */
|
|
127
|
+
value?: string;
|
|
128
|
+
}
|
|
129
|
+
interface ImportAptArtifactsErrorInfo {
|
|
130
|
+
/** The detailed error status. */
|
|
131
|
+
error?: Status;
|
|
132
|
+
/** Google Cloud Storage location requested. */
|
|
133
|
+
gcsSource?: ImportAptArtifactsGcsSource;
|
|
134
|
+
}
|
|
135
|
+
interface ImportAptArtifactsGcsSource {
|
|
136
|
+
/** Cloud Storage paths URI (e.g., gs://my_bucket//my_object). */
|
|
137
|
+
uris?: string[];
|
|
138
|
+
/** Supports URI wildcards for matching multiple objects from a single URI. */
|
|
139
|
+
useWildcards?: boolean;
|
|
140
|
+
}
|
|
141
|
+
// tslint:disable-next-line:no-empty-interface
|
|
142
|
+
interface ImportAptArtifactsMetadata {
|
|
143
|
+
}
|
|
144
|
+
interface ImportAptArtifactsRequest {
|
|
145
|
+
/** Google Cloud Storage location where input content is located. */
|
|
146
|
+
gcsSource?: ImportAptArtifactsGcsSource;
|
|
147
|
+
}
|
|
148
|
+
interface ImportAptArtifactsResponse {
|
|
149
|
+
/** The Apt artifacts imported. */
|
|
150
|
+
aptArtifacts?: AptArtifact[];
|
|
151
|
+
/** Detailed error info for packages that were not imported. */
|
|
152
|
+
errors?: ImportAptArtifactsErrorInfo[];
|
|
153
|
+
}
|
|
154
|
+
interface ImportYumArtifactsErrorInfo {
|
|
155
|
+
/** The detailed error status. */
|
|
156
|
+
error?: Status;
|
|
157
|
+
/** Google Cloud Storage location requested. */
|
|
158
|
+
gcsSource?: ImportYumArtifactsGcsSource;
|
|
159
|
+
}
|
|
160
|
+
interface ImportYumArtifactsGcsSource {
|
|
161
|
+
/** Cloud Storage paths URI (e.g., gs://my_bucket//my_object). */
|
|
162
|
+
uris?: string[];
|
|
163
|
+
/** Supports URI wildcards for matching multiple objects from a single URI. */
|
|
164
|
+
useWildcards?: boolean;
|
|
165
|
+
}
|
|
166
|
+
// tslint:disable-next-line:no-empty-interface
|
|
167
|
+
interface ImportYumArtifactsMetadata {
|
|
168
|
+
}
|
|
169
|
+
interface ImportYumArtifactsRequest {
|
|
170
|
+
/** Google Cloud Storage location where input content is located. */
|
|
171
|
+
gcsSource?: ImportYumArtifactsGcsSource;
|
|
172
|
+
}
|
|
173
|
+
interface ImportYumArtifactsResponse {
|
|
174
|
+
/** Detailed error info for packages that were not imported. */
|
|
175
|
+
errors?: ImportYumArtifactsErrorInfo[];
|
|
176
|
+
/** The yum artifacts imported. */
|
|
177
|
+
yumArtifacts?: YumArtifact[];
|
|
178
|
+
}
|
|
179
|
+
interface ListDockerImagesResponse {
|
|
180
|
+
/** The docker images returned. */
|
|
181
|
+
dockerImages?: DockerImage[];
|
|
182
|
+
/** The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return. */
|
|
183
|
+
nextPageToken?: string;
|
|
184
|
+
}
|
|
185
|
+
interface ListFilesResponse {
|
|
186
|
+
/** The files returned. */
|
|
187
|
+
files?: GoogleDevtoolsArtifactregistryV1File[];
|
|
188
|
+
/** The token to retrieve the next page of files, or empty if there are no more files to return. */
|
|
189
|
+
nextPageToken?: string;
|
|
190
|
+
}
|
|
191
|
+
interface ListLocationsResponse {
|
|
192
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
193
|
+
locations?: Location[];
|
|
194
|
+
/** The standard List next-page token. */
|
|
195
|
+
nextPageToken?: string;
|
|
196
|
+
}
|
|
197
|
+
interface ListMavenArtifactsResponse {
|
|
198
|
+
/** The maven artifacts returned. */
|
|
199
|
+
mavenArtifacts?: MavenArtifact[];
|
|
200
|
+
/** The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return. */
|
|
201
|
+
nextPageToken?: string;
|
|
202
|
+
}
|
|
203
|
+
interface ListNpmPackagesResponse {
|
|
204
|
+
/** The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return. */
|
|
205
|
+
nextPageToken?: string;
|
|
206
|
+
/** The npm packages returned. */
|
|
207
|
+
npmPackages?: NpmPackage[];
|
|
208
|
+
}
|
|
209
|
+
interface ListPackagesResponse {
|
|
210
|
+
/** The token to retrieve the next page of packages, or empty if there are no more packages to return. */
|
|
211
|
+
nextPageToken?: string;
|
|
212
|
+
/** The packages returned. */
|
|
213
|
+
packages?: Package[];
|
|
214
|
+
}
|
|
215
|
+
interface ListPythonPackagesResponse {
|
|
216
|
+
/** The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return. */
|
|
217
|
+
nextPageToken?: string;
|
|
218
|
+
/** The python packages returned. */
|
|
219
|
+
pythonPackages?: PythonPackage[];
|
|
220
|
+
}
|
|
221
|
+
interface ListRepositoriesResponse {
|
|
222
|
+
/** The token to retrieve the next page of repositories, or empty if there are no more repositories to return. */
|
|
223
|
+
nextPageToken?: string;
|
|
224
|
+
/** The repositories returned. */
|
|
225
|
+
repositories?: Repository[];
|
|
226
|
+
}
|
|
227
|
+
interface ListTagsResponse {
|
|
228
|
+
/** The token to retrieve the next page of tags, or empty if there are no more tags to return. */
|
|
229
|
+
nextPageToken?: string;
|
|
230
|
+
/** The tags returned. */
|
|
231
|
+
tags?: Tag[];
|
|
232
|
+
}
|
|
233
|
+
interface ListVersionsResponse {
|
|
234
|
+
/** The token to retrieve the next page of versions, or empty if there are no more versions to return. */
|
|
235
|
+
nextPageToken?: string;
|
|
236
|
+
/** The versions returned. */
|
|
237
|
+
versions?: Version[];
|
|
238
|
+
}
|
|
239
|
+
interface Location {
|
|
240
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
241
|
+
displayName?: string;
|
|
242
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
243
|
+
labels?: { [P in string]: string };
|
|
244
|
+
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
245
|
+
locationId?: string;
|
|
246
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
247
|
+
metadata?: { [P in string]: any };
|
|
248
|
+
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
249
|
+
name?: string;
|
|
250
|
+
}
|
|
251
|
+
interface MavenArtifact {
|
|
252
|
+
/** Artifact ID for the artifact. */
|
|
253
|
+
artifactId?: string;
|
|
254
|
+
/** Output only. Time the artifact was created. */
|
|
255
|
+
createTime?: string;
|
|
256
|
+
/** Group ID for the artifact. Example: com.google.guava */
|
|
257
|
+
groupId?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Required. registry_location, project_id, repository_name and maven_artifact forms a unique artifact For example,
|
|
260
|
+
* "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where "us-west4" is the registry_location, "test-project" is the
|
|
261
|
+
* project_id, "test-repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the maven artifact.
|
|
262
|
+
*/
|
|
263
|
+
name?: string;
|
|
264
|
+
/** Required. URL to access the pom file of the artifact. Example: us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom */
|
|
265
|
+
pomUri?: string;
|
|
266
|
+
/** Output only. Time the artifact was updated. */
|
|
267
|
+
updateTime?: string;
|
|
268
|
+
/** Version of this artifact. */
|
|
269
|
+
version?: string;
|
|
270
|
+
}
|
|
271
|
+
interface MavenRepositoryConfig {
|
|
272
|
+
/** The repository with this flag will allow publishing the same snapshot versions. */
|
|
273
|
+
allowSnapshotOverwrites?: boolean;
|
|
274
|
+
/** Version policy defines the versions that the registry will accept. */
|
|
275
|
+
versionPolicy?: string;
|
|
276
|
+
}
|
|
277
|
+
interface NpmPackage {
|
|
278
|
+
/** Output only. Time the package was created. */
|
|
279
|
+
createTime?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Required. registry_location, project_id, repository_name and npm_package forms a unique package For example,
|
|
282
|
+
* "projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/ npm_test:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id,
|
|
283
|
+
* "test-repo" is the repository_name and npm_test:1.0.0" is the npm package.
|
|
284
|
+
*/
|
|
285
|
+
name?: string;
|
|
286
|
+
/** Package for the artifact. */
|
|
287
|
+
packageName?: string;
|
|
288
|
+
/** Tags attached to this package. */
|
|
289
|
+
tags?: string[];
|
|
290
|
+
/** Output only. Time the package was updated. */
|
|
291
|
+
updateTime?: string;
|
|
292
|
+
/** Version of this package. */
|
|
293
|
+
version?: string;
|
|
294
|
+
}
|
|
295
|
+
interface Operation {
|
|
296
|
+
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
297
|
+
done?: boolean;
|
|
298
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
299
|
+
error?: Status;
|
|
300
|
+
/**
|
|
301
|
+
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
|
|
302
|
+
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
303
|
+
*/
|
|
304
|
+
metadata?: { [P in string]: any };
|
|
305
|
+
/**
|
|
306
|
+
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
|
|
307
|
+
* with `operations/{unique_id}`.
|
|
308
|
+
*/
|
|
309
|
+
name?: string;
|
|
310
|
+
/**
|
|
311
|
+
* The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
|
|
312
|
+
* original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
|
|
313
|
+
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
314
|
+
*/
|
|
315
|
+
response?: { [P in string]: any };
|
|
316
|
+
}
|
|
317
|
+
// tslint:disable-next-line:no-empty-interface
|
|
318
|
+
interface OperationMetadata {
|
|
319
|
+
}
|
|
320
|
+
interface Package {
|
|
321
|
+
/** The time when the package was created. */
|
|
322
|
+
createTime?: string;
|
|
323
|
+
/** The display name of the package. */
|
|
324
|
+
displayName?: string;
|
|
325
|
+
/** The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". If the package ID part contains slashes, the slashes are escaped. */
|
|
326
|
+
name?: string;
|
|
327
|
+
/** The time when the package was last updated. This includes publishing a new version of the package. */
|
|
328
|
+
updateTime?: string;
|
|
329
|
+
}
|
|
330
|
+
interface Policy {
|
|
331
|
+
/**
|
|
332
|
+
* Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings`
|
|
333
|
+
* must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a
|
|
334
|
+
* principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another
|
|
335
|
+
* 1,450 principals to the `bindings` in the `Policy`.
|
|
336
|
+
*/
|
|
337
|
+
bindings?: Binding[];
|
|
338
|
+
/**
|
|
339
|
+
* `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make
|
|
340
|
+
* use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems
|
|
341
|
+
* are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM
|
|
342
|
+
* Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
|
|
343
|
+
* policy, and all of the conditions in the version `3` policy are lost.
|
|
344
|
+
*/
|
|
345
|
+
etag?: string;
|
|
346
|
+
/**
|
|
347
|
+
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings
|
|
348
|
+
* must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a
|
|
349
|
+
* policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use
|
|
350
|
+
* IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
|
|
351
|
+
* policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave
|
|
352
|
+
* the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
353
|
+
*/
|
|
354
|
+
version?: number;
|
|
355
|
+
}
|
|
356
|
+
interface ProjectSettings {
|
|
357
|
+
/** The redirection state of the legacy repositories in this project. */
|
|
358
|
+
legacyRedirectionState?: string;
|
|
359
|
+
/** The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set */
|
|
360
|
+
name?: string;
|
|
361
|
+
}
|
|
362
|
+
interface PythonPackage {
|
|
363
|
+
/** Output only. Time the package was created. */
|
|
364
|
+
createTime?: string;
|
|
365
|
+
/**
|
|
366
|
+
* Required. registry_location, project_id, repository_name and python_package forms a unique package name:`projects//locations//repository//pythonPackages/`. For example,
|
|
367
|
+
* "projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/ python_package:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id,
|
|
368
|
+
* "test-repo" is the repository_name and python_package:1.0.0" is the python package.
|
|
369
|
+
*/
|
|
370
|
+
name?: string;
|
|
371
|
+
/** Package for the artifact. */
|
|
372
|
+
packageName?: string;
|
|
373
|
+
/** Output only. Time the package was updated. */
|
|
374
|
+
updateTime?: string;
|
|
375
|
+
/** Required. URL to access the package. Example: us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz */
|
|
376
|
+
uri?: string;
|
|
377
|
+
/** Version of this package. */
|
|
378
|
+
version?: string;
|
|
379
|
+
}
|
|
380
|
+
interface Repository {
|
|
381
|
+
/** The time when the repository was created. */
|
|
382
|
+
createTime?: string;
|
|
383
|
+
/** The user-provided description of the repository. */
|
|
384
|
+
description?: string;
|
|
385
|
+
/** The format of packages that are stored in the repository. */
|
|
386
|
+
format?: string;
|
|
387
|
+
/**
|
|
388
|
+
* The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form:
|
|
389
|
+
* `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
|
|
390
|
+
*/
|
|
391
|
+
kmsKeyName?: string;
|
|
392
|
+
/**
|
|
393
|
+
* Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter
|
|
394
|
+
* and may only contain lowercase letters, numeric characters, underscores, and dashes.
|
|
395
|
+
*/
|
|
396
|
+
labels?: { [P in string]: string };
|
|
397
|
+
/** Maven repository config contains repository level configuration for the repositories of maven type. */
|
|
398
|
+
mavenConfig?: MavenRepositoryConfig;
|
|
399
|
+
/** The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1". */
|
|
400
|
+
name?: string;
|
|
401
|
+
/** Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs. */
|
|
402
|
+
sizeBytes?: string;
|
|
403
|
+
/** The time when the repository was last updated. */
|
|
404
|
+
updateTime?: string;
|
|
405
|
+
}
|
|
406
|
+
interface SetIamPolicyRequest {
|
|
407
|
+
/**
|
|
408
|
+
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
|
|
409
|
+
* services (such as Projects) might reject them.
|
|
410
|
+
*/
|
|
411
|
+
policy?: Policy;
|
|
412
|
+
}
|
|
413
|
+
interface Status {
|
|
414
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
415
|
+
code?: number;
|
|
416
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
417
|
+
details?: Array<{ [P in string]: any }>;
|
|
418
|
+
/**
|
|
419
|
+
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
|
|
420
|
+
* client.
|
|
421
|
+
*/
|
|
422
|
+
message?: string;
|
|
423
|
+
}
|
|
424
|
+
interface Tag {
|
|
425
|
+
/**
|
|
426
|
+
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped. The
|
|
427
|
+
* tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else must be URL encoded.
|
|
428
|
+
*/
|
|
429
|
+
name?: string;
|
|
430
|
+
/**
|
|
431
|
+
* The name of the version the tag refers to, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811" If the package or version ID
|
|
432
|
+
* parts contain slashes, the slashes are escaped.
|
|
433
|
+
*/
|
|
434
|
+
version?: string;
|
|
435
|
+
}
|
|
436
|
+
interface TestIamPermissionsRequest {
|
|
437
|
+
/**
|
|
438
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
439
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
440
|
+
*/
|
|
441
|
+
permissions?: string[];
|
|
442
|
+
}
|
|
443
|
+
interface TestIamPermissionsResponse {
|
|
444
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
445
|
+
permissions?: string[];
|
|
446
|
+
}
|
|
447
|
+
interface UploadAptArtifactMediaResponse {
|
|
448
|
+
/** Operation to be returned to the user. */
|
|
449
|
+
operation?: Operation;
|
|
450
|
+
}
|
|
451
|
+
// tslint:disable-next-line:no-empty-interface
|
|
452
|
+
interface UploadAptArtifactMetadata {
|
|
453
|
+
}
|
|
454
|
+
// tslint:disable-next-line:no-empty-interface
|
|
455
|
+
interface UploadAptArtifactRequest {
|
|
456
|
+
}
|
|
457
|
+
interface UploadAptArtifactResponse {
|
|
458
|
+
/** The Apt artifacts updated. */
|
|
459
|
+
aptArtifacts?: AptArtifact[];
|
|
460
|
+
}
|
|
461
|
+
interface UploadYumArtifactMediaResponse {
|
|
462
|
+
/** Operation to be returned to the user. */
|
|
463
|
+
operation?: Operation;
|
|
464
|
+
}
|
|
465
|
+
// tslint:disable-next-line:no-empty-interface
|
|
466
|
+
interface UploadYumArtifactMetadata {
|
|
467
|
+
}
|
|
468
|
+
// tslint:disable-next-line:no-empty-interface
|
|
469
|
+
interface UploadYumArtifactRequest {
|
|
470
|
+
}
|
|
471
|
+
interface UploadYumArtifactResponse {
|
|
472
|
+
/** The Apt artifacts updated. */
|
|
473
|
+
yumArtifacts?: YumArtifact[];
|
|
474
|
+
}
|
|
475
|
+
interface Version {
|
|
476
|
+
/** The time when the version was created. */
|
|
477
|
+
createTime?: string;
|
|
478
|
+
/** Optional. Description of the version, as specified in its metadata. */
|
|
479
|
+
description?: string;
|
|
480
|
+
/**
|
|
481
|
+
* Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the only resource
|
|
482
|
+
* in use is DockerImage
|
|
483
|
+
*/
|
|
484
|
+
metadata?: { [P in string]: any };
|
|
485
|
+
/**
|
|
486
|
+
* 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
|
|
487
|
+
* slashes are escaped.
|
|
488
|
+
*/
|
|
489
|
+
name?: string;
|
|
490
|
+
/** Output only. A list of related tags. Will contain up to 100 tags that reference this version. */
|
|
491
|
+
relatedTags?: Tag[];
|
|
492
|
+
/** The time when the version was last updated. */
|
|
493
|
+
updateTime?: string;
|
|
494
|
+
}
|
|
495
|
+
interface YumArtifact {
|
|
496
|
+
/** Output only. Operating system architecture of the artifact. */
|
|
497
|
+
architecture?: string;
|
|
498
|
+
/** Output only. The Artifact Registry resource name of the artifact. */
|
|
499
|
+
name?: string;
|
|
500
|
+
/** Output only. The yum package name of the artifact. */
|
|
501
|
+
packageName?: string;
|
|
502
|
+
/** Output only. An artifact is a binary or source package. */
|
|
503
|
+
packageType?: string;
|
|
504
|
+
}
|
|
505
|
+
interface OperationsResource {
|
|
506
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
507
|
+
get(request?: {
|
|
508
|
+
/** V1 error format. */
|
|
509
|
+
"$.xgafv"?: string;
|
|
510
|
+
/** OAuth access token. */
|
|
511
|
+
access_token?: string;
|
|
512
|
+
/** Data format for response. */
|
|
513
|
+
alt?: string;
|
|
514
|
+
/** JSONP */
|
|
515
|
+
callback?: string;
|
|
516
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
517
|
+
fields?: string;
|
|
518
|
+
/** 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. */
|
|
519
|
+
key?: string;
|
|
520
|
+
/** The name of the operation resource. */
|
|
521
|
+
name: string;
|
|
522
|
+
/** OAuth 2.0 token for the current user. */
|
|
523
|
+
oauth_token?: string;
|
|
524
|
+
/** Returns response with indentations and line breaks. */
|
|
525
|
+
prettyPrint?: boolean;
|
|
526
|
+
/** 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. */
|
|
527
|
+
quotaUser?: string;
|
|
528
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
529
|
+
upload_protocol?: string;
|
|
530
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
531
|
+
uploadType?: string;
|
|
532
|
+
}): Request<Operation>;
|
|
533
|
+
}
|
|
534
|
+
interface AptArtifactsResource {
|
|
535
|
+
/**
|
|
536
|
+
* Imports Apt artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts.
|
|
537
|
+
* Imported artifacts that conflict with existing resources are ignored.
|
|
538
|
+
*/
|
|
539
|
+
import(request: {
|
|
540
|
+
/** V1 error format. */
|
|
541
|
+
"$.xgafv"?: string;
|
|
542
|
+
/** OAuth access token. */
|
|
543
|
+
access_token?: string;
|
|
544
|
+
/** Data format for response. */
|
|
545
|
+
alt?: string;
|
|
546
|
+
/** JSONP */
|
|
547
|
+
callback?: string;
|
|
548
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
549
|
+
fields?: string;
|
|
550
|
+
/** 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. */
|
|
551
|
+
key?: string;
|
|
552
|
+
/** OAuth 2.0 token for the current user. */
|
|
553
|
+
oauth_token?: string;
|
|
554
|
+
/** The name of the parent resource where the artifacts will be imported. */
|
|
555
|
+
parent: string;
|
|
556
|
+
/** Returns response with indentations and line breaks. */
|
|
557
|
+
prettyPrint?: boolean;
|
|
558
|
+
/** 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. */
|
|
559
|
+
quotaUser?: string;
|
|
560
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
561
|
+
upload_protocol?: string;
|
|
562
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
563
|
+
uploadType?: string;
|
|
564
|
+
/** Request body */
|
|
565
|
+
resource: ImportAptArtifactsRequest;
|
|
566
|
+
}): Request<Operation>;
|
|
567
|
+
import(request: {
|
|
568
|
+
/** V1 error format. */
|
|
569
|
+
"$.xgafv"?: string;
|
|
570
|
+
/** OAuth access token. */
|
|
571
|
+
access_token?: string;
|
|
572
|
+
/** Data format for response. */
|
|
573
|
+
alt?: string;
|
|
574
|
+
/** JSONP */
|
|
575
|
+
callback?: string;
|
|
576
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
577
|
+
fields?: string;
|
|
578
|
+
/** 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. */
|
|
579
|
+
key?: string;
|
|
580
|
+
/** OAuth 2.0 token for the current user. */
|
|
581
|
+
oauth_token?: string;
|
|
582
|
+
/** The name of the parent resource where the artifacts will be imported. */
|
|
583
|
+
parent: string;
|
|
584
|
+
/** Returns response with indentations and line breaks. */
|
|
585
|
+
prettyPrint?: boolean;
|
|
586
|
+
/** 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. */
|
|
587
|
+
quotaUser?: string;
|
|
588
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
589
|
+
upload_protocol?: string;
|
|
590
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
591
|
+
uploadType?: string;
|
|
592
|
+
},
|
|
593
|
+
body: ImportAptArtifactsRequest): Request<Operation>;
|
|
594
|
+
/**
|
|
595
|
+
* Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported
|
|
596
|
+
* artifact. Imported artifacts that conflict with existing resources are ignored.
|
|
597
|
+
*/
|
|
598
|
+
upload(request: {
|
|
599
|
+
/** V1 error format. */
|
|
600
|
+
"$.xgafv"?: string;
|
|
601
|
+
/** OAuth access token. */
|
|
602
|
+
access_token?: string;
|
|
603
|
+
/** Data format for response. */
|
|
604
|
+
alt?: string;
|
|
605
|
+
/** JSONP */
|
|
606
|
+
callback?: string;
|
|
607
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
608
|
+
fields?: string;
|
|
609
|
+
/** 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. */
|
|
610
|
+
key?: string;
|
|
611
|
+
/** OAuth 2.0 token for the current user. */
|
|
612
|
+
oauth_token?: string;
|
|
613
|
+
/** The name of the parent resource where the artifacts will be uploaded. */
|
|
614
|
+
parent: string;
|
|
615
|
+
/** Returns response with indentations and line breaks. */
|
|
616
|
+
prettyPrint?: boolean;
|
|
617
|
+
/** 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. */
|
|
618
|
+
quotaUser?: string;
|
|
619
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
620
|
+
upload_protocol?: string;
|
|
621
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
622
|
+
uploadType?: string;
|
|
623
|
+
/** Request body */
|
|
624
|
+
resource: UploadAptArtifactRequest;
|
|
625
|
+
}): Request<UploadAptArtifactMediaResponse>;
|
|
626
|
+
upload(request: {
|
|
627
|
+
/** V1 error format. */
|
|
628
|
+
"$.xgafv"?: string;
|
|
629
|
+
/** OAuth access token. */
|
|
630
|
+
access_token?: string;
|
|
631
|
+
/** Data format for response. */
|
|
632
|
+
alt?: string;
|
|
633
|
+
/** JSONP */
|
|
634
|
+
callback?: string;
|
|
635
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
636
|
+
fields?: string;
|
|
637
|
+
/** 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. */
|
|
638
|
+
key?: string;
|
|
639
|
+
/** OAuth 2.0 token for the current user. */
|
|
640
|
+
oauth_token?: string;
|
|
641
|
+
/** The name of the parent resource where the artifacts will be uploaded. */
|
|
642
|
+
parent: string;
|
|
643
|
+
/** Returns response with indentations and line breaks. */
|
|
644
|
+
prettyPrint?: boolean;
|
|
645
|
+
/** 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. */
|
|
646
|
+
quotaUser?: string;
|
|
647
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
648
|
+
upload_protocol?: string;
|
|
649
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
650
|
+
uploadType?: string;
|
|
651
|
+
},
|
|
652
|
+
body: UploadAptArtifactRequest): Request<UploadAptArtifactMediaResponse>;
|
|
653
|
+
}
|
|
654
|
+
interface DockerImagesResource {
|
|
655
|
+
/** Gets a docker image. */
|
|
656
|
+
get(request?: {
|
|
657
|
+
/** V1 error format. */
|
|
658
|
+
"$.xgafv"?: string;
|
|
659
|
+
/** OAuth access token. */
|
|
660
|
+
access_token?: string;
|
|
661
|
+
/** Data format for response. */
|
|
662
|
+
alt?: string;
|
|
663
|
+
/** JSONP */
|
|
664
|
+
callback?: string;
|
|
665
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
666
|
+
fields?: string;
|
|
667
|
+
/** 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. */
|
|
668
|
+
key?: string;
|
|
669
|
+
/** Required. The name of the docker images. */
|
|
670
|
+
name: string;
|
|
671
|
+
/** OAuth 2.0 token for the current user. */
|
|
672
|
+
oauth_token?: string;
|
|
673
|
+
/** Returns response with indentations and line breaks. */
|
|
674
|
+
prettyPrint?: boolean;
|
|
675
|
+
/** 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. */
|
|
676
|
+
quotaUser?: string;
|
|
677
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
678
|
+
upload_protocol?: string;
|
|
679
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
680
|
+
uploadType?: string;
|
|
681
|
+
}): Request<DockerImage>;
|
|
682
|
+
/** Lists docker images. */
|
|
683
|
+
list(request?: {
|
|
684
|
+
/** V1 error format. */
|
|
685
|
+
"$.xgafv"?: string;
|
|
686
|
+
/** OAuth access token. */
|
|
687
|
+
access_token?: string;
|
|
688
|
+
/** Data format for response. */
|
|
689
|
+
alt?: string;
|
|
690
|
+
/** JSONP */
|
|
691
|
+
callback?: string;
|
|
692
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
693
|
+
fields?: string;
|
|
694
|
+
/** 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. */
|
|
695
|
+
key?: string;
|
|
696
|
+
/** OAuth 2.0 token for the current user. */
|
|
697
|
+
oauth_token?: string;
|
|
698
|
+
/** The field to order the results by. */
|
|
699
|
+
orderBy?: string;
|
|
700
|
+
/** The maximum number of artifacts to return. */
|
|
701
|
+
pageSize?: number;
|
|
702
|
+
/** The next_page_token value returned from a previous list request, if any. */
|
|
703
|
+
pageToken?: string;
|
|
704
|
+
/** Required. The name of the parent resource whose docker images will be listed. */
|
|
705
|
+
parent: string;
|
|
706
|
+
/** Returns response with indentations and line breaks. */
|
|
707
|
+
prettyPrint?: boolean;
|
|
708
|
+
/** 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. */
|
|
709
|
+
quotaUser?: string;
|
|
710
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
711
|
+
upload_protocol?: string;
|
|
712
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
713
|
+
uploadType?: string;
|
|
714
|
+
}): Request<ListDockerImagesResponse>;
|
|
715
|
+
}
|
|
716
|
+
interface FilesResource {
|
|
717
|
+
/** Gets a file. */
|
|
718
|
+
get(request?: {
|
|
719
|
+
/** V1 error format. */
|
|
720
|
+
"$.xgafv"?: string;
|
|
721
|
+
/** OAuth access token. */
|
|
722
|
+
access_token?: string;
|
|
723
|
+
/** Data format for response. */
|
|
724
|
+
alt?: string;
|
|
725
|
+
/** JSONP */
|
|
726
|
+
callback?: string;
|
|
727
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
728
|
+
fields?: string;
|
|
729
|
+
/** 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. */
|
|
730
|
+
key?: string;
|
|
731
|
+
/** The name of the file to retrieve. */
|
|
732
|
+
name: string;
|
|
733
|
+
/** OAuth 2.0 token for the current user. */
|
|
734
|
+
oauth_token?: string;
|
|
735
|
+
/** Returns response with indentations and line breaks. */
|
|
736
|
+
prettyPrint?: boolean;
|
|
737
|
+
/** 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. */
|
|
738
|
+
quotaUser?: string;
|
|
739
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
740
|
+
upload_protocol?: string;
|
|
741
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
742
|
+
uploadType?: string;
|
|
743
|
+
}): Request<GoogleDevtoolsArtifactregistryV1File>;
|
|
744
|
+
/** Lists files. */
|
|
745
|
+
list(request?: {
|
|
746
|
+
/** V1 error format. */
|
|
747
|
+
"$.xgafv"?: string;
|
|
748
|
+
/** OAuth access token. */
|
|
749
|
+
access_token?: string;
|
|
750
|
+
/** Data format for response. */
|
|
751
|
+
alt?: string;
|
|
752
|
+
/** JSONP */
|
|
753
|
+
callback?: string;
|
|
754
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
755
|
+
fields?: string;
|
|
756
|
+
/**
|
|
757
|
+
* An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a
|
|
758
|
+
* filter: * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". *
|
|
759
|
+
* `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
|
|
760
|
+
*/
|
|
761
|
+
filter?: string;
|
|
762
|
+
/** 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. */
|
|
763
|
+
key?: string;
|
|
764
|
+
/** OAuth 2.0 token for the current user. */
|
|
765
|
+
oauth_token?: string;
|
|
766
|
+
/** The field to order the results by. */
|
|
767
|
+
orderBy?: string;
|
|
768
|
+
/** The maximum number of files to return. */
|
|
769
|
+
pageSize?: number;
|
|
770
|
+
/** The next_page_token value returned from a previous list request, if any. */
|
|
771
|
+
pageToken?: string;
|
|
772
|
+
/** The name of the repository whose files will be listed. For example: "projects/p1/locations/us-central1/repositories/repo1 */
|
|
773
|
+
parent: string;
|
|
774
|
+
/** Returns response with indentations and line breaks. */
|
|
775
|
+
prettyPrint?: boolean;
|
|
776
|
+
/** 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. */
|
|
777
|
+
quotaUser?: string;
|
|
778
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
779
|
+
upload_protocol?: string;
|
|
780
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
781
|
+
uploadType?: string;
|
|
782
|
+
}): Request<ListFilesResponse>;
|
|
783
|
+
}
|
|
784
|
+
interface MavenArtifactsResource {
|
|
785
|
+
/** Gets a maven artifact. */
|
|
786
|
+
get(request?: {
|
|
787
|
+
/** V1 error format. */
|
|
788
|
+
"$.xgafv"?: string;
|
|
789
|
+
/** OAuth access token. */
|
|
790
|
+
access_token?: string;
|
|
791
|
+
/** Data format for response. */
|
|
792
|
+
alt?: string;
|
|
793
|
+
/** JSONP */
|
|
794
|
+
callback?: string;
|
|
795
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
796
|
+
fields?: string;
|
|
797
|
+
/** 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. */
|
|
798
|
+
key?: string;
|
|
799
|
+
/** Required. The name of the maven artifact. */
|
|
800
|
+
name: string;
|
|
801
|
+
/** OAuth 2.0 token for the current user. */
|
|
802
|
+
oauth_token?: string;
|
|
803
|
+
/** Returns response with indentations and line breaks. */
|
|
804
|
+
prettyPrint?: boolean;
|
|
805
|
+
/** 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. */
|
|
806
|
+
quotaUser?: string;
|
|
807
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
808
|
+
upload_protocol?: string;
|
|
809
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
810
|
+
uploadType?: string;
|
|
811
|
+
}): Request<MavenArtifact>;
|
|
812
|
+
/** Lists maven artifacts. */
|
|
813
|
+
list(request?: {
|
|
814
|
+
/** V1 error format. */
|
|
815
|
+
"$.xgafv"?: string;
|
|
816
|
+
/** OAuth access token. */
|
|
817
|
+
access_token?: string;
|
|
818
|
+
/** Data format for response. */
|
|
819
|
+
alt?: string;
|
|
820
|
+
/** JSONP */
|
|
821
|
+
callback?: string;
|
|
822
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
823
|
+
fields?: string;
|
|
824
|
+
/** 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. */
|
|
825
|
+
key?: string;
|
|
826
|
+
/** OAuth 2.0 token for the current user. */
|
|
827
|
+
oauth_token?: string;
|
|
828
|
+
/** The maximum number of artifacts to return. */
|
|
829
|
+
pageSize?: number;
|
|
830
|
+
/** The next_page_token value returned from a previous list request, if any. */
|
|
831
|
+
pageToken?: string;
|
|
832
|
+
/** Required. The name of the parent resource whose maven artifacts will be listed. */
|
|
833
|
+
parent: string;
|
|
834
|
+
/** Returns response with indentations and line breaks. */
|
|
835
|
+
prettyPrint?: boolean;
|
|
836
|
+
/** 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. */
|
|
837
|
+
quotaUser?: string;
|
|
838
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
839
|
+
upload_protocol?: string;
|
|
840
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
841
|
+
uploadType?: string;
|
|
842
|
+
}): Request<ListMavenArtifactsResponse>;
|
|
843
|
+
}
|
|
844
|
+
interface NpmPackagesResource {
|
|
845
|
+
/** Gets a npm package. */
|
|
846
|
+
get(request?: {
|
|
847
|
+
/** V1 error format. */
|
|
848
|
+
"$.xgafv"?: string;
|
|
849
|
+
/** OAuth access token. */
|
|
850
|
+
access_token?: string;
|
|
851
|
+
/** Data format for response. */
|
|
852
|
+
alt?: string;
|
|
853
|
+
/** JSONP */
|
|
854
|
+
callback?: string;
|
|
855
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
856
|
+
fields?: string;
|
|
857
|
+
/** 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. */
|
|
858
|
+
key?: string;
|
|
859
|
+
/** Required. The name of the npm package. */
|
|
860
|
+
name: string;
|
|
861
|
+
/** OAuth 2.0 token for the current user. */
|
|
862
|
+
oauth_token?: string;
|
|
863
|
+
/** Returns response with indentations and line breaks. */
|
|
864
|
+
prettyPrint?: boolean;
|
|
865
|
+
/** 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. */
|
|
866
|
+
quotaUser?: string;
|
|
867
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
868
|
+
upload_protocol?: string;
|
|
869
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
870
|
+
uploadType?: string;
|
|
871
|
+
}): Request<NpmPackage>;
|
|
872
|
+
/** Lists npm packages. */
|
|
873
|
+
list(request?: {
|
|
874
|
+
/** V1 error format. */
|
|
875
|
+
"$.xgafv"?: string;
|
|
876
|
+
/** OAuth access token. */
|
|
877
|
+
access_token?: string;
|
|
878
|
+
/** Data format for response. */
|
|
879
|
+
alt?: string;
|
|
880
|
+
/** JSONP */
|
|
881
|
+
callback?: string;
|
|
882
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
883
|
+
fields?: string;
|
|
884
|
+
/** 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. */
|
|
885
|
+
key?: string;
|
|
886
|
+
/** OAuth 2.0 token for the current user. */
|
|
887
|
+
oauth_token?: string;
|
|
888
|
+
/** The maximum number of artifacts to return. */
|
|
889
|
+
pageSize?: number;
|
|
890
|
+
/** The next_page_token value returned from a previous list request, if any. */
|
|
891
|
+
pageToken?: string;
|
|
892
|
+
/** Required. The name of the parent resource whose npm packages will be listed. */
|
|
893
|
+
parent: string;
|
|
894
|
+
/** Returns response with indentations and line breaks. */
|
|
895
|
+
prettyPrint?: boolean;
|
|
896
|
+
/** 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. */
|
|
897
|
+
quotaUser?: string;
|
|
898
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
899
|
+
upload_protocol?: string;
|
|
900
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
901
|
+
uploadType?: string;
|
|
902
|
+
}): Request<ListNpmPackagesResponse>;
|
|
903
|
+
}
|
|
904
|
+
interface TagsResource {
|
|
905
|
+
/** Creates a tag. */
|
|
906
|
+
create(request: {
|
|
907
|
+
/** V1 error format. */
|
|
908
|
+
"$.xgafv"?: string;
|
|
909
|
+
/** OAuth access token. */
|
|
910
|
+
access_token?: string;
|
|
911
|
+
/** Data format for response. */
|
|
912
|
+
alt?: string;
|
|
913
|
+
/** JSONP */
|
|
914
|
+
callback?: string;
|
|
915
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
916
|
+
fields?: string;
|
|
917
|
+
/** 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. */
|
|
918
|
+
key?: string;
|
|
919
|
+
/** OAuth 2.0 token for the current user. */
|
|
920
|
+
oauth_token?: string;
|
|
921
|
+
/** The name of the parent resource where the tag will be created. */
|
|
922
|
+
parent: string;
|
|
923
|
+
/** Returns response with indentations and line breaks. */
|
|
924
|
+
prettyPrint?: boolean;
|
|
925
|
+
/** 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. */
|
|
926
|
+
quotaUser?: string;
|
|
927
|
+
/** The tag id to use for this repository. */
|
|
928
|
+
tagId?: string;
|
|
929
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
930
|
+
upload_protocol?: string;
|
|
931
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
932
|
+
uploadType?: string;
|
|
933
|
+
/** Request body */
|
|
934
|
+
resource: Tag;
|
|
935
|
+
}): Request<Tag>;
|
|
936
|
+
create(request: {
|
|
937
|
+
/** V1 error format. */
|
|
938
|
+
"$.xgafv"?: string;
|
|
939
|
+
/** OAuth access token. */
|
|
940
|
+
access_token?: string;
|
|
941
|
+
/** Data format for response. */
|
|
942
|
+
alt?: string;
|
|
943
|
+
/** JSONP */
|
|
944
|
+
callback?: string;
|
|
945
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
946
|
+
fields?: string;
|
|
947
|
+
/** 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. */
|
|
948
|
+
key?: string;
|
|
949
|
+
/** OAuth 2.0 token for the current user. */
|
|
950
|
+
oauth_token?: string;
|
|
951
|
+
/** The name of the parent resource where the tag will be created. */
|
|
952
|
+
parent: string;
|
|
953
|
+
/** Returns response with indentations and line breaks. */
|
|
954
|
+
prettyPrint?: boolean;
|
|
955
|
+
/** 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. */
|
|
956
|
+
quotaUser?: string;
|
|
957
|
+
/** The tag id to use for this repository. */
|
|
958
|
+
tagId?: string;
|
|
959
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
960
|
+
upload_protocol?: string;
|
|
961
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
962
|
+
uploadType?: string;
|
|
963
|
+
},
|
|
964
|
+
body: Tag): Request<Tag>;
|
|
965
|
+
/** Deletes a tag. */
|
|
966
|
+
delete(request?: {
|
|
967
|
+
/** V1 error format. */
|
|
968
|
+
"$.xgafv"?: string;
|
|
969
|
+
/** OAuth access token. */
|
|
970
|
+
access_token?: string;
|
|
971
|
+
/** Data format for response. */
|
|
972
|
+
alt?: string;
|
|
973
|
+
/** JSONP */
|
|
974
|
+
callback?: string;
|
|
975
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
976
|
+
fields?: string;
|
|
977
|
+
/** 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. */
|
|
978
|
+
key?: string;
|
|
979
|
+
/** The name of the tag to delete. */
|
|
980
|
+
name: string;
|
|
981
|
+
/** OAuth 2.0 token for the current user. */
|
|
982
|
+
oauth_token?: string;
|
|
983
|
+
/** Returns response with indentations and line breaks. */
|
|
984
|
+
prettyPrint?: boolean;
|
|
985
|
+
/** 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. */
|
|
986
|
+
quotaUser?: string;
|
|
987
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
988
|
+
upload_protocol?: string;
|
|
989
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
990
|
+
uploadType?: string;
|
|
991
|
+
}): Request<{}>;
|
|
992
|
+
/** Gets a tag. */
|
|
993
|
+
get(request?: {
|
|
994
|
+
/** V1 error format. */
|
|
995
|
+
"$.xgafv"?: string;
|
|
996
|
+
/** OAuth access token. */
|
|
997
|
+
access_token?: string;
|
|
998
|
+
/** Data format for response. */
|
|
999
|
+
alt?: string;
|
|
1000
|
+
/** JSONP */
|
|
1001
|
+
callback?: string;
|
|
1002
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1003
|
+
fields?: string;
|
|
1004
|
+
/** 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. */
|
|
1005
|
+
key?: string;
|
|
1006
|
+
/** The name of the tag to retrieve. */
|
|
1007
|
+
name: string;
|
|
1008
|
+
/** OAuth 2.0 token for the current user. */
|
|
1009
|
+
oauth_token?: string;
|
|
1010
|
+
/** Returns response with indentations and line breaks. */
|
|
1011
|
+
prettyPrint?: boolean;
|
|
1012
|
+
/** 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. */
|
|
1013
|
+
quotaUser?: string;
|
|
1014
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1015
|
+
upload_protocol?: string;
|
|
1016
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1017
|
+
uploadType?: string;
|
|
1018
|
+
}): Request<Tag>;
|
|
1019
|
+
/** Lists tags. */
|
|
1020
|
+
list(request?: {
|
|
1021
|
+
/** V1 error format. */
|
|
1022
|
+
"$.xgafv"?: string;
|
|
1023
|
+
/** OAuth access token. */
|
|
1024
|
+
access_token?: string;
|
|
1025
|
+
/** Data format for response. */
|
|
1026
|
+
alt?: string;
|
|
1027
|
+
/** JSONP */
|
|
1028
|
+
callback?: string;
|
|
1029
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1030
|
+
fields?: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `version` An example of using a filter: *
|
|
1033
|
+
* `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Tags that are applied to the version `1.0` in package `pkg1`.
|
|
1034
|
+
*/
|
|
1035
|
+
filter?: string;
|
|
1036
|
+
/** 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. */
|
|
1037
|
+
key?: string;
|
|
1038
|
+
/** OAuth 2.0 token for the current user. */
|
|
1039
|
+
oauth_token?: string;
|
|
1040
|
+
/** The maximum number of tags to return. Maximum page size is 10,000. */
|
|
1041
|
+
pageSize?: number;
|
|
1042
|
+
/** The next_page_token value returned from a previous list request, if any. */
|
|
1043
|
+
pageToken?: string;
|
|
1044
|
+
/** The name of the parent resource whose tags will be listed. */
|
|
1045
|
+
parent: string;
|
|
1046
|
+
/** Returns response with indentations and line breaks. */
|
|
1047
|
+
prettyPrint?: boolean;
|
|
1048
|
+
/** 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. */
|
|
1049
|
+
quotaUser?: string;
|
|
1050
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1051
|
+
upload_protocol?: string;
|
|
1052
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1053
|
+
uploadType?: string;
|
|
1054
|
+
}): Request<ListTagsResponse>;
|
|
1055
|
+
/** Updates a tag. */
|
|
1056
|
+
patch(request: {
|
|
1057
|
+
/** V1 error format. */
|
|
1058
|
+
"$.xgafv"?: string;
|
|
1059
|
+
/** OAuth access token. */
|
|
1060
|
+
access_token?: string;
|
|
1061
|
+
/** Data format for response. */
|
|
1062
|
+
alt?: string;
|
|
1063
|
+
/** JSONP */
|
|
1064
|
+
callback?: string;
|
|
1065
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1066
|
+
fields?: string;
|
|
1067
|
+
/** 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. */
|
|
1068
|
+
key?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped.
|
|
1071
|
+
* The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else must be URL encoded.
|
|
1072
|
+
*/
|
|
1073
|
+
name: string;
|
|
1074
|
+
/** OAuth 2.0 token for the current user. */
|
|
1075
|
+
oauth_token?: string;
|
|
1076
|
+
/** Returns response with indentations and line breaks. */
|
|
1077
|
+
prettyPrint?: boolean;
|
|
1078
|
+
/** 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. */
|
|
1079
|
+
quotaUser?: string;
|
|
1080
|
+
/** The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask */
|
|
1081
|
+
updateMask?: string;
|
|
1082
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1083
|
+
upload_protocol?: string;
|
|
1084
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1085
|
+
uploadType?: string;
|
|
1086
|
+
/** Request body */
|
|
1087
|
+
resource: Tag;
|
|
1088
|
+
}): Request<Tag>;
|
|
1089
|
+
patch(request: {
|
|
1090
|
+
/** V1 error format. */
|
|
1091
|
+
"$.xgafv"?: string;
|
|
1092
|
+
/** OAuth access token. */
|
|
1093
|
+
access_token?: string;
|
|
1094
|
+
/** Data format for response. */
|
|
1095
|
+
alt?: string;
|
|
1096
|
+
/** JSONP */
|
|
1097
|
+
callback?: string;
|
|
1098
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1099
|
+
fields?: string;
|
|
1100
|
+
/** 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. */
|
|
1101
|
+
key?: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped.
|
|
1104
|
+
* The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else must be URL encoded.
|
|
1105
|
+
*/
|
|
1106
|
+
name: string;
|
|
1107
|
+
/** OAuth 2.0 token for the current user. */
|
|
1108
|
+
oauth_token?: string;
|
|
1109
|
+
/** Returns response with indentations and line breaks. */
|
|
1110
|
+
prettyPrint?: boolean;
|
|
1111
|
+
/** 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. */
|
|
1112
|
+
quotaUser?: string;
|
|
1113
|
+
/** The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask */
|
|
1114
|
+
updateMask?: string;
|
|
1115
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1116
|
+
upload_protocol?: string;
|
|
1117
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1118
|
+
uploadType?: string;
|
|
1119
|
+
},
|
|
1120
|
+
body: Tag): Request<Tag>;
|
|
1121
|
+
}
|
|
1122
|
+
interface VersionsResource {
|
|
1123
|
+
/** Deletes a version and all of its content. The returned operation will complete once the version has been deleted. */
|
|
1124
|
+
delete(request?: {
|
|
1125
|
+
/** V1 error format. */
|
|
1126
|
+
"$.xgafv"?: string;
|
|
1127
|
+
/** OAuth access token. */
|
|
1128
|
+
access_token?: string;
|
|
1129
|
+
/** Data format for response. */
|
|
1130
|
+
alt?: string;
|
|
1131
|
+
/** JSONP */
|
|
1132
|
+
callback?: string;
|
|
1133
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1134
|
+
fields?: string;
|
|
1135
|
+
/** By default, a version that is tagged may not be deleted. If force=true, the version and any tags pointing to the version are deleted. */
|
|
1136
|
+
force?: boolean;
|
|
1137
|
+
/** 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. */
|
|
1138
|
+
key?: string;
|
|
1139
|
+
/** The name of the version to delete. */
|
|
1140
|
+
name: string;
|
|
1141
|
+
/** OAuth 2.0 token for the current user. */
|
|
1142
|
+
oauth_token?: string;
|
|
1143
|
+
/** Returns response with indentations and line breaks. */
|
|
1144
|
+
prettyPrint?: boolean;
|
|
1145
|
+
/** 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. */
|
|
1146
|
+
quotaUser?: string;
|
|
1147
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1148
|
+
upload_protocol?: string;
|
|
1149
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1150
|
+
uploadType?: string;
|
|
1151
|
+
}): Request<Operation>;
|
|
1152
|
+
/** Gets a version */
|
|
1153
|
+
get(request?: {
|
|
1154
|
+
/** V1 error format. */
|
|
1155
|
+
"$.xgafv"?: string;
|
|
1156
|
+
/** OAuth access token. */
|
|
1157
|
+
access_token?: string;
|
|
1158
|
+
/** Data format for response. */
|
|
1159
|
+
alt?: string;
|
|
1160
|
+
/** JSONP */
|
|
1161
|
+
callback?: string;
|
|
1162
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1163
|
+
fields?: string;
|
|
1164
|
+
/** 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. */
|
|
1165
|
+
key?: string;
|
|
1166
|
+
/** The name of the version to retrieve. */
|
|
1167
|
+
name: string;
|
|
1168
|
+
/** OAuth 2.0 token for the current user. */
|
|
1169
|
+
oauth_token?: string;
|
|
1170
|
+
/** Returns response with indentations and line breaks. */
|
|
1171
|
+
prettyPrint?: boolean;
|
|
1172
|
+
/** 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. */
|
|
1173
|
+
quotaUser?: string;
|
|
1174
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1175
|
+
upload_protocol?: string;
|
|
1176
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1177
|
+
uploadType?: string;
|
|
1178
|
+
/** The view that should be returned in the response. */
|
|
1179
|
+
view?: string;
|
|
1180
|
+
}): Request<Version>;
|
|
1181
|
+
/** Lists versions. */
|
|
1182
|
+
list(request?: {
|
|
1183
|
+
/** V1 error format. */
|
|
1184
|
+
"$.xgafv"?: string;
|
|
1185
|
+
/** OAuth access token. */
|
|
1186
|
+
access_token?: string;
|
|
1187
|
+
/** Data format for response. */
|
|
1188
|
+
alt?: string;
|
|
1189
|
+
/** JSONP */
|
|
1190
|
+
callback?: string;
|
|
1191
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1192
|
+
fields?: string;
|
|
1193
|
+
/** 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. */
|
|
1194
|
+
key?: string;
|
|
1195
|
+
/** OAuth 2.0 token for the current user. */
|
|
1196
|
+
oauth_token?: string;
|
|
1197
|
+
/** Optional. The field to order the results by. */
|
|
1198
|
+
orderBy?: string;
|
|
1199
|
+
/** The maximum number of versions to return. Maximum page size is 1,000. */
|
|
1200
|
+
pageSize?: number;
|
|
1201
|
+
/** The next_page_token value returned from a previous list request, if any. */
|
|
1202
|
+
pageToken?: string;
|
|
1203
|
+
/** The name of the parent resource whose versions will be listed. */
|
|
1204
|
+
parent: string;
|
|
1205
|
+
/** Returns response with indentations and line breaks. */
|
|
1206
|
+
prettyPrint?: boolean;
|
|
1207
|
+
/** 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. */
|
|
1208
|
+
quotaUser?: string;
|
|
1209
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1210
|
+
upload_protocol?: string;
|
|
1211
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1212
|
+
uploadType?: string;
|
|
1213
|
+
/** The view that should be returned in the response. */
|
|
1214
|
+
view?: string;
|
|
1215
|
+
}): Request<ListVersionsResponse>;
|
|
1216
|
+
}
|
|
1217
|
+
interface PackagesResource {
|
|
1218
|
+
/** Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted. */
|
|
1219
|
+
delete(request?: {
|
|
1220
|
+
/** V1 error format. */
|
|
1221
|
+
"$.xgafv"?: string;
|
|
1222
|
+
/** OAuth access token. */
|
|
1223
|
+
access_token?: string;
|
|
1224
|
+
/** Data format for response. */
|
|
1225
|
+
alt?: string;
|
|
1226
|
+
/** JSONP */
|
|
1227
|
+
callback?: string;
|
|
1228
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1229
|
+
fields?: string;
|
|
1230
|
+
/** 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. */
|
|
1231
|
+
key?: string;
|
|
1232
|
+
/** Required. The name of the package to delete. */
|
|
1233
|
+
name: string;
|
|
1234
|
+
/** OAuth 2.0 token for the current user. */
|
|
1235
|
+
oauth_token?: string;
|
|
1236
|
+
/** Returns response with indentations and line breaks. */
|
|
1237
|
+
prettyPrint?: boolean;
|
|
1238
|
+
/** 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. */
|
|
1239
|
+
quotaUser?: string;
|
|
1240
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1241
|
+
upload_protocol?: string;
|
|
1242
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1243
|
+
uploadType?: string;
|
|
1244
|
+
}): Request<Operation>;
|
|
1245
|
+
/** Gets a package. */
|
|
1246
|
+
get(request?: {
|
|
1247
|
+
/** V1 error format. */
|
|
1248
|
+
"$.xgafv"?: string;
|
|
1249
|
+
/** OAuth access token. */
|
|
1250
|
+
access_token?: string;
|
|
1251
|
+
/** Data format for response. */
|
|
1252
|
+
alt?: string;
|
|
1253
|
+
/** JSONP */
|
|
1254
|
+
callback?: string;
|
|
1255
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1256
|
+
fields?: string;
|
|
1257
|
+
/** 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. */
|
|
1258
|
+
key?: string;
|
|
1259
|
+
/** Required. The name of the package to retrieve. */
|
|
1260
|
+
name: string;
|
|
1261
|
+
/** OAuth 2.0 token for the current user. */
|
|
1262
|
+
oauth_token?: string;
|
|
1263
|
+
/** Returns response with indentations and line breaks. */
|
|
1264
|
+
prettyPrint?: boolean;
|
|
1265
|
+
/** 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. */
|
|
1266
|
+
quotaUser?: string;
|
|
1267
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1268
|
+
upload_protocol?: string;
|
|
1269
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1270
|
+
uploadType?: string;
|
|
1271
|
+
}): Request<Package>;
|
|
1272
|
+
/** Lists packages. */
|
|
1273
|
+
list(request?: {
|
|
1274
|
+
/** V1 error format. */
|
|
1275
|
+
"$.xgafv"?: string;
|
|
1276
|
+
/** OAuth access token. */
|
|
1277
|
+
access_token?: string;
|
|
1278
|
+
/** Data format for response. */
|
|
1279
|
+
alt?: string;
|
|
1280
|
+
/** JSONP */
|
|
1281
|
+
callback?: string;
|
|
1282
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1283
|
+
fields?: string;
|
|
1284
|
+
/** 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. */
|
|
1285
|
+
key?: string;
|
|
1286
|
+
/** OAuth 2.0 token for the current user. */
|
|
1287
|
+
oauth_token?: string;
|
|
1288
|
+
/** The maximum number of packages to return. Maximum page size is 1,000. */
|
|
1289
|
+
pageSize?: number;
|
|
1290
|
+
/** The next_page_token value returned from a previous list request, if any. */
|
|
1291
|
+
pageToken?: string;
|
|
1292
|
+
/** Required. The name of the parent resource whose packages will be listed. */
|
|
1293
|
+
parent: string;
|
|
1294
|
+
/** Returns response with indentations and line breaks. */
|
|
1295
|
+
prettyPrint?: boolean;
|
|
1296
|
+
/** 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. */
|
|
1297
|
+
quotaUser?: string;
|
|
1298
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1299
|
+
upload_protocol?: string;
|
|
1300
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1301
|
+
uploadType?: string;
|
|
1302
|
+
}): Request<ListPackagesResponse>;
|
|
1303
|
+
tags: TagsResource;
|
|
1304
|
+
versions: VersionsResource;
|
|
1305
|
+
}
|
|
1306
|
+
interface PythonPackagesResource {
|
|
1307
|
+
/** Gets a python package. */
|
|
1308
|
+
get(request?: {
|
|
1309
|
+
/** V1 error format. */
|
|
1310
|
+
"$.xgafv"?: string;
|
|
1311
|
+
/** OAuth access token. */
|
|
1312
|
+
access_token?: string;
|
|
1313
|
+
/** Data format for response. */
|
|
1314
|
+
alt?: string;
|
|
1315
|
+
/** JSONP */
|
|
1316
|
+
callback?: string;
|
|
1317
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1318
|
+
fields?: string;
|
|
1319
|
+
/** 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. */
|
|
1320
|
+
key?: string;
|
|
1321
|
+
/** Required. The name of the python package. */
|
|
1322
|
+
name: string;
|
|
1323
|
+
/** OAuth 2.0 token for the current user. */
|
|
1324
|
+
oauth_token?: string;
|
|
1325
|
+
/** Returns response with indentations and line breaks. */
|
|
1326
|
+
prettyPrint?: boolean;
|
|
1327
|
+
/** 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. */
|
|
1328
|
+
quotaUser?: string;
|
|
1329
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1330
|
+
upload_protocol?: string;
|
|
1331
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1332
|
+
uploadType?: string;
|
|
1333
|
+
}): Request<PythonPackage>;
|
|
1334
|
+
/** Lists python packages. */
|
|
1335
|
+
list(request?: {
|
|
1336
|
+
/** V1 error format. */
|
|
1337
|
+
"$.xgafv"?: string;
|
|
1338
|
+
/** OAuth access token. */
|
|
1339
|
+
access_token?: string;
|
|
1340
|
+
/** Data format for response. */
|
|
1341
|
+
alt?: string;
|
|
1342
|
+
/** JSONP */
|
|
1343
|
+
callback?: string;
|
|
1344
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1345
|
+
fields?: string;
|
|
1346
|
+
/** 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. */
|
|
1347
|
+
key?: string;
|
|
1348
|
+
/** OAuth 2.0 token for the current user. */
|
|
1349
|
+
oauth_token?: string;
|
|
1350
|
+
/** The maximum number of artifacts to return. */
|
|
1351
|
+
pageSize?: number;
|
|
1352
|
+
/** The next_page_token value returned from a previous list request, if any. */
|
|
1353
|
+
pageToken?: string;
|
|
1354
|
+
/** Required. The name of the parent resource whose python packages will be listed. */
|
|
1355
|
+
parent: string;
|
|
1356
|
+
/** Returns response with indentations and line breaks. */
|
|
1357
|
+
prettyPrint?: boolean;
|
|
1358
|
+
/** 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. */
|
|
1359
|
+
quotaUser?: string;
|
|
1360
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1361
|
+
upload_protocol?: string;
|
|
1362
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1363
|
+
uploadType?: string;
|
|
1364
|
+
}): Request<ListPythonPackagesResponse>;
|
|
1365
|
+
}
|
|
1366
|
+
interface YumArtifactsResource {
|
|
1367
|
+
/**
|
|
1368
|
+
* Imports Yum (RPM) artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts.
|
|
1369
|
+
* Imported artifacts that conflict with existing resources are ignored.
|
|
1370
|
+
*/
|
|
1371
|
+
import(request: {
|
|
1372
|
+
/** V1 error format. */
|
|
1373
|
+
"$.xgafv"?: string;
|
|
1374
|
+
/** OAuth access token. */
|
|
1375
|
+
access_token?: string;
|
|
1376
|
+
/** Data format for response. */
|
|
1377
|
+
alt?: string;
|
|
1378
|
+
/** JSONP */
|
|
1379
|
+
callback?: string;
|
|
1380
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1381
|
+
fields?: string;
|
|
1382
|
+
/** 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. */
|
|
1383
|
+
key?: string;
|
|
1384
|
+
/** OAuth 2.0 token for the current user. */
|
|
1385
|
+
oauth_token?: string;
|
|
1386
|
+
/** The name of the parent resource where the artifacts will be imported. */
|
|
1387
|
+
parent: string;
|
|
1388
|
+
/** Returns response with indentations and line breaks. */
|
|
1389
|
+
prettyPrint?: boolean;
|
|
1390
|
+
/** 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. */
|
|
1391
|
+
quotaUser?: string;
|
|
1392
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1393
|
+
upload_protocol?: string;
|
|
1394
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1395
|
+
uploadType?: string;
|
|
1396
|
+
/** Request body */
|
|
1397
|
+
resource: ImportYumArtifactsRequest;
|
|
1398
|
+
}): Request<Operation>;
|
|
1399
|
+
import(request: {
|
|
1400
|
+
/** V1 error format. */
|
|
1401
|
+
"$.xgafv"?: string;
|
|
1402
|
+
/** OAuth access token. */
|
|
1403
|
+
access_token?: string;
|
|
1404
|
+
/** Data format for response. */
|
|
1405
|
+
alt?: string;
|
|
1406
|
+
/** JSONP */
|
|
1407
|
+
callback?: string;
|
|
1408
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1409
|
+
fields?: string;
|
|
1410
|
+
/** 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. */
|
|
1411
|
+
key?: string;
|
|
1412
|
+
/** OAuth 2.0 token for the current user. */
|
|
1413
|
+
oauth_token?: string;
|
|
1414
|
+
/** The name of the parent resource where the artifacts will be imported. */
|
|
1415
|
+
parent: string;
|
|
1416
|
+
/** Returns response with indentations and line breaks. */
|
|
1417
|
+
prettyPrint?: boolean;
|
|
1418
|
+
/** 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. */
|
|
1419
|
+
quotaUser?: string;
|
|
1420
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1421
|
+
upload_protocol?: string;
|
|
1422
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1423
|
+
uploadType?: string;
|
|
1424
|
+
},
|
|
1425
|
+
body: ImportYumArtifactsRequest): Request<Operation>;
|
|
1426
|
+
/**
|
|
1427
|
+
* Directly uploads a Yum artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported
|
|
1428
|
+
* artifact. Imported artifacts that conflict with existing resources are ignored.
|
|
1429
|
+
*/
|
|
1430
|
+
upload(request: {
|
|
1431
|
+
/** V1 error format. */
|
|
1432
|
+
"$.xgafv"?: string;
|
|
1433
|
+
/** OAuth access token. */
|
|
1434
|
+
access_token?: string;
|
|
1435
|
+
/** Data format for response. */
|
|
1436
|
+
alt?: string;
|
|
1437
|
+
/** JSONP */
|
|
1438
|
+
callback?: string;
|
|
1439
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1440
|
+
fields?: string;
|
|
1441
|
+
/** 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. */
|
|
1442
|
+
key?: string;
|
|
1443
|
+
/** OAuth 2.0 token for the current user. */
|
|
1444
|
+
oauth_token?: string;
|
|
1445
|
+
/** The name of the parent resource where the artifacts will be uploaded. */
|
|
1446
|
+
parent: string;
|
|
1447
|
+
/** Returns response with indentations and line breaks. */
|
|
1448
|
+
prettyPrint?: boolean;
|
|
1449
|
+
/** 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. */
|
|
1450
|
+
quotaUser?: string;
|
|
1451
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1452
|
+
upload_protocol?: string;
|
|
1453
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1454
|
+
uploadType?: string;
|
|
1455
|
+
/** Request body */
|
|
1456
|
+
resource: UploadYumArtifactRequest;
|
|
1457
|
+
}): Request<UploadYumArtifactMediaResponse>;
|
|
1458
|
+
upload(request: {
|
|
1459
|
+
/** V1 error format. */
|
|
1460
|
+
"$.xgafv"?: string;
|
|
1461
|
+
/** OAuth access token. */
|
|
1462
|
+
access_token?: string;
|
|
1463
|
+
/** Data format for response. */
|
|
1464
|
+
alt?: string;
|
|
1465
|
+
/** JSONP */
|
|
1466
|
+
callback?: string;
|
|
1467
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1468
|
+
fields?: string;
|
|
1469
|
+
/** 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. */
|
|
1470
|
+
key?: string;
|
|
1471
|
+
/** OAuth 2.0 token for the current user. */
|
|
1472
|
+
oauth_token?: string;
|
|
1473
|
+
/** The name of the parent resource where the artifacts will be uploaded. */
|
|
1474
|
+
parent: string;
|
|
1475
|
+
/** Returns response with indentations and line breaks. */
|
|
1476
|
+
prettyPrint?: boolean;
|
|
1477
|
+
/** 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. */
|
|
1478
|
+
quotaUser?: string;
|
|
1479
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1480
|
+
upload_protocol?: string;
|
|
1481
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1482
|
+
uploadType?: string;
|
|
1483
|
+
},
|
|
1484
|
+
body: UploadYumArtifactRequest): Request<UploadYumArtifactMediaResponse>;
|
|
1485
|
+
}
|
|
1486
|
+
interface RepositoriesResource {
|
|
1487
|
+
/** Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository. */
|
|
1488
|
+
create(request: {
|
|
1489
|
+
/** V1 error format. */
|
|
1490
|
+
"$.xgafv"?: string;
|
|
1491
|
+
/** OAuth access token. */
|
|
1492
|
+
access_token?: string;
|
|
1493
|
+
/** Data format for response. */
|
|
1494
|
+
alt?: string;
|
|
1495
|
+
/** JSONP */
|
|
1496
|
+
callback?: string;
|
|
1497
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1498
|
+
fields?: string;
|
|
1499
|
+
/** 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. */
|
|
1500
|
+
key?: string;
|
|
1501
|
+
/** OAuth 2.0 token for the current user. */
|
|
1502
|
+
oauth_token?: string;
|
|
1503
|
+
/** Required. The name of the parent resource where the repository will be created. */
|
|
1504
|
+
parent: string;
|
|
1505
|
+
/** Returns response with indentations and line breaks. */
|
|
1506
|
+
prettyPrint?: boolean;
|
|
1507
|
+
/** 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. */
|
|
1508
|
+
quotaUser?: string;
|
|
1509
|
+
/** The repository id to use for this repository. */
|
|
1510
|
+
repositoryId?: string;
|
|
1511
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1512
|
+
upload_protocol?: string;
|
|
1513
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1514
|
+
uploadType?: string;
|
|
1515
|
+
/** Request body */
|
|
1516
|
+
resource: Repository;
|
|
1517
|
+
}): Request<Operation>;
|
|
1518
|
+
create(request: {
|
|
1519
|
+
/** V1 error format. */
|
|
1520
|
+
"$.xgafv"?: string;
|
|
1521
|
+
/** OAuth access token. */
|
|
1522
|
+
access_token?: string;
|
|
1523
|
+
/** Data format for response. */
|
|
1524
|
+
alt?: string;
|
|
1525
|
+
/** JSONP */
|
|
1526
|
+
callback?: string;
|
|
1527
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1528
|
+
fields?: string;
|
|
1529
|
+
/** 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. */
|
|
1530
|
+
key?: string;
|
|
1531
|
+
/** OAuth 2.0 token for the current user. */
|
|
1532
|
+
oauth_token?: string;
|
|
1533
|
+
/** Required. The name of the parent resource where the repository will be created. */
|
|
1534
|
+
parent: string;
|
|
1535
|
+
/** Returns response with indentations and line breaks. */
|
|
1536
|
+
prettyPrint?: boolean;
|
|
1537
|
+
/** 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. */
|
|
1538
|
+
quotaUser?: string;
|
|
1539
|
+
/** The repository id to use for this repository. */
|
|
1540
|
+
repositoryId?: string;
|
|
1541
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1542
|
+
upload_protocol?: string;
|
|
1543
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1544
|
+
uploadType?: string;
|
|
1545
|
+
},
|
|
1546
|
+
body: Repository): Request<Operation>;
|
|
1547
|
+
/**
|
|
1548
|
+
* Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a
|
|
1549
|
+
* google.protobuf.Empty response.
|
|
1550
|
+
*/
|
|
1551
|
+
delete(request?: {
|
|
1552
|
+
/** V1 error format. */
|
|
1553
|
+
"$.xgafv"?: string;
|
|
1554
|
+
/** OAuth access token. */
|
|
1555
|
+
access_token?: string;
|
|
1556
|
+
/** Data format for response. */
|
|
1557
|
+
alt?: string;
|
|
1558
|
+
/** JSONP */
|
|
1559
|
+
callback?: string;
|
|
1560
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1561
|
+
fields?: string;
|
|
1562
|
+
/** 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. */
|
|
1563
|
+
key?: string;
|
|
1564
|
+
/** Required. The name of the repository to delete. */
|
|
1565
|
+
name: string;
|
|
1566
|
+
/** OAuth 2.0 token for the current user. */
|
|
1567
|
+
oauth_token?: string;
|
|
1568
|
+
/** Returns response with indentations and line breaks. */
|
|
1569
|
+
prettyPrint?: boolean;
|
|
1570
|
+
/** 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. */
|
|
1571
|
+
quotaUser?: string;
|
|
1572
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1573
|
+
upload_protocol?: string;
|
|
1574
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1575
|
+
uploadType?: string;
|
|
1576
|
+
}): Request<Operation>;
|
|
1577
|
+
/** Gets a repository. */
|
|
1578
|
+
get(request?: {
|
|
1579
|
+
/** V1 error format. */
|
|
1580
|
+
"$.xgafv"?: string;
|
|
1581
|
+
/** OAuth access token. */
|
|
1582
|
+
access_token?: string;
|
|
1583
|
+
/** Data format for response. */
|
|
1584
|
+
alt?: string;
|
|
1585
|
+
/** JSONP */
|
|
1586
|
+
callback?: string;
|
|
1587
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1588
|
+
fields?: string;
|
|
1589
|
+
/** 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. */
|
|
1590
|
+
key?: string;
|
|
1591
|
+
/** Required. The name of the repository to retrieve. */
|
|
1592
|
+
name: string;
|
|
1593
|
+
/** OAuth 2.0 token for the current user. */
|
|
1594
|
+
oauth_token?: string;
|
|
1595
|
+
/** Returns response with indentations and line breaks. */
|
|
1596
|
+
prettyPrint?: boolean;
|
|
1597
|
+
/** 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. */
|
|
1598
|
+
quotaUser?: string;
|
|
1599
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1600
|
+
upload_protocol?: string;
|
|
1601
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1602
|
+
uploadType?: string;
|
|
1603
|
+
}): Request<Repository>;
|
|
1604
|
+
/** Gets the IAM policy for a given resource. */
|
|
1605
|
+
getIamPolicy(request?: {
|
|
1606
|
+
/** V1 error format. */
|
|
1607
|
+
"$.xgafv"?: string;
|
|
1608
|
+
/** OAuth access token. */
|
|
1609
|
+
access_token?: string;
|
|
1610
|
+
/** Data format for response. */
|
|
1611
|
+
alt?: string;
|
|
1612
|
+
/** JSONP */
|
|
1613
|
+
callback?: string;
|
|
1614
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1615
|
+
fields?: string;
|
|
1616
|
+
/** 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. */
|
|
1617
|
+
key?: string;
|
|
1618
|
+
/** OAuth 2.0 token for the current user. */
|
|
1619
|
+
oauth_token?: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
|
1622
|
+
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
|
|
1623
|
+
* in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
|
|
1624
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1625
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1626
|
+
*/
|
|
1627
|
+
"options.requestedPolicyVersion"?: number;
|
|
1628
|
+
/** Returns response with indentations and line breaks. */
|
|
1629
|
+
prettyPrint?: boolean;
|
|
1630
|
+
/** 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. */
|
|
1631
|
+
quotaUser?: string;
|
|
1632
|
+
/**
|
|
1633
|
+
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
1634
|
+
* field.
|
|
1635
|
+
*/
|
|
1636
|
+
resource: string;
|
|
1637
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1638
|
+
upload_protocol?: string;
|
|
1639
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1640
|
+
uploadType?: string;
|
|
1641
|
+
}): Request<Policy>;
|
|
1642
|
+
/** Lists repositories. */
|
|
1643
|
+
list(request?: {
|
|
1644
|
+
/** V1 error format. */
|
|
1645
|
+
"$.xgafv"?: string;
|
|
1646
|
+
/** OAuth access token. */
|
|
1647
|
+
access_token?: string;
|
|
1648
|
+
/** Data format for response. */
|
|
1649
|
+
alt?: string;
|
|
1650
|
+
/** JSONP */
|
|
1651
|
+
callback?: string;
|
|
1652
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1653
|
+
fields?: string;
|
|
1654
|
+
/** 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. */
|
|
1655
|
+
key?: string;
|
|
1656
|
+
/** OAuth 2.0 token for the current user. */
|
|
1657
|
+
oauth_token?: string;
|
|
1658
|
+
/** The maximum number of repositories to return. Maximum page size is 1,000. */
|
|
1659
|
+
pageSize?: number;
|
|
1660
|
+
/** The next_page_token value returned from a previous list request, if any. */
|
|
1661
|
+
pageToken?: string;
|
|
1662
|
+
/** Required. The name of the parent resource whose repositories will be listed. */
|
|
1663
|
+
parent: string;
|
|
1664
|
+
/** Returns response with indentations and line breaks. */
|
|
1665
|
+
prettyPrint?: boolean;
|
|
1666
|
+
/** 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. */
|
|
1667
|
+
quotaUser?: string;
|
|
1668
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1669
|
+
upload_protocol?: string;
|
|
1670
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1671
|
+
uploadType?: string;
|
|
1672
|
+
}): Request<ListRepositoriesResponse>;
|
|
1673
|
+
/** Updates a repository. */
|
|
1674
|
+
patch(request: {
|
|
1675
|
+
/** V1 error format. */
|
|
1676
|
+
"$.xgafv"?: string;
|
|
1677
|
+
/** OAuth access token. */
|
|
1678
|
+
access_token?: string;
|
|
1679
|
+
/** Data format for response. */
|
|
1680
|
+
alt?: string;
|
|
1681
|
+
/** JSONP */
|
|
1682
|
+
callback?: string;
|
|
1683
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1684
|
+
fields?: string;
|
|
1685
|
+
/** 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. */
|
|
1686
|
+
key?: string;
|
|
1687
|
+
/** The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1". */
|
|
1688
|
+
name: string;
|
|
1689
|
+
/** OAuth 2.0 token for the current user. */
|
|
1690
|
+
oauth_token?: string;
|
|
1691
|
+
/** Returns response with indentations and line breaks. */
|
|
1692
|
+
prettyPrint?: boolean;
|
|
1693
|
+
/** 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. */
|
|
1694
|
+
quotaUser?: string;
|
|
1695
|
+
/** The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask */
|
|
1696
|
+
updateMask?: string;
|
|
1697
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1698
|
+
upload_protocol?: string;
|
|
1699
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1700
|
+
uploadType?: string;
|
|
1701
|
+
/** Request body */
|
|
1702
|
+
resource: Repository;
|
|
1703
|
+
}): Request<Repository>;
|
|
1704
|
+
patch(request: {
|
|
1705
|
+
/** V1 error format. */
|
|
1706
|
+
"$.xgafv"?: string;
|
|
1707
|
+
/** OAuth access token. */
|
|
1708
|
+
access_token?: string;
|
|
1709
|
+
/** Data format for response. */
|
|
1710
|
+
alt?: string;
|
|
1711
|
+
/** JSONP */
|
|
1712
|
+
callback?: string;
|
|
1713
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1714
|
+
fields?: string;
|
|
1715
|
+
/** 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. */
|
|
1716
|
+
key?: string;
|
|
1717
|
+
/** The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1". */
|
|
1718
|
+
name: string;
|
|
1719
|
+
/** OAuth 2.0 token for the current user. */
|
|
1720
|
+
oauth_token?: string;
|
|
1721
|
+
/** Returns response with indentations and line breaks. */
|
|
1722
|
+
prettyPrint?: boolean;
|
|
1723
|
+
/** 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. */
|
|
1724
|
+
quotaUser?: string;
|
|
1725
|
+
/** The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask */
|
|
1726
|
+
updateMask?: string;
|
|
1727
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1728
|
+
upload_protocol?: string;
|
|
1729
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1730
|
+
uploadType?: string;
|
|
1731
|
+
},
|
|
1732
|
+
body: Repository): Request<Repository>;
|
|
1733
|
+
/** Updates the IAM policy for a given resource. */
|
|
1734
|
+
setIamPolicy(request: {
|
|
1735
|
+
/** V1 error format. */
|
|
1736
|
+
"$.xgafv"?: string;
|
|
1737
|
+
/** OAuth access token. */
|
|
1738
|
+
access_token?: string;
|
|
1739
|
+
/** Data format for response. */
|
|
1740
|
+
alt?: string;
|
|
1741
|
+
/** JSONP */
|
|
1742
|
+
callback?: string;
|
|
1743
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1744
|
+
fields?: string;
|
|
1745
|
+
/** 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. */
|
|
1746
|
+
key?: string;
|
|
1747
|
+
/** OAuth 2.0 token for the current user. */
|
|
1748
|
+
oauth_token?: string;
|
|
1749
|
+
/** Returns response with indentations and line breaks. */
|
|
1750
|
+
prettyPrint?: boolean;
|
|
1751
|
+
/** 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. */
|
|
1752
|
+
quotaUser?: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
1755
|
+
* field.
|
|
1756
|
+
*/
|
|
1757
|
+
resource: string;
|
|
1758
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1759
|
+
upload_protocol?: string;
|
|
1760
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1761
|
+
uploadType?: string;
|
|
1762
|
+
},
|
|
1763
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1764
|
+
/** Tests if the caller has a list of permissions on a resource. */
|
|
1765
|
+
testIamPermissions(request: {
|
|
1766
|
+
/** V1 error format. */
|
|
1767
|
+
"$.xgafv"?: string;
|
|
1768
|
+
/** OAuth access token. */
|
|
1769
|
+
access_token?: string;
|
|
1770
|
+
/** Data format for response. */
|
|
1771
|
+
alt?: string;
|
|
1772
|
+
/** JSONP */
|
|
1773
|
+
callback?: string;
|
|
1774
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1775
|
+
fields?: string;
|
|
1776
|
+
/** 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. */
|
|
1777
|
+
key?: string;
|
|
1778
|
+
/** OAuth 2.0 token for the current user. */
|
|
1779
|
+
oauth_token?: string;
|
|
1780
|
+
/** Returns response with indentations and line breaks. */
|
|
1781
|
+
prettyPrint?: boolean;
|
|
1782
|
+
/** 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. */
|
|
1783
|
+
quotaUser?: string;
|
|
1784
|
+
/**
|
|
1785
|
+
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
|
|
1786
|
+
* this field.
|
|
1787
|
+
*/
|
|
1788
|
+
resource: string;
|
|
1789
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1790
|
+
upload_protocol?: string;
|
|
1791
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1792
|
+
uploadType?: string;
|
|
1793
|
+
},
|
|
1794
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1795
|
+
aptArtifacts: AptArtifactsResource;
|
|
1796
|
+
dockerImages: DockerImagesResource;
|
|
1797
|
+
files: FilesResource;
|
|
1798
|
+
mavenArtifacts: MavenArtifactsResource;
|
|
1799
|
+
npmPackages: NpmPackagesResource;
|
|
1800
|
+
packages: PackagesResource;
|
|
1801
|
+
pythonPackages: PythonPackagesResource;
|
|
1802
|
+
yumArtifacts: YumArtifactsResource;
|
|
1803
|
+
}
|
|
1804
|
+
interface LocationsResource {
|
|
1805
|
+
/** Gets information about a location. */
|
|
1806
|
+
get(request?: {
|
|
1807
|
+
/** V1 error format. */
|
|
1808
|
+
"$.xgafv"?: string;
|
|
1809
|
+
/** OAuth access token. */
|
|
1810
|
+
access_token?: string;
|
|
1811
|
+
/** Data format for response. */
|
|
1812
|
+
alt?: string;
|
|
1813
|
+
/** JSONP */
|
|
1814
|
+
callback?: string;
|
|
1815
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1816
|
+
fields?: string;
|
|
1817
|
+
/** 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. */
|
|
1818
|
+
key?: string;
|
|
1819
|
+
/** Resource name for the location. */
|
|
1820
|
+
name: string;
|
|
1821
|
+
/** OAuth 2.0 token for the current user. */
|
|
1822
|
+
oauth_token?: string;
|
|
1823
|
+
/** Returns response with indentations and line breaks. */
|
|
1824
|
+
prettyPrint?: boolean;
|
|
1825
|
+
/** 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. */
|
|
1826
|
+
quotaUser?: string;
|
|
1827
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1828
|
+
upload_protocol?: string;
|
|
1829
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1830
|
+
uploadType?: string;
|
|
1831
|
+
}): Request<Location>;
|
|
1832
|
+
/** Lists information about the supported locations for this service. */
|
|
1833
|
+
list(request?: {
|
|
1834
|
+
/** V1 error format. */
|
|
1835
|
+
"$.xgafv"?: string;
|
|
1836
|
+
/** OAuth access token. */
|
|
1837
|
+
access_token?: string;
|
|
1838
|
+
/** Data format for response. */
|
|
1839
|
+
alt?: string;
|
|
1840
|
+
/** JSONP */
|
|
1841
|
+
callback?: string;
|
|
1842
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1843
|
+
fields?: string;
|
|
1844
|
+
/**
|
|
1845
|
+
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
|
|
1846
|
+
* [AIP-160](https://google.aip.dev/160).
|
|
1847
|
+
*/
|
|
1848
|
+
filter?: string;
|
|
1849
|
+
/** 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. */
|
|
1850
|
+
key?: string;
|
|
1851
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
1852
|
+
name: string;
|
|
1853
|
+
/** OAuth 2.0 token for the current user. */
|
|
1854
|
+
oauth_token?: string;
|
|
1855
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1856
|
+
pageSize?: number;
|
|
1857
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1858
|
+
pageToken?: string;
|
|
1859
|
+
/** Returns response with indentations and line breaks. */
|
|
1860
|
+
prettyPrint?: boolean;
|
|
1861
|
+
/** 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. */
|
|
1862
|
+
quotaUser?: string;
|
|
1863
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1864
|
+
upload_protocol?: string;
|
|
1865
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1866
|
+
uploadType?: string;
|
|
1867
|
+
}): Request<ListLocationsResponse>;
|
|
1868
|
+
operations: OperationsResource;
|
|
1869
|
+
repositories: RepositoriesResource;
|
|
1870
|
+
}
|
|
1871
|
+
interface ProjectsResource {
|
|
1872
|
+
/** Retrieves the Settings for the Project. */
|
|
1873
|
+
getProjectSettings(request?: {
|
|
1874
|
+
/** V1 error format. */
|
|
1875
|
+
"$.xgafv"?: string;
|
|
1876
|
+
/** OAuth access token. */
|
|
1877
|
+
access_token?: string;
|
|
1878
|
+
/** Data format for response. */
|
|
1879
|
+
alt?: string;
|
|
1880
|
+
/** JSONP */
|
|
1881
|
+
callback?: string;
|
|
1882
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1883
|
+
fields?: string;
|
|
1884
|
+
/** 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. */
|
|
1885
|
+
key?: string;
|
|
1886
|
+
/** Required. The name of the projectSettings resource. */
|
|
1887
|
+
name: string;
|
|
1888
|
+
/** OAuth 2.0 token for the current user. */
|
|
1889
|
+
oauth_token?: string;
|
|
1890
|
+
/** Returns response with indentations and line breaks. */
|
|
1891
|
+
prettyPrint?: boolean;
|
|
1892
|
+
/** 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. */
|
|
1893
|
+
quotaUser?: string;
|
|
1894
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1895
|
+
upload_protocol?: string;
|
|
1896
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1897
|
+
uploadType?: string;
|
|
1898
|
+
}): Request<ProjectSettings>;
|
|
1899
|
+
/** Updates the Settings for the Project. */
|
|
1900
|
+
updateProjectSettings(request: {
|
|
1901
|
+
/** V1 error format. */
|
|
1902
|
+
"$.xgafv"?: string;
|
|
1903
|
+
/** OAuth access token. */
|
|
1904
|
+
access_token?: string;
|
|
1905
|
+
/** Data format for response. */
|
|
1906
|
+
alt?: string;
|
|
1907
|
+
/** JSONP */
|
|
1908
|
+
callback?: string;
|
|
1909
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1910
|
+
fields?: string;
|
|
1911
|
+
/** 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. */
|
|
1912
|
+
key?: string;
|
|
1913
|
+
/** The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set */
|
|
1914
|
+
name: string;
|
|
1915
|
+
/** OAuth 2.0 token for the current user. */
|
|
1916
|
+
oauth_token?: string;
|
|
1917
|
+
/** Returns response with indentations and line breaks. */
|
|
1918
|
+
prettyPrint?: boolean;
|
|
1919
|
+
/** 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. */
|
|
1920
|
+
quotaUser?: string;
|
|
1921
|
+
/** Field mask to support partial updates. */
|
|
1922
|
+
updateMask?: string;
|
|
1923
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1924
|
+
upload_protocol?: string;
|
|
1925
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1926
|
+
uploadType?: string;
|
|
1927
|
+
/** Request body */
|
|
1928
|
+
resource: ProjectSettings;
|
|
1929
|
+
}): Request<ProjectSettings>;
|
|
1930
|
+
updateProjectSettings(request: {
|
|
1931
|
+
/** V1 error format. */
|
|
1932
|
+
"$.xgafv"?: string;
|
|
1933
|
+
/** OAuth access token. */
|
|
1934
|
+
access_token?: string;
|
|
1935
|
+
/** Data format for response. */
|
|
1936
|
+
alt?: string;
|
|
1937
|
+
/** JSONP */
|
|
1938
|
+
callback?: string;
|
|
1939
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1940
|
+
fields?: string;
|
|
1941
|
+
/** 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. */
|
|
1942
|
+
key?: string;
|
|
1943
|
+
/** The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set */
|
|
1944
|
+
name: string;
|
|
1945
|
+
/** OAuth 2.0 token for the current user. */
|
|
1946
|
+
oauth_token?: string;
|
|
1947
|
+
/** Returns response with indentations and line breaks. */
|
|
1948
|
+
prettyPrint?: boolean;
|
|
1949
|
+
/** 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. */
|
|
1950
|
+
quotaUser?: string;
|
|
1951
|
+
/** Field mask to support partial updates. */
|
|
1952
|
+
updateMask?: string;
|
|
1953
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1954
|
+
upload_protocol?: string;
|
|
1955
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1956
|
+
uploadType?: string;
|
|
1957
|
+
},
|
|
1958
|
+
body: ProjectSettings): Request<ProjectSettings>;
|
|
1959
|
+
locations: LocationsResource;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
const projects: ProjectsResource;
|
|
1963
|
+
}
|
|
1964
|
+
}
|