@maxim_mazurok/gapi.client.dataform-v1beta1 0.0.20221217

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 ADDED
@@ -0,0 +1,2623 @@
1
+ /* Type definitions for non-npm package Dataform API v1beta1 0.0 */
2
+ // Project: https://cloud.google.com/dataform/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
+
8
+ // IMPORTANT
9
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
+ // Generated from: https://dataform.googleapis.com/$discovery/rest?version=v1beta1
12
+ // Revision: 20221217
13
+
14
+ /// <reference types="gapi.client" />
15
+
16
+ declare namespace gapi.client {
17
+ /** Load Dataform API v1beta1 */
18
+ function load(urlOrObject: "https://dataform.googleapis.com/$discovery/rest?version=v1beta1"): Promise<void>;
19
+ /** @deprecated Please load APIs with discovery documents. */
20
+ function load(name: "dataform", version: "v1beta1"): Promise<void>;
21
+ /** @deprecated Please load APIs with discovery documents. */
22
+ function load(name: "dataform", version: "v1beta1", callback: () => any): void;
23
+
24
+ namespace dataform {
25
+ interface Assertion {
26
+ /** A list of actions that this action depends on. */
27
+ dependencyTargets?: Target[];
28
+ /** Whether this action is disabled (i.e. should not be run). */
29
+ disabled?: boolean;
30
+ /** The parent action of this assertion. Only set if this assertion was automatically generated. */
31
+ parentAction?: Target;
32
+ /** Descriptor for the assertion's automatically-generated view and its columns. */
33
+ relationDescriptor?: RelationDescriptor;
34
+ /** The SELECT query which must return zero rows in order for this assertion to succeed. */
35
+ selectQuery?: string;
36
+ /** Arbitrary, user-defined tags on this action. */
37
+ tags?: string[];
38
+ }
39
+ interface BigQueryAction {
40
+ /** Output only. The generated BigQuery SQL script that will be executed. */
41
+ sqlScript?: string;
42
+ }
43
+ // tslint:disable-next-line:no-empty-interface
44
+ interface CancelWorkflowInvocationRequest {
45
+ }
46
+ interface CodeCompilationConfig {
47
+ /** Optional. The default schema (BigQuery dataset ID) for assertions. */
48
+ assertionSchema?: string;
49
+ /** Optional. The suffix that should be appended to all database (Google Cloud project ID) names. */
50
+ databaseSuffix?: string;
51
+ /** Optional. The default database (Google Cloud project ID). */
52
+ defaultDatabase?: string;
53
+ /** Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations. */
54
+ defaultLocation?: string;
55
+ /** Optional. The default schema (BigQuery dataset ID). */
56
+ defaultSchema?: string;
57
+ /** Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names. */
58
+ schemaSuffix?: string;
59
+ /** Optional. The prefix that should be prepended to all table names. */
60
+ tablePrefix?: string;
61
+ /** Optional. User-defined variables that are made available to project code during compilation. */
62
+ vars?: { [P in string]: string };
63
+ }
64
+ interface ColumnDescriptor {
65
+ /** A list of BigQuery policy tags that will be applied to the column. */
66
+ bigqueryPolicyTags?: string[];
67
+ /** A textual description of the column. */
68
+ description?: string;
69
+ /** The identifier for the column. Each entry in `path` represents one level of nesting. */
70
+ path?: string[];
71
+ }
72
+ interface CommitAuthor {
73
+ /** Required. The commit author's email address. */
74
+ emailAddress?: string;
75
+ /** Required. The commit author's name. */
76
+ name?: string;
77
+ }
78
+ interface CommitWorkspaceChangesRequest {
79
+ /** Required. The commit's author. */
80
+ author?: CommitAuthor;
81
+ /** Optional. The commit's message. */
82
+ commitMessage?: string;
83
+ /** Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed. */
84
+ paths?: string[];
85
+ }
86
+ interface CompilationError {
87
+ /** Output only. The identifier of the action where this error occurred, if available. */
88
+ actionTarget?: Target;
89
+ /** Output only. The error's top level message. */
90
+ message?: string;
91
+ /** Output only. The path of the file where this error occurred, if available, relative to the project root. */
92
+ path?: string;
93
+ /** Output only. The error's full stack trace. */
94
+ stack?: string;
95
+ }
96
+ interface CompilationResult {
97
+ /** Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. */
98
+ codeCompilationConfig?: CodeCompilationConfig;
99
+ /** Output only. Errors encountered during project compilation. */
100
+ compilationErrors?: CompilationError[];
101
+ /** Output only. The version of `@dataform/core` that was used for compilation. */
102
+ dataformCoreVersion?: string;
103
+ /**
104
+ * Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a
105
+ * branch name: `branch1`
106
+ */
107
+ gitCommitish?: string;
108
+ /** Output only. The compilation result's name. */
109
+ name?: string;
110
+ /**
111
+ * Immutable. The name of the release config to compile. The release config's 'current_compilation_result' field will be updated to this compilation result. Must be in the format
112
+ * `projects/*‍/locations/*‍/repositories/*‍/releaseConfigs/*`.
113
+ */
114
+ releaseConfig?: string;
115
+ /** Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace. */
116
+ resolvedGitCommitSha?: string;
117
+ /** Immutable. The name of the workspace to compile. Must be in the format `projects/*‍/locations/*‍/repositories/*‍/workspaces/*`. */
118
+ workspace?: string;
119
+ }
120
+ interface CompilationResultAction {
121
+ /** The assertion executed by this action. */
122
+ assertion?: Assertion;
123
+ /** The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. */
124
+ canonicalTarget?: Target;
125
+ /** The declaration declared by this action. */
126
+ declaration?: Declaration;
127
+ /** The full path including filename in which this action is located, relative to the workspace root. */
128
+ filePath?: string;
129
+ /** The database operations executed by this action. */
130
+ operations?: Operations;
131
+ /** The database relation created/updated by this action. */
132
+ relation?: Relation;
133
+ /** This action's identifier. Unique within the compilation result. */
134
+ target?: Target;
135
+ }
136
+ interface Declaration {
137
+ /** Descriptor for the relation and its columns. Used as documentation only, i.e. values here will result in no changes to the relation's metadata. */
138
+ relationDescriptor?: RelationDescriptor;
139
+ }
140
+ interface DirectoryEntry {
141
+ /** A child directory in the directory. */
142
+ directory?: string;
143
+ /** A file in the directory. */
144
+ file?: string;
145
+ }
146
+ // tslint:disable-next-line:no-empty-interface
147
+ interface Empty {
148
+ }
149
+ interface FetchFileDiffResponse {
150
+ /** The raw formatted Git diff for the file. */
151
+ formattedDiff?: string;
152
+ }
153
+ interface FetchFileGitStatusesResponse {
154
+ /** A list of all files which have uncommitted Git changes. There will only be a single entry for any given file. */
155
+ uncommittedFileChanges?: UncommittedFileChange[];
156
+ }
157
+ interface FetchGitAheadBehindResponse {
158
+ /** The number of commits in the remote branch that are not in the workspace. */
159
+ commitsAhead?: number;
160
+ /** The number of commits in the workspace that are not in the remote branch. */
161
+ commitsBehind?: number;
162
+ }
163
+ interface FetchRemoteBranchesResponse {
164
+ /** The remote repository's branch names. */
165
+ branches?: string[];
166
+ }
167
+ interface GitRemoteSettings {
168
+ /** Required. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*‍/secrets/*‍/versions/*`. */
169
+ authenticationTokenSecretVersion?: string;
170
+ /** Required. The Git remote's default branch name. */
171
+ defaultBranch?: string;
172
+ /** Output only. Indicates the status of the Git access token. */
173
+ tokenStatus?: string;
174
+ /** Required. The Git remote's URL. */
175
+ url?: string;
176
+ }
177
+ interface IncrementalTableConfig {
178
+ /** SQL statements to be executed after inserting new rows into the relation. */
179
+ incrementalPostOperations?: string[];
180
+ /** SQL statements to be executed before inserting new rows into the relation. */
181
+ incrementalPreOperations?: string[];
182
+ /** The SELECT query which returns rows which should be inserted into the relation if it already exists and is not being refreshed. */
183
+ incrementalSelectQuery?: string;
184
+ /** Whether this table should be protected from being refreshed. */
185
+ refreshDisabled?: boolean;
186
+ /**
187
+ * A set of columns or SQL expressions used to define row uniqueness. If any duplicates are discovered (as defined by `unique_key_parts`), only the newly selected rows (as defined by
188
+ * `incremental_select_query`) will be included in the relation.
189
+ */
190
+ uniqueKeyParts?: string[];
191
+ /** A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see `unique_key_parts` for more information). */
192
+ updatePartitionFilter?: string;
193
+ }
194
+ // tslint:disable-next-line:no-empty-interface
195
+ interface InstallNpmPackagesRequest {
196
+ }
197
+ // tslint:disable-next-line:no-empty-interface
198
+ interface InstallNpmPackagesResponse {
199
+ }
200
+ interface Interval {
201
+ /** Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. */
202
+ endTime?: string;
203
+ /** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
204
+ startTime?: string;
205
+ }
206
+ interface InvocationConfig {
207
+ /** Optional. When set to true, any incremental tables will be fully refreshed. */
208
+ fullyRefreshIncrementalTablesEnabled?: boolean;
209
+ /** Optional. The set of tags to include. */
210
+ includedTags?: string[];
211
+ /** Optional. The set of action identifiers to include. */
212
+ includedTargets?: Target[];
213
+ /** Optional. When set to true, transitive dependencies of included actions will be executed. */
214
+ transitiveDependenciesIncluded?: boolean;
215
+ /** Optional. When set to true, transitive dependents of included actions will be executed. */
216
+ transitiveDependentsIncluded?: boolean;
217
+ }
218
+ interface ListCompilationResultsResponse {
219
+ /** List of compilation results. */
220
+ compilationResults?: CompilationResult[];
221
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
222
+ nextPageToken?: string;
223
+ /** Locations which could not be reached. */
224
+ unreachable?: string[];
225
+ }
226
+ interface ListLocationsResponse {
227
+ /** A list of locations that matches the specified filter in the request. */
228
+ locations?: Location[];
229
+ /** The standard List next-page token. */
230
+ nextPageToken?: string;
231
+ }
232
+ interface ListReleaseConfigsResponse {
233
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
234
+ nextPageToken?: string;
235
+ /** List of release configs. */
236
+ releaseConfigs?: ReleaseConfig[];
237
+ /** Locations which could not be reached. */
238
+ unreachable?: string[];
239
+ }
240
+ interface ListRepositoriesResponse {
241
+ /** A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
242
+ nextPageToken?: string;
243
+ /** List of repositories. */
244
+ repositories?: Repository[];
245
+ /** Locations which could not be reached. */
246
+ unreachable?: string[];
247
+ }
248
+ interface ListWorkflowConfigsResponse {
249
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
250
+ nextPageToken?: string;
251
+ /** Locations which could not be reached. */
252
+ unreachable?: string[];
253
+ /** List of workflow configs. */
254
+ workflowConfigs?: WorkflowConfig[];
255
+ }
256
+ interface ListWorkflowInvocationsResponse {
257
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
258
+ nextPageToken?: string;
259
+ /** Locations which could not be reached. */
260
+ unreachable?: string[];
261
+ /** List of workflow invocations. */
262
+ workflowInvocations?: WorkflowInvocation[];
263
+ }
264
+ interface ListWorkspacesResponse {
265
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
266
+ nextPageToken?: string;
267
+ /** Locations which could not be reached. */
268
+ unreachable?: string[];
269
+ /** List of workspaces. */
270
+ workspaces?: Workspace[];
271
+ }
272
+ interface Location {
273
+ /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
274
+ displayName?: string;
275
+ /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
276
+ labels?: { [P in string]: string };
277
+ /** The canonical id for this location. For example: `"us-east1"`. */
278
+ locationId?: string;
279
+ /** Service-specific metadata. For example the available capacity at the given location. */
280
+ metadata?: { [P in string]: any };
281
+ /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
282
+ name?: string;
283
+ }
284
+ interface MakeDirectoryRequest {
285
+ /** Required. The directory's full path including directory name, relative to the workspace root. */
286
+ path?: string;
287
+ }
288
+ // tslint:disable-next-line:no-empty-interface
289
+ interface MakeDirectoryResponse {
290
+ }
291
+ interface MoveDirectoryRequest {
292
+ /** Required. The new path for the directory including directory name, rooted at workspace root. */
293
+ newPath?: string;
294
+ /** Required. The directory's full path including directory name, relative to the workspace root. */
295
+ path?: string;
296
+ }
297
+ // tslint:disable-next-line:no-empty-interface
298
+ interface MoveDirectoryResponse {
299
+ }
300
+ interface MoveFileRequest {
301
+ /** Required. The file's new path including filename, relative to the workspace root. */
302
+ newPath?: string;
303
+ /** Required. The file's full path including filename, relative to the workspace root. */
304
+ path?: string;
305
+ }
306
+ // tslint:disable-next-line:no-empty-interface
307
+ interface MoveFileResponse {
308
+ }
309
+ interface OperationMetadata {
310
+ /** Output only. API version used to start the operation. */
311
+ apiVersion?: string;
312
+ /**
313
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a
314
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
315
+ */
316
+ cancelRequested?: boolean;
317
+ /** Output only. The time the operation was created. */
318
+ createTime?: string;
319
+ /** Output only. The time the operation finished running. */
320
+ endTime?: string;
321
+ /** Output only. Human-readable status of the operation, if any. */
322
+ statusDetail?: string;
323
+ /** Output only. Server-defined resource path for the target of the operation. */
324
+ target?: string;
325
+ /** Output only. Name of the verb executed by the operation. */
326
+ verb?: string;
327
+ }
328
+ interface Operations {
329
+ /** A list of actions that this action depends on. */
330
+ dependencyTargets?: Target[];
331
+ /** Whether this action is disabled (i.e. should not be run). */
332
+ disabled?: boolean;
333
+ /** Whether these operations produce an output relation. */
334
+ hasOutput?: boolean;
335
+ /** A list of arbitrary SQL statements that will be executed without alteration. */
336
+ queries?: string[];
337
+ /** Descriptor for any output relation and its columns. Only set if `has_output` is true. */
338
+ relationDescriptor?: RelationDescriptor;
339
+ /** Arbitrary, user-defined tags on this action. */
340
+ tags?: string[];
341
+ }
342
+ interface PullGitCommitsRequest {
343
+ /** Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace. */
344
+ author?: CommitAuthor;
345
+ /** Optional. The name of the branch in the Git remote from which to pull commits. If left unset, the repository's default branch name will be used. */
346
+ remoteBranch?: string;
347
+ }
348
+ interface PushGitCommitsRequest {
349
+ /** Optional. The name of the branch in the Git remote to which commits should be pushed. If left unset, the repository's default branch name will be used. */
350
+ remoteBranch?: string;
351
+ }
352
+ interface QueryCompilationResultActionsResponse {
353
+ /** List of compilation result actions. */
354
+ compilationResultActions?: CompilationResultAction[];
355
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
356
+ nextPageToken?: string;
357
+ }
358
+ interface QueryDirectoryContentsResponse {
359
+ /** List of entries in the directory. */
360
+ directoryEntries?: DirectoryEntry[];
361
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
362
+ nextPageToken?: string;
363
+ }
364
+ interface QueryWorkflowInvocationActionsResponse {
365
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
366
+ nextPageToken?: string;
367
+ /** List of workflow invocation actions. */
368
+ workflowInvocationActions?: WorkflowInvocationAction[];
369
+ }
370
+ interface ReadFileResponse {
371
+ /** The file's contents. */
372
+ fileContents?: string;
373
+ }
374
+ interface Relation {
375
+ /**
376
+ * Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See
377
+ * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.
378
+ */
379
+ additionalOptions?: { [P in string]: string };
380
+ /** A list of columns or SQL expressions used to cluster the table. */
381
+ clusterExpressions?: string[];
382
+ /** A list of actions that this action depends on. */
383
+ dependencyTargets?: Target[];
384
+ /** Whether this action is disabled (i.e. should not be run). */
385
+ disabled?: boolean;
386
+ /** Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`. */
387
+ incrementalTableConfig?: IncrementalTableConfig;
388
+ /** Sets the partition expiration in days. */
389
+ partitionExpirationDays?: number;
390
+ /** The SQL expression used to partition the relation. */
391
+ partitionExpression?: string;
392
+ /** SQL statements to be executed after creating the relation. */
393
+ postOperations?: string[];
394
+ /** SQL statements to be executed before creating the relation. */
395
+ preOperations?: string[];
396
+ /** Descriptor for the relation and its columns. */
397
+ relationDescriptor?: RelationDescriptor;
398
+ /** The type of this relation. */
399
+ relationType?: string;
400
+ /** Specifies whether queries on this table must include a predicate filter that filters on the partitioning column. */
401
+ requirePartitionFilter?: boolean;
402
+ /** The SELECT query which returns rows which this relation should contain. */
403
+ selectQuery?: string;
404
+ /** Arbitrary, user-defined tags on this action. */
405
+ tags?: string[];
406
+ }
407
+ interface RelationDescriptor {
408
+ /** A set of BigQuery labels that should be applied to the relation. */
409
+ bigqueryLabels?: { [P in string]: string };
410
+ /** A list of descriptions of columns within the relation. */
411
+ columns?: ColumnDescriptor[];
412
+ /** A text description of the relation. */
413
+ description?: string;
414
+ }
415
+ interface ReleaseConfig {
416
+ /** Optional. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. */
417
+ codeCompilationConfig?: CodeCompilationConfig;
418
+ /** Optional. Optional schedule (in cron format) for automatic creation of compilation results. */
419
+ cronSchedule?: string;
420
+ /**
421
+ * Required. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch
422
+ * name: `branch1`
423
+ */
424
+ gitCommitish?: string;
425
+ /** Output only. The release config's name. */
426
+ name?: string;
427
+ /** Output only. Records of the 10 most recent scheduled release attempts. Updated whenever automatic creation of a compilation result is triggered by cron_schedule. */
428
+ recentScheduledReleaseRecords?: ScheduledReleaseRecord[];
429
+ /**
430
+ * Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is created from this release config, or when
431
+ * this resource is updated by API call (perhaps to roll back to an earlier release). The compilation result must have been created using this release config. Must be in the format
432
+ * `projects/*‍/locations/*‍/repositories/*‍/compilationResults/*`.
433
+ */
434
+ releaseCompilationResult?: string;
435
+ /**
436
+ * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database
437
+ * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
438
+ */
439
+ timeZone?: string;
440
+ }
441
+ interface RemoveDirectoryRequest {
442
+ /** Required. The directory's full path including directory name, relative to the workspace root. */
443
+ path?: string;
444
+ }
445
+ interface RemoveFileRequest {
446
+ /** Required. The file's full path including filename, relative to the workspace root. */
447
+ path?: string;
448
+ }
449
+ interface Repository {
450
+ /** Optional. If set, configures this repository to be linked to a Git remote. */
451
+ gitRemoteSettings?: GitRemoteSettings;
452
+ /** Output only. The repository's name. */
453
+ name?: string;
454
+ /**
455
+ * Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format
456
+ * `projects/*‍/secrets/*‍/versions/*`. The file itself must be in a JSON format.
457
+ */
458
+ npmrcEnvironmentVariablesSecretVersion?: string;
459
+ }
460
+ interface ResetWorkspaceChangesRequest {
461
+ /** Optional. If set to true, untracked files will be deleted. */
462
+ clean?: boolean;
463
+ /** Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset. */
464
+ paths?: string[];
465
+ }
466
+ interface ScheduledExecutionRecord {
467
+ /** The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. */
468
+ errorStatus?: Status;
469
+ /** The timestamp of this execution attempt. */
470
+ executionTime?: string;
471
+ /** The name of the created workflow invocation, if one was successfully created. Must be in the format `projects/*‍/locations/*‍/repositories/*‍/workflowInvocations/*`. */
472
+ workflowInvocation?: string;
473
+ }
474
+ interface ScheduledReleaseRecord {
475
+ /** The name of the created compilation result, if one was successfully created. Must be in the format `projects/*‍/locations/*‍/repositories/*‍/compilationResults/*`. */
476
+ compilationResult?: string;
477
+ /** The error status encountered upon this attempt to create the compilation result, if the attempt was unsuccessful. */
478
+ errorStatus?: Status;
479
+ /** The timestamp of this release attempt. */
480
+ releaseTime?: string;
481
+ }
482
+ interface Status {
483
+ /** The status code, which should be an enum value of google.rpc.Code. */
484
+ code?: number;
485
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
486
+ details?: Array<{ [P in string]: any }>;
487
+ /**
488
+ * 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
489
+ * client.
490
+ */
491
+ message?: string;
492
+ }
493
+ interface Target {
494
+ /** The action's database (Google Cloud project ID) . */
495
+ database?: string;
496
+ /** The action's name, within `database` and `schema`. */
497
+ name?: string;
498
+ /** The action's schema (BigQuery dataset ID), within `database`. */
499
+ schema?: string;
500
+ }
501
+ interface UncommittedFileChange {
502
+ /** The file's full path including filename, relative to the workspace root. */
503
+ path?: string;
504
+ /** Indicates the status of the file. */
505
+ state?: string;
506
+ }
507
+ interface WorkflowConfig {
508
+ /** Optional. Optional schedule (in cron format) for automatic execution of this workflow config. */
509
+ cronSchedule?: string;
510
+ /** Optional. If left unset, a default InvocationConfig will be used. */
511
+ invocationConfig?: InvocationConfig;
512
+ /** Output only. The workflow config's name. */
513
+ name?: string;
514
+ /** Output only. Records of the 10 most recent scheduled execution attempts. Updated whenever automatic creation of a compilation result is triggered by cron_schedule. */
515
+ recentScheduledExecutionRecords?: ScheduledExecutionRecord[];
516
+ /** Required. The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*‍/locations/*‍/repositories/*‍/releaseConfigs/*`. */
517
+ releaseConfig?: string;
518
+ /**
519
+ * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database
520
+ * (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
521
+ */
522
+ timeZone?: string;
523
+ }
524
+ interface WorkflowInvocation {
525
+ /** Immutable. The name of the compilation result to compile. Must be in the format `projects/*‍/locations/*‍/repositories/*‍/compilationResults/*`. */
526
+ compilationResult?: string;
527
+ /** Immutable. If left unset, a default InvocationConfig will be used. */
528
+ invocationConfig?: InvocationConfig;
529
+ /** Output only. This workflow invocation's timing details. */
530
+ invocationTiming?: Interval;
531
+ /** Output only. The workflow invocation's name. */
532
+ name?: string;
533
+ /** Output only. This workflow invocation's current state. */
534
+ state?: string;
535
+ }
536
+ interface WorkflowInvocationAction {
537
+ /** Output only. The workflow action's bigquery action details. */
538
+ bigqueryAction?: BigQueryAction;
539
+ /** Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. */
540
+ canonicalTarget?: Target;
541
+ /** Output only. If and only if action's state is FAILED a failure reason is set. */
542
+ failureReason?: string;
543
+ /**
544
+ * Output only. This action's timing details. `start_time` will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. `end_time` will be set if the action is in
545
+ * [SUCCEEDED, CANCELLED, FAILED] state.
546
+ */
547
+ invocationTiming?: Interval;
548
+ /** Output only. This action's current state. */
549
+ state?: string;
550
+ /** Output only. This action's identifier. Unique within the workflow invocation. */
551
+ target?: Target;
552
+ }
553
+ interface Workspace {
554
+ /** Output only. The workspace's name. */
555
+ name?: string;
556
+ }
557
+ interface WriteFileRequest {
558
+ /** Required. The file's contents. */
559
+ contents?: string;
560
+ /** Required. The file. */
561
+ path?: string;
562
+ }
563
+ // tslint:disable-next-line:no-empty-interface
564
+ interface WriteFileResponse {
565
+ }
566
+ interface CompilationResultsResource {
567
+ /** Creates a new CompilationResult in a given project and location. */
568
+ create(request: {
569
+ /** V1 error format. */
570
+ "$.xgafv"?: string;
571
+ /** OAuth access token. */
572
+ access_token?: string;
573
+ /** Data format for response. */
574
+ alt?: string;
575
+ /** JSONP */
576
+ callback?: string;
577
+ /** Selector specifying which fields to include in a partial response. */
578
+ fields?: string;
579
+ /** 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. */
580
+ key?: string;
581
+ /** OAuth 2.0 token for the current user. */
582
+ oauth_token?: string;
583
+ /** Required. The repository in which to create the compilation result. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
584
+ parent: string;
585
+ /** Returns response with indentations and line breaks. */
586
+ prettyPrint?: boolean;
587
+ /** 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. */
588
+ quotaUser?: string;
589
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
590
+ upload_protocol?: string;
591
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
592
+ uploadType?: string;
593
+ /** Request body */
594
+ resource: CompilationResult;
595
+ }): Request<CompilationResult>;
596
+ create(request: {
597
+ /** V1 error format. */
598
+ "$.xgafv"?: string;
599
+ /** OAuth access token. */
600
+ access_token?: string;
601
+ /** Data format for response. */
602
+ alt?: string;
603
+ /** JSONP */
604
+ callback?: string;
605
+ /** Selector specifying which fields to include in a partial response. */
606
+ fields?: string;
607
+ /** 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. */
608
+ key?: string;
609
+ /** OAuth 2.0 token for the current user. */
610
+ oauth_token?: string;
611
+ /** Required. The repository in which to create the compilation result. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
612
+ parent: string;
613
+ /** Returns response with indentations and line breaks. */
614
+ prettyPrint?: boolean;
615
+ /** 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. */
616
+ quotaUser?: string;
617
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
618
+ upload_protocol?: string;
619
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
620
+ uploadType?: string;
621
+ },
622
+ body: CompilationResult): Request<CompilationResult>;
623
+ /** Fetches a single CompilationResult. */
624
+ get(request?: {
625
+ /** V1 error format. */
626
+ "$.xgafv"?: string;
627
+ /** OAuth access token. */
628
+ access_token?: string;
629
+ /** Data format for response. */
630
+ alt?: string;
631
+ /** JSONP */
632
+ callback?: string;
633
+ /** Selector specifying which fields to include in a partial response. */
634
+ fields?: string;
635
+ /** 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. */
636
+ key?: string;
637
+ /** Required. The compilation result's name. */
638
+ name: string;
639
+ /** OAuth 2.0 token for the current user. */
640
+ oauth_token?: string;
641
+ /** Returns response with indentations and line breaks. */
642
+ prettyPrint?: boolean;
643
+ /** 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. */
644
+ quotaUser?: string;
645
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
646
+ upload_protocol?: string;
647
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
648
+ uploadType?: string;
649
+ }): Request<CompilationResult>;
650
+ /** Lists CompilationResults in a given Repository. */
651
+ list(request?: {
652
+ /** V1 error format. */
653
+ "$.xgafv"?: string;
654
+ /** OAuth access token. */
655
+ access_token?: string;
656
+ /** Data format for response. */
657
+ alt?: string;
658
+ /** JSONP */
659
+ callback?: string;
660
+ /** Selector specifying which fields to include in a partial response. */
661
+ fields?: string;
662
+ /** 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. */
663
+ key?: string;
664
+ /** OAuth 2.0 token for the current user. */
665
+ oauth_token?: string;
666
+ /** Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
667
+ pageSize?: number;
668
+ /**
669
+ * Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
670
+ * `ListCompilationResults` must match the call that provided the page token.
671
+ */
672
+ pageToken?: string;
673
+ /** Required. The repository in which to list compilation results. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
674
+ parent: string;
675
+ /** Returns response with indentations and line breaks. */
676
+ prettyPrint?: boolean;
677
+ /** 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. */
678
+ quotaUser?: string;
679
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
680
+ upload_protocol?: string;
681
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
682
+ uploadType?: string;
683
+ }): Request<ListCompilationResultsResponse>;
684
+ /** Returns CompilationResultActions in a given CompilationResult. */
685
+ query(request?: {
686
+ /** V1 error format. */
687
+ "$.xgafv"?: string;
688
+ /** OAuth access token. */
689
+ access_token?: string;
690
+ /** Data format for response. */
691
+ alt?: string;
692
+ /** JSONP */
693
+ callback?: string;
694
+ /** Selector specifying which fields to include in a partial response. */
695
+ fields?: string;
696
+ /** Optional. Optional filter for the returned list. Filtering is only currently supported on the `file_path` field. */
697
+ filter?: string;
698
+ /** 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. */
699
+ key?: string;
700
+ /** Required. The compilation result's name. */
701
+ name: string;
702
+ /** OAuth 2.0 token for the current user. */
703
+ oauth_token?: string;
704
+ /** Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
705
+ pageSize?: number;
706
+ /**
707
+ * Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided
708
+ * to `QueryCompilationResultActions` must match the call that provided the page token.
709
+ */
710
+ pageToken?: string;
711
+ /** Returns response with indentations and line breaks. */
712
+ prettyPrint?: boolean;
713
+ /** 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. */
714
+ quotaUser?: string;
715
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
716
+ upload_protocol?: string;
717
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
718
+ uploadType?: string;
719
+ }): Request<QueryCompilationResultActionsResponse>;
720
+ }
721
+ interface ReleaseConfigsResource {
722
+ /** Creates a new ReleaseConfig in a given Repository. */
723
+ create(request: {
724
+ /** V1 error format. */
725
+ "$.xgafv"?: string;
726
+ /** OAuth access token. */
727
+ access_token?: string;
728
+ /** Data format for response. */
729
+ alt?: string;
730
+ /** JSONP */
731
+ callback?: string;
732
+ /** Selector specifying which fields to include in a partial response. */
733
+ fields?: string;
734
+ /** 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. */
735
+ key?: string;
736
+ /** OAuth 2.0 token for the current user. */
737
+ oauth_token?: string;
738
+ /** Required. The repository in which to create the release config. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
739
+ parent: string;
740
+ /** Returns response with indentations and line breaks. */
741
+ prettyPrint?: boolean;
742
+ /** 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. */
743
+ quotaUser?: string;
744
+ /** Required. The ID to use for the release config, which will become the final component of the release config's resource name. */
745
+ releaseConfigId?: string;
746
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
747
+ upload_protocol?: string;
748
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
749
+ uploadType?: string;
750
+ /** Request body */
751
+ resource: ReleaseConfig;
752
+ }): Request<ReleaseConfig>;
753
+ create(request: {
754
+ /** V1 error format. */
755
+ "$.xgafv"?: string;
756
+ /** OAuth access token. */
757
+ access_token?: string;
758
+ /** Data format for response. */
759
+ alt?: string;
760
+ /** JSONP */
761
+ callback?: string;
762
+ /** Selector specifying which fields to include in a partial response. */
763
+ fields?: string;
764
+ /** 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. */
765
+ key?: string;
766
+ /** OAuth 2.0 token for the current user. */
767
+ oauth_token?: string;
768
+ /** Required. The repository in which to create the release config. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
769
+ parent: string;
770
+ /** Returns response with indentations and line breaks. */
771
+ prettyPrint?: boolean;
772
+ /** 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. */
773
+ quotaUser?: string;
774
+ /** Required. The ID to use for the release config, which will become the final component of the release config's resource name. */
775
+ releaseConfigId?: string;
776
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
777
+ upload_protocol?: string;
778
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
779
+ uploadType?: string;
780
+ },
781
+ body: ReleaseConfig): Request<ReleaseConfig>;
782
+ /** Deletes a single ReleaseConfig. */
783
+ delete(request?: {
784
+ /** V1 error format. */
785
+ "$.xgafv"?: string;
786
+ /** OAuth access token. */
787
+ access_token?: string;
788
+ /** Data format for response. */
789
+ alt?: string;
790
+ /** JSONP */
791
+ callback?: string;
792
+ /** Selector specifying which fields to include in a partial response. */
793
+ fields?: string;
794
+ /** 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. */
795
+ key?: string;
796
+ /** Required. The release config's name. */
797
+ name: string;
798
+ /** OAuth 2.0 token for the current user. */
799
+ oauth_token?: string;
800
+ /** Returns response with indentations and line breaks. */
801
+ prettyPrint?: boolean;
802
+ /** 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. */
803
+ quotaUser?: string;
804
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
805
+ upload_protocol?: string;
806
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
807
+ uploadType?: string;
808
+ }): Request<{}>;
809
+ /** Fetches a single ReleaseConfig. */
810
+ get(request?: {
811
+ /** V1 error format. */
812
+ "$.xgafv"?: string;
813
+ /** OAuth access token. */
814
+ access_token?: string;
815
+ /** Data format for response. */
816
+ alt?: string;
817
+ /** JSONP */
818
+ callback?: string;
819
+ /** Selector specifying which fields to include in a partial response. */
820
+ fields?: string;
821
+ /** 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. */
822
+ key?: string;
823
+ /** Required. The release config's name. */
824
+ name: string;
825
+ /** OAuth 2.0 token for the current user. */
826
+ oauth_token?: string;
827
+ /** Returns response with indentations and line breaks. */
828
+ prettyPrint?: boolean;
829
+ /** 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. */
830
+ quotaUser?: string;
831
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
832
+ upload_protocol?: string;
833
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
834
+ uploadType?: string;
835
+ }): Request<ReleaseConfig>;
836
+ /** Lists ReleaseConfigs in a given Repository. */
837
+ list(request?: {
838
+ /** V1 error format. */
839
+ "$.xgafv"?: string;
840
+ /** OAuth access token. */
841
+ access_token?: string;
842
+ /** Data format for response. */
843
+ alt?: string;
844
+ /** JSONP */
845
+ callback?: string;
846
+ /** Selector specifying which fields to include in a partial response. */
847
+ fields?: string;
848
+ /** 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. */
849
+ key?: string;
850
+ /** OAuth 2.0 token for the current user. */
851
+ oauth_token?: string;
852
+ /** Optional. Maximum number of release configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
853
+ pageSize?: number;
854
+ /**
855
+ * Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
856
+ * `ListReleaseConfigs` must match the call that provided the page token.
857
+ */
858
+ pageToken?: string;
859
+ /** Required. The repository in which to list release configs. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
860
+ parent: string;
861
+ /** Returns response with indentations and line breaks. */
862
+ prettyPrint?: boolean;
863
+ /** 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. */
864
+ quotaUser?: string;
865
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
866
+ upload_protocol?: string;
867
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
868
+ uploadType?: string;
869
+ }): Request<ListReleaseConfigsResponse>;
870
+ /** Updates a single ReleaseConfig. */
871
+ patch(request: {
872
+ /** V1 error format. */
873
+ "$.xgafv"?: string;
874
+ /** OAuth access token. */
875
+ access_token?: string;
876
+ /** Data format for response. */
877
+ alt?: string;
878
+ /** JSONP */
879
+ callback?: string;
880
+ /** Selector specifying which fields to include in a partial response. */
881
+ fields?: string;
882
+ /** 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. */
883
+ key?: string;
884
+ /** Output only. The release config's name. */
885
+ name: string;
886
+ /** OAuth 2.0 token for the current user. */
887
+ oauth_token?: string;
888
+ /** Returns response with indentations and line breaks. */
889
+ prettyPrint?: boolean;
890
+ /** 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. */
891
+ quotaUser?: string;
892
+ /** Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated. */
893
+ updateMask?: string;
894
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
895
+ upload_protocol?: string;
896
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
897
+ uploadType?: string;
898
+ /** Request body */
899
+ resource: ReleaseConfig;
900
+ }): Request<ReleaseConfig>;
901
+ patch(request: {
902
+ /** V1 error format. */
903
+ "$.xgafv"?: string;
904
+ /** OAuth access token. */
905
+ access_token?: string;
906
+ /** Data format for response. */
907
+ alt?: string;
908
+ /** JSONP */
909
+ callback?: string;
910
+ /** Selector specifying which fields to include in a partial response. */
911
+ fields?: string;
912
+ /** 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. */
913
+ key?: string;
914
+ /** Output only. The release config's name. */
915
+ name: string;
916
+ /** OAuth 2.0 token for the current user. */
917
+ oauth_token?: string;
918
+ /** Returns response with indentations and line breaks. */
919
+ prettyPrint?: boolean;
920
+ /** 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. */
921
+ quotaUser?: string;
922
+ /** Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated. */
923
+ updateMask?: string;
924
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
925
+ upload_protocol?: string;
926
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
927
+ uploadType?: string;
928
+ },
929
+ body: ReleaseConfig): Request<ReleaseConfig>;
930
+ }
931
+ interface WorkflowConfigsResource {
932
+ /** Creates a new WorkflowConfig in a given Repository. */
933
+ create(request: {
934
+ /** V1 error format. */
935
+ "$.xgafv"?: string;
936
+ /** OAuth access token. */
937
+ access_token?: string;
938
+ /** Data format for response. */
939
+ alt?: string;
940
+ /** JSONP */
941
+ callback?: string;
942
+ /** Selector specifying which fields to include in a partial response. */
943
+ fields?: string;
944
+ /** 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. */
945
+ key?: string;
946
+ /** OAuth 2.0 token for the current user. */
947
+ oauth_token?: string;
948
+ /** Required. The repository in which to create the workflow config. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
949
+ parent: string;
950
+ /** Returns response with indentations and line breaks. */
951
+ prettyPrint?: boolean;
952
+ /** 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. */
953
+ quotaUser?: string;
954
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
955
+ upload_protocol?: string;
956
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
957
+ uploadType?: string;
958
+ /** Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. */
959
+ workflowConfigId?: string;
960
+ /** Request body */
961
+ resource: WorkflowConfig;
962
+ }): Request<WorkflowConfig>;
963
+ create(request: {
964
+ /** V1 error format. */
965
+ "$.xgafv"?: string;
966
+ /** OAuth access token. */
967
+ access_token?: string;
968
+ /** Data format for response. */
969
+ alt?: string;
970
+ /** JSONP */
971
+ callback?: string;
972
+ /** Selector specifying which fields to include in a partial response. */
973
+ fields?: string;
974
+ /** 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. */
975
+ key?: string;
976
+ /** OAuth 2.0 token for the current user. */
977
+ oauth_token?: string;
978
+ /** Required. The repository in which to create the workflow config. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
979
+ parent: string;
980
+ /** Returns response with indentations and line breaks. */
981
+ prettyPrint?: boolean;
982
+ /** 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. */
983
+ quotaUser?: string;
984
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
985
+ upload_protocol?: string;
986
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
987
+ uploadType?: string;
988
+ /** Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. */
989
+ workflowConfigId?: string;
990
+ },
991
+ body: WorkflowConfig): Request<WorkflowConfig>;
992
+ /** Deletes a single WorkflowConfig. */
993
+ delete(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
+ /** Required. The workflow config's name. */
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<{}>;
1019
+ /** Fetches a single WorkflowConfig. */
1020
+ get(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
+ /** 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. */
1032
+ key?: string;
1033
+ /** Required. The workflow config's name. */
1034
+ name: string;
1035
+ /** OAuth 2.0 token for the current user. */
1036
+ oauth_token?: string;
1037
+ /** Returns response with indentations and line breaks. */
1038
+ prettyPrint?: boolean;
1039
+ /** 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. */
1040
+ quotaUser?: string;
1041
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1042
+ upload_protocol?: string;
1043
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
+ uploadType?: string;
1045
+ }): Request<WorkflowConfig>;
1046
+ /** Lists WorkflowConfigs in a given Repository. */
1047
+ list(request?: {
1048
+ /** V1 error format. */
1049
+ "$.xgafv"?: string;
1050
+ /** OAuth access token. */
1051
+ access_token?: string;
1052
+ /** Data format for response. */
1053
+ alt?: string;
1054
+ /** JSONP */
1055
+ callback?: string;
1056
+ /** Selector specifying which fields to include in a partial response. */
1057
+ fields?: string;
1058
+ /** 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. */
1059
+ key?: string;
1060
+ /** OAuth 2.0 token for the current user. */
1061
+ oauth_token?: string;
1062
+ /** Optional. Maximum number of workflow configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
1063
+ pageSize?: number;
1064
+ /**
1065
+ * Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1066
+ * `ListWorkflowConfigs` must match the call that provided the page token.
1067
+ */
1068
+ pageToken?: string;
1069
+ /** Required. The repository in which to list workflow configs. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
1070
+ parent: string;
1071
+ /** Returns response with indentations and line breaks. */
1072
+ prettyPrint?: boolean;
1073
+ /** 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. */
1074
+ quotaUser?: string;
1075
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1076
+ upload_protocol?: string;
1077
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1078
+ uploadType?: string;
1079
+ }): Request<ListWorkflowConfigsResponse>;
1080
+ /** Updates a single WorkflowConfig. */
1081
+ patch(request: {
1082
+ /** V1 error format. */
1083
+ "$.xgafv"?: string;
1084
+ /** OAuth access token. */
1085
+ access_token?: string;
1086
+ /** Data format for response. */
1087
+ alt?: string;
1088
+ /** JSONP */
1089
+ callback?: string;
1090
+ /** Selector specifying which fields to include in a partial response. */
1091
+ fields?: string;
1092
+ /** 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. */
1093
+ key?: string;
1094
+ /** Output only. The workflow config's name. */
1095
+ name: string;
1096
+ /** OAuth 2.0 token for the current user. */
1097
+ oauth_token?: string;
1098
+ /** Returns response with indentations and line breaks. */
1099
+ prettyPrint?: boolean;
1100
+ /** 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. */
1101
+ quotaUser?: string;
1102
+ /** Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated. */
1103
+ updateMask?: string;
1104
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1105
+ upload_protocol?: string;
1106
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1107
+ uploadType?: string;
1108
+ /** Request body */
1109
+ resource: WorkflowConfig;
1110
+ }): Request<WorkflowConfig>;
1111
+ patch(request: {
1112
+ /** V1 error format. */
1113
+ "$.xgafv"?: string;
1114
+ /** OAuth access token. */
1115
+ access_token?: string;
1116
+ /** Data format for response. */
1117
+ alt?: string;
1118
+ /** JSONP */
1119
+ callback?: string;
1120
+ /** Selector specifying which fields to include in a partial response. */
1121
+ fields?: string;
1122
+ /** 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. */
1123
+ key?: string;
1124
+ /** Output only. The workflow config's name. */
1125
+ name: string;
1126
+ /** OAuth 2.0 token for the current user. */
1127
+ oauth_token?: string;
1128
+ /** Returns response with indentations and line breaks. */
1129
+ prettyPrint?: boolean;
1130
+ /** 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. */
1131
+ quotaUser?: string;
1132
+ /** Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated. */
1133
+ updateMask?: string;
1134
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1135
+ upload_protocol?: string;
1136
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1137
+ uploadType?: string;
1138
+ },
1139
+ body: WorkflowConfig): Request<WorkflowConfig>;
1140
+ }
1141
+ interface WorkflowInvocationsResource {
1142
+ /** Requests cancellation of a running WorkflowInvocation. */
1143
+ cancel(request: {
1144
+ /** V1 error format. */
1145
+ "$.xgafv"?: string;
1146
+ /** OAuth access token. */
1147
+ access_token?: string;
1148
+ /** Data format for response. */
1149
+ alt?: string;
1150
+ /** JSONP */
1151
+ callback?: string;
1152
+ /** Selector specifying which fields to include in a partial response. */
1153
+ fields?: string;
1154
+ /** 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. */
1155
+ key?: string;
1156
+ /** Required. The workflow invocation resource's name. */
1157
+ name: string;
1158
+ /** OAuth 2.0 token for the current user. */
1159
+ oauth_token?: string;
1160
+ /** Returns response with indentations and line breaks. */
1161
+ prettyPrint?: boolean;
1162
+ /** 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. */
1163
+ quotaUser?: string;
1164
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1165
+ upload_protocol?: string;
1166
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1167
+ uploadType?: string;
1168
+ /** Request body */
1169
+ resource: CancelWorkflowInvocationRequest;
1170
+ }): Request<{}>;
1171
+ cancel(request: {
1172
+ /** V1 error format. */
1173
+ "$.xgafv"?: string;
1174
+ /** OAuth access token. */
1175
+ access_token?: string;
1176
+ /** Data format for response. */
1177
+ alt?: string;
1178
+ /** JSONP */
1179
+ callback?: string;
1180
+ /** Selector specifying which fields to include in a partial response. */
1181
+ fields?: string;
1182
+ /** 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. */
1183
+ key?: string;
1184
+ /** Required. The workflow invocation resource's name. */
1185
+ name: string;
1186
+ /** OAuth 2.0 token for the current user. */
1187
+ oauth_token?: string;
1188
+ /** Returns response with indentations and line breaks. */
1189
+ prettyPrint?: boolean;
1190
+ /** 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. */
1191
+ quotaUser?: string;
1192
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1193
+ upload_protocol?: string;
1194
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1195
+ uploadType?: string;
1196
+ },
1197
+ body: CancelWorkflowInvocationRequest): Request<{}>;
1198
+ /** Creates a new WorkflowInvocation in a given Repository. */
1199
+ create(request: {
1200
+ /** V1 error format. */
1201
+ "$.xgafv"?: string;
1202
+ /** OAuth access token. */
1203
+ access_token?: string;
1204
+ /** Data format for response. */
1205
+ alt?: string;
1206
+ /** JSONP */
1207
+ callback?: string;
1208
+ /** Selector specifying which fields to include in a partial response. */
1209
+ fields?: string;
1210
+ /** 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. */
1211
+ key?: string;
1212
+ /** OAuth 2.0 token for the current user. */
1213
+ oauth_token?: string;
1214
+ /** Required. The repository in which to create the workflow invocation. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
1215
+ parent: string;
1216
+ /** Returns response with indentations and line breaks. */
1217
+ prettyPrint?: boolean;
1218
+ /** 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. */
1219
+ quotaUser?: string;
1220
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1221
+ upload_protocol?: string;
1222
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1223
+ uploadType?: string;
1224
+ /** Request body */
1225
+ resource: WorkflowInvocation;
1226
+ }): Request<WorkflowInvocation>;
1227
+ create(request: {
1228
+ /** V1 error format. */
1229
+ "$.xgafv"?: string;
1230
+ /** OAuth access token. */
1231
+ access_token?: string;
1232
+ /** Data format for response. */
1233
+ alt?: string;
1234
+ /** JSONP */
1235
+ callback?: string;
1236
+ /** Selector specifying which fields to include in a partial response. */
1237
+ fields?: string;
1238
+ /** 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. */
1239
+ key?: string;
1240
+ /** OAuth 2.0 token for the current user. */
1241
+ oauth_token?: string;
1242
+ /** Required. The repository in which to create the workflow invocation. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
1243
+ parent: string;
1244
+ /** Returns response with indentations and line breaks. */
1245
+ prettyPrint?: boolean;
1246
+ /** 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. */
1247
+ quotaUser?: string;
1248
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1249
+ upload_protocol?: string;
1250
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1251
+ uploadType?: string;
1252
+ },
1253
+ body: WorkflowInvocation): Request<WorkflowInvocation>;
1254
+ /** Deletes a single WorkflowInvocation. */
1255
+ delete(request?: {
1256
+ /** V1 error format. */
1257
+ "$.xgafv"?: string;
1258
+ /** OAuth access token. */
1259
+ access_token?: string;
1260
+ /** Data format for response. */
1261
+ alt?: string;
1262
+ /** JSONP */
1263
+ callback?: string;
1264
+ /** Selector specifying which fields to include in a partial response. */
1265
+ fields?: string;
1266
+ /** 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. */
1267
+ key?: string;
1268
+ /** Required. The workflow invocation resource's name. */
1269
+ name: string;
1270
+ /** OAuth 2.0 token for the current user. */
1271
+ oauth_token?: string;
1272
+ /** Returns response with indentations and line breaks. */
1273
+ prettyPrint?: boolean;
1274
+ /** 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. */
1275
+ quotaUser?: string;
1276
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1277
+ upload_protocol?: string;
1278
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1279
+ uploadType?: string;
1280
+ }): Request<{}>;
1281
+ /** Fetches a single WorkflowInvocation. */
1282
+ get(request?: {
1283
+ /** V1 error format. */
1284
+ "$.xgafv"?: string;
1285
+ /** OAuth access token. */
1286
+ access_token?: string;
1287
+ /** Data format for response. */
1288
+ alt?: string;
1289
+ /** JSONP */
1290
+ callback?: string;
1291
+ /** Selector specifying which fields to include in a partial response. */
1292
+ fields?: string;
1293
+ /** 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. */
1294
+ key?: string;
1295
+ /** Required. The workflow invocation resource's name. */
1296
+ name: string;
1297
+ /** OAuth 2.0 token for the current user. */
1298
+ oauth_token?: string;
1299
+ /** Returns response with indentations and line breaks. */
1300
+ prettyPrint?: boolean;
1301
+ /** 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. */
1302
+ quotaUser?: string;
1303
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1304
+ upload_protocol?: string;
1305
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1306
+ uploadType?: string;
1307
+ }): Request<WorkflowInvocation>;
1308
+ /** Lists WorkflowInvocations in a given Repository. */
1309
+ list(request?: {
1310
+ /** V1 error format. */
1311
+ "$.xgafv"?: string;
1312
+ /** OAuth access token. */
1313
+ access_token?: string;
1314
+ /** Data format for response. */
1315
+ alt?: string;
1316
+ /** JSONP */
1317
+ callback?: string;
1318
+ /** Selector specifying which fields to include in a partial response. */
1319
+ fields?: string;
1320
+ /** Optional. Filter for the returned list. */
1321
+ filter?: string;
1322
+ /** 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. */
1323
+ key?: string;
1324
+ /** OAuth 2.0 token for the current user. */
1325
+ oauth_token?: string;
1326
+ /** Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field. */
1327
+ orderBy?: string;
1328
+ /** Optional. Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
1329
+ pageSize?: number;
1330
+ /**
1331
+ * Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1332
+ * `ListWorkflowInvocations` must match the call that provided the page token.
1333
+ */
1334
+ pageToken?: string;
1335
+ /** Required. The parent resource of the WorkflowInvocation type. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
1336
+ parent: string;
1337
+ /** Returns response with indentations and line breaks. */
1338
+ prettyPrint?: boolean;
1339
+ /** 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. */
1340
+ quotaUser?: string;
1341
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1342
+ upload_protocol?: string;
1343
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1344
+ uploadType?: string;
1345
+ }): Request<ListWorkflowInvocationsResponse>;
1346
+ /** Returns WorkflowInvocationActions in a given WorkflowInvocation. */
1347
+ query(request?: {
1348
+ /** V1 error format. */
1349
+ "$.xgafv"?: string;
1350
+ /** OAuth access token. */
1351
+ access_token?: string;
1352
+ /** Data format for response. */
1353
+ alt?: string;
1354
+ /** JSONP */
1355
+ callback?: string;
1356
+ /** Selector specifying which fields to include in a partial response. */
1357
+ fields?: string;
1358
+ /** 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. */
1359
+ key?: string;
1360
+ /** Required. The workflow invocation's name. */
1361
+ name: string;
1362
+ /** OAuth 2.0 token for the current user. */
1363
+ oauth_token?: string;
1364
+ /** Optional. Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
1365
+ pageSize?: number;
1366
+ /**
1367
+ * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided
1368
+ * to `QueryWorkflowInvocationActions` must match the call that provided the page token.
1369
+ */
1370
+ pageToken?: string;
1371
+ /** Returns response with indentations and line breaks. */
1372
+ prettyPrint?: boolean;
1373
+ /** 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. */
1374
+ quotaUser?: string;
1375
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1376
+ upload_protocol?: string;
1377
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1378
+ uploadType?: string;
1379
+ }): Request<QueryWorkflowInvocationActionsResponse>;
1380
+ }
1381
+ interface WorkspacesResource {
1382
+ /** Applies a Git commit for uncommitted files in a Workspace. */
1383
+ commit(request: {
1384
+ /** V1 error format. */
1385
+ "$.xgafv"?: string;
1386
+ /** OAuth access token. */
1387
+ access_token?: string;
1388
+ /** Data format for response. */
1389
+ alt?: string;
1390
+ /** JSONP */
1391
+ callback?: string;
1392
+ /** Selector specifying which fields to include in a partial response. */
1393
+ fields?: string;
1394
+ /** 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. */
1395
+ key?: string;
1396
+ /** Required. The workspace's name. */
1397
+ name: string;
1398
+ /** OAuth 2.0 token for the current user. */
1399
+ oauth_token?: string;
1400
+ /** Returns response with indentations and line breaks. */
1401
+ prettyPrint?: boolean;
1402
+ /** 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. */
1403
+ quotaUser?: string;
1404
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1405
+ upload_protocol?: string;
1406
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1407
+ uploadType?: string;
1408
+ /** Request body */
1409
+ resource: CommitWorkspaceChangesRequest;
1410
+ }): Request<{}>;
1411
+ commit(request: {
1412
+ /** V1 error format. */
1413
+ "$.xgafv"?: string;
1414
+ /** OAuth access token. */
1415
+ access_token?: string;
1416
+ /** Data format for response. */
1417
+ alt?: string;
1418
+ /** JSONP */
1419
+ callback?: string;
1420
+ /** Selector specifying which fields to include in a partial response. */
1421
+ fields?: string;
1422
+ /** 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. */
1423
+ key?: string;
1424
+ /** Required. The workspace's name. */
1425
+ name: string;
1426
+ /** OAuth 2.0 token for the current user. */
1427
+ oauth_token?: string;
1428
+ /** Returns response with indentations and line breaks. */
1429
+ prettyPrint?: boolean;
1430
+ /** 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. */
1431
+ quotaUser?: string;
1432
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1433
+ upload_protocol?: string;
1434
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1435
+ uploadType?: string;
1436
+ },
1437
+ body: CommitWorkspaceChangesRequest): Request<{}>;
1438
+ /** Creates a new Workspace in a given Repository. */
1439
+ create(request: {
1440
+ /** V1 error format. */
1441
+ "$.xgafv"?: string;
1442
+ /** OAuth access token. */
1443
+ access_token?: string;
1444
+ /** Data format for response. */
1445
+ alt?: string;
1446
+ /** JSONP */
1447
+ callback?: string;
1448
+ /** Selector specifying which fields to include in a partial response. */
1449
+ fields?: string;
1450
+ /** 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. */
1451
+ key?: string;
1452
+ /** OAuth 2.0 token for the current user. */
1453
+ oauth_token?: string;
1454
+ /** Required. The repository in which to create the workspace. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
1455
+ parent: string;
1456
+ /** Returns response with indentations and line breaks. */
1457
+ prettyPrint?: boolean;
1458
+ /** 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. */
1459
+ quotaUser?: string;
1460
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1461
+ upload_protocol?: string;
1462
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1463
+ uploadType?: string;
1464
+ /** Required. The ID to use for the workspace, which will become the final component of the workspace's resource name. */
1465
+ workspaceId?: string;
1466
+ /** Request body */
1467
+ resource: Workspace;
1468
+ }): Request<Workspace>;
1469
+ create(request: {
1470
+ /** V1 error format. */
1471
+ "$.xgafv"?: string;
1472
+ /** OAuth access token. */
1473
+ access_token?: string;
1474
+ /** Data format for response. */
1475
+ alt?: string;
1476
+ /** JSONP */
1477
+ callback?: string;
1478
+ /** Selector specifying which fields to include in a partial response. */
1479
+ fields?: string;
1480
+ /** 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. */
1481
+ key?: string;
1482
+ /** OAuth 2.0 token for the current user. */
1483
+ oauth_token?: string;
1484
+ /** Required. The repository in which to create the workspace. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
1485
+ parent: string;
1486
+ /** Returns response with indentations and line breaks. */
1487
+ prettyPrint?: boolean;
1488
+ /** 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. */
1489
+ quotaUser?: string;
1490
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1491
+ upload_protocol?: string;
1492
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1493
+ uploadType?: string;
1494
+ /** Required. The ID to use for the workspace, which will become the final component of the workspace's resource name. */
1495
+ workspaceId?: string;
1496
+ },
1497
+ body: Workspace): Request<Workspace>;
1498
+ /** Deletes a single Workspace. */
1499
+ delete(request?: {
1500
+ /** V1 error format. */
1501
+ "$.xgafv"?: string;
1502
+ /** OAuth access token. */
1503
+ access_token?: string;
1504
+ /** Data format for response. */
1505
+ alt?: string;
1506
+ /** JSONP */
1507
+ callback?: string;
1508
+ /** Selector specifying which fields to include in a partial response. */
1509
+ fields?: string;
1510
+ /** 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. */
1511
+ key?: string;
1512
+ /** Required. The workspace resource's name. */
1513
+ name: string;
1514
+ /** OAuth 2.0 token for the current user. */
1515
+ oauth_token?: string;
1516
+ /** Returns response with indentations and line breaks. */
1517
+ prettyPrint?: boolean;
1518
+ /** 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. */
1519
+ quotaUser?: string;
1520
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1521
+ upload_protocol?: string;
1522
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1523
+ uploadType?: string;
1524
+ }): Request<{}>;
1525
+ /** Fetches Git diff for an uncommitted file in a Workspace. */
1526
+ fetchFileDiff(request?: {
1527
+ /** V1 error format. */
1528
+ "$.xgafv"?: string;
1529
+ /** OAuth access token. */
1530
+ access_token?: string;
1531
+ /** Data format for response. */
1532
+ alt?: string;
1533
+ /** JSONP */
1534
+ callback?: string;
1535
+ /** Selector specifying which fields to include in a partial response. */
1536
+ fields?: string;
1537
+ /** 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. */
1538
+ key?: string;
1539
+ /** OAuth 2.0 token for the current user. */
1540
+ oauth_token?: string;
1541
+ /** Required. The file's full path including filename, relative to the workspace root. */
1542
+ path?: string;
1543
+ /** Returns response with indentations and line breaks. */
1544
+ prettyPrint?: boolean;
1545
+ /** 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. */
1546
+ quotaUser?: string;
1547
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1548
+ upload_protocol?: string;
1549
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1550
+ uploadType?: string;
1551
+ /** Required. The workspace's name. */
1552
+ workspace: string;
1553
+ }): Request<FetchFileDiffResponse>;
1554
+ /** Fetches Git statuses for the files in a Workspace. */
1555
+ fetchFileGitStatuses(request?: {
1556
+ /** V1 error format. */
1557
+ "$.xgafv"?: string;
1558
+ /** OAuth access token. */
1559
+ access_token?: string;
1560
+ /** Data format for response. */
1561
+ alt?: string;
1562
+ /** JSONP */
1563
+ callback?: string;
1564
+ /** Selector specifying which fields to include in a partial response. */
1565
+ fields?: string;
1566
+ /** 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. */
1567
+ key?: string;
1568
+ /** Required. The workspace's name. */
1569
+ name: string;
1570
+ /** OAuth 2.0 token for the current user. */
1571
+ oauth_token?: string;
1572
+ /** Returns response with indentations and line breaks. */
1573
+ prettyPrint?: boolean;
1574
+ /** 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. */
1575
+ quotaUser?: string;
1576
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1577
+ upload_protocol?: string;
1578
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1579
+ uploadType?: string;
1580
+ }): Request<FetchFileGitStatusesResponse>;
1581
+ /** Fetches Git ahead/behind against a remote branch. */
1582
+ fetchGitAheadBehind(request?: {
1583
+ /** V1 error format. */
1584
+ "$.xgafv"?: string;
1585
+ /** OAuth access token. */
1586
+ access_token?: string;
1587
+ /** Data format for response. */
1588
+ alt?: string;
1589
+ /** JSONP */
1590
+ callback?: string;
1591
+ /** Selector specifying which fields to include in a partial response. */
1592
+ fields?: string;
1593
+ /** 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. */
1594
+ key?: string;
1595
+ /** Required. The workspace's name. */
1596
+ name: string;
1597
+ /** OAuth 2.0 token for the current user. */
1598
+ oauth_token?: string;
1599
+ /** Returns response with indentations and line breaks. */
1600
+ prettyPrint?: boolean;
1601
+ /** 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. */
1602
+ quotaUser?: string;
1603
+ /** Optional. The name of the branch in the Git remote against which this workspace should be compared. If left unset, the repository's default branch name will be used. */
1604
+ remoteBranch?: string;
1605
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1606
+ upload_protocol?: string;
1607
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1608
+ uploadType?: string;
1609
+ }): Request<FetchGitAheadBehindResponse>;
1610
+ /** Fetches a single Workspace. */
1611
+ get(request?: {
1612
+ /** V1 error format. */
1613
+ "$.xgafv"?: string;
1614
+ /** OAuth access token. */
1615
+ access_token?: string;
1616
+ /** Data format for response. */
1617
+ alt?: string;
1618
+ /** JSONP */
1619
+ callback?: string;
1620
+ /** Selector specifying which fields to include in a partial response. */
1621
+ fields?: string;
1622
+ /** 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. */
1623
+ key?: string;
1624
+ /** Required. The workspace's name. */
1625
+ name: string;
1626
+ /** OAuth 2.0 token for the current user. */
1627
+ oauth_token?: string;
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
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1633
+ upload_protocol?: string;
1634
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1635
+ uploadType?: string;
1636
+ }): Request<Workspace>;
1637
+ /** Installs dependency NPM packages (inside a Workspace). */
1638
+ installNpmPackages(request: {
1639
+ /** V1 error format. */
1640
+ "$.xgafv"?: string;
1641
+ /** OAuth access token. */
1642
+ access_token?: string;
1643
+ /** Data format for response. */
1644
+ alt?: string;
1645
+ /** JSONP */
1646
+ callback?: string;
1647
+ /** Selector specifying which fields to include in a partial response. */
1648
+ fields?: string;
1649
+ /** 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. */
1650
+ key?: string;
1651
+ /** OAuth 2.0 token for the current user. */
1652
+ oauth_token?: string;
1653
+ /** Returns response with indentations and line breaks. */
1654
+ prettyPrint?: boolean;
1655
+ /** 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. */
1656
+ quotaUser?: string;
1657
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1658
+ upload_protocol?: string;
1659
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1660
+ uploadType?: string;
1661
+ /** Required. The workspace's name. */
1662
+ workspace: string;
1663
+ /** Request body */
1664
+ resource: InstallNpmPackagesRequest;
1665
+ }): Request<{}>;
1666
+ installNpmPackages(request: {
1667
+ /** V1 error format. */
1668
+ "$.xgafv"?: string;
1669
+ /** OAuth access token. */
1670
+ access_token?: string;
1671
+ /** Data format for response. */
1672
+ alt?: string;
1673
+ /** JSONP */
1674
+ callback?: string;
1675
+ /** Selector specifying which fields to include in a partial response. */
1676
+ fields?: string;
1677
+ /** 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. */
1678
+ key?: string;
1679
+ /** OAuth 2.0 token for the current user. */
1680
+ oauth_token?: string;
1681
+ /** Returns response with indentations and line breaks. */
1682
+ prettyPrint?: boolean;
1683
+ /** 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. */
1684
+ quotaUser?: string;
1685
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1686
+ upload_protocol?: string;
1687
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1688
+ uploadType?: string;
1689
+ /** Required. The workspace's name. */
1690
+ workspace: string;
1691
+ },
1692
+ body: InstallNpmPackagesRequest): Request<{}>;
1693
+ /** Lists Workspaces in a given Repository. */
1694
+ list(request?: {
1695
+ /** V1 error format. */
1696
+ "$.xgafv"?: string;
1697
+ /** OAuth access token. */
1698
+ access_token?: string;
1699
+ /** Data format for response. */
1700
+ alt?: string;
1701
+ /** JSONP */
1702
+ callback?: string;
1703
+ /** Selector specifying which fields to include in a partial response. */
1704
+ fields?: string;
1705
+ /** Optional. Filter for the returned list. */
1706
+ filter?: string;
1707
+ /** 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. */
1708
+ key?: string;
1709
+ /** OAuth 2.0 token for the current user. */
1710
+ oauth_token?: string;
1711
+ /** Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field. */
1712
+ orderBy?: string;
1713
+ /** Optional. Maximum number of workspaces to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
1714
+ pageSize?: number;
1715
+ /**
1716
+ * Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1717
+ * `ListWorkspaces` must match the call that provided the page token.
1718
+ */
1719
+ pageToken?: string;
1720
+ /** Required. The repository in which to list workspaces. Must be in the format `projects/*‍/locations/*‍/repositories/*`. */
1721
+ parent: string;
1722
+ /** Returns response with indentations and line breaks. */
1723
+ prettyPrint?: boolean;
1724
+ /** 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. */
1725
+ quotaUser?: string;
1726
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1727
+ upload_protocol?: string;
1728
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1729
+ uploadType?: string;
1730
+ }): Request<ListWorkspacesResponse>;
1731
+ /** Creates a directory inside a Workspace. */
1732
+ makeDirectory(request: {
1733
+ /** V1 error format. */
1734
+ "$.xgafv"?: string;
1735
+ /** OAuth access token. */
1736
+ access_token?: string;
1737
+ /** Data format for response. */
1738
+ alt?: string;
1739
+ /** JSONP */
1740
+ callback?: string;
1741
+ /** Selector specifying which fields to include in a partial response. */
1742
+ fields?: string;
1743
+ /** 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. */
1744
+ key?: string;
1745
+ /** OAuth 2.0 token for the current user. */
1746
+ oauth_token?: string;
1747
+ /** Returns response with indentations and line breaks. */
1748
+ prettyPrint?: boolean;
1749
+ /** 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. */
1750
+ quotaUser?: string;
1751
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1752
+ upload_protocol?: string;
1753
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1754
+ uploadType?: string;
1755
+ /** Required. The workspace's name. */
1756
+ workspace: string;
1757
+ /** Request body */
1758
+ resource: MakeDirectoryRequest;
1759
+ }): Request<{}>;
1760
+ makeDirectory(request: {
1761
+ /** V1 error format. */
1762
+ "$.xgafv"?: string;
1763
+ /** OAuth access token. */
1764
+ access_token?: string;
1765
+ /** Data format for response. */
1766
+ alt?: string;
1767
+ /** JSONP */
1768
+ callback?: string;
1769
+ /** Selector specifying which fields to include in a partial response. */
1770
+ fields?: string;
1771
+ /** 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. */
1772
+ key?: string;
1773
+ /** OAuth 2.0 token for the current user. */
1774
+ oauth_token?: string;
1775
+ /** Returns response with indentations and line breaks. */
1776
+ prettyPrint?: boolean;
1777
+ /** 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. */
1778
+ quotaUser?: string;
1779
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1780
+ upload_protocol?: string;
1781
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1782
+ uploadType?: string;
1783
+ /** Required. The workspace's name. */
1784
+ workspace: string;
1785
+ },
1786
+ body: MakeDirectoryRequest): Request<{}>;
1787
+ /** Moves a directory (inside a Workspace), and all of its contents, to a new location. */
1788
+ moveDirectory(request: {
1789
+ /** V1 error format. */
1790
+ "$.xgafv"?: string;
1791
+ /** OAuth access token. */
1792
+ access_token?: string;
1793
+ /** Data format for response. */
1794
+ alt?: string;
1795
+ /** JSONP */
1796
+ callback?: string;
1797
+ /** Selector specifying which fields to include in a partial response. */
1798
+ fields?: string;
1799
+ /** 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. */
1800
+ key?: string;
1801
+ /** OAuth 2.0 token for the current user. */
1802
+ oauth_token?: string;
1803
+ /** Returns response with indentations and line breaks. */
1804
+ prettyPrint?: boolean;
1805
+ /** 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. */
1806
+ quotaUser?: string;
1807
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1808
+ upload_protocol?: string;
1809
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1810
+ uploadType?: string;
1811
+ /** Required. The workspace's name. */
1812
+ workspace: string;
1813
+ /** Request body */
1814
+ resource: MoveDirectoryRequest;
1815
+ }): Request<{}>;
1816
+ moveDirectory(request: {
1817
+ /** V1 error format. */
1818
+ "$.xgafv"?: string;
1819
+ /** OAuth access token. */
1820
+ access_token?: string;
1821
+ /** Data format for response. */
1822
+ alt?: string;
1823
+ /** JSONP */
1824
+ callback?: string;
1825
+ /** Selector specifying which fields to include in a partial response. */
1826
+ fields?: string;
1827
+ /** 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. */
1828
+ key?: string;
1829
+ /** OAuth 2.0 token for the current user. */
1830
+ oauth_token?: string;
1831
+ /** Returns response with indentations and line breaks. */
1832
+ prettyPrint?: boolean;
1833
+ /** 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. */
1834
+ quotaUser?: string;
1835
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1836
+ upload_protocol?: string;
1837
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1838
+ uploadType?: string;
1839
+ /** Required. The workspace's name. */
1840
+ workspace: string;
1841
+ },
1842
+ body: MoveDirectoryRequest): Request<{}>;
1843
+ /** Moves a file (inside a Workspace) to a new location. */
1844
+ moveFile(request: {
1845
+ /** V1 error format. */
1846
+ "$.xgafv"?: string;
1847
+ /** OAuth access token. */
1848
+ access_token?: string;
1849
+ /** Data format for response. */
1850
+ alt?: string;
1851
+ /** JSONP */
1852
+ callback?: string;
1853
+ /** Selector specifying which fields to include in a partial response. */
1854
+ fields?: string;
1855
+ /** 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. */
1856
+ key?: string;
1857
+ /** OAuth 2.0 token for the current user. */
1858
+ oauth_token?: 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
+ /** Required. The workspace's name. */
1868
+ workspace: string;
1869
+ /** Request body */
1870
+ resource: MoveFileRequest;
1871
+ }): Request<{}>;
1872
+ moveFile(request: {
1873
+ /** V1 error format. */
1874
+ "$.xgafv"?: string;
1875
+ /** OAuth access token. */
1876
+ access_token?: string;
1877
+ /** Data format for response. */
1878
+ alt?: string;
1879
+ /** JSONP */
1880
+ callback?: string;
1881
+ /** Selector specifying which fields to include in a partial response. */
1882
+ fields?: string;
1883
+ /** 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. */
1884
+ key?: string;
1885
+ /** OAuth 2.0 token for the current user. */
1886
+ oauth_token?: string;
1887
+ /** Returns response with indentations and line breaks. */
1888
+ prettyPrint?: boolean;
1889
+ /** 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. */
1890
+ quotaUser?: string;
1891
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1892
+ upload_protocol?: string;
1893
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1894
+ uploadType?: string;
1895
+ /** Required. The workspace's name. */
1896
+ workspace: string;
1897
+ },
1898
+ body: MoveFileRequest): Request<{}>;
1899
+ /** Pulls Git commits from the Repository's remote into a Workspace. */
1900
+ pull(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
+ /** Required. The workspace's name. */
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
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1922
+ upload_protocol?: string;
1923
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1924
+ uploadType?: string;
1925
+ /** Request body */
1926
+ resource: PullGitCommitsRequest;
1927
+ }): Request<{}>;
1928
+ pull(request: {
1929
+ /** V1 error format. */
1930
+ "$.xgafv"?: string;
1931
+ /** OAuth access token. */
1932
+ access_token?: string;
1933
+ /** Data format for response. */
1934
+ alt?: string;
1935
+ /** JSONP */
1936
+ callback?: string;
1937
+ /** Selector specifying which fields to include in a partial response. */
1938
+ fields?: string;
1939
+ /** 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. */
1940
+ key?: string;
1941
+ /** Required. The workspace's name. */
1942
+ name: string;
1943
+ /** OAuth 2.0 token for the current user. */
1944
+ oauth_token?: string;
1945
+ /** Returns response with indentations and line breaks. */
1946
+ prettyPrint?: boolean;
1947
+ /** 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. */
1948
+ quotaUser?: string;
1949
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1950
+ upload_protocol?: string;
1951
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1952
+ uploadType?: string;
1953
+ },
1954
+ body: PullGitCommitsRequest): Request<{}>;
1955
+ /** Pushes Git commits from a Workspace to the Repository's remote. */
1956
+ push(request: {
1957
+ /** V1 error format. */
1958
+ "$.xgafv"?: string;
1959
+ /** OAuth access token. */
1960
+ access_token?: string;
1961
+ /** Data format for response. */
1962
+ alt?: string;
1963
+ /** JSONP */
1964
+ callback?: string;
1965
+ /** Selector specifying which fields to include in a partial response. */
1966
+ fields?: string;
1967
+ /** 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. */
1968
+ key?: string;
1969
+ /** Required. The workspace's name. */
1970
+ name: string;
1971
+ /** OAuth 2.0 token for the current user. */
1972
+ oauth_token?: string;
1973
+ /** Returns response with indentations and line breaks. */
1974
+ prettyPrint?: boolean;
1975
+ /** 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. */
1976
+ quotaUser?: string;
1977
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1978
+ upload_protocol?: string;
1979
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1980
+ uploadType?: string;
1981
+ /** Request body */
1982
+ resource: PushGitCommitsRequest;
1983
+ }): Request<{}>;
1984
+ push(request: {
1985
+ /** V1 error format. */
1986
+ "$.xgafv"?: string;
1987
+ /** OAuth access token. */
1988
+ access_token?: string;
1989
+ /** Data format for response. */
1990
+ alt?: string;
1991
+ /** JSONP */
1992
+ callback?: string;
1993
+ /** Selector specifying which fields to include in a partial response. */
1994
+ fields?: string;
1995
+ /** 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. */
1996
+ key?: string;
1997
+ /** Required. The workspace's name. */
1998
+ name: string;
1999
+ /** OAuth 2.0 token for the current user. */
2000
+ oauth_token?: string;
2001
+ /** Returns response with indentations and line breaks. */
2002
+ prettyPrint?: boolean;
2003
+ /** 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. */
2004
+ quotaUser?: string;
2005
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2006
+ upload_protocol?: string;
2007
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2008
+ uploadType?: string;
2009
+ },
2010
+ body: PushGitCommitsRequest): Request<{}>;
2011
+ /** Returns the contents of a given Workspace directory. */
2012
+ queryDirectoryContents(request?: {
2013
+ /** V1 error format. */
2014
+ "$.xgafv"?: string;
2015
+ /** OAuth access token. */
2016
+ access_token?: string;
2017
+ /** Data format for response. */
2018
+ alt?: string;
2019
+ /** JSONP */
2020
+ callback?: string;
2021
+ /** Selector specifying which fields to include in a partial response. */
2022
+ fields?: string;
2023
+ /** 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. */
2024
+ key?: string;
2025
+ /** OAuth 2.0 token for the current user. */
2026
+ oauth_token?: string;
2027
+ /** Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
2028
+ pageSize?: number;
2029
+ /**
2030
+ * Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
2031
+ * `QueryDirectoryContents` must match the call that provided the page token.
2032
+ */
2033
+ pageToken?: string;
2034
+ /** Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used. */
2035
+ path?: string;
2036
+ /** Returns response with indentations and line breaks. */
2037
+ prettyPrint?: boolean;
2038
+ /** 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. */
2039
+ quotaUser?: string;
2040
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2041
+ upload_protocol?: string;
2042
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2043
+ uploadType?: string;
2044
+ /** Required. The workspace's name. */
2045
+ workspace: string;
2046
+ }): Request<QueryDirectoryContentsResponse>;
2047
+ /** Returns the contents of a file (inside a Workspace). */
2048
+ readFile(request?: {
2049
+ /** V1 error format. */
2050
+ "$.xgafv"?: string;
2051
+ /** OAuth access token. */
2052
+ access_token?: string;
2053
+ /** Data format for response. */
2054
+ alt?: string;
2055
+ /** JSONP */
2056
+ callback?: string;
2057
+ /** Selector specifying which fields to include in a partial response. */
2058
+ fields?: string;
2059
+ /** 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. */
2060
+ key?: string;
2061
+ /** OAuth 2.0 token for the current user. */
2062
+ oauth_token?: string;
2063
+ /** Required. The file's full path including filename, relative to the workspace root. */
2064
+ path?: string;
2065
+ /** Returns response with indentations and line breaks. */
2066
+ prettyPrint?: boolean;
2067
+ /** 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. */
2068
+ quotaUser?: string;
2069
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2070
+ upload_protocol?: string;
2071
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2072
+ uploadType?: string;
2073
+ /** Required. The workspace's name. */
2074
+ workspace: string;
2075
+ }): Request<ReadFileResponse>;
2076
+ /** Deletes a directory (inside a Workspace) and all of its contents. */
2077
+ removeDirectory(request: {
2078
+ /** V1 error format. */
2079
+ "$.xgafv"?: string;
2080
+ /** OAuth access token. */
2081
+ access_token?: string;
2082
+ /** Data format for response. */
2083
+ alt?: string;
2084
+ /** JSONP */
2085
+ callback?: string;
2086
+ /** Selector specifying which fields to include in a partial response. */
2087
+ fields?: string;
2088
+ /** 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. */
2089
+ key?: string;
2090
+ /** OAuth 2.0 token for the current user. */
2091
+ oauth_token?: string;
2092
+ /** Returns response with indentations and line breaks. */
2093
+ prettyPrint?: boolean;
2094
+ /** 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. */
2095
+ quotaUser?: string;
2096
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2097
+ upload_protocol?: string;
2098
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2099
+ uploadType?: string;
2100
+ /** Required. The workspace's name. */
2101
+ workspace: string;
2102
+ /** Request body */
2103
+ resource: RemoveDirectoryRequest;
2104
+ }): Request<{}>;
2105
+ removeDirectory(request: {
2106
+ /** V1 error format. */
2107
+ "$.xgafv"?: string;
2108
+ /** OAuth access token. */
2109
+ access_token?: string;
2110
+ /** Data format for response. */
2111
+ alt?: string;
2112
+ /** JSONP */
2113
+ callback?: string;
2114
+ /** Selector specifying which fields to include in a partial response. */
2115
+ fields?: string;
2116
+ /** 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. */
2117
+ key?: string;
2118
+ /** OAuth 2.0 token for the current user. */
2119
+ oauth_token?: string;
2120
+ /** Returns response with indentations and line breaks. */
2121
+ prettyPrint?: boolean;
2122
+ /** 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. */
2123
+ quotaUser?: string;
2124
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2125
+ upload_protocol?: string;
2126
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2127
+ uploadType?: string;
2128
+ /** Required. The workspace's name. */
2129
+ workspace: string;
2130
+ },
2131
+ body: RemoveDirectoryRequest): Request<{}>;
2132
+ /** Deletes a file (inside a Workspace). */
2133
+ removeFile(request: {
2134
+ /** V1 error format. */
2135
+ "$.xgafv"?: string;
2136
+ /** OAuth access token. */
2137
+ access_token?: string;
2138
+ /** Data format for response. */
2139
+ alt?: string;
2140
+ /** JSONP */
2141
+ callback?: string;
2142
+ /** Selector specifying which fields to include in a partial response. */
2143
+ fields?: string;
2144
+ /** 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. */
2145
+ key?: string;
2146
+ /** OAuth 2.0 token for the current user. */
2147
+ oauth_token?: string;
2148
+ /** Returns response with indentations and line breaks. */
2149
+ prettyPrint?: boolean;
2150
+ /** 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. */
2151
+ quotaUser?: string;
2152
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2153
+ upload_protocol?: string;
2154
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2155
+ uploadType?: string;
2156
+ /** Required. The workspace's name. */
2157
+ workspace: string;
2158
+ /** Request body */
2159
+ resource: RemoveFileRequest;
2160
+ }): Request<{}>;
2161
+ removeFile(request: {
2162
+ /** V1 error format. */
2163
+ "$.xgafv"?: string;
2164
+ /** OAuth access token. */
2165
+ access_token?: string;
2166
+ /** Data format for response. */
2167
+ alt?: string;
2168
+ /** JSONP */
2169
+ callback?: string;
2170
+ /** Selector specifying which fields to include in a partial response. */
2171
+ fields?: string;
2172
+ /** 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. */
2173
+ key?: string;
2174
+ /** OAuth 2.0 token for the current user. */
2175
+ oauth_token?: string;
2176
+ /** Returns response with indentations and line breaks. */
2177
+ prettyPrint?: boolean;
2178
+ /** 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. */
2179
+ quotaUser?: string;
2180
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2181
+ upload_protocol?: string;
2182
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2183
+ uploadType?: string;
2184
+ /** Required. The workspace's name. */
2185
+ workspace: string;
2186
+ },
2187
+ body: RemoveFileRequest): Request<{}>;
2188
+ /** Performs a Git reset for uncommitted files in a Workspace. */
2189
+ reset(request: {
2190
+ /** V1 error format. */
2191
+ "$.xgafv"?: string;
2192
+ /** OAuth access token. */
2193
+ access_token?: string;
2194
+ /** Data format for response. */
2195
+ alt?: string;
2196
+ /** JSONP */
2197
+ callback?: string;
2198
+ /** Selector specifying which fields to include in a partial response. */
2199
+ fields?: string;
2200
+ /** 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. */
2201
+ key?: string;
2202
+ /** Required. The workspace's name. */
2203
+ name: string;
2204
+ /** OAuth 2.0 token for the current user. */
2205
+ oauth_token?: string;
2206
+ /** Returns response with indentations and line breaks. */
2207
+ prettyPrint?: boolean;
2208
+ /** 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. */
2209
+ quotaUser?: string;
2210
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2211
+ upload_protocol?: string;
2212
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2213
+ uploadType?: string;
2214
+ /** Request body */
2215
+ resource: ResetWorkspaceChangesRequest;
2216
+ }): Request<{}>;
2217
+ reset(request: {
2218
+ /** V1 error format. */
2219
+ "$.xgafv"?: string;
2220
+ /** OAuth access token. */
2221
+ access_token?: string;
2222
+ /** Data format for response. */
2223
+ alt?: string;
2224
+ /** JSONP */
2225
+ callback?: string;
2226
+ /** Selector specifying which fields to include in a partial response. */
2227
+ fields?: string;
2228
+ /** 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. */
2229
+ key?: string;
2230
+ /** Required. The workspace's name. */
2231
+ name: string;
2232
+ /** OAuth 2.0 token for the current user. */
2233
+ oauth_token?: string;
2234
+ /** Returns response with indentations and line breaks. */
2235
+ prettyPrint?: boolean;
2236
+ /** 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. */
2237
+ quotaUser?: string;
2238
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2239
+ upload_protocol?: string;
2240
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2241
+ uploadType?: string;
2242
+ },
2243
+ body: ResetWorkspaceChangesRequest): Request<{}>;
2244
+ /** Writes to a file (inside a Workspace). */
2245
+ writeFile(request: {
2246
+ /** V1 error format. */
2247
+ "$.xgafv"?: string;
2248
+ /** OAuth access token. */
2249
+ access_token?: string;
2250
+ /** Data format for response. */
2251
+ alt?: string;
2252
+ /** JSONP */
2253
+ callback?: string;
2254
+ /** Selector specifying which fields to include in a partial response. */
2255
+ fields?: string;
2256
+ /** 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. */
2257
+ key?: string;
2258
+ /** OAuth 2.0 token for the current user. */
2259
+ oauth_token?: string;
2260
+ /** Returns response with indentations and line breaks. */
2261
+ prettyPrint?: boolean;
2262
+ /** 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. */
2263
+ quotaUser?: string;
2264
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2265
+ upload_protocol?: string;
2266
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2267
+ uploadType?: string;
2268
+ /** Required. The workspace's name. */
2269
+ workspace: string;
2270
+ /** Request body */
2271
+ resource: WriteFileRequest;
2272
+ }): Request<{}>;
2273
+ writeFile(request: {
2274
+ /** V1 error format. */
2275
+ "$.xgafv"?: string;
2276
+ /** OAuth access token. */
2277
+ access_token?: string;
2278
+ /** Data format for response. */
2279
+ alt?: string;
2280
+ /** JSONP */
2281
+ callback?: string;
2282
+ /** Selector specifying which fields to include in a partial response. */
2283
+ fields?: string;
2284
+ /** 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. */
2285
+ key?: string;
2286
+ /** OAuth 2.0 token for the current user. */
2287
+ oauth_token?: string;
2288
+ /** Returns response with indentations and line breaks. */
2289
+ prettyPrint?: boolean;
2290
+ /** 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. */
2291
+ quotaUser?: string;
2292
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2293
+ upload_protocol?: string;
2294
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2295
+ uploadType?: string;
2296
+ /** Required. The workspace's name. */
2297
+ workspace: string;
2298
+ },
2299
+ body: WriteFileRequest): Request<{}>;
2300
+ }
2301
+ interface RepositoriesResource {
2302
+ /** Creates a new Repository in a given project and location. */
2303
+ create(request: {
2304
+ /** V1 error format. */
2305
+ "$.xgafv"?: string;
2306
+ /** OAuth access token. */
2307
+ access_token?: string;
2308
+ /** Data format for response. */
2309
+ alt?: string;
2310
+ /** JSONP */
2311
+ callback?: string;
2312
+ /** Selector specifying which fields to include in a partial response. */
2313
+ fields?: string;
2314
+ /** 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. */
2315
+ key?: string;
2316
+ /** OAuth 2.0 token for the current user. */
2317
+ oauth_token?: string;
2318
+ /** Required. The location in which to create the repository. Must be in the format `projects/*‍/locations/*`. */
2319
+ parent: string;
2320
+ /** Returns response with indentations and line breaks. */
2321
+ prettyPrint?: boolean;
2322
+ /** 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. */
2323
+ quotaUser?: string;
2324
+ /** Required. The ID to use for the repository, which will become the final component of the repository's resource name. */
2325
+ repositoryId?: string;
2326
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2327
+ upload_protocol?: string;
2328
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2329
+ uploadType?: string;
2330
+ /** Request body */
2331
+ resource: Repository;
2332
+ }): Request<Repository>;
2333
+ create(request: {
2334
+ /** V1 error format. */
2335
+ "$.xgafv"?: string;
2336
+ /** OAuth access token. */
2337
+ access_token?: string;
2338
+ /** Data format for response. */
2339
+ alt?: string;
2340
+ /** JSONP */
2341
+ callback?: string;
2342
+ /** Selector specifying which fields to include in a partial response. */
2343
+ fields?: string;
2344
+ /** 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. */
2345
+ key?: string;
2346
+ /** OAuth 2.0 token for the current user. */
2347
+ oauth_token?: string;
2348
+ /** Required. The location in which to create the repository. Must be in the format `projects/*‍/locations/*`. */
2349
+ parent: string;
2350
+ /** Returns response with indentations and line breaks. */
2351
+ prettyPrint?: boolean;
2352
+ /** 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. */
2353
+ quotaUser?: string;
2354
+ /** Required. The ID to use for the repository, which will become the final component of the repository's resource name. */
2355
+ repositoryId?: string;
2356
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2357
+ upload_protocol?: string;
2358
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2359
+ uploadType?: string;
2360
+ },
2361
+ body: Repository): Request<Repository>;
2362
+ /** Deletes a single Repository. */
2363
+ delete(request?: {
2364
+ /** V1 error format. */
2365
+ "$.xgafv"?: string;
2366
+ /** OAuth access token. */
2367
+ access_token?: string;
2368
+ /** Data format for response. */
2369
+ alt?: string;
2370
+ /** JSONP */
2371
+ callback?: string;
2372
+ /** Selector specifying which fields to include in a partial response. */
2373
+ fields?: string;
2374
+ /** If set to true, any child resources of this repository will also be deleted. (Otherwise, the request will only succeed if the repository has no child resources.) */
2375
+ force?: boolean;
2376
+ /** 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. */
2377
+ key?: string;
2378
+ /** Required. The repository's name. */
2379
+ name: string;
2380
+ /** OAuth 2.0 token for the current user. */
2381
+ oauth_token?: string;
2382
+ /** Returns response with indentations and line breaks. */
2383
+ prettyPrint?: boolean;
2384
+ /** 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. */
2385
+ quotaUser?: string;
2386
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2387
+ upload_protocol?: string;
2388
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2389
+ uploadType?: string;
2390
+ }): Request<{}>;
2391
+ /** Fetches a Repository's remote branches. */
2392
+ fetchRemoteBranches(request?: {
2393
+ /** V1 error format. */
2394
+ "$.xgafv"?: string;
2395
+ /** OAuth access token. */
2396
+ access_token?: string;
2397
+ /** Data format for response. */
2398
+ alt?: string;
2399
+ /** JSONP */
2400
+ callback?: string;
2401
+ /** Selector specifying which fields to include in a partial response. */
2402
+ fields?: string;
2403
+ /** 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. */
2404
+ key?: string;
2405
+ /** Required. The repository's name. */
2406
+ name: string;
2407
+ /** OAuth 2.0 token for the current user. */
2408
+ oauth_token?: string;
2409
+ /** Returns response with indentations and line breaks. */
2410
+ prettyPrint?: boolean;
2411
+ /** 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. */
2412
+ quotaUser?: string;
2413
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2414
+ upload_protocol?: string;
2415
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2416
+ uploadType?: string;
2417
+ }): Request<FetchRemoteBranchesResponse>;
2418
+ /** Fetches a single Repository. */
2419
+ get(request?: {
2420
+ /** V1 error format. */
2421
+ "$.xgafv"?: string;
2422
+ /** OAuth access token. */
2423
+ access_token?: string;
2424
+ /** Data format for response. */
2425
+ alt?: string;
2426
+ /** JSONP */
2427
+ callback?: string;
2428
+ /** Selector specifying which fields to include in a partial response. */
2429
+ fields?: string;
2430
+ /** 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. */
2431
+ key?: string;
2432
+ /** Required. The repository's name. */
2433
+ name: string;
2434
+ /** OAuth 2.0 token for the current user. */
2435
+ oauth_token?: string;
2436
+ /** Returns response with indentations and line breaks. */
2437
+ prettyPrint?: boolean;
2438
+ /** 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. */
2439
+ quotaUser?: string;
2440
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2441
+ upload_protocol?: string;
2442
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2443
+ uploadType?: string;
2444
+ }): Request<Repository>;
2445
+ /** Lists Repositories in a given project and location. */
2446
+ list(request?: {
2447
+ /** V1 error format. */
2448
+ "$.xgafv"?: string;
2449
+ /** OAuth access token. */
2450
+ access_token?: string;
2451
+ /** Data format for response. */
2452
+ alt?: string;
2453
+ /** JSONP */
2454
+ callback?: string;
2455
+ /** Selector specifying which fields to include in a partial response. */
2456
+ fields?: string;
2457
+ /** Optional. Filter for the returned list. */
2458
+ filter?: string;
2459
+ /** 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. */
2460
+ key?: string;
2461
+ /** OAuth 2.0 token for the current user. */
2462
+ oauth_token?: string;
2463
+ /** Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field. */
2464
+ orderBy?: string;
2465
+ /** Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
2466
+ pageSize?: number;
2467
+ /**
2468
+ * Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
2469
+ * `ListRepositories` must match the call that provided the page token.
2470
+ */
2471
+ pageToken?: string;
2472
+ /** Required. The location in which to list repositories. Must be in the format `projects/*‍/locations/*`. */
2473
+ parent: string;
2474
+ /** Returns response with indentations and line breaks. */
2475
+ prettyPrint?: boolean;
2476
+ /** 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. */
2477
+ quotaUser?: string;
2478
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2479
+ upload_protocol?: string;
2480
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2481
+ uploadType?: string;
2482
+ }): Request<ListRepositoriesResponse>;
2483
+ /** Updates a single Repository. */
2484
+ patch(request: {
2485
+ /** V1 error format. */
2486
+ "$.xgafv"?: string;
2487
+ /** OAuth access token. */
2488
+ access_token?: string;
2489
+ /** Data format for response. */
2490
+ alt?: string;
2491
+ /** JSONP */
2492
+ callback?: string;
2493
+ /** Selector specifying which fields to include in a partial response. */
2494
+ fields?: string;
2495
+ /** 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. */
2496
+ key?: string;
2497
+ /** Output only. The repository's name. */
2498
+ name: string;
2499
+ /** OAuth 2.0 token for the current user. */
2500
+ oauth_token?: string;
2501
+ /** Returns response with indentations and line breaks. */
2502
+ prettyPrint?: boolean;
2503
+ /** 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. */
2504
+ quotaUser?: string;
2505
+ /** Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated. */
2506
+ updateMask?: string;
2507
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2508
+ upload_protocol?: string;
2509
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2510
+ uploadType?: string;
2511
+ /** Request body */
2512
+ resource: Repository;
2513
+ }): Request<Repository>;
2514
+ patch(request: {
2515
+ /** V1 error format. */
2516
+ "$.xgafv"?: string;
2517
+ /** OAuth access token. */
2518
+ access_token?: string;
2519
+ /** Data format for response. */
2520
+ alt?: string;
2521
+ /** JSONP */
2522
+ callback?: string;
2523
+ /** Selector specifying which fields to include in a partial response. */
2524
+ fields?: string;
2525
+ /** 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. */
2526
+ key?: string;
2527
+ /** Output only. The repository's name. */
2528
+ name: string;
2529
+ /** OAuth 2.0 token for the current user. */
2530
+ oauth_token?: string;
2531
+ /** Returns response with indentations and line breaks. */
2532
+ prettyPrint?: boolean;
2533
+ /** 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. */
2534
+ quotaUser?: string;
2535
+ /** Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated. */
2536
+ updateMask?: string;
2537
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2538
+ upload_protocol?: string;
2539
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2540
+ uploadType?: string;
2541
+ },
2542
+ body: Repository): Request<Repository>;
2543
+ compilationResults: CompilationResultsResource;
2544
+ releaseConfigs: ReleaseConfigsResource;
2545
+ workflowConfigs: WorkflowConfigsResource;
2546
+ workflowInvocations: WorkflowInvocationsResource;
2547
+ workspaces: WorkspacesResource;
2548
+ }
2549
+ interface LocationsResource {
2550
+ /** Gets information about a location. */
2551
+ get(request?: {
2552
+ /** V1 error format. */
2553
+ "$.xgafv"?: string;
2554
+ /** OAuth access token. */
2555
+ access_token?: string;
2556
+ /** Data format for response. */
2557
+ alt?: string;
2558
+ /** JSONP */
2559
+ callback?: string;
2560
+ /** Selector specifying which fields to include in a partial response. */
2561
+ fields?: string;
2562
+ /** 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. */
2563
+ key?: string;
2564
+ /** Resource name for the location. */
2565
+ name: string;
2566
+ /** OAuth 2.0 token for the current user. */
2567
+ oauth_token?: string;
2568
+ /** Returns response with indentations and line breaks. */
2569
+ prettyPrint?: boolean;
2570
+ /** 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. */
2571
+ quotaUser?: string;
2572
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2573
+ upload_protocol?: string;
2574
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2575
+ uploadType?: string;
2576
+ }): Request<Location>;
2577
+ /** Lists information about the supported locations for this service. */
2578
+ list(request?: {
2579
+ /** V1 error format. */
2580
+ "$.xgafv"?: string;
2581
+ /** OAuth access token. */
2582
+ access_token?: string;
2583
+ /** Data format for response. */
2584
+ alt?: string;
2585
+ /** JSONP */
2586
+ callback?: string;
2587
+ /** Selector specifying which fields to include in a partial response. */
2588
+ fields?: string;
2589
+ /**
2590
+ * 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
2591
+ * [AIP-160](https://google.aip.dev/160).
2592
+ */
2593
+ filter?: string;
2594
+ /** If true, the returned list will include locations which are not yet revealed. */
2595
+ includeUnrevealedLocations?: boolean;
2596
+ /** 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. */
2597
+ key?: string;
2598
+ /** The resource that owns the locations collection, if applicable. */
2599
+ name: string;
2600
+ /** OAuth 2.0 token for the current user. */
2601
+ oauth_token?: string;
2602
+ /** The maximum number of results to return. If not set, the service selects a default. */
2603
+ pageSize?: number;
2604
+ /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
2605
+ pageToken?: string;
2606
+ /** Returns response with indentations and line breaks. */
2607
+ prettyPrint?: boolean;
2608
+ /** 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. */
2609
+ quotaUser?: string;
2610
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2611
+ upload_protocol?: string;
2612
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2613
+ uploadType?: string;
2614
+ }): Request<ListLocationsResponse>;
2615
+ repositories: RepositoriesResource;
2616
+ }
2617
+ interface ProjectsResource {
2618
+ locations: LocationsResource;
2619
+ }
2620
+
2621
+ const projects: ProjectsResource;
2622
+ }
2623
+ }