@maxim_mazurok/gapi.client.dataform-v1 0.0.20251018
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 +3767 -0
- package/package.json +20 -0
- package/readme.md +78 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,3767 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Dataform API v1 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=v1
|
|
12
|
+
// Revision: 20251018
|
|
13
|
+
|
|
14
|
+
/// <reference types="gapi.client" />
|
|
15
|
+
|
|
16
|
+
declare namespace gapi.client {
|
|
17
|
+
/** Load Dataform API v1 */
|
|
18
|
+
function load(
|
|
19
|
+
urlOrObject: 'https://dataform.googleapis.com/$discovery/rest?version=v1',
|
|
20
|
+
): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: 'dataform', version: 'v1'): Promise<void>;
|
|
23
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
24
|
+
function load(name: 'dataform', version: 'v1', callback: () => any): void;
|
|
25
|
+
|
|
26
|
+
namespace dataform {
|
|
27
|
+
interface ActionErrorTable {
|
|
28
|
+
/** Error table partition expiration in days. Only positive values are allowed. */
|
|
29
|
+
retentionDays?: number;
|
|
30
|
+
/** Error Table target. */
|
|
31
|
+
target?: Target;
|
|
32
|
+
}
|
|
33
|
+
interface ActionIncrementalLoadMode {
|
|
34
|
+
/** Column name for incremental load modes */
|
|
35
|
+
column?: string;
|
|
36
|
+
}
|
|
37
|
+
interface ActionLoadConfig {
|
|
38
|
+
/** Append into destination table */
|
|
39
|
+
append?: any;
|
|
40
|
+
/** Insert records where the value exceeds the previous maximum value for a column in the destination table */
|
|
41
|
+
maximum?: ActionIncrementalLoadMode;
|
|
42
|
+
/** Replace destination table */
|
|
43
|
+
replace?: any;
|
|
44
|
+
/** Insert records where the value of a column is not already present in the destination table */
|
|
45
|
+
unique?: ActionIncrementalLoadMode;
|
|
46
|
+
}
|
|
47
|
+
interface ActionSimpleLoadMode {}
|
|
48
|
+
interface ActionSqlDefinition {
|
|
49
|
+
/** Error table configuration, */
|
|
50
|
+
errorTable?: ActionErrorTable;
|
|
51
|
+
/** Load configuration. */
|
|
52
|
+
loadConfig?: ActionLoadConfig;
|
|
53
|
+
/** The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement. */
|
|
54
|
+
query?: string;
|
|
55
|
+
}
|
|
56
|
+
interface Assertion {
|
|
57
|
+
/** A list of actions that this action depends on. */
|
|
58
|
+
dependencyTargets?: Target[];
|
|
59
|
+
/** Whether this action is disabled (i.e. should not be run). */
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
/** The parent action of this assertion. Only set if this assertion was automatically generated. */
|
|
62
|
+
parentAction?: Target;
|
|
63
|
+
/** Descriptor for the assertion's automatically-generated view and its columns. */
|
|
64
|
+
relationDescriptor?: RelationDescriptor;
|
|
65
|
+
/** The SELECT query which must return zero rows in order for this assertion to succeed. */
|
|
66
|
+
selectQuery?: string;
|
|
67
|
+
/** Arbitrary, user-defined tags on this action. */
|
|
68
|
+
tags?: string[];
|
|
69
|
+
}
|
|
70
|
+
interface BigQueryAction {
|
|
71
|
+
/** Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run. */
|
|
72
|
+
jobId?: string;
|
|
73
|
+
/** Output only. The generated BigQuery SQL script that will be executed. */
|
|
74
|
+
sqlScript?: string;
|
|
75
|
+
}
|
|
76
|
+
interface Binding {
|
|
77
|
+
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
78
|
+
condition?: Expr;
|
|
79
|
+
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
80
|
+
members?: string[];
|
|
81
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
|
|
82
|
+
role?: string;
|
|
83
|
+
}
|
|
84
|
+
interface CancelOperationRequest {}
|
|
85
|
+
interface CancelWorkflowInvocationRequest {}
|
|
86
|
+
interface CancelWorkflowInvocationResponse {}
|
|
87
|
+
interface CodeCompilationConfig {
|
|
88
|
+
/** Optional. The default schema (BigQuery dataset ID) for assertions. */
|
|
89
|
+
assertionSchema?: string;
|
|
90
|
+
/** Optional. The prefix to prepend to built-in assertion names. */
|
|
91
|
+
builtinAssertionNamePrefix?: string;
|
|
92
|
+
/** Optional. The suffix that should be appended to all database (Google Cloud project ID) names. */
|
|
93
|
+
databaseSuffix?: string;
|
|
94
|
+
/** Optional. The default database (Google Cloud project ID). */
|
|
95
|
+
defaultDatabase?: string;
|
|
96
|
+
/** 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. */
|
|
97
|
+
defaultLocation?: string;
|
|
98
|
+
/** Optional. The default notebook runtime options. */
|
|
99
|
+
defaultNotebookRuntimeOptions?: NotebookRuntimeOptions;
|
|
100
|
+
/** Optional. The default schema (BigQuery dataset ID). */
|
|
101
|
+
defaultSchema?: string;
|
|
102
|
+
/** Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names. */
|
|
103
|
+
schemaSuffix?: string;
|
|
104
|
+
/** Optional. The prefix that should be prepended to all table names. */
|
|
105
|
+
tablePrefix?: string;
|
|
106
|
+
/** Optional. User-defined variables that are made available to project code during compilation. */
|
|
107
|
+
vars?: {[P in string]: string};
|
|
108
|
+
}
|
|
109
|
+
interface ColumnDescriptor {
|
|
110
|
+
/** A list of BigQuery policy tags that will be applied to the column. */
|
|
111
|
+
bigqueryPolicyTags?: string[];
|
|
112
|
+
/** A textual description of the column. */
|
|
113
|
+
description?: string;
|
|
114
|
+
/** The identifier for the column. Each entry in `path` represents one level of nesting. */
|
|
115
|
+
path?: string[];
|
|
116
|
+
}
|
|
117
|
+
interface CommitAuthor {
|
|
118
|
+
/** Required. The commit author's email address. */
|
|
119
|
+
emailAddress?: string;
|
|
120
|
+
/** Required. The commit author's name. */
|
|
121
|
+
name?: string;
|
|
122
|
+
}
|
|
123
|
+
interface CommitLogEntry {
|
|
124
|
+
/** The commit author for this commit log entry. */
|
|
125
|
+
author?: CommitAuthor;
|
|
126
|
+
/** The commit message for this commit log entry. */
|
|
127
|
+
commitMessage?: string;
|
|
128
|
+
/** The commit SHA for this commit log entry. */
|
|
129
|
+
commitSha?: string;
|
|
130
|
+
/** Commit timestamp. */
|
|
131
|
+
commitTime?: string;
|
|
132
|
+
}
|
|
133
|
+
interface CommitMetadata {
|
|
134
|
+
/** Required. The commit's author. */
|
|
135
|
+
author?: CommitAuthor;
|
|
136
|
+
/** Optional. The commit's message. */
|
|
137
|
+
commitMessage?: string;
|
|
138
|
+
}
|
|
139
|
+
interface CommitRepositoryChangesRequest {
|
|
140
|
+
/** Required. The changes to commit to the repository. */
|
|
141
|
+
commitMetadata?: CommitMetadata;
|
|
142
|
+
/** Optional. A map to the path of the file to the operation. The path is the full file path including filename, from repository root. */
|
|
143
|
+
fileOperations?: {[P in string]: FileOperation};
|
|
144
|
+
/** Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed. */
|
|
145
|
+
requiredHeadCommitSha?: string;
|
|
146
|
+
}
|
|
147
|
+
interface CommitRepositoryChangesResponse {
|
|
148
|
+
/** The commit SHA of the current commit. */
|
|
149
|
+
commitSha?: string;
|
|
150
|
+
}
|
|
151
|
+
interface CommitWorkspaceChangesRequest {
|
|
152
|
+
/** Required. The commit's author. */
|
|
153
|
+
author?: CommitAuthor;
|
|
154
|
+
/** Optional. The commit's message. */
|
|
155
|
+
commitMessage?: string;
|
|
156
|
+
/** Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed. */
|
|
157
|
+
paths?: string[];
|
|
158
|
+
}
|
|
159
|
+
interface CommitWorkspaceChangesResponse {}
|
|
160
|
+
interface CompilationError {
|
|
161
|
+
/** Output only. The identifier of the action where this error occurred, if available. */
|
|
162
|
+
actionTarget?: Target;
|
|
163
|
+
/** Output only. The error's top level message. */
|
|
164
|
+
message?: string;
|
|
165
|
+
/** Output only. The path of the file where this error occurred, if available, relative to the project root. */
|
|
166
|
+
path?: string;
|
|
167
|
+
/** Output only. The error's full stack trace. */
|
|
168
|
+
stack?: string;
|
|
169
|
+
}
|
|
170
|
+
interface CompilationResult {
|
|
171
|
+
/** Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. */
|
|
172
|
+
codeCompilationConfig?: CodeCompilationConfig;
|
|
173
|
+
/** Output only. Errors encountered during project compilation. */
|
|
174
|
+
compilationErrors?: CompilationError[];
|
|
175
|
+
/** Output only. The timestamp of when the compilation result was created. */
|
|
176
|
+
createTime?: string;
|
|
177
|
+
/** Output only. Only set if the repository has a KMS Key. */
|
|
178
|
+
dataEncryptionState?: DataEncryptionState;
|
|
179
|
+
/** Output only. The version of `@dataform/core` that was used for compilation. */
|
|
180
|
+
dataformCoreVersion?: string;
|
|
181
|
+
/** 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 branch name: `branch1` */
|
|
182
|
+
gitCommitish?: string;
|
|
183
|
+
/** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
|
|
184
|
+
internalMetadata?: string;
|
|
185
|
+
/** Output only. The compilation result's name. */
|
|
186
|
+
name?: string;
|
|
187
|
+
/** Immutable. The name of the release config to compile. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`. */
|
|
188
|
+
releaseConfig?: string;
|
|
189
|
+
/** Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace. */
|
|
190
|
+
resolvedGitCommitSha?: string;
|
|
191
|
+
/** Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`. */
|
|
192
|
+
workspace?: string;
|
|
193
|
+
}
|
|
194
|
+
interface CompilationResultAction {
|
|
195
|
+
/** The assertion executed by this action. */
|
|
196
|
+
assertion?: Assertion;
|
|
197
|
+
/** The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. */
|
|
198
|
+
canonicalTarget?: Target;
|
|
199
|
+
/** The data preparation executed by this action. */
|
|
200
|
+
dataPreparation?: DataPreparation;
|
|
201
|
+
/** The declaration declared by this action. */
|
|
202
|
+
declaration?: Declaration;
|
|
203
|
+
/** The full path including filename in which this action is located, relative to the workspace root. */
|
|
204
|
+
filePath?: string;
|
|
205
|
+
/** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
|
|
206
|
+
internalMetadata?: string;
|
|
207
|
+
/** The notebook executed by this action. */
|
|
208
|
+
notebook?: Notebook;
|
|
209
|
+
/** The database operations executed by this action. */
|
|
210
|
+
operations?: Operations;
|
|
211
|
+
/** The database relation created/updated by this action. */
|
|
212
|
+
relation?: Relation;
|
|
213
|
+
/** This action's identifier. Unique within the compilation result. */
|
|
214
|
+
target?: Target;
|
|
215
|
+
}
|
|
216
|
+
interface ComputeRepositoryAccessTokenStatusResponse {
|
|
217
|
+
/** Indicates the status of the Git access token. */
|
|
218
|
+
tokenStatus?: string;
|
|
219
|
+
}
|
|
220
|
+
interface Config {
|
|
221
|
+
/** Optional. The default KMS key that is used if no encryption key is provided when a repository is created. */
|
|
222
|
+
defaultKmsKeyName?: string;
|
|
223
|
+
/** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
|
|
224
|
+
internalMetadata?: string;
|
|
225
|
+
/** Identifier. The config name. */
|
|
226
|
+
name?: string;
|
|
227
|
+
}
|
|
228
|
+
interface DataEncryptionState {
|
|
229
|
+
/** Required. The KMS key version name with which data of a resource is encrypted. */
|
|
230
|
+
kmsKeyVersionName?: string;
|
|
231
|
+
}
|
|
232
|
+
interface DataPreparation {
|
|
233
|
+
/** SQL definition for a Data Preparation. Contains a SQL query and additional context information. */
|
|
234
|
+
contentsSql?: SqlDefinition;
|
|
235
|
+
/** The data preparation definition, stored as a YAML string. */
|
|
236
|
+
contentsYaml?: string;
|
|
237
|
+
/** A list of actions that this action depends on. */
|
|
238
|
+
dependencyTargets?: Target[];
|
|
239
|
+
/** Whether this action is disabled (i.e. should not be run). */
|
|
240
|
+
disabled?: boolean;
|
|
241
|
+
/** Arbitrary, user-defined tags on this action. */
|
|
242
|
+
tags?: string[];
|
|
243
|
+
}
|
|
244
|
+
interface DataPreparationAction {
|
|
245
|
+
/** SQL definition for a Data Preparation. Contains a SQL query and additional context information. */
|
|
246
|
+
contentsSql?: ActionSqlDefinition;
|
|
247
|
+
/** Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow. */
|
|
248
|
+
contentsYaml?: string;
|
|
249
|
+
/** Output only. The generated BigQuery SQL script that will be executed. For reference only. */
|
|
250
|
+
generatedSql?: string;
|
|
251
|
+
/** Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run. */
|
|
252
|
+
jobId?: string;
|
|
253
|
+
}
|
|
254
|
+
interface Declaration {
|
|
255
|
+
/** 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. */
|
|
256
|
+
relationDescriptor?: RelationDescriptor;
|
|
257
|
+
}
|
|
258
|
+
interface DeleteFile {}
|
|
259
|
+
interface DirectoryEntry {
|
|
260
|
+
/** A child directory in the directory. */
|
|
261
|
+
directory?: string;
|
|
262
|
+
/** A file in the directory. */
|
|
263
|
+
file?: string;
|
|
264
|
+
}
|
|
265
|
+
interface DirectorySearchResult {
|
|
266
|
+
/** File system path relative to the workspace root. */
|
|
267
|
+
path?: string;
|
|
268
|
+
}
|
|
269
|
+
interface Empty {}
|
|
270
|
+
interface ErrorTable {
|
|
271
|
+
/** Error table partition expiration in days. Only positive values are allowed. */
|
|
272
|
+
retentionDays?: number;
|
|
273
|
+
/** Error Table target. */
|
|
274
|
+
target?: Target;
|
|
275
|
+
}
|
|
276
|
+
interface Expr {
|
|
277
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
278
|
+
description?: string;
|
|
279
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
280
|
+
expression?: string;
|
|
281
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
282
|
+
location?: string;
|
|
283
|
+
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
284
|
+
title?: string;
|
|
285
|
+
}
|
|
286
|
+
interface FetchFileDiffResponse {
|
|
287
|
+
/** The raw formatted Git diff for the file. */
|
|
288
|
+
formattedDiff?: string;
|
|
289
|
+
}
|
|
290
|
+
interface FetchFileGitStatusesResponse {
|
|
291
|
+
/** A list of all files which have uncommitted Git changes. There will only be a single entry for any given file. */
|
|
292
|
+
uncommittedFileChanges?: UncommittedFileChange[];
|
|
293
|
+
}
|
|
294
|
+
interface FetchGitAheadBehindResponse {
|
|
295
|
+
/** The number of commits in the remote branch that are not in the workspace. */
|
|
296
|
+
commitsAhead?: number;
|
|
297
|
+
/** The number of commits in the workspace that are not in the remote branch. */
|
|
298
|
+
commitsBehind?: number;
|
|
299
|
+
}
|
|
300
|
+
interface FetchRemoteBranchesResponse {
|
|
301
|
+
/** The remote repository's branch names. */
|
|
302
|
+
branches?: string[];
|
|
303
|
+
}
|
|
304
|
+
interface FetchRepositoryHistoryResponse {
|
|
305
|
+
/** A list of commit logs, ordered by 'git log' default order. */
|
|
306
|
+
commits?: CommitLogEntry[];
|
|
307
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
308
|
+
nextPageToken?: string;
|
|
309
|
+
}
|
|
310
|
+
interface FileOperation {
|
|
311
|
+
/** Represents the delete operation. */
|
|
312
|
+
deleteFile?: any;
|
|
313
|
+
/** Represents the write operation. */
|
|
314
|
+
writeFile?: WriteFile;
|
|
315
|
+
}
|
|
316
|
+
interface FileSearchResult {
|
|
317
|
+
/** File system path relative to the workspace root. */
|
|
318
|
+
path?: string;
|
|
319
|
+
}
|
|
320
|
+
interface GitRemoteSettings {
|
|
321
|
+
/** Optional. 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/*`. */
|
|
322
|
+
authenticationTokenSecretVersion?: string;
|
|
323
|
+
/** Required. The Git remote's default branch name. */
|
|
324
|
+
defaultBranch?: string;
|
|
325
|
+
/** Optional. Authentication fields for remote uris using SSH protocol. */
|
|
326
|
+
sshAuthenticationConfig?: SshAuthenticationConfig;
|
|
327
|
+
/** Output only. Deprecated: The field does not contain any token status information. */
|
|
328
|
+
tokenStatus?: string;
|
|
329
|
+
/** Required. The Git remote's URL. */
|
|
330
|
+
url?: string;
|
|
331
|
+
}
|
|
332
|
+
interface IamPolicyOverrideView {
|
|
333
|
+
/** The IAM policy name for the resource. */
|
|
334
|
+
iamPolicyName?: PolicyName;
|
|
335
|
+
/** Whether the IAM policy encoded in this view is active. */
|
|
336
|
+
isActive?: boolean;
|
|
337
|
+
}
|
|
338
|
+
interface IncrementalLoadMode {
|
|
339
|
+
/** Column name for incremental load modes */
|
|
340
|
+
column?: string;
|
|
341
|
+
}
|
|
342
|
+
interface IncrementalTableConfig {
|
|
343
|
+
/** SQL statements to be executed after inserting new rows into the relation. */
|
|
344
|
+
incrementalPostOperations?: string[];
|
|
345
|
+
/** SQL statements to be executed before inserting new rows into the relation. */
|
|
346
|
+
incrementalPreOperations?: string[];
|
|
347
|
+
/** The SELECT query which returns rows which should be inserted into the relation if it already exists and is not being refreshed. */
|
|
348
|
+
incrementalSelectQuery?: string;
|
|
349
|
+
/** Whether this table should be protected from being refreshed. */
|
|
350
|
+
refreshDisabled?: boolean;
|
|
351
|
+
/** 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 `incremental_select_query`) will be included in the relation. */
|
|
352
|
+
uniqueKeyParts?: string[];
|
|
353
|
+
/** A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see `unique_key_parts` for more information). */
|
|
354
|
+
updatePartitionFilter?: string;
|
|
355
|
+
}
|
|
356
|
+
interface InstallNpmPackagesRequest {}
|
|
357
|
+
interface InstallNpmPackagesResponse {}
|
|
358
|
+
interface Interval {
|
|
359
|
+
/** Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. */
|
|
360
|
+
endTime?: string;
|
|
361
|
+
/** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
|
|
362
|
+
startTime?: string;
|
|
363
|
+
}
|
|
364
|
+
interface InvocationConfig {
|
|
365
|
+
/** Optional. When set to true, any incremental tables will be fully refreshed. */
|
|
366
|
+
fullyRefreshIncrementalTablesEnabled?: boolean;
|
|
367
|
+
/** Optional. The set of tags to include. */
|
|
368
|
+
includedTags?: string[];
|
|
369
|
+
/** Optional. The set of action identifiers to include. */
|
|
370
|
+
includedTargets?: Target[];
|
|
371
|
+
/** Optional. Specifies the priority for query execution in BigQuery. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#queries. */
|
|
372
|
+
queryPriority?: string;
|
|
373
|
+
/** Optional. The service account to run workflow invocations under. */
|
|
374
|
+
serviceAccount?: string;
|
|
375
|
+
/** Optional. When set to true, transitive dependencies of included actions will be executed. */
|
|
376
|
+
transitiveDependenciesIncluded?: boolean;
|
|
377
|
+
/** Optional. When set to true, transitive dependents of included actions will be executed. */
|
|
378
|
+
transitiveDependentsIncluded?: boolean;
|
|
379
|
+
}
|
|
380
|
+
interface ListCompilationResultsResponse {
|
|
381
|
+
/** List of compilation results. */
|
|
382
|
+
compilationResults?: CompilationResult[];
|
|
383
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
384
|
+
nextPageToken?: string;
|
|
385
|
+
/** Locations which could not be reached. */
|
|
386
|
+
unreachable?: string[];
|
|
387
|
+
}
|
|
388
|
+
interface ListLocationsResponse {
|
|
389
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
390
|
+
locations?: Location[];
|
|
391
|
+
/** The standard List next-page token. */
|
|
392
|
+
nextPageToken?: string;
|
|
393
|
+
}
|
|
394
|
+
interface ListOperationsResponse {
|
|
395
|
+
/** The standard List next-page token. */
|
|
396
|
+
nextPageToken?: string;
|
|
397
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
398
|
+
operations?: Operation[];
|
|
399
|
+
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. */
|
|
400
|
+
unreachable?: string[];
|
|
401
|
+
}
|
|
402
|
+
interface ListReleaseConfigsResponse {
|
|
403
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
404
|
+
nextPageToken?: string;
|
|
405
|
+
/** List of release configs. */
|
|
406
|
+
releaseConfigs?: ReleaseConfig[];
|
|
407
|
+
/** Locations which could not be reached. */
|
|
408
|
+
unreachable?: string[];
|
|
409
|
+
}
|
|
410
|
+
interface ListRepositoriesResponse {
|
|
411
|
+
/** A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
412
|
+
nextPageToken?: string;
|
|
413
|
+
/** List of repositories. */
|
|
414
|
+
repositories?: Repository[];
|
|
415
|
+
/** Locations which could not be reached. */
|
|
416
|
+
unreachable?: string[];
|
|
417
|
+
}
|
|
418
|
+
interface ListWorkflowConfigsResponse {
|
|
419
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
420
|
+
nextPageToken?: string;
|
|
421
|
+
/** Locations which could not be reached. */
|
|
422
|
+
unreachable?: string[];
|
|
423
|
+
/** List of workflow configs. */
|
|
424
|
+
workflowConfigs?: WorkflowConfig[];
|
|
425
|
+
}
|
|
426
|
+
interface ListWorkflowInvocationsResponse {
|
|
427
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
428
|
+
nextPageToken?: string;
|
|
429
|
+
/** Locations which could not be reached. */
|
|
430
|
+
unreachable?: string[];
|
|
431
|
+
/** List of workflow invocations. */
|
|
432
|
+
workflowInvocations?: WorkflowInvocation[];
|
|
433
|
+
}
|
|
434
|
+
interface ListWorkspacesResponse {
|
|
435
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
436
|
+
nextPageToken?: string;
|
|
437
|
+
/** Locations which could not be reached. */
|
|
438
|
+
unreachable?: string[];
|
|
439
|
+
/** List of workspaces. */
|
|
440
|
+
workspaces?: Workspace[];
|
|
441
|
+
}
|
|
442
|
+
interface LoadConfig {
|
|
443
|
+
/** Append into destination table */
|
|
444
|
+
append?: any;
|
|
445
|
+
/** Insert records where the value exceeds the previous maximum value for a column in the destination table */
|
|
446
|
+
maximum?: IncrementalLoadMode;
|
|
447
|
+
/** Replace destination table */
|
|
448
|
+
replace?: any;
|
|
449
|
+
/** Insert records where the value of a column is not already present in the destination table */
|
|
450
|
+
unique?: IncrementalLoadMode;
|
|
451
|
+
}
|
|
452
|
+
interface Location {
|
|
453
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
454
|
+
displayName?: string;
|
|
455
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
456
|
+
labels?: {[P in string]: string};
|
|
457
|
+
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
458
|
+
locationId?: string;
|
|
459
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
460
|
+
metadata?: {[P in string]: any};
|
|
461
|
+
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
462
|
+
name?: string;
|
|
463
|
+
}
|
|
464
|
+
interface MakeDirectoryRequest {
|
|
465
|
+
/** Required. The directory's full path including directory name, relative to the workspace root. */
|
|
466
|
+
path?: string;
|
|
467
|
+
}
|
|
468
|
+
interface MakeDirectoryResponse {}
|
|
469
|
+
interface MoveDirectoryRequest {
|
|
470
|
+
/** Required. The new path for the directory including directory name, rooted at workspace root. */
|
|
471
|
+
newPath?: string;
|
|
472
|
+
/** Required. The directory's full path including directory name, relative to the workspace root. */
|
|
473
|
+
path?: string;
|
|
474
|
+
}
|
|
475
|
+
interface MoveDirectoryResponse {}
|
|
476
|
+
interface MoveFileRequest {
|
|
477
|
+
/** Required. The file's new path including filename, relative to the workspace root. */
|
|
478
|
+
newPath?: string;
|
|
479
|
+
/** Required. The file's full path including filename, relative to the workspace root. */
|
|
480
|
+
path?: string;
|
|
481
|
+
}
|
|
482
|
+
interface MoveFileResponse {}
|
|
483
|
+
interface Notebook {
|
|
484
|
+
/** The contents of the notebook. */
|
|
485
|
+
contents?: string;
|
|
486
|
+
/** A list of actions that this action depends on. */
|
|
487
|
+
dependencyTargets?: Target[];
|
|
488
|
+
/** Whether this action is disabled (i.e. should not be run). */
|
|
489
|
+
disabled?: boolean;
|
|
490
|
+
/** Arbitrary, user-defined tags on this action. */
|
|
491
|
+
tags?: string[];
|
|
492
|
+
}
|
|
493
|
+
interface NotebookAction {
|
|
494
|
+
/** Output only. The code contents of a Notebook to be run. */
|
|
495
|
+
contents?: string;
|
|
496
|
+
/** Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run. */
|
|
497
|
+
jobId?: string;
|
|
498
|
+
}
|
|
499
|
+
interface NotebookRuntimeOptions {
|
|
500
|
+
/** Optional. The resource name of the [Colab runtime template] (https://cloud.google.com/colab/docs/runtimes), from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab's default specifications. */
|
|
501
|
+
aiPlatformNotebookRuntimeTemplate?: string;
|
|
502
|
+
/** Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`. */
|
|
503
|
+
gcsOutputBucket?: string;
|
|
504
|
+
}
|
|
505
|
+
interface Operation {
|
|
506
|
+
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
507
|
+
done?: boolean;
|
|
508
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
509
|
+
error?: Status;
|
|
510
|
+
/** Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. */
|
|
511
|
+
metadata?: {[P in string]: any};
|
|
512
|
+
/** The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. */
|
|
513
|
+
name?: string;
|
|
514
|
+
/** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
|
|
515
|
+
response?: {[P in string]: any};
|
|
516
|
+
}
|
|
517
|
+
interface OperationMetadata {
|
|
518
|
+
/** Output only. API version used to start the operation. */
|
|
519
|
+
apiVersion?: string;
|
|
520
|
+
/** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
521
|
+
cancelRequested?: boolean;
|
|
522
|
+
/** Output only. The time the operation was created. */
|
|
523
|
+
createTime?: string;
|
|
524
|
+
/** Output only. The time the operation finished running. */
|
|
525
|
+
endTime?: string;
|
|
526
|
+
/** Output only. Human-readable status of the operation, if any. */
|
|
527
|
+
statusDetail?: string;
|
|
528
|
+
/** Output only. Server-defined resource path for the target of the operation. */
|
|
529
|
+
target?: string;
|
|
530
|
+
/** Output only. Name of the verb executed by the operation. */
|
|
531
|
+
verb?: string;
|
|
532
|
+
}
|
|
533
|
+
interface Operations {
|
|
534
|
+
/** A list of actions that this action depends on. */
|
|
535
|
+
dependencyTargets?: Target[];
|
|
536
|
+
/** Whether this action is disabled (i.e. should not be run). */
|
|
537
|
+
disabled?: boolean;
|
|
538
|
+
/** Whether these operations produce an output relation. */
|
|
539
|
+
hasOutput?: boolean;
|
|
540
|
+
/** A list of arbitrary SQL statements that will be executed without alteration. */
|
|
541
|
+
queries?: string[];
|
|
542
|
+
/** Descriptor for any output relation and its columns. Only set if `has_output` is true. */
|
|
543
|
+
relationDescriptor?: RelationDescriptor;
|
|
544
|
+
/** Arbitrary, user-defined tags on this action. */
|
|
545
|
+
tags?: string[];
|
|
546
|
+
}
|
|
547
|
+
interface Policy {
|
|
548
|
+
/** Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. */
|
|
549
|
+
bindings?: Binding[];
|
|
550
|
+
/** `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. */
|
|
551
|
+
etag?: string;
|
|
552
|
+
/** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
553
|
+
version?: number;
|
|
554
|
+
}
|
|
555
|
+
interface PolicyName {
|
|
556
|
+
/** Identifies an instance of the type. ID format varies by type. The ID format is defined in the IAM .service file that defines the type, either in path_mapping or in a comment. */
|
|
557
|
+
id?: string;
|
|
558
|
+
/** For Cloud IAM: The location of the Policy. Must be empty or "global" for Policies owned by global IAM. Must name a region from prodspec/cloud-iam-cloudspec for Regional IAM Policies, see go/iam-faq#where-is-iam-currently-deployed. For Local IAM: This field should be set to "local". */
|
|
559
|
+
region?: string;
|
|
560
|
+
/** Resource type. Types are defined in IAM's .service files. Valid values for type might be 'storage_buckets', 'compute_instances', 'resourcemanager_customers', 'billing_accounts', etc. */
|
|
561
|
+
type?: string;
|
|
562
|
+
}
|
|
563
|
+
interface PullGitCommitsRequest {
|
|
564
|
+
/** Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace. */
|
|
565
|
+
author?: CommitAuthor;
|
|
566
|
+
/** 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. */
|
|
567
|
+
remoteBranch?: string;
|
|
568
|
+
}
|
|
569
|
+
interface PullGitCommitsResponse {}
|
|
570
|
+
interface PushGitCommitsRequest {
|
|
571
|
+
/** 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. */
|
|
572
|
+
remoteBranch?: string;
|
|
573
|
+
}
|
|
574
|
+
interface PushGitCommitsResponse {}
|
|
575
|
+
interface QueryCompilationResultActionsResponse {
|
|
576
|
+
/** List of compilation result actions. */
|
|
577
|
+
compilationResultActions?: CompilationResultAction[];
|
|
578
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
579
|
+
nextPageToken?: string;
|
|
580
|
+
}
|
|
581
|
+
interface QueryDirectoryContentsResponse {
|
|
582
|
+
/** List of entries in the directory. */
|
|
583
|
+
directoryEntries?: DirectoryEntry[];
|
|
584
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
585
|
+
nextPageToken?: string;
|
|
586
|
+
}
|
|
587
|
+
interface QueryRepositoryDirectoryContentsResponse {
|
|
588
|
+
/** List of entries in the directory. */
|
|
589
|
+
directoryEntries?: DirectoryEntry[];
|
|
590
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
591
|
+
nextPageToken?: string;
|
|
592
|
+
}
|
|
593
|
+
interface QueryWorkflowInvocationActionsResponse {
|
|
594
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
595
|
+
nextPageToken?: string;
|
|
596
|
+
/** List of workflow invocation actions. */
|
|
597
|
+
workflowInvocationActions?: WorkflowInvocationAction[];
|
|
598
|
+
}
|
|
599
|
+
interface ReadFileResponse {
|
|
600
|
+
/** The file's contents. */
|
|
601
|
+
fileContents?: string;
|
|
602
|
+
}
|
|
603
|
+
interface ReadRepositoryFileResponse {
|
|
604
|
+
/** The file's contents. */
|
|
605
|
+
contents?: string;
|
|
606
|
+
}
|
|
607
|
+
interface Relation {
|
|
608
|
+
/** Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported. */
|
|
609
|
+
additionalOptions?: {[P in string]: string};
|
|
610
|
+
/** A list of columns or SQL expressions used to cluster the table. */
|
|
611
|
+
clusterExpressions?: string[];
|
|
612
|
+
/** A list of actions that this action depends on. */
|
|
613
|
+
dependencyTargets?: Target[];
|
|
614
|
+
/** Whether this action is disabled (i.e. should not be run). */
|
|
615
|
+
disabled?: boolean;
|
|
616
|
+
/** Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`. */
|
|
617
|
+
incrementalTableConfig?: IncrementalTableConfig;
|
|
618
|
+
/** Sets the partition expiration in days. */
|
|
619
|
+
partitionExpirationDays?: number;
|
|
620
|
+
/** The SQL expression used to partition the relation. */
|
|
621
|
+
partitionExpression?: string;
|
|
622
|
+
/** SQL statements to be executed after creating the relation. */
|
|
623
|
+
postOperations?: string[];
|
|
624
|
+
/** SQL statements to be executed before creating the relation. */
|
|
625
|
+
preOperations?: string[];
|
|
626
|
+
/** Descriptor for the relation and its columns. */
|
|
627
|
+
relationDescriptor?: RelationDescriptor;
|
|
628
|
+
/** The type of this relation. */
|
|
629
|
+
relationType?: string;
|
|
630
|
+
/** Specifies whether queries on this table must include a predicate filter that filters on the partitioning column. */
|
|
631
|
+
requirePartitionFilter?: boolean;
|
|
632
|
+
/** The SELECT query which returns rows which this relation should contain. */
|
|
633
|
+
selectQuery?: string;
|
|
634
|
+
/** Arbitrary, user-defined tags on this action. */
|
|
635
|
+
tags?: string[];
|
|
636
|
+
}
|
|
637
|
+
interface RelationDescriptor {
|
|
638
|
+
/** A set of BigQuery labels that should be applied to the relation. */
|
|
639
|
+
bigqueryLabels?: {[P in string]: string};
|
|
640
|
+
/** A list of descriptions of columns within the relation. */
|
|
641
|
+
columns?: ColumnDescriptor[];
|
|
642
|
+
/** A text description of the relation. */
|
|
643
|
+
description?: string;
|
|
644
|
+
}
|
|
645
|
+
interface ReleaseConfig {
|
|
646
|
+
/** Optional. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. */
|
|
647
|
+
codeCompilationConfig?: CodeCompilationConfig;
|
|
648
|
+
/** Optional. Optional schedule (in cron format) for automatic creation of compilation results. */
|
|
649
|
+
cronSchedule?: string;
|
|
650
|
+
/** Optional. Disables automatic creation of compilation results. */
|
|
651
|
+
disabled?: boolean;
|
|
652
|
+
/** 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 name: `branch1` */
|
|
653
|
+
gitCommitish?: string;
|
|
654
|
+
/** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
|
|
655
|
+
internalMetadata?: string;
|
|
656
|
+
/** Identifier. The release config's name. */
|
|
657
|
+
name?: string;
|
|
658
|
+
/** Output only. Records of the 10 most recent scheduled release attempts, ordered in descending order of `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule. */
|
|
659
|
+
recentScheduledReleaseRecords?: ScheduledReleaseRecord[];
|
|
660
|
+
/** Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is automatically created from this release config (using cron_schedule), or when 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 `projects/*/locations/*/repositories/*/compilationResults/*`. */
|
|
661
|
+
releaseCompilationResult?: string;
|
|
662
|
+
/** Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC. */
|
|
663
|
+
timeZone?: string;
|
|
664
|
+
}
|
|
665
|
+
interface RemoveDirectoryRequest {
|
|
666
|
+
/** Required. The directory's full path including directory name, relative to the workspace root. */
|
|
667
|
+
path?: string;
|
|
668
|
+
}
|
|
669
|
+
interface RemoveDirectoryResponse {}
|
|
670
|
+
interface RemoveFileRequest {
|
|
671
|
+
/** Required. The file's full path including filename, relative to the workspace root. */
|
|
672
|
+
path?: string;
|
|
673
|
+
}
|
|
674
|
+
interface RemoveFileResponse {}
|
|
675
|
+
interface Repository {
|
|
676
|
+
/** Output only. The timestamp of when the repository was created. */
|
|
677
|
+
createTime?: string;
|
|
678
|
+
/** Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key. */
|
|
679
|
+
dataEncryptionState?: DataEncryptionState;
|
|
680
|
+
/** Optional. The repository's user-friendly name. */
|
|
681
|
+
displayName?: string;
|
|
682
|
+
/** Optional. If set, configures this repository to be linked to a Git remote. */
|
|
683
|
+
gitRemoteSettings?: GitRemoteSettings;
|
|
684
|
+
/** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
|
|
685
|
+
internalMetadata?: string;
|
|
686
|
+
/** Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: `projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}` */
|
|
687
|
+
kmsKeyName?: string;
|
|
688
|
+
/** Optional. Repository user labels. */
|
|
689
|
+
labels?: {[P in string]: string};
|
|
690
|
+
/** Identifier. The repository's name. */
|
|
691
|
+
name?: string;
|
|
692
|
+
/** 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 `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format. */
|
|
693
|
+
npmrcEnvironmentVariablesSecretVersion?: string;
|
|
694
|
+
/** Optional. The service account to run workflow invocations under. */
|
|
695
|
+
serviceAccount?: string;
|
|
696
|
+
/** Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. */
|
|
697
|
+
setAuthenticatedUserAdmin?: boolean;
|
|
698
|
+
/** Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information. */
|
|
699
|
+
workspaceCompilationOverrides?: WorkspaceCompilationOverrides;
|
|
700
|
+
}
|
|
701
|
+
interface ResetWorkspaceChangesRequest {
|
|
702
|
+
/** Optional. If set to true, untracked files will be deleted. */
|
|
703
|
+
clean?: boolean;
|
|
704
|
+
/** 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. */
|
|
705
|
+
paths?: string[];
|
|
706
|
+
}
|
|
707
|
+
interface ResetWorkspaceChangesResponse {}
|
|
708
|
+
interface ScheduledExecutionRecord {
|
|
709
|
+
/** The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. */
|
|
710
|
+
errorStatus?: Status;
|
|
711
|
+
/** Output only. The timestamp of this execution attempt. */
|
|
712
|
+
executionTime?: string;
|
|
713
|
+
/** The name of the created workflow invocation, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/workflowInvocations/*`. */
|
|
714
|
+
workflowInvocation?: string;
|
|
715
|
+
}
|
|
716
|
+
interface ScheduledReleaseRecord {
|
|
717
|
+
/** The name of the created compilation result, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. */
|
|
718
|
+
compilationResult?: string;
|
|
719
|
+
/** The error status encountered upon this attempt to create the compilation result, if the attempt was unsuccessful. */
|
|
720
|
+
errorStatus?: Status;
|
|
721
|
+
/** Output only. The timestamp of this release attempt. */
|
|
722
|
+
releaseTime?: string;
|
|
723
|
+
}
|
|
724
|
+
interface SearchFilesResponse {
|
|
725
|
+
/** Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
726
|
+
nextPageToken?: string;
|
|
727
|
+
/** List of matched results. */
|
|
728
|
+
searchResults?: SearchResult[];
|
|
729
|
+
}
|
|
730
|
+
interface SearchResult {
|
|
731
|
+
/** Details when search result is a directory. */
|
|
732
|
+
directory?: DirectorySearchResult;
|
|
733
|
+
/** Details when search result is a file. */
|
|
734
|
+
file?: FileSearchResult;
|
|
735
|
+
}
|
|
736
|
+
interface SetIamPolicyRequest {
|
|
737
|
+
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
738
|
+
policy?: Policy;
|
|
739
|
+
}
|
|
740
|
+
interface SimpleLoadMode {}
|
|
741
|
+
interface SqlDefinition {
|
|
742
|
+
/** Error table configuration, */
|
|
743
|
+
errorTable?: ErrorTable;
|
|
744
|
+
/** Load configuration. */
|
|
745
|
+
load?: LoadConfig;
|
|
746
|
+
/** The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement. */
|
|
747
|
+
query?: string;
|
|
748
|
+
}
|
|
749
|
+
interface SshAuthenticationConfig {
|
|
750
|
+
/** Required. Content of a public SSH key to verify an identity of a remote Git host. */
|
|
751
|
+
hostPublicKey?: string;
|
|
752
|
+
/** Required. The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format `projects/*/secrets/*/versions/*`. */
|
|
753
|
+
userPrivateKeySecretVersion?: string;
|
|
754
|
+
}
|
|
755
|
+
interface Status {
|
|
756
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
757
|
+
code?: number;
|
|
758
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
759
|
+
details?: Array<{[P in string]: any}>;
|
|
760
|
+
/** 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 client. */
|
|
761
|
+
message?: string;
|
|
762
|
+
}
|
|
763
|
+
interface Target {
|
|
764
|
+
/** Optional. The action's database (Google Cloud project ID) . */
|
|
765
|
+
database?: string;
|
|
766
|
+
/** Optional. The action's name, within `database` and `schema`. */
|
|
767
|
+
name?: string;
|
|
768
|
+
/** Optional. The action's schema (BigQuery dataset ID), within `database`. */
|
|
769
|
+
schema?: string;
|
|
770
|
+
}
|
|
771
|
+
interface TestIamPermissionsRequest {
|
|
772
|
+
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
773
|
+
permissions?: string[];
|
|
774
|
+
}
|
|
775
|
+
interface TestIamPermissionsResponse {
|
|
776
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
777
|
+
permissions?: string[];
|
|
778
|
+
}
|
|
779
|
+
interface UncommittedFileChange {
|
|
780
|
+
/** The file's full path including filename, relative to the workspace root. */
|
|
781
|
+
path?: string;
|
|
782
|
+
/** Output only. Indicates the status of the file. */
|
|
783
|
+
state?: string;
|
|
784
|
+
}
|
|
785
|
+
interface WorkflowConfig {
|
|
786
|
+
/** Output only. The timestamp of when the WorkflowConfig was created. */
|
|
787
|
+
createTime?: string;
|
|
788
|
+
/** Optional. Optional schedule (in cron format) for automatic execution of this workflow config. */
|
|
789
|
+
cronSchedule?: string;
|
|
790
|
+
/** Optional. Disables automatic creation of workflow invocations. */
|
|
791
|
+
disabled?: boolean;
|
|
792
|
+
/** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
|
|
793
|
+
internalMetadata?: string;
|
|
794
|
+
/** Optional. If left unset, a default InvocationConfig will be used. */
|
|
795
|
+
invocationConfig?: InvocationConfig;
|
|
796
|
+
/** Identifier. The workflow config's name. */
|
|
797
|
+
name?: string;
|
|
798
|
+
/** Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule. */
|
|
799
|
+
recentScheduledExecutionRecords?: ScheduledExecutionRecord[];
|
|
800
|
+
/** Required. The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`. */
|
|
801
|
+
releaseConfig?: string;
|
|
802
|
+
/** Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC. */
|
|
803
|
+
timeZone?: string;
|
|
804
|
+
/** Output only. The timestamp of when the WorkflowConfig was last updated. */
|
|
805
|
+
updateTime?: string;
|
|
806
|
+
}
|
|
807
|
+
interface WorkflowInvocation {
|
|
808
|
+
/** Immutable. The name of the compilation result to use for this invocation. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. */
|
|
809
|
+
compilationResult?: string;
|
|
810
|
+
/** Output only. Only set if the repository has a KMS Key. */
|
|
811
|
+
dataEncryptionState?: DataEncryptionState;
|
|
812
|
+
/** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
|
|
813
|
+
internalMetadata?: string;
|
|
814
|
+
/** Immutable. If left unset, a default InvocationConfig will be used. */
|
|
815
|
+
invocationConfig?: InvocationConfig;
|
|
816
|
+
/** Output only. This workflow invocation's timing details. */
|
|
817
|
+
invocationTiming?: Interval;
|
|
818
|
+
/** Output only. The workflow invocation's name. */
|
|
819
|
+
name?: string;
|
|
820
|
+
/** Output only. The resolved compilation result that was used to create this invocation. Will be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. */
|
|
821
|
+
resolvedCompilationResult?: string;
|
|
822
|
+
/** Output only. This workflow invocation's current state. */
|
|
823
|
+
state?: string;
|
|
824
|
+
/** Immutable. The name of the workflow config to invoke. Must be in the format `projects/*/locations/*/repositories/*/workflowConfigs/*`. */
|
|
825
|
+
workflowConfig?: string;
|
|
826
|
+
}
|
|
827
|
+
interface WorkflowInvocationAction {
|
|
828
|
+
/** Output only. The workflow action's bigquery action details. */
|
|
829
|
+
bigqueryAction?: BigQueryAction;
|
|
830
|
+
/** Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. */
|
|
831
|
+
canonicalTarget?: Target;
|
|
832
|
+
/** Output only. The workflow action's data preparation action details. */
|
|
833
|
+
dataPreparationAction?: DataPreparationAction;
|
|
834
|
+
/** Output only. If and only if action's state is FAILED a failure reason is set. */
|
|
835
|
+
failureReason?: string;
|
|
836
|
+
/** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
|
|
837
|
+
internalMetadata?: string;
|
|
838
|
+
/** 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 [SUCCEEDED, CANCELLED, FAILED] state. */
|
|
839
|
+
invocationTiming?: Interval;
|
|
840
|
+
/** Output only. The workflow action's notebook action details. */
|
|
841
|
+
notebookAction?: NotebookAction;
|
|
842
|
+
/** Output only. This action's current state. */
|
|
843
|
+
state?: string;
|
|
844
|
+
/** Output only. This action's identifier. Unique within the workflow invocation. */
|
|
845
|
+
target?: Target;
|
|
846
|
+
}
|
|
847
|
+
interface Workspace {
|
|
848
|
+
/** Output only. The timestamp of when the workspace was created. */
|
|
849
|
+
createTime?: string;
|
|
850
|
+
/** Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key. */
|
|
851
|
+
dataEncryptionState?: DataEncryptionState;
|
|
852
|
+
/** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
|
|
853
|
+
internalMetadata?: string;
|
|
854
|
+
/** Identifier. The workspace's name. */
|
|
855
|
+
name?: string;
|
|
856
|
+
}
|
|
857
|
+
interface WorkspaceCompilationOverrides {
|
|
858
|
+
/** Optional. The default database (Google Cloud project ID). */
|
|
859
|
+
defaultDatabase?: string;
|
|
860
|
+
/** Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names. */
|
|
861
|
+
schemaSuffix?: string;
|
|
862
|
+
/** Optional. The prefix that should be prepended to all table names. */
|
|
863
|
+
tablePrefix?: string;
|
|
864
|
+
}
|
|
865
|
+
interface WriteFile {
|
|
866
|
+
/** The file's contents. */
|
|
867
|
+
contents?: string;
|
|
868
|
+
}
|
|
869
|
+
interface WriteFileRequest {
|
|
870
|
+
/** Required. The file's contents. */
|
|
871
|
+
contents?: string;
|
|
872
|
+
/** Required. The file. */
|
|
873
|
+
path?: string;
|
|
874
|
+
}
|
|
875
|
+
interface WriteFileResponse {}
|
|
876
|
+
interface FoldersResource {
|
|
877
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
878
|
+
getIamPolicy(request?: {
|
|
879
|
+
/** V1 error format. */
|
|
880
|
+
'$.xgafv'?: string;
|
|
881
|
+
/** OAuth access token. */
|
|
882
|
+
access_token?: string;
|
|
883
|
+
/** Data format for response. */
|
|
884
|
+
alt?: string;
|
|
885
|
+
/** JSONP */
|
|
886
|
+
callback?: string;
|
|
887
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
888
|
+
fields?: string;
|
|
889
|
+
/** 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. */
|
|
890
|
+
key?: string;
|
|
891
|
+
/** OAuth 2.0 token for the current user. */
|
|
892
|
+
oauth_token?: string;
|
|
893
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
894
|
+
'options.requestedPolicyVersion'?: number;
|
|
895
|
+
/** Returns response with indentations and line breaks. */
|
|
896
|
+
prettyPrint?: boolean;
|
|
897
|
+
/** 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. */
|
|
898
|
+
quotaUser?: string;
|
|
899
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
900
|
+
resource: string;
|
|
901
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
902
|
+
upload_protocol?: string;
|
|
903
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
904
|
+
uploadType?: string;
|
|
905
|
+
}): Request<Policy>;
|
|
906
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
907
|
+
setIamPolicy(
|
|
908
|
+
request: {
|
|
909
|
+
/** V1 error format. */
|
|
910
|
+
'$.xgafv'?: string;
|
|
911
|
+
/** OAuth access token. */
|
|
912
|
+
access_token?: string;
|
|
913
|
+
/** Data format for response. */
|
|
914
|
+
alt?: string;
|
|
915
|
+
/** JSONP */
|
|
916
|
+
callback?: string;
|
|
917
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
918
|
+
fields?: string;
|
|
919
|
+
/** 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. */
|
|
920
|
+
key?: string;
|
|
921
|
+
/** OAuth 2.0 token for the current user. */
|
|
922
|
+
oauth_token?: string;
|
|
923
|
+
/** Returns response with indentations and line breaks. */
|
|
924
|
+
prettyPrint?: boolean;
|
|
925
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
926
|
+
quotaUser?: string;
|
|
927
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
928
|
+
resource: string;
|
|
929
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
930
|
+
upload_protocol?: string;
|
|
931
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
932
|
+
uploadType?: string;
|
|
933
|
+
},
|
|
934
|
+
body: SetIamPolicyRequest,
|
|
935
|
+
): Request<Policy>;
|
|
936
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
937
|
+
testIamPermissions(
|
|
938
|
+
request: {
|
|
939
|
+
/** V1 error format. */
|
|
940
|
+
'$.xgafv'?: string;
|
|
941
|
+
/** OAuth access token. */
|
|
942
|
+
access_token?: string;
|
|
943
|
+
/** Data format for response. */
|
|
944
|
+
alt?: string;
|
|
945
|
+
/** JSONP */
|
|
946
|
+
callback?: string;
|
|
947
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
948
|
+
fields?: string;
|
|
949
|
+
/** 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. */
|
|
950
|
+
key?: string;
|
|
951
|
+
/** OAuth 2.0 token for the current user. */
|
|
952
|
+
oauth_token?: string;
|
|
953
|
+
/** Returns response with indentations and line breaks. */
|
|
954
|
+
prettyPrint?: boolean;
|
|
955
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
956
|
+
quotaUser?: string;
|
|
957
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
958
|
+
resource: string;
|
|
959
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
960
|
+
upload_protocol?: string;
|
|
961
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
962
|
+
uploadType?: string;
|
|
963
|
+
},
|
|
964
|
+
body: TestIamPermissionsRequest,
|
|
965
|
+
): Request<TestIamPermissionsResponse>;
|
|
966
|
+
}
|
|
967
|
+
interface OperationsResource {
|
|
968
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
969
|
+
cancel(request: {
|
|
970
|
+
/** V1 error format. */
|
|
971
|
+
'$.xgafv'?: string;
|
|
972
|
+
/** OAuth access token. */
|
|
973
|
+
access_token?: string;
|
|
974
|
+
/** Data format for response. */
|
|
975
|
+
alt?: string;
|
|
976
|
+
/** JSONP */
|
|
977
|
+
callback?: string;
|
|
978
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
979
|
+
fields?: string;
|
|
980
|
+
/** 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. */
|
|
981
|
+
key?: string;
|
|
982
|
+
/** The name of the operation resource to be cancelled. */
|
|
983
|
+
name: string;
|
|
984
|
+
/** OAuth 2.0 token for the current user. */
|
|
985
|
+
oauth_token?: string;
|
|
986
|
+
/** Returns response with indentations and line breaks. */
|
|
987
|
+
prettyPrint?: boolean;
|
|
988
|
+
/** 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. */
|
|
989
|
+
quotaUser?: string;
|
|
990
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
991
|
+
upload_protocol?: string;
|
|
992
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
993
|
+
uploadType?: string;
|
|
994
|
+
/** Request body */
|
|
995
|
+
resource: CancelOperationRequest;
|
|
996
|
+
}): Request<{}>;
|
|
997
|
+
cancel(
|
|
998
|
+
request: {
|
|
999
|
+
/** V1 error format. */
|
|
1000
|
+
'$.xgafv'?: string;
|
|
1001
|
+
/** OAuth access token. */
|
|
1002
|
+
access_token?: string;
|
|
1003
|
+
/** Data format for response. */
|
|
1004
|
+
alt?: string;
|
|
1005
|
+
/** JSONP */
|
|
1006
|
+
callback?: string;
|
|
1007
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1008
|
+
fields?: string;
|
|
1009
|
+
/** 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. */
|
|
1010
|
+
key?: string;
|
|
1011
|
+
/** The name of the operation resource to be cancelled. */
|
|
1012
|
+
name: string;
|
|
1013
|
+
/** OAuth 2.0 token for the current user. */
|
|
1014
|
+
oauth_token?: string;
|
|
1015
|
+
/** Returns response with indentations and line breaks. */
|
|
1016
|
+
prettyPrint?: boolean;
|
|
1017
|
+
/** 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. */
|
|
1018
|
+
quotaUser?: string;
|
|
1019
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1020
|
+
upload_protocol?: string;
|
|
1021
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1022
|
+
uploadType?: string;
|
|
1023
|
+
},
|
|
1024
|
+
body: CancelOperationRequest,
|
|
1025
|
+
): Request<{}>;
|
|
1026
|
+
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
1027
|
+
delete(request?: {
|
|
1028
|
+
/** V1 error format. */
|
|
1029
|
+
'$.xgafv'?: string;
|
|
1030
|
+
/** OAuth access token. */
|
|
1031
|
+
access_token?: string;
|
|
1032
|
+
/** Data format for response. */
|
|
1033
|
+
alt?: string;
|
|
1034
|
+
/** JSONP */
|
|
1035
|
+
callback?: string;
|
|
1036
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1037
|
+
fields?: string;
|
|
1038
|
+
/** 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. */
|
|
1039
|
+
key?: string;
|
|
1040
|
+
/** The name of the operation resource to be deleted. */
|
|
1041
|
+
name: string;
|
|
1042
|
+
/** OAuth 2.0 token for the current user. */
|
|
1043
|
+
oauth_token?: string;
|
|
1044
|
+
/** Returns response with indentations and line breaks. */
|
|
1045
|
+
prettyPrint?: boolean;
|
|
1046
|
+
/** 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. */
|
|
1047
|
+
quotaUser?: string;
|
|
1048
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1049
|
+
upload_protocol?: string;
|
|
1050
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1051
|
+
uploadType?: string;
|
|
1052
|
+
}): Request<{}>;
|
|
1053
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1054
|
+
get(request?: {
|
|
1055
|
+
/** V1 error format. */
|
|
1056
|
+
'$.xgafv'?: string;
|
|
1057
|
+
/** OAuth access token. */
|
|
1058
|
+
access_token?: string;
|
|
1059
|
+
/** Data format for response. */
|
|
1060
|
+
alt?: string;
|
|
1061
|
+
/** JSONP */
|
|
1062
|
+
callback?: string;
|
|
1063
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1064
|
+
fields?: string;
|
|
1065
|
+
/** 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. */
|
|
1066
|
+
key?: string;
|
|
1067
|
+
/** The name of the operation resource. */
|
|
1068
|
+
name: string;
|
|
1069
|
+
/** OAuth 2.0 token for the current user. */
|
|
1070
|
+
oauth_token?: 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<Operation>;
|
|
1080
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1081
|
+
list(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
|
+
/** The standard list filter. */
|
|
1093
|
+
filter?: string;
|
|
1094
|
+
/** 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. */
|
|
1095
|
+
key?: string;
|
|
1096
|
+
/** The name of the operation's parent resource. */
|
|
1097
|
+
name: string;
|
|
1098
|
+
/** OAuth 2.0 token for the current user. */
|
|
1099
|
+
oauth_token?: string;
|
|
1100
|
+
/** The standard list page size. */
|
|
1101
|
+
pageSize?: number;
|
|
1102
|
+
/** The standard list page token. */
|
|
1103
|
+
pageToken?: string;
|
|
1104
|
+
/** Returns response with indentations and line breaks. */
|
|
1105
|
+
prettyPrint?: boolean;
|
|
1106
|
+
/** 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. */
|
|
1107
|
+
quotaUser?: string;
|
|
1108
|
+
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
|
|
1109
|
+
returnPartialSuccess?: boolean;
|
|
1110
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1111
|
+
upload_protocol?: string;
|
|
1112
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1113
|
+
uploadType?: string;
|
|
1114
|
+
}): Request<ListOperationsResponse>;
|
|
1115
|
+
}
|
|
1116
|
+
interface CompilationResultsResource {
|
|
1117
|
+
/** Creates a new CompilationResult in a given project and location. */
|
|
1118
|
+
create(request: {
|
|
1119
|
+
/** V1 error format. */
|
|
1120
|
+
'$.xgafv'?: string;
|
|
1121
|
+
/** OAuth access token. */
|
|
1122
|
+
access_token?: string;
|
|
1123
|
+
/** Data format for response. */
|
|
1124
|
+
alt?: string;
|
|
1125
|
+
/** JSONP */
|
|
1126
|
+
callback?: string;
|
|
1127
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1128
|
+
fields?: string;
|
|
1129
|
+
/** 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. */
|
|
1130
|
+
key?: string;
|
|
1131
|
+
/** OAuth 2.0 token for the current user. */
|
|
1132
|
+
oauth_token?: string;
|
|
1133
|
+
/** Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1134
|
+
parent: string;
|
|
1135
|
+
/** Returns response with indentations and line breaks. */
|
|
1136
|
+
prettyPrint?: boolean;
|
|
1137
|
+
/** 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. */
|
|
1138
|
+
quotaUser?: string;
|
|
1139
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1140
|
+
upload_protocol?: string;
|
|
1141
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1142
|
+
uploadType?: string;
|
|
1143
|
+
/** Request body */
|
|
1144
|
+
resource: CompilationResult;
|
|
1145
|
+
}): Request<CompilationResult>;
|
|
1146
|
+
create(
|
|
1147
|
+
request: {
|
|
1148
|
+
/** V1 error format. */
|
|
1149
|
+
'$.xgafv'?: string;
|
|
1150
|
+
/** OAuth access token. */
|
|
1151
|
+
access_token?: string;
|
|
1152
|
+
/** Data format for response. */
|
|
1153
|
+
alt?: string;
|
|
1154
|
+
/** JSONP */
|
|
1155
|
+
callback?: string;
|
|
1156
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1157
|
+
fields?: string;
|
|
1158
|
+
/** 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. */
|
|
1159
|
+
key?: string;
|
|
1160
|
+
/** OAuth 2.0 token for the current user. */
|
|
1161
|
+
oauth_token?: string;
|
|
1162
|
+
/** Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1163
|
+
parent: string;
|
|
1164
|
+
/** Returns response with indentations and line breaks. */
|
|
1165
|
+
prettyPrint?: boolean;
|
|
1166
|
+
/** 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. */
|
|
1167
|
+
quotaUser?: string;
|
|
1168
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1169
|
+
upload_protocol?: string;
|
|
1170
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1171
|
+
uploadType?: string;
|
|
1172
|
+
},
|
|
1173
|
+
body: CompilationResult,
|
|
1174
|
+
): Request<CompilationResult>;
|
|
1175
|
+
/** Fetches a single CompilationResult. */
|
|
1176
|
+
get(request?: {
|
|
1177
|
+
/** V1 error format. */
|
|
1178
|
+
'$.xgafv'?: string;
|
|
1179
|
+
/** OAuth access token. */
|
|
1180
|
+
access_token?: string;
|
|
1181
|
+
/** Data format for response. */
|
|
1182
|
+
alt?: string;
|
|
1183
|
+
/** JSONP */
|
|
1184
|
+
callback?: string;
|
|
1185
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1186
|
+
fields?: string;
|
|
1187
|
+
/** 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. */
|
|
1188
|
+
key?: string;
|
|
1189
|
+
/** Required. The compilation result's name. */
|
|
1190
|
+
name: string;
|
|
1191
|
+
/** OAuth 2.0 token for the current user. */
|
|
1192
|
+
oauth_token?: string;
|
|
1193
|
+
/** Returns response with indentations and line breaks. */
|
|
1194
|
+
prettyPrint?: boolean;
|
|
1195
|
+
/** 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. */
|
|
1196
|
+
quotaUser?: string;
|
|
1197
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1198
|
+
upload_protocol?: string;
|
|
1199
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1200
|
+
uploadType?: string;
|
|
1201
|
+
}): Request<CompilationResult>;
|
|
1202
|
+
/** Lists CompilationResults in a given Repository. */
|
|
1203
|
+
list(request?: {
|
|
1204
|
+
/** V1 error format. */
|
|
1205
|
+
'$.xgafv'?: string;
|
|
1206
|
+
/** OAuth access token. */
|
|
1207
|
+
access_token?: string;
|
|
1208
|
+
/** Data format for response. */
|
|
1209
|
+
alt?: string;
|
|
1210
|
+
/** JSONP */
|
|
1211
|
+
callback?: string;
|
|
1212
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1213
|
+
fields?: string;
|
|
1214
|
+
/** Optional. Filter for the returned list. */
|
|
1215
|
+
filter?: string;
|
|
1216
|
+
/** 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. */
|
|
1217
|
+
key?: string;
|
|
1218
|
+
/** OAuth 2.0 token for the current user. */
|
|
1219
|
+
oauth_token?: string;
|
|
1220
|
+
/** Optional. This field only supports ordering by `name` and `create_time`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field. */
|
|
1221
|
+
orderBy?: string;
|
|
1222
|
+
/** 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. */
|
|
1223
|
+
pageSize?: number;
|
|
1224
|
+
/** Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
1225
|
+
pageToken?: string;
|
|
1226
|
+
/** Required. The repository in which to list compilation results. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1227
|
+
parent: string;
|
|
1228
|
+
/** Returns response with indentations and line breaks. */
|
|
1229
|
+
prettyPrint?: boolean;
|
|
1230
|
+
/** 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. */
|
|
1231
|
+
quotaUser?: string;
|
|
1232
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1233
|
+
upload_protocol?: string;
|
|
1234
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1235
|
+
uploadType?: string;
|
|
1236
|
+
}): Request<ListCompilationResultsResponse>;
|
|
1237
|
+
/** Returns CompilationResultActions in a given CompilationResult. */
|
|
1238
|
+
query(request?: {
|
|
1239
|
+
/** V1 error format. */
|
|
1240
|
+
'$.xgafv'?: string;
|
|
1241
|
+
/** OAuth access token. */
|
|
1242
|
+
access_token?: string;
|
|
1243
|
+
/** Data format for response. */
|
|
1244
|
+
alt?: string;
|
|
1245
|
+
/** JSONP */
|
|
1246
|
+
callback?: string;
|
|
1247
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1248
|
+
fields?: string;
|
|
1249
|
+
/** Optional. Optional filter for the returned list. Filtering is only currently supported on the `file_path` field. */
|
|
1250
|
+
filter?: string;
|
|
1251
|
+
/** 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. */
|
|
1252
|
+
key?: string;
|
|
1253
|
+
/** Required. The compilation result's name. */
|
|
1254
|
+
name: string;
|
|
1255
|
+
/** OAuth 2.0 token for the current user. */
|
|
1256
|
+
oauth_token?: string;
|
|
1257
|
+
/** 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. */
|
|
1258
|
+
pageSize?: number;
|
|
1259
|
+
/** Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
1260
|
+
pageToken?: string;
|
|
1261
|
+
/** Returns response with indentations and line breaks. */
|
|
1262
|
+
prettyPrint?: boolean;
|
|
1263
|
+
/** 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. */
|
|
1264
|
+
quotaUser?: string;
|
|
1265
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1266
|
+
upload_protocol?: string;
|
|
1267
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1268
|
+
uploadType?: string;
|
|
1269
|
+
}): Request<QueryCompilationResultActionsResponse>;
|
|
1270
|
+
}
|
|
1271
|
+
interface ReleaseConfigsResource {
|
|
1272
|
+
/** Creates a new ReleaseConfig in a given Repository. */
|
|
1273
|
+
create(request: {
|
|
1274
|
+
/** V1 error format. */
|
|
1275
|
+
'$.xgafv'?: string;
|
|
1276
|
+
/** OAuth access token. */
|
|
1277
|
+
access_token?: string;
|
|
1278
|
+
/** Data format for response. */
|
|
1279
|
+
alt?: string;
|
|
1280
|
+
/** JSONP */
|
|
1281
|
+
callback?: string;
|
|
1282
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1283
|
+
fields?: string;
|
|
1284
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1285
|
+
key?: string;
|
|
1286
|
+
/** OAuth 2.0 token for the current user. */
|
|
1287
|
+
oauth_token?: string;
|
|
1288
|
+
/** Required. The repository in which to create the release config. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1289
|
+
parent: string;
|
|
1290
|
+
/** Returns response with indentations and line breaks. */
|
|
1291
|
+
prettyPrint?: boolean;
|
|
1292
|
+
/** 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. */
|
|
1293
|
+
quotaUser?: string;
|
|
1294
|
+
/** Required. The ID to use for the release config, which will become the final component of the release config's resource name. */
|
|
1295
|
+
releaseConfigId?: string;
|
|
1296
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1297
|
+
upload_protocol?: string;
|
|
1298
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1299
|
+
uploadType?: string;
|
|
1300
|
+
/** Request body */
|
|
1301
|
+
resource: ReleaseConfig;
|
|
1302
|
+
}): Request<ReleaseConfig>;
|
|
1303
|
+
create(
|
|
1304
|
+
request: {
|
|
1305
|
+
/** V1 error format. */
|
|
1306
|
+
'$.xgafv'?: string;
|
|
1307
|
+
/** OAuth access token. */
|
|
1308
|
+
access_token?: string;
|
|
1309
|
+
/** Data format for response. */
|
|
1310
|
+
alt?: string;
|
|
1311
|
+
/** JSONP */
|
|
1312
|
+
callback?: string;
|
|
1313
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1314
|
+
fields?: string;
|
|
1315
|
+
/** 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. */
|
|
1316
|
+
key?: string;
|
|
1317
|
+
/** OAuth 2.0 token for the current user. */
|
|
1318
|
+
oauth_token?: string;
|
|
1319
|
+
/** Required. The repository in which to create the release config. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1320
|
+
parent: string;
|
|
1321
|
+
/** Returns response with indentations and line breaks. */
|
|
1322
|
+
prettyPrint?: boolean;
|
|
1323
|
+
/** 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. */
|
|
1324
|
+
quotaUser?: string;
|
|
1325
|
+
/** Required. The ID to use for the release config, which will become the final component of the release config's resource name. */
|
|
1326
|
+
releaseConfigId?: string;
|
|
1327
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1328
|
+
upload_protocol?: string;
|
|
1329
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1330
|
+
uploadType?: string;
|
|
1331
|
+
},
|
|
1332
|
+
body: ReleaseConfig,
|
|
1333
|
+
): Request<ReleaseConfig>;
|
|
1334
|
+
/** Deletes a single ReleaseConfig. */
|
|
1335
|
+
delete(request?: {
|
|
1336
|
+
/** V1 error format. */
|
|
1337
|
+
'$.xgafv'?: string;
|
|
1338
|
+
/** OAuth access token. */
|
|
1339
|
+
access_token?: string;
|
|
1340
|
+
/** Data format for response. */
|
|
1341
|
+
alt?: string;
|
|
1342
|
+
/** JSONP */
|
|
1343
|
+
callback?: string;
|
|
1344
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1345
|
+
fields?: string;
|
|
1346
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1347
|
+
key?: string;
|
|
1348
|
+
/** Required. The release config's name. */
|
|
1349
|
+
name: string;
|
|
1350
|
+
/** OAuth 2.0 token for the current user. */
|
|
1351
|
+
oauth_token?: string;
|
|
1352
|
+
/** Returns response with indentations and line breaks. */
|
|
1353
|
+
prettyPrint?: boolean;
|
|
1354
|
+
/** 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. */
|
|
1355
|
+
quotaUser?: string;
|
|
1356
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1357
|
+
upload_protocol?: string;
|
|
1358
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1359
|
+
uploadType?: string;
|
|
1360
|
+
}): Request<{}>;
|
|
1361
|
+
/** Fetches a single ReleaseConfig. */
|
|
1362
|
+
get(request?: {
|
|
1363
|
+
/** V1 error format. */
|
|
1364
|
+
'$.xgafv'?: string;
|
|
1365
|
+
/** OAuth access token. */
|
|
1366
|
+
access_token?: string;
|
|
1367
|
+
/** Data format for response. */
|
|
1368
|
+
alt?: string;
|
|
1369
|
+
/** JSONP */
|
|
1370
|
+
callback?: string;
|
|
1371
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1372
|
+
fields?: string;
|
|
1373
|
+
/** 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. */
|
|
1374
|
+
key?: string;
|
|
1375
|
+
/** Required. The release config's name. */
|
|
1376
|
+
name: string;
|
|
1377
|
+
/** OAuth 2.0 token for the current user. */
|
|
1378
|
+
oauth_token?: string;
|
|
1379
|
+
/** Returns response with indentations and line breaks. */
|
|
1380
|
+
prettyPrint?: boolean;
|
|
1381
|
+
/** 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. */
|
|
1382
|
+
quotaUser?: string;
|
|
1383
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1384
|
+
upload_protocol?: string;
|
|
1385
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1386
|
+
uploadType?: string;
|
|
1387
|
+
}): Request<ReleaseConfig>;
|
|
1388
|
+
/** Lists ReleaseConfigs in a given Repository. */
|
|
1389
|
+
list(request?: {
|
|
1390
|
+
/** V1 error format. */
|
|
1391
|
+
'$.xgafv'?: string;
|
|
1392
|
+
/** OAuth access token. */
|
|
1393
|
+
access_token?: string;
|
|
1394
|
+
/** Data format for response. */
|
|
1395
|
+
alt?: string;
|
|
1396
|
+
/** JSONP */
|
|
1397
|
+
callback?: string;
|
|
1398
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1399
|
+
fields?: string;
|
|
1400
|
+
/** 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. */
|
|
1401
|
+
key?: string;
|
|
1402
|
+
/** OAuth 2.0 token for the current user. */
|
|
1403
|
+
oauth_token?: string;
|
|
1404
|
+
/** 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. */
|
|
1405
|
+
pageSize?: number;
|
|
1406
|
+
/** Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
1407
|
+
pageToken?: string;
|
|
1408
|
+
/** Required. The repository in which to list release configs. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1409
|
+
parent: string;
|
|
1410
|
+
/** Returns response with indentations and line breaks. */
|
|
1411
|
+
prettyPrint?: boolean;
|
|
1412
|
+
/** 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. */
|
|
1413
|
+
quotaUser?: string;
|
|
1414
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1415
|
+
upload_protocol?: string;
|
|
1416
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1417
|
+
uploadType?: string;
|
|
1418
|
+
}): Request<ListReleaseConfigsResponse>;
|
|
1419
|
+
/** Updates a single ReleaseConfig. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.* */
|
|
1420
|
+
patch(request: {
|
|
1421
|
+
/** V1 error format. */
|
|
1422
|
+
'$.xgafv'?: string;
|
|
1423
|
+
/** OAuth access token. */
|
|
1424
|
+
access_token?: string;
|
|
1425
|
+
/** Data format for response. */
|
|
1426
|
+
alt?: string;
|
|
1427
|
+
/** JSONP */
|
|
1428
|
+
callback?: string;
|
|
1429
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1430
|
+
fields?: string;
|
|
1431
|
+
/** 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. */
|
|
1432
|
+
key?: string;
|
|
1433
|
+
/** Identifier. The release config's name. */
|
|
1434
|
+
name: string;
|
|
1435
|
+
/** OAuth 2.0 token for the current user. */
|
|
1436
|
+
oauth_token?: string;
|
|
1437
|
+
/** Returns response with indentations and line breaks. */
|
|
1438
|
+
prettyPrint?: boolean;
|
|
1439
|
+
/** 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. */
|
|
1440
|
+
quotaUser?: string;
|
|
1441
|
+
/** Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated. */
|
|
1442
|
+
updateMask?: string;
|
|
1443
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1444
|
+
upload_protocol?: string;
|
|
1445
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1446
|
+
uploadType?: string;
|
|
1447
|
+
/** Request body */
|
|
1448
|
+
resource: ReleaseConfig;
|
|
1449
|
+
}): Request<ReleaseConfig>;
|
|
1450
|
+
patch(
|
|
1451
|
+
request: {
|
|
1452
|
+
/** V1 error format. */
|
|
1453
|
+
'$.xgafv'?: string;
|
|
1454
|
+
/** OAuth access token. */
|
|
1455
|
+
access_token?: string;
|
|
1456
|
+
/** Data format for response. */
|
|
1457
|
+
alt?: string;
|
|
1458
|
+
/** JSONP */
|
|
1459
|
+
callback?: string;
|
|
1460
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1461
|
+
fields?: string;
|
|
1462
|
+
/** 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. */
|
|
1463
|
+
key?: string;
|
|
1464
|
+
/** Identifier. The release config's name. */
|
|
1465
|
+
name: string;
|
|
1466
|
+
/** OAuth 2.0 token for the current user. */
|
|
1467
|
+
oauth_token?: string;
|
|
1468
|
+
/** Returns response with indentations and line breaks. */
|
|
1469
|
+
prettyPrint?: boolean;
|
|
1470
|
+
/** 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. */
|
|
1471
|
+
quotaUser?: string;
|
|
1472
|
+
/** Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated. */
|
|
1473
|
+
updateMask?: string;
|
|
1474
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1475
|
+
upload_protocol?: string;
|
|
1476
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1477
|
+
uploadType?: string;
|
|
1478
|
+
},
|
|
1479
|
+
body: ReleaseConfig,
|
|
1480
|
+
): Request<ReleaseConfig>;
|
|
1481
|
+
}
|
|
1482
|
+
interface WorkflowConfigsResource {
|
|
1483
|
+
/** Creates a new WorkflowConfig in a given Repository. */
|
|
1484
|
+
create(request: {
|
|
1485
|
+
/** V1 error format. */
|
|
1486
|
+
'$.xgafv'?: string;
|
|
1487
|
+
/** OAuth access token. */
|
|
1488
|
+
access_token?: string;
|
|
1489
|
+
/** Data format for response. */
|
|
1490
|
+
alt?: string;
|
|
1491
|
+
/** JSONP */
|
|
1492
|
+
callback?: string;
|
|
1493
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1494
|
+
fields?: string;
|
|
1495
|
+
/** 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. */
|
|
1496
|
+
key?: string;
|
|
1497
|
+
/** OAuth 2.0 token for the current user. */
|
|
1498
|
+
oauth_token?: string;
|
|
1499
|
+
/** Required. The repository in which to create the workflow config. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1500
|
+
parent: string;
|
|
1501
|
+
/** Returns response with indentations and line breaks. */
|
|
1502
|
+
prettyPrint?: boolean;
|
|
1503
|
+
/** 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. */
|
|
1504
|
+
quotaUser?: string;
|
|
1505
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1506
|
+
upload_protocol?: string;
|
|
1507
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1508
|
+
uploadType?: string;
|
|
1509
|
+
/** Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. */
|
|
1510
|
+
workflowConfigId?: string;
|
|
1511
|
+
/** Request body */
|
|
1512
|
+
resource: WorkflowConfig;
|
|
1513
|
+
}): Request<WorkflowConfig>;
|
|
1514
|
+
create(
|
|
1515
|
+
request: {
|
|
1516
|
+
/** V1 error format. */
|
|
1517
|
+
'$.xgafv'?: string;
|
|
1518
|
+
/** OAuth access token. */
|
|
1519
|
+
access_token?: string;
|
|
1520
|
+
/** Data format for response. */
|
|
1521
|
+
alt?: string;
|
|
1522
|
+
/** JSONP */
|
|
1523
|
+
callback?: string;
|
|
1524
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1525
|
+
fields?: string;
|
|
1526
|
+
/** 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. */
|
|
1527
|
+
key?: string;
|
|
1528
|
+
/** OAuth 2.0 token for the current user. */
|
|
1529
|
+
oauth_token?: string;
|
|
1530
|
+
/** Required. The repository in which to create the workflow config. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1531
|
+
parent: string;
|
|
1532
|
+
/** Returns response with indentations and line breaks. */
|
|
1533
|
+
prettyPrint?: boolean;
|
|
1534
|
+
/** 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. */
|
|
1535
|
+
quotaUser?: string;
|
|
1536
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1537
|
+
upload_protocol?: string;
|
|
1538
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1539
|
+
uploadType?: string;
|
|
1540
|
+
/** Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. */
|
|
1541
|
+
workflowConfigId?: string;
|
|
1542
|
+
},
|
|
1543
|
+
body: WorkflowConfig,
|
|
1544
|
+
): Request<WorkflowConfig>;
|
|
1545
|
+
/** Deletes a single WorkflowConfig. */
|
|
1546
|
+
delete(request?: {
|
|
1547
|
+
/** V1 error format. */
|
|
1548
|
+
'$.xgafv'?: string;
|
|
1549
|
+
/** OAuth access token. */
|
|
1550
|
+
access_token?: string;
|
|
1551
|
+
/** Data format for response. */
|
|
1552
|
+
alt?: string;
|
|
1553
|
+
/** JSONP */
|
|
1554
|
+
callback?: string;
|
|
1555
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1556
|
+
fields?: string;
|
|
1557
|
+
/** 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. */
|
|
1558
|
+
key?: string;
|
|
1559
|
+
/** Required. The workflow config's name. */
|
|
1560
|
+
name: string;
|
|
1561
|
+
/** OAuth 2.0 token for the current user. */
|
|
1562
|
+
oauth_token?: string;
|
|
1563
|
+
/** Returns response with indentations and line breaks. */
|
|
1564
|
+
prettyPrint?: boolean;
|
|
1565
|
+
/** 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. */
|
|
1566
|
+
quotaUser?: string;
|
|
1567
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1568
|
+
upload_protocol?: string;
|
|
1569
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1570
|
+
uploadType?: string;
|
|
1571
|
+
}): Request<{}>;
|
|
1572
|
+
/** Fetches a single WorkflowConfig. */
|
|
1573
|
+
get(request?: {
|
|
1574
|
+
/** V1 error format. */
|
|
1575
|
+
'$.xgafv'?: string;
|
|
1576
|
+
/** OAuth access token. */
|
|
1577
|
+
access_token?: string;
|
|
1578
|
+
/** Data format for response. */
|
|
1579
|
+
alt?: string;
|
|
1580
|
+
/** JSONP */
|
|
1581
|
+
callback?: string;
|
|
1582
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1583
|
+
fields?: string;
|
|
1584
|
+
/** 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. */
|
|
1585
|
+
key?: string;
|
|
1586
|
+
/** Required. The workflow config's name. */
|
|
1587
|
+
name: string;
|
|
1588
|
+
/** OAuth 2.0 token for the current user. */
|
|
1589
|
+
oauth_token?: string;
|
|
1590
|
+
/** Returns response with indentations and line breaks. */
|
|
1591
|
+
prettyPrint?: boolean;
|
|
1592
|
+
/** 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. */
|
|
1593
|
+
quotaUser?: string;
|
|
1594
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1595
|
+
upload_protocol?: string;
|
|
1596
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1597
|
+
uploadType?: string;
|
|
1598
|
+
}): Request<WorkflowConfig>;
|
|
1599
|
+
/** Lists WorkflowConfigs in a given Repository. */
|
|
1600
|
+
list(request?: {
|
|
1601
|
+
/** V1 error format. */
|
|
1602
|
+
'$.xgafv'?: string;
|
|
1603
|
+
/** OAuth access token. */
|
|
1604
|
+
access_token?: string;
|
|
1605
|
+
/** Data format for response. */
|
|
1606
|
+
alt?: string;
|
|
1607
|
+
/** JSONP */
|
|
1608
|
+
callback?: string;
|
|
1609
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1610
|
+
fields?: string;
|
|
1611
|
+
/** 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. */
|
|
1612
|
+
key?: string;
|
|
1613
|
+
/** OAuth 2.0 token for the current user. */
|
|
1614
|
+
oauth_token?: string;
|
|
1615
|
+
/** 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. */
|
|
1616
|
+
pageSize?: number;
|
|
1617
|
+
/** Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
1618
|
+
pageToken?: string;
|
|
1619
|
+
/** Required. The repository in which to list workflow configs. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1620
|
+
parent: string;
|
|
1621
|
+
/** Returns response with indentations and line breaks. */
|
|
1622
|
+
prettyPrint?: boolean;
|
|
1623
|
+
/** 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. */
|
|
1624
|
+
quotaUser?: string;
|
|
1625
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1626
|
+
upload_protocol?: string;
|
|
1627
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1628
|
+
uploadType?: string;
|
|
1629
|
+
}): Request<ListWorkflowConfigsResponse>;
|
|
1630
|
+
/** Updates a single WorkflowConfig. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.* */
|
|
1631
|
+
patch(request: {
|
|
1632
|
+
/** V1 error format. */
|
|
1633
|
+
'$.xgafv'?: string;
|
|
1634
|
+
/** OAuth access token. */
|
|
1635
|
+
access_token?: string;
|
|
1636
|
+
/** Data format for response. */
|
|
1637
|
+
alt?: string;
|
|
1638
|
+
/** JSONP */
|
|
1639
|
+
callback?: string;
|
|
1640
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1641
|
+
fields?: string;
|
|
1642
|
+
/** 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. */
|
|
1643
|
+
key?: string;
|
|
1644
|
+
/** Identifier. The workflow config's name. */
|
|
1645
|
+
name: string;
|
|
1646
|
+
/** OAuth 2.0 token for the current user. */
|
|
1647
|
+
oauth_token?: string;
|
|
1648
|
+
/** Returns response with indentations and line breaks. */
|
|
1649
|
+
prettyPrint?: boolean;
|
|
1650
|
+
/** 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. */
|
|
1651
|
+
quotaUser?: string;
|
|
1652
|
+
/** Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated. */
|
|
1653
|
+
updateMask?: string;
|
|
1654
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1655
|
+
upload_protocol?: string;
|
|
1656
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1657
|
+
uploadType?: string;
|
|
1658
|
+
/** Request body */
|
|
1659
|
+
resource: WorkflowConfig;
|
|
1660
|
+
}): Request<WorkflowConfig>;
|
|
1661
|
+
patch(
|
|
1662
|
+
request: {
|
|
1663
|
+
/** V1 error format. */
|
|
1664
|
+
'$.xgafv'?: string;
|
|
1665
|
+
/** OAuth access token. */
|
|
1666
|
+
access_token?: string;
|
|
1667
|
+
/** Data format for response. */
|
|
1668
|
+
alt?: string;
|
|
1669
|
+
/** JSONP */
|
|
1670
|
+
callback?: string;
|
|
1671
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1672
|
+
fields?: string;
|
|
1673
|
+
/** 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. */
|
|
1674
|
+
key?: string;
|
|
1675
|
+
/** Identifier. The workflow config's name. */
|
|
1676
|
+
name: string;
|
|
1677
|
+
/** OAuth 2.0 token for the current user. */
|
|
1678
|
+
oauth_token?: string;
|
|
1679
|
+
/** Returns response with indentations and line breaks. */
|
|
1680
|
+
prettyPrint?: boolean;
|
|
1681
|
+
/** 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. */
|
|
1682
|
+
quotaUser?: string;
|
|
1683
|
+
/** Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated. */
|
|
1684
|
+
updateMask?: 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
|
+
},
|
|
1690
|
+
body: WorkflowConfig,
|
|
1691
|
+
): Request<WorkflowConfig>;
|
|
1692
|
+
}
|
|
1693
|
+
interface WorkflowInvocationsResource {
|
|
1694
|
+
/** Requests cancellation of a running WorkflowInvocation. */
|
|
1695
|
+
cancel(request: {
|
|
1696
|
+
/** V1 error format. */
|
|
1697
|
+
'$.xgafv'?: string;
|
|
1698
|
+
/** OAuth access token. */
|
|
1699
|
+
access_token?: string;
|
|
1700
|
+
/** Data format for response. */
|
|
1701
|
+
alt?: string;
|
|
1702
|
+
/** JSONP */
|
|
1703
|
+
callback?: string;
|
|
1704
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1705
|
+
fields?: string;
|
|
1706
|
+
/** 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. */
|
|
1707
|
+
key?: string;
|
|
1708
|
+
/** Required. The workflow invocation resource's name. */
|
|
1709
|
+
name: string;
|
|
1710
|
+
/** OAuth 2.0 token for the current user. */
|
|
1711
|
+
oauth_token?: string;
|
|
1712
|
+
/** Returns response with indentations and line breaks. */
|
|
1713
|
+
prettyPrint?: boolean;
|
|
1714
|
+
/** 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. */
|
|
1715
|
+
quotaUser?: string;
|
|
1716
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1717
|
+
upload_protocol?: string;
|
|
1718
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1719
|
+
uploadType?: string;
|
|
1720
|
+
/** Request body */
|
|
1721
|
+
resource: CancelWorkflowInvocationRequest;
|
|
1722
|
+
}): Request<{}>;
|
|
1723
|
+
cancel(
|
|
1724
|
+
request: {
|
|
1725
|
+
/** V1 error format. */
|
|
1726
|
+
'$.xgafv'?: string;
|
|
1727
|
+
/** OAuth access token. */
|
|
1728
|
+
access_token?: string;
|
|
1729
|
+
/** Data format for response. */
|
|
1730
|
+
alt?: string;
|
|
1731
|
+
/** JSONP */
|
|
1732
|
+
callback?: string;
|
|
1733
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1734
|
+
fields?: string;
|
|
1735
|
+
/** 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. */
|
|
1736
|
+
key?: string;
|
|
1737
|
+
/** Required. The workflow invocation resource's name. */
|
|
1738
|
+
name: string;
|
|
1739
|
+
/** OAuth 2.0 token for the current user. */
|
|
1740
|
+
oauth_token?: string;
|
|
1741
|
+
/** Returns response with indentations and line breaks. */
|
|
1742
|
+
prettyPrint?: boolean;
|
|
1743
|
+
/** 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. */
|
|
1744
|
+
quotaUser?: string;
|
|
1745
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1746
|
+
upload_protocol?: string;
|
|
1747
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1748
|
+
uploadType?: string;
|
|
1749
|
+
},
|
|
1750
|
+
body: CancelWorkflowInvocationRequest,
|
|
1751
|
+
): Request<{}>;
|
|
1752
|
+
/** Creates a new WorkflowInvocation in a given Repository. */
|
|
1753
|
+
create(request: {
|
|
1754
|
+
/** V1 error format. */
|
|
1755
|
+
'$.xgafv'?: string;
|
|
1756
|
+
/** OAuth access token. */
|
|
1757
|
+
access_token?: string;
|
|
1758
|
+
/** Data format for response. */
|
|
1759
|
+
alt?: string;
|
|
1760
|
+
/** JSONP */
|
|
1761
|
+
callback?: string;
|
|
1762
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1763
|
+
fields?: string;
|
|
1764
|
+
/** 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. */
|
|
1765
|
+
key?: string;
|
|
1766
|
+
/** OAuth 2.0 token for the current user. */
|
|
1767
|
+
oauth_token?: string;
|
|
1768
|
+
/** Required. The repository in which to create the workflow invocation. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1769
|
+
parent: string;
|
|
1770
|
+
/** Returns response with indentations and line breaks. */
|
|
1771
|
+
prettyPrint?: boolean;
|
|
1772
|
+
/** 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. */
|
|
1773
|
+
quotaUser?: string;
|
|
1774
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1775
|
+
upload_protocol?: string;
|
|
1776
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1777
|
+
uploadType?: string;
|
|
1778
|
+
/** Request body */
|
|
1779
|
+
resource: WorkflowInvocation;
|
|
1780
|
+
}): Request<WorkflowInvocation>;
|
|
1781
|
+
create(
|
|
1782
|
+
request: {
|
|
1783
|
+
/** V1 error format. */
|
|
1784
|
+
'$.xgafv'?: string;
|
|
1785
|
+
/** OAuth access token. */
|
|
1786
|
+
access_token?: string;
|
|
1787
|
+
/** Data format for response. */
|
|
1788
|
+
alt?: string;
|
|
1789
|
+
/** JSONP */
|
|
1790
|
+
callback?: string;
|
|
1791
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1792
|
+
fields?: string;
|
|
1793
|
+
/** 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. */
|
|
1794
|
+
key?: string;
|
|
1795
|
+
/** OAuth 2.0 token for the current user. */
|
|
1796
|
+
oauth_token?: string;
|
|
1797
|
+
/** Required. The repository in which to create the workflow invocation. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1798
|
+
parent: string;
|
|
1799
|
+
/** Returns response with indentations and line breaks. */
|
|
1800
|
+
prettyPrint?: boolean;
|
|
1801
|
+
/** 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. */
|
|
1802
|
+
quotaUser?: string;
|
|
1803
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1804
|
+
upload_protocol?: string;
|
|
1805
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1806
|
+
uploadType?: string;
|
|
1807
|
+
},
|
|
1808
|
+
body: WorkflowInvocation,
|
|
1809
|
+
): Request<WorkflowInvocation>;
|
|
1810
|
+
/** Deletes a single WorkflowInvocation. */
|
|
1811
|
+
delete(request?: {
|
|
1812
|
+
/** V1 error format. */
|
|
1813
|
+
'$.xgafv'?: string;
|
|
1814
|
+
/** OAuth access token. */
|
|
1815
|
+
access_token?: string;
|
|
1816
|
+
/** Data format for response. */
|
|
1817
|
+
alt?: string;
|
|
1818
|
+
/** JSONP */
|
|
1819
|
+
callback?: string;
|
|
1820
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1821
|
+
fields?: string;
|
|
1822
|
+
/** 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. */
|
|
1823
|
+
key?: string;
|
|
1824
|
+
/** Required. The workflow invocation resource's name. */
|
|
1825
|
+
name: string;
|
|
1826
|
+
/** OAuth 2.0 token for the current user. */
|
|
1827
|
+
oauth_token?: string;
|
|
1828
|
+
/** Returns response with indentations and line breaks. */
|
|
1829
|
+
prettyPrint?: boolean;
|
|
1830
|
+
/** 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. */
|
|
1831
|
+
quotaUser?: string;
|
|
1832
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1833
|
+
upload_protocol?: string;
|
|
1834
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1835
|
+
uploadType?: string;
|
|
1836
|
+
}): Request<{}>;
|
|
1837
|
+
/** Fetches a single WorkflowInvocation. */
|
|
1838
|
+
get(request?: {
|
|
1839
|
+
/** V1 error format. */
|
|
1840
|
+
'$.xgafv'?: string;
|
|
1841
|
+
/** OAuth access token. */
|
|
1842
|
+
access_token?: string;
|
|
1843
|
+
/** Data format for response. */
|
|
1844
|
+
alt?: string;
|
|
1845
|
+
/** JSONP */
|
|
1846
|
+
callback?: string;
|
|
1847
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1848
|
+
fields?: string;
|
|
1849
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1850
|
+
key?: string;
|
|
1851
|
+
/** Required. The workflow invocation resource's name. */
|
|
1852
|
+
name: string;
|
|
1853
|
+
/** OAuth 2.0 token for the current user. */
|
|
1854
|
+
oauth_token?: string;
|
|
1855
|
+
/** Returns response with indentations and line breaks. */
|
|
1856
|
+
prettyPrint?: boolean;
|
|
1857
|
+
/** 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. */
|
|
1858
|
+
quotaUser?: string;
|
|
1859
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1860
|
+
upload_protocol?: string;
|
|
1861
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1862
|
+
uploadType?: string;
|
|
1863
|
+
}): Request<WorkflowInvocation>;
|
|
1864
|
+
/** Lists WorkflowInvocations in a given Repository. */
|
|
1865
|
+
list(request?: {
|
|
1866
|
+
/** V1 error format. */
|
|
1867
|
+
'$.xgafv'?: string;
|
|
1868
|
+
/** OAuth access token. */
|
|
1869
|
+
access_token?: string;
|
|
1870
|
+
/** Data format for response. */
|
|
1871
|
+
alt?: string;
|
|
1872
|
+
/** JSONP */
|
|
1873
|
+
callback?: string;
|
|
1874
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1875
|
+
fields?: string;
|
|
1876
|
+
/** Optional. Filter for the returned list. */
|
|
1877
|
+
filter?: string;
|
|
1878
|
+
/** 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. */
|
|
1879
|
+
key?: string;
|
|
1880
|
+
/** OAuth 2.0 token for the current user. */
|
|
1881
|
+
oauth_token?: string;
|
|
1882
|
+
/** 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. */
|
|
1883
|
+
orderBy?: string;
|
|
1884
|
+
/** 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. */
|
|
1885
|
+
pageSize?: number;
|
|
1886
|
+
/** Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowInvocations`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
1887
|
+
pageToken?: string;
|
|
1888
|
+
/** Required. The parent resource of the WorkflowInvocation type. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
1889
|
+
parent: string;
|
|
1890
|
+
/** Returns response with indentations and line breaks. */
|
|
1891
|
+
prettyPrint?: boolean;
|
|
1892
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1893
|
+
quotaUser?: string;
|
|
1894
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1895
|
+
upload_protocol?: string;
|
|
1896
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1897
|
+
uploadType?: string;
|
|
1898
|
+
}): Request<ListWorkflowInvocationsResponse>;
|
|
1899
|
+
/** Returns WorkflowInvocationActions in a given WorkflowInvocation. */
|
|
1900
|
+
query(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 workflow invocation's name. */
|
|
1914
|
+
name: string;
|
|
1915
|
+
/** OAuth 2.0 token for the current user. */
|
|
1916
|
+
oauth_token?: string;
|
|
1917
|
+
/** 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. */
|
|
1918
|
+
pageSize?: number;
|
|
1919
|
+
/** Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryWorkflowInvocationActions`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
1920
|
+
pageToken?: string;
|
|
1921
|
+
/** Returns response with indentations and line breaks. */
|
|
1922
|
+
prettyPrint?: boolean;
|
|
1923
|
+
/** 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. */
|
|
1924
|
+
quotaUser?: string;
|
|
1925
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1926
|
+
upload_protocol?: string;
|
|
1927
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1928
|
+
uploadType?: string;
|
|
1929
|
+
}): Request<QueryWorkflowInvocationActionsResponse>;
|
|
1930
|
+
}
|
|
1931
|
+
interface WorkspacesResource {
|
|
1932
|
+
/** Applies a Git commit for uncommitted files in a Workspace. */
|
|
1933
|
+
commit(request: {
|
|
1934
|
+
/** V1 error format. */
|
|
1935
|
+
'$.xgafv'?: string;
|
|
1936
|
+
/** OAuth access token. */
|
|
1937
|
+
access_token?: string;
|
|
1938
|
+
/** Data format for response. */
|
|
1939
|
+
alt?: string;
|
|
1940
|
+
/** JSONP */
|
|
1941
|
+
callback?: string;
|
|
1942
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1943
|
+
fields?: string;
|
|
1944
|
+
/** 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. */
|
|
1945
|
+
key?: string;
|
|
1946
|
+
/** Required. The workspace's name. */
|
|
1947
|
+
name: string;
|
|
1948
|
+
/** OAuth 2.0 token for the current user. */
|
|
1949
|
+
oauth_token?: string;
|
|
1950
|
+
/** Returns response with indentations and line breaks. */
|
|
1951
|
+
prettyPrint?: boolean;
|
|
1952
|
+
/** 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. */
|
|
1953
|
+
quotaUser?: string;
|
|
1954
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1955
|
+
upload_protocol?: string;
|
|
1956
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1957
|
+
uploadType?: string;
|
|
1958
|
+
/** Request body */
|
|
1959
|
+
resource: CommitWorkspaceChangesRequest;
|
|
1960
|
+
}): Request<{}>;
|
|
1961
|
+
commit(
|
|
1962
|
+
request: {
|
|
1963
|
+
/** V1 error format. */
|
|
1964
|
+
'$.xgafv'?: string;
|
|
1965
|
+
/** OAuth access token. */
|
|
1966
|
+
access_token?: string;
|
|
1967
|
+
/** Data format for response. */
|
|
1968
|
+
alt?: string;
|
|
1969
|
+
/** JSONP */
|
|
1970
|
+
callback?: string;
|
|
1971
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1972
|
+
fields?: string;
|
|
1973
|
+
/** 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. */
|
|
1974
|
+
key?: string;
|
|
1975
|
+
/** Required. The workspace's name. */
|
|
1976
|
+
name: string;
|
|
1977
|
+
/** OAuth 2.0 token for the current user. */
|
|
1978
|
+
oauth_token?: string;
|
|
1979
|
+
/** Returns response with indentations and line breaks. */
|
|
1980
|
+
prettyPrint?: boolean;
|
|
1981
|
+
/** 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. */
|
|
1982
|
+
quotaUser?: string;
|
|
1983
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1984
|
+
upload_protocol?: string;
|
|
1985
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1986
|
+
uploadType?: string;
|
|
1987
|
+
},
|
|
1988
|
+
body: CommitWorkspaceChangesRequest,
|
|
1989
|
+
): Request<{}>;
|
|
1990
|
+
/** Creates a new Workspace in a given Repository. */
|
|
1991
|
+
create(request: {
|
|
1992
|
+
/** V1 error format. */
|
|
1993
|
+
'$.xgafv'?: string;
|
|
1994
|
+
/** OAuth access token. */
|
|
1995
|
+
access_token?: string;
|
|
1996
|
+
/** Data format for response. */
|
|
1997
|
+
alt?: string;
|
|
1998
|
+
/** JSONP */
|
|
1999
|
+
callback?: string;
|
|
2000
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2001
|
+
fields?: string;
|
|
2002
|
+
/** 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. */
|
|
2003
|
+
key?: string;
|
|
2004
|
+
/** OAuth 2.0 token for the current user. */
|
|
2005
|
+
oauth_token?: string;
|
|
2006
|
+
/** Required. The repository in which to create the workspace. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
2007
|
+
parent: string;
|
|
2008
|
+
/** Returns response with indentations and line breaks. */
|
|
2009
|
+
prettyPrint?: boolean;
|
|
2010
|
+
/** 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. */
|
|
2011
|
+
quotaUser?: string;
|
|
2012
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2013
|
+
upload_protocol?: string;
|
|
2014
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2015
|
+
uploadType?: string;
|
|
2016
|
+
/** Required. The ID to use for the workspace, which will become the final component of the workspace's resource name. */
|
|
2017
|
+
workspaceId?: string;
|
|
2018
|
+
/** Request body */
|
|
2019
|
+
resource: Workspace;
|
|
2020
|
+
}): Request<Workspace>;
|
|
2021
|
+
create(
|
|
2022
|
+
request: {
|
|
2023
|
+
/** V1 error format. */
|
|
2024
|
+
'$.xgafv'?: string;
|
|
2025
|
+
/** OAuth access token. */
|
|
2026
|
+
access_token?: string;
|
|
2027
|
+
/** Data format for response. */
|
|
2028
|
+
alt?: string;
|
|
2029
|
+
/** JSONP */
|
|
2030
|
+
callback?: string;
|
|
2031
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2032
|
+
fields?: string;
|
|
2033
|
+
/** 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. */
|
|
2034
|
+
key?: string;
|
|
2035
|
+
/** OAuth 2.0 token for the current user. */
|
|
2036
|
+
oauth_token?: string;
|
|
2037
|
+
/** Required. The repository in which to create the workspace. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
2038
|
+
parent: string;
|
|
2039
|
+
/** Returns response with indentations and line breaks. */
|
|
2040
|
+
prettyPrint?: boolean;
|
|
2041
|
+
/** 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. */
|
|
2042
|
+
quotaUser?: string;
|
|
2043
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2044
|
+
upload_protocol?: string;
|
|
2045
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2046
|
+
uploadType?: string;
|
|
2047
|
+
/** Required. The ID to use for the workspace, which will become the final component of the workspace's resource name. */
|
|
2048
|
+
workspaceId?: string;
|
|
2049
|
+
},
|
|
2050
|
+
body: Workspace,
|
|
2051
|
+
): Request<Workspace>;
|
|
2052
|
+
/** Deletes a single Workspace. */
|
|
2053
|
+
delete(request?: {
|
|
2054
|
+
/** V1 error format. */
|
|
2055
|
+
'$.xgafv'?: string;
|
|
2056
|
+
/** OAuth access token. */
|
|
2057
|
+
access_token?: string;
|
|
2058
|
+
/** Data format for response. */
|
|
2059
|
+
alt?: string;
|
|
2060
|
+
/** JSONP */
|
|
2061
|
+
callback?: string;
|
|
2062
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2063
|
+
fields?: string;
|
|
2064
|
+
/** 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. */
|
|
2065
|
+
key?: string;
|
|
2066
|
+
/** Required. The workspace resource's name. */
|
|
2067
|
+
name: string;
|
|
2068
|
+
/** OAuth 2.0 token for the current user. */
|
|
2069
|
+
oauth_token?: string;
|
|
2070
|
+
/** Returns response with indentations and line breaks. */
|
|
2071
|
+
prettyPrint?: boolean;
|
|
2072
|
+
/** 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. */
|
|
2073
|
+
quotaUser?: string;
|
|
2074
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2075
|
+
upload_protocol?: string;
|
|
2076
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2077
|
+
uploadType?: string;
|
|
2078
|
+
}): Request<{}>;
|
|
2079
|
+
/** Fetches Git diff for an uncommitted file in a Workspace. */
|
|
2080
|
+
fetchFileDiff(request?: {
|
|
2081
|
+
/** V1 error format. */
|
|
2082
|
+
'$.xgafv'?: string;
|
|
2083
|
+
/** OAuth access token. */
|
|
2084
|
+
access_token?: string;
|
|
2085
|
+
/** Data format for response. */
|
|
2086
|
+
alt?: string;
|
|
2087
|
+
/** JSONP */
|
|
2088
|
+
callback?: string;
|
|
2089
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2090
|
+
fields?: string;
|
|
2091
|
+
/** 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. */
|
|
2092
|
+
key?: string;
|
|
2093
|
+
/** OAuth 2.0 token for the current user. */
|
|
2094
|
+
oauth_token?: string;
|
|
2095
|
+
/** Required. The file's full path including filename, relative to the workspace root. */
|
|
2096
|
+
path?: string;
|
|
2097
|
+
/** Returns response with indentations and line breaks. */
|
|
2098
|
+
prettyPrint?: boolean;
|
|
2099
|
+
/** 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. */
|
|
2100
|
+
quotaUser?: string;
|
|
2101
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2102
|
+
upload_protocol?: string;
|
|
2103
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2104
|
+
uploadType?: string;
|
|
2105
|
+
/** Required. The workspace's name. */
|
|
2106
|
+
workspace: string;
|
|
2107
|
+
}): Request<FetchFileDiffResponse>;
|
|
2108
|
+
/** Fetches Git statuses for the files in a Workspace. */
|
|
2109
|
+
fetchFileGitStatuses(request?: {
|
|
2110
|
+
/** V1 error format. */
|
|
2111
|
+
'$.xgafv'?: string;
|
|
2112
|
+
/** OAuth access token. */
|
|
2113
|
+
access_token?: string;
|
|
2114
|
+
/** Data format for response. */
|
|
2115
|
+
alt?: string;
|
|
2116
|
+
/** JSONP */
|
|
2117
|
+
callback?: string;
|
|
2118
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2119
|
+
fields?: string;
|
|
2120
|
+
/** 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. */
|
|
2121
|
+
key?: string;
|
|
2122
|
+
/** Required. The workspace's name. */
|
|
2123
|
+
name: string;
|
|
2124
|
+
/** OAuth 2.0 token for the current user. */
|
|
2125
|
+
oauth_token?: string;
|
|
2126
|
+
/** Returns response with indentations and line breaks. */
|
|
2127
|
+
prettyPrint?: boolean;
|
|
2128
|
+
/** 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. */
|
|
2129
|
+
quotaUser?: string;
|
|
2130
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2131
|
+
upload_protocol?: string;
|
|
2132
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2133
|
+
uploadType?: string;
|
|
2134
|
+
}): Request<FetchFileGitStatusesResponse>;
|
|
2135
|
+
/** Fetches Git ahead/behind against a remote branch. */
|
|
2136
|
+
fetchGitAheadBehind(request?: {
|
|
2137
|
+
/** V1 error format. */
|
|
2138
|
+
'$.xgafv'?: string;
|
|
2139
|
+
/** OAuth access token. */
|
|
2140
|
+
access_token?: string;
|
|
2141
|
+
/** Data format for response. */
|
|
2142
|
+
alt?: string;
|
|
2143
|
+
/** JSONP */
|
|
2144
|
+
callback?: string;
|
|
2145
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2146
|
+
fields?: string;
|
|
2147
|
+
/** 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. */
|
|
2148
|
+
key?: string;
|
|
2149
|
+
/** Required. The workspace's name. */
|
|
2150
|
+
name: string;
|
|
2151
|
+
/** OAuth 2.0 token for the current user. */
|
|
2152
|
+
oauth_token?: string;
|
|
2153
|
+
/** Returns response with indentations and line breaks. */
|
|
2154
|
+
prettyPrint?: boolean;
|
|
2155
|
+
/** 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. */
|
|
2156
|
+
quotaUser?: string;
|
|
2157
|
+
/** 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. */
|
|
2158
|
+
remoteBranch?: string;
|
|
2159
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2160
|
+
upload_protocol?: string;
|
|
2161
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2162
|
+
uploadType?: string;
|
|
2163
|
+
}): Request<FetchGitAheadBehindResponse>;
|
|
2164
|
+
/** Fetches a single Workspace. */
|
|
2165
|
+
get(request?: {
|
|
2166
|
+
/** V1 error format. */
|
|
2167
|
+
'$.xgafv'?: string;
|
|
2168
|
+
/** OAuth access token. */
|
|
2169
|
+
access_token?: string;
|
|
2170
|
+
/** Data format for response. */
|
|
2171
|
+
alt?: string;
|
|
2172
|
+
/** JSONP */
|
|
2173
|
+
callback?: string;
|
|
2174
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2175
|
+
fields?: string;
|
|
2176
|
+
/** 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. */
|
|
2177
|
+
key?: string;
|
|
2178
|
+
/** Required. The workspace's name. */
|
|
2179
|
+
name: string;
|
|
2180
|
+
/** OAuth 2.0 token for the current user. */
|
|
2181
|
+
oauth_token?: string;
|
|
2182
|
+
/** Returns response with indentations and line breaks. */
|
|
2183
|
+
prettyPrint?: boolean;
|
|
2184
|
+
/** 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. */
|
|
2185
|
+
quotaUser?: string;
|
|
2186
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2187
|
+
upload_protocol?: string;
|
|
2188
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2189
|
+
uploadType?: string;
|
|
2190
|
+
}): Request<Workspace>;
|
|
2191
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
2192
|
+
getIamPolicy(request?: {
|
|
2193
|
+
/** V1 error format. */
|
|
2194
|
+
'$.xgafv'?: string;
|
|
2195
|
+
/** OAuth access token. */
|
|
2196
|
+
access_token?: string;
|
|
2197
|
+
/** Data format for response. */
|
|
2198
|
+
alt?: string;
|
|
2199
|
+
/** JSONP */
|
|
2200
|
+
callback?: string;
|
|
2201
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2202
|
+
fields?: string;
|
|
2203
|
+
/** 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. */
|
|
2204
|
+
key?: string;
|
|
2205
|
+
/** OAuth 2.0 token for the current user. */
|
|
2206
|
+
oauth_token?: string;
|
|
2207
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
2208
|
+
'options.requestedPolicyVersion'?: number;
|
|
2209
|
+
/** Returns response with indentations and line breaks. */
|
|
2210
|
+
prettyPrint?: boolean;
|
|
2211
|
+
/** 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. */
|
|
2212
|
+
quotaUser?: string;
|
|
2213
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
2214
|
+
resource: string;
|
|
2215
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2216
|
+
upload_protocol?: string;
|
|
2217
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2218
|
+
uploadType?: string;
|
|
2219
|
+
}): Request<Policy>;
|
|
2220
|
+
/** Installs dependency NPM packages (inside a Workspace). */
|
|
2221
|
+
installNpmPackages(request: {
|
|
2222
|
+
/** V1 error format. */
|
|
2223
|
+
'$.xgafv'?: string;
|
|
2224
|
+
/** OAuth access token. */
|
|
2225
|
+
access_token?: string;
|
|
2226
|
+
/** Data format for response. */
|
|
2227
|
+
alt?: string;
|
|
2228
|
+
/** JSONP */
|
|
2229
|
+
callback?: string;
|
|
2230
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2231
|
+
fields?: string;
|
|
2232
|
+
/** 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. */
|
|
2233
|
+
key?: string;
|
|
2234
|
+
/** OAuth 2.0 token for the current user. */
|
|
2235
|
+
oauth_token?: string;
|
|
2236
|
+
/** Returns response with indentations and line breaks. */
|
|
2237
|
+
prettyPrint?: boolean;
|
|
2238
|
+
/** 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. */
|
|
2239
|
+
quotaUser?: string;
|
|
2240
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2241
|
+
upload_protocol?: string;
|
|
2242
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2243
|
+
uploadType?: string;
|
|
2244
|
+
/** Required. The workspace's name. */
|
|
2245
|
+
workspace: string;
|
|
2246
|
+
/** Request body */
|
|
2247
|
+
resource: InstallNpmPackagesRequest;
|
|
2248
|
+
}): Request<{}>;
|
|
2249
|
+
installNpmPackages(
|
|
2250
|
+
request: {
|
|
2251
|
+
/** V1 error format. */
|
|
2252
|
+
'$.xgafv'?: string;
|
|
2253
|
+
/** OAuth access token. */
|
|
2254
|
+
access_token?: string;
|
|
2255
|
+
/** Data format for response. */
|
|
2256
|
+
alt?: string;
|
|
2257
|
+
/** JSONP */
|
|
2258
|
+
callback?: string;
|
|
2259
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2260
|
+
fields?: string;
|
|
2261
|
+
/** 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. */
|
|
2262
|
+
key?: string;
|
|
2263
|
+
/** OAuth 2.0 token for the current user. */
|
|
2264
|
+
oauth_token?: string;
|
|
2265
|
+
/** Returns response with indentations and line breaks. */
|
|
2266
|
+
prettyPrint?: boolean;
|
|
2267
|
+
/** 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. */
|
|
2268
|
+
quotaUser?: string;
|
|
2269
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2270
|
+
upload_protocol?: string;
|
|
2271
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2272
|
+
uploadType?: string;
|
|
2273
|
+
/** Required. The workspace's name. */
|
|
2274
|
+
workspace: string;
|
|
2275
|
+
},
|
|
2276
|
+
body: InstallNpmPackagesRequest,
|
|
2277
|
+
): Request<{}>;
|
|
2278
|
+
/** Lists Workspaces in a given Repository. */
|
|
2279
|
+
list(request?: {
|
|
2280
|
+
/** V1 error format. */
|
|
2281
|
+
'$.xgafv'?: string;
|
|
2282
|
+
/** OAuth access token. */
|
|
2283
|
+
access_token?: string;
|
|
2284
|
+
/** Data format for response. */
|
|
2285
|
+
alt?: string;
|
|
2286
|
+
/** JSONP */
|
|
2287
|
+
callback?: string;
|
|
2288
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2289
|
+
fields?: string;
|
|
2290
|
+
/** Optional. Filter for the returned list. */
|
|
2291
|
+
filter?: string;
|
|
2292
|
+
/** 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. */
|
|
2293
|
+
key?: string;
|
|
2294
|
+
/** OAuth 2.0 token for the current user. */
|
|
2295
|
+
oauth_token?: string;
|
|
2296
|
+
/** 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. */
|
|
2297
|
+
orderBy?: string;
|
|
2298
|
+
/** Optional. Maximum number of workspaces to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
2299
|
+
pageSize?: number;
|
|
2300
|
+
/** Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
2301
|
+
pageToken?: string;
|
|
2302
|
+
/** Required. The repository in which to list workspaces. Must be in the format `projects/*/locations/*/repositories/*`. */
|
|
2303
|
+
parent: string;
|
|
2304
|
+
/** Returns response with indentations and line breaks. */
|
|
2305
|
+
prettyPrint?: boolean;
|
|
2306
|
+
/** 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. */
|
|
2307
|
+
quotaUser?: string;
|
|
2308
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2309
|
+
upload_protocol?: string;
|
|
2310
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2311
|
+
uploadType?: string;
|
|
2312
|
+
}): Request<ListWorkspacesResponse>;
|
|
2313
|
+
/** Creates a directory inside a Workspace. */
|
|
2314
|
+
makeDirectory(request: {
|
|
2315
|
+
/** V1 error format. */
|
|
2316
|
+
'$.xgafv'?: string;
|
|
2317
|
+
/** OAuth access token. */
|
|
2318
|
+
access_token?: string;
|
|
2319
|
+
/** Data format for response. */
|
|
2320
|
+
alt?: string;
|
|
2321
|
+
/** JSONP */
|
|
2322
|
+
callback?: string;
|
|
2323
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2324
|
+
fields?: string;
|
|
2325
|
+
/** 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. */
|
|
2326
|
+
key?: string;
|
|
2327
|
+
/** OAuth 2.0 token for the current user. */
|
|
2328
|
+
oauth_token?: string;
|
|
2329
|
+
/** Returns response with indentations and line breaks. */
|
|
2330
|
+
prettyPrint?: boolean;
|
|
2331
|
+
/** 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. */
|
|
2332
|
+
quotaUser?: string;
|
|
2333
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2334
|
+
upload_protocol?: string;
|
|
2335
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2336
|
+
uploadType?: string;
|
|
2337
|
+
/** Required. The workspace's name. */
|
|
2338
|
+
workspace: string;
|
|
2339
|
+
/** Request body */
|
|
2340
|
+
resource: MakeDirectoryRequest;
|
|
2341
|
+
}): Request<{}>;
|
|
2342
|
+
makeDirectory(
|
|
2343
|
+
request: {
|
|
2344
|
+
/** V1 error format. */
|
|
2345
|
+
'$.xgafv'?: string;
|
|
2346
|
+
/** OAuth access token. */
|
|
2347
|
+
access_token?: string;
|
|
2348
|
+
/** Data format for response. */
|
|
2349
|
+
alt?: string;
|
|
2350
|
+
/** JSONP */
|
|
2351
|
+
callback?: string;
|
|
2352
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2353
|
+
fields?: string;
|
|
2354
|
+
/** 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. */
|
|
2355
|
+
key?: string;
|
|
2356
|
+
/** OAuth 2.0 token for the current user. */
|
|
2357
|
+
oauth_token?: string;
|
|
2358
|
+
/** Returns response with indentations and line breaks. */
|
|
2359
|
+
prettyPrint?: boolean;
|
|
2360
|
+
/** 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. */
|
|
2361
|
+
quotaUser?: string;
|
|
2362
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2363
|
+
upload_protocol?: string;
|
|
2364
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2365
|
+
uploadType?: string;
|
|
2366
|
+
/** Required. The workspace's name. */
|
|
2367
|
+
workspace: string;
|
|
2368
|
+
},
|
|
2369
|
+
body: MakeDirectoryRequest,
|
|
2370
|
+
): Request<{}>;
|
|
2371
|
+
/** Moves a directory (inside a Workspace), and all of its contents, to a new location. */
|
|
2372
|
+
moveDirectory(request: {
|
|
2373
|
+
/** V1 error format. */
|
|
2374
|
+
'$.xgafv'?: string;
|
|
2375
|
+
/** OAuth access token. */
|
|
2376
|
+
access_token?: string;
|
|
2377
|
+
/** Data format for response. */
|
|
2378
|
+
alt?: string;
|
|
2379
|
+
/** JSONP */
|
|
2380
|
+
callback?: string;
|
|
2381
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2382
|
+
fields?: string;
|
|
2383
|
+
/** 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. */
|
|
2384
|
+
key?: string;
|
|
2385
|
+
/** OAuth 2.0 token for the current user. */
|
|
2386
|
+
oauth_token?: string;
|
|
2387
|
+
/** Returns response with indentations and line breaks. */
|
|
2388
|
+
prettyPrint?: boolean;
|
|
2389
|
+
/** 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. */
|
|
2390
|
+
quotaUser?: string;
|
|
2391
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2392
|
+
upload_protocol?: string;
|
|
2393
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2394
|
+
uploadType?: string;
|
|
2395
|
+
/** Required. The workspace's name. */
|
|
2396
|
+
workspace: string;
|
|
2397
|
+
/** Request body */
|
|
2398
|
+
resource: MoveDirectoryRequest;
|
|
2399
|
+
}): Request<{}>;
|
|
2400
|
+
moveDirectory(
|
|
2401
|
+
request: {
|
|
2402
|
+
/** V1 error format. */
|
|
2403
|
+
'$.xgafv'?: string;
|
|
2404
|
+
/** OAuth access token. */
|
|
2405
|
+
access_token?: string;
|
|
2406
|
+
/** Data format for response. */
|
|
2407
|
+
alt?: string;
|
|
2408
|
+
/** JSONP */
|
|
2409
|
+
callback?: string;
|
|
2410
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2411
|
+
fields?: string;
|
|
2412
|
+
/** 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. */
|
|
2413
|
+
key?: string;
|
|
2414
|
+
/** OAuth 2.0 token for the current user. */
|
|
2415
|
+
oauth_token?: string;
|
|
2416
|
+
/** Returns response with indentations and line breaks. */
|
|
2417
|
+
prettyPrint?: boolean;
|
|
2418
|
+
/** 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. */
|
|
2419
|
+
quotaUser?: string;
|
|
2420
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2421
|
+
upload_protocol?: string;
|
|
2422
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2423
|
+
uploadType?: string;
|
|
2424
|
+
/** Required. The workspace's name. */
|
|
2425
|
+
workspace: string;
|
|
2426
|
+
},
|
|
2427
|
+
body: MoveDirectoryRequest,
|
|
2428
|
+
): Request<{}>;
|
|
2429
|
+
/** Moves a file (inside a Workspace) to a new location. */
|
|
2430
|
+
moveFile(request: {
|
|
2431
|
+
/** V1 error format. */
|
|
2432
|
+
'$.xgafv'?: string;
|
|
2433
|
+
/** OAuth access token. */
|
|
2434
|
+
access_token?: string;
|
|
2435
|
+
/** Data format for response. */
|
|
2436
|
+
alt?: string;
|
|
2437
|
+
/** JSONP */
|
|
2438
|
+
callback?: string;
|
|
2439
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2440
|
+
fields?: string;
|
|
2441
|
+
/** 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. */
|
|
2442
|
+
key?: string;
|
|
2443
|
+
/** OAuth 2.0 token for the current user. */
|
|
2444
|
+
oauth_token?: string;
|
|
2445
|
+
/** Returns response with indentations and line breaks. */
|
|
2446
|
+
prettyPrint?: boolean;
|
|
2447
|
+
/** 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. */
|
|
2448
|
+
quotaUser?: string;
|
|
2449
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2450
|
+
upload_protocol?: string;
|
|
2451
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2452
|
+
uploadType?: string;
|
|
2453
|
+
/** Required. The workspace's name. */
|
|
2454
|
+
workspace: string;
|
|
2455
|
+
/** Request body */
|
|
2456
|
+
resource: MoveFileRequest;
|
|
2457
|
+
}): Request<{}>;
|
|
2458
|
+
moveFile(
|
|
2459
|
+
request: {
|
|
2460
|
+
/** V1 error format. */
|
|
2461
|
+
'$.xgafv'?: string;
|
|
2462
|
+
/** OAuth access token. */
|
|
2463
|
+
access_token?: string;
|
|
2464
|
+
/** Data format for response. */
|
|
2465
|
+
alt?: string;
|
|
2466
|
+
/** JSONP */
|
|
2467
|
+
callback?: string;
|
|
2468
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2469
|
+
fields?: string;
|
|
2470
|
+
/** 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. */
|
|
2471
|
+
key?: string;
|
|
2472
|
+
/** OAuth 2.0 token for the current user. */
|
|
2473
|
+
oauth_token?: 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
|
+
/** Required. The workspace's name. */
|
|
2483
|
+
workspace: string;
|
|
2484
|
+
},
|
|
2485
|
+
body: MoveFileRequest,
|
|
2486
|
+
): Request<{}>;
|
|
2487
|
+
/** Pulls Git commits from the Repository's remote into a Workspace. */
|
|
2488
|
+
pull(request: {
|
|
2489
|
+
/** V1 error format. */
|
|
2490
|
+
'$.xgafv'?: string;
|
|
2491
|
+
/** OAuth access token. */
|
|
2492
|
+
access_token?: string;
|
|
2493
|
+
/** Data format for response. */
|
|
2494
|
+
alt?: string;
|
|
2495
|
+
/** JSONP */
|
|
2496
|
+
callback?: string;
|
|
2497
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2498
|
+
fields?: string;
|
|
2499
|
+
/** 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. */
|
|
2500
|
+
key?: string;
|
|
2501
|
+
/** Required. The workspace's name. */
|
|
2502
|
+
name: string;
|
|
2503
|
+
/** OAuth 2.0 token for the current user. */
|
|
2504
|
+
oauth_token?: string;
|
|
2505
|
+
/** Returns response with indentations and line breaks. */
|
|
2506
|
+
prettyPrint?: boolean;
|
|
2507
|
+
/** 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. */
|
|
2508
|
+
quotaUser?: string;
|
|
2509
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2510
|
+
upload_protocol?: string;
|
|
2511
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2512
|
+
uploadType?: string;
|
|
2513
|
+
/** Request body */
|
|
2514
|
+
resource: PullGitCommitsRequest;
|
|
2515
|
+
}): Request<{}>;
|
|
2516
|
+
pull(
|
|
2517
|
+
request: {
|
|
2518
|
+
/** V1 error format. */
|
|
2519
|
+
'$.xgafv'?: string;
|
|
2520
|
+
/** OAuth access token. */
|
|
2521
|
+
access_token?: string;
|
|
2522
|
+
/** Data format for response. */
|
|
2523
|
+
alt?: string;
|
|
2524
|
+
/** JSONP */
|
|
2525
|
+
callback?: string;
|
|
2526
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2527
|
+
fields?: string;
|
|
2528
|
+
/** 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. */
|
|
2529
|
+
key?: string;
|
|
2530
|
+
/** Required. The workspace's name. */
|
|
2531
|
+
name: string;
|
|
2532
|
+
/** OAuth 2.0 token for the current user. */
|
|
2533
|
+
oauth_token?: string;
|
|
2534
|
+
/** Returns response with indentations and line breaks. */
|
|
2535
|
+
prettyPrint?: boolean;
|
|
2536
|
+
/** 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. */
|
|
2537
|
+
quotaUser?: string;
|
|
2538
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2539
|
+
upload_protocol?: string;
|
|
2540
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2541
|
+
uploadType?: string;
|
|
2542
|
+
},
|
|
2543
|
+
body: PullGitCommitsRequest,
|
|
2544
|
+
): Request<{}>;
|
|
2545
|
+
/** Pushes Git commits from a Workspace to the Repository's remote. */
|
|
2546
|
+
push(request: {
|
|
2547
|
+
/** V1 error format. */
|
|
2548
|
+
'$.xgafv'?: string;
|
|
2549
|
+
/** OAuth access token. */
|
|
2550
|
+
access_token?: string;
|
|
2551
|
+
/** Data format for response. */
|
|
2552
|
+
alt?: string;
|
|
2553
|
+
/** JSONP */
|
|
2554
|
+
callback?: string;
|
|
2555
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2556
|
+
fields?: string;
|
|
2557
|
+
/** 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. */
|
|
2558
|
+
key?: string;
|
|
2559
|
+
/** Required. The workspace's name. */
|
|
2560
|
+
name: string;
|
|
2561
|
+
/** OAuth 2.0 token for the current user. */
|
|
2562
|
+
oauth_token?: string;
|
|
2563
|
+
/** Returns response with indentations and line breaks. */
|
|
2564
|
+
prettyPrint?: boolean;
|
|
2565
|
+
/** 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. */
|
|
2566
|
+
quotaUser?: string;
|
|
2567
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2568
|
+
upload_protocol?: string;
|
|
2569
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2570
|
+
uploadType?: string;
|
|
2571
|
+
/** Request body */
|
|
2572
|
+
resource: PushGitCommitsRequest;
|
|
2573
|
+
}): Request<{}>;
|
|
2574
|
+
push(
|
|
2575
|
+
request: {
|
|
2576
|
+
/** V1 error format. */
|
|
2577
|
+
'$.xgafv'?: string;
|
|
2578
|
+
/** OAuth access token. */
|
|
2579
|
+
access_token?: string;
|
|
2580
|
+
/** Data format for response. */
|
|
2581
|
+
alt?: string;
|
|
2582
|
+
/** JSONP */
|
|
2583
|
+
callback?: string;
|
|
2584
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2585
|
+
fields?: string;
|
|
2586
|
+
/** 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. */
|
|
2587
|
+
key?: string;
|
|
2588
|
+
/** Required. The workspace's name. */
|
|
2589
|
+
name: string;
|
|
2590
|
+
/** OAuth 2.0 token for the current user. */
|
|
2591
|
+
oauth_token?: string;
|
|
2592
|
+
/** Returns response with indentations and line breaks. */
|
|
2593
|
+
prettyPrint?: boolean;
|
|
2594
|
+
/** 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. */
|
|
2595
|
+
quotaUser?: string;
|
|
2596
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2597
|
+
upload_protocol?: string;
|
|
2598
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2599
|
+
uploadType?: string;
|
|
2600
|
+
},
|
|
2601
|
+
body: PushGitCommitsRequest,
|
|
2602
|
+
): Request<{}>;
|
|
2603
|
+
/** Returns the contents of a given Workspace directory. */
|
|
2604
|
+
queryDirectoryContents(request?: {
|
|
2605
|
+
/** V1 error format. */
|
|
2606
|
+
'$.xgafv'?: string;
|
|
2607
|
+
/** OAuth access token. */
|
|
2608
|
+
access_token?: string;
|
|
2609
|
+
/** Data format for response. */
|
|
2610
|
+
alt?: string;
|
|
2611
|
+
/** JSONP */
|
|
2612
|
+
callback?: string;
|
|
2613
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2614
|
+
fields?: string;
|
|
2615
|
+
/** 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. */
|
|
2616
|
+
key?: string;
|
|
2617
|
+
/** OAuth 2.0 token for the current user. */
|
|
2618
|
+
oauth_token?: string;
|
|
2619
|
+
/** Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
2620
|
+
pageSize?: number;
|
|
2621
|
+
/** Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
2622
|
+
pageToken?: string;
|
|
2623
|
+
/** Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used. */
|
|
2624
|
+
path?: string;
|
|
2625
|
+
/** Returns response with indentations and line breaks. */
|
|
2626
|
+
prettyPrint?: boolean;
|
|
2627
|
+
/** 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. */
|
|
2628
|
+
quotaUser?: string;
|
|
2629
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2630
|
+
upload_protocol?: string;
|
|
2631
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2632
|
+
uploadType?: string;
|
|
2633
|
+
/** Required. The workspace's name. */
|
|
2634
|
+
workspace: string;
|
|
2635
|
+
}): Request<QueryDirectoryContentsResponse>;
|
|
2636
|
+
/** Returns the contents of a file (inside a Workspace). */
|
|
2637
|
+
readFile(request?: {
|
|
2638
|
+
/** V1 error format. */
|
|
2639
|
+
'$.xgafv'?: string;
|
|
2640
|
+
/** OAuth access token. */
|
|
2641
|
+
access_token?: string;
|
|
2642
|
+
/** Data format for response. */
|
|
2643
|
+
alt?: string;
|
|
2644
|
+
/** JSONP */
|
|
2645
|
+
callback?: string;
|
|
2646
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2647
|
+
fields?: string;
|
|
2648
|
+
/** 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. */
|
|
2649
|
+
key?: string;
|
|
2650
|
+
/** OAuth 2.0 token for the current user. */
|
|
2651
|
+
oauth_token?: string;
|
|
2652
|
+
/** Required. The file's full path including filename, relative to the workspace root. */
|
|
2653
|
+
path?: string;
|
|
2654
|
+
/** Returns response with indentations and line breaks. */
|
|
2655
|
+
prettyPrint?: boolean;
|
|
2656
|
+
/** 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. */
|
|
2657
|
+
quotaUser?: string;
|
|
2658
|
+
/** Optional. The Git revision of the file to return. If left empty, the current contents of `path` will be returned. */
|
|
2659
|
+
revision?: string;
|
|
2660
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2661
|
+
upload_protocol?: string;
|
|
2662
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2663
|
+
uploadType?: string;
|
|
2664
|
+
/** Required. The workspace's name. */
|
|
2665
|
+
workspace: string;
|
|
2666
|
+
}): Request<ReadFileResponse>;
|
|
2667
|
+
/** Deletes a directory (inside a Workspace) and all of its contents. */
|
|
2668
|
+
removeDirectory(request: {
|
|
2669
|
+
/** V1 error format. */
|
|
2670
|
+
'$.xgafv'?: string;
|
|
2671
|
+
/** OAuth access token. */
|
|
2672
|
+
access_token?: string;
|
|
2673
|
+
/** Data format for response. */
|
|
2674
|
+
alt?: string;
|
|
2675
|
+
/** JSONP */
|
|
2676
|
+
callback?: string;
|
|
2677
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2678
|
+
fields?: string;
|
|
2679
|
+
/** 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. */
|
|
2680
|
+
key?: string;
|
|
2681
|
+
/** OAuth 2.0 token for the current user. */
|
|
2682
|
+
oauth_token?: string;
|
|
2683
|
+
/** Returns response with indentations and line breaks. */
|
|
2684
|
+
prettyPrint?: boolean;
|
|
2685
|
+
/** 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. */
|
|
2686
|
+
quotaUser?: string;
|
|
2687
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2688
|
+
upload_protocol?: string;
|
|
2689
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2690
|
+
uploadType?: string;
|
|
2691
|
+
/** Required. The workspace's name. */
|
|
2692
|
+
workspace: string;
|
|
2693
|
+
/** Request body */
|
|
2694
|
+
resource: RemoveDirectoryRequest;
|
|
2695
|
+
}): Request<{}>;
|
|
2696
|
+
removeDirectory(
|
|
2697
|
+
request: {
|
|
2698
|
+
/** V1 error format. */
|
|
2699
|
+
'$.xgafv'?: string;
|
|
2700
|
+
/** OAuth access token. */
|
|
2701
|
+
access_token?: string;
|
|
2702
|
+
/** Data format for response. */
|
|
2703
|
+
alt?: string;
|
|
2704
|
+
/** JSONP */
|
|
2705
|
+
callback?: string;
|
|
2706
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2707
|
+
fields?: string;
|
|
2708
|
+
/** 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. */
|
|
2709
|
+
key?: string;
|
|
2710
|
+
/** OAuth 2.0 token for the current user. */
|
|
2711
|
+
oauth_token?: string;
|
|
2712
|
+
/** Returns response with indentations and line breaks. */
|
|
2713
|
+
prettyPrint?: boolean;
|
|
2714
|
+
/** 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. */
|
|
2715
|
+
quotaUser?: string;
|
|
2716
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2717
|
+
upload_protocol?: string;
|
|
2718
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2719
|
+
uploadType?: string;
|
|
2720
|
+
/** Required. The workspace's name. */
|
|
2721
|
+
workspace: string;
|
|
2722
|
+
},
|
|
2723
|
+
body: RemoveDirectoryRequest,
|
|
2724
|
+
): Request<{}>;
|
|
2725
|
+
/** Deletes a file (inside a Workspace). */
|
|
2726
|
+
removeFile(request: {
|
|
2727
|
+
/** V1 error format. */
|
|
2728
|
+
'$.xgafv'?: string;
|
|
2729
|
+
/** OAuth access token. */
|
|
2730
|
+
access_token?: string;
|
|
2731
|
+
/** Data format for response. */
|
|
2732
|
+
alt?: string;
|
|
2733
|
+
/** JSONP */
|
|
2734
|
+
callback?: string;
|
|
2735
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2736
|
+
fields?: string;
|
|
2737
|
+
/** 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. */
|
|
2738
|
+
key?: string;
|
|
2739
|
+
/** OAuth 2.0 token for the current user. */
|
|
2740
|
+
oauth_token?: string;
|
|
2741
|
+
/** Returns response with indentations and line breaks. */
|
|
2742
|
+
prettyPrint?: boolean;
|
|
2743
|
+
/** 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. */
|
|
2744
|
+
quotaUser?: string;
|
|
2745
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2746
|
+
upload_protocol?: string;
|
|
2747
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2748
|
+
uploadType?: string;
|
|
2749
|
+
/** Required. The workspace's name. */
|
|
2750
|
+
workspace: string;
|
|
2751
|
+
/** Request body */
|
|
2752
|
+
resource: RemoveFileRequest;
|
|
2753
|
+
}): Request<{}>;
|
|
2754
|
+
removeFile(
|
|
2755
|
+
request: {
|
|
2756
|
+
/** V1 error format. */
|
|
2757
|
+
'$.xgafv'?: string;
|
|
2758
|
+
/** OAuth access token. */
|
|
2759
|
+
access_token?: string;
|
|
2760
|
+
/** Data format for response. */
|
|
2761
|
+
alt?: string;
|
|
2762
|
+
/** JSONP */
|
|
2763
|
+
callback?: string;
|
|
2764
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2765
|
+
fields?: string;
|
|
2766
|
+
/** 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. */
|
|
2767
|
+
key?: string;
|
|
2768
|
+
/** OAuth 2.0 token for the current user. */
|
|
2769
|
+
oauth_token?: string;
|
|
2770
|
+
/** Returns response with indentations and line breaks. */
|
|
2771
|
+
prettyPrint?: boolean;
|
|
2772
|
+
/** 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. */
|
|
2773
|
+
quotaUser?: string;
|
|
2774
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2775
|
+
upload_protocol?: string;
|
|
2776
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2777
|
+
uploadType?: string;
|
|
2778
|
+
/** Required. The workspace's name. */
|
|
2779
|
+
workspace: string;
|
|
2780
|
+
},
|
|
2781
|
+
body: RemoveFileRequest,
|
|
2782
|
+
): Request<{}>;
|
|
2783
|
+
/** Performs a Git reset for uncommitted files in a Workspace. */
|
|
2784
|
+
reset(request: {
|
|
2785
|
+
/** V1 error format. */
|
|
2786
|
+
'$.xgafv'?: string;
|
|
2787
|
+
/** OAuth access token. */
|
|
2788
|
+
access_token?: string;
|
|
2789
|
+
/** Data format for response. */
|
|
2790
|
+
alt?: string;
|
|
2791
|
+
/** JSONP */
|
|
2792
|
+
callback?: string;
|
|
2793
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2794
|
+
fields?: string;
|
|
2795
|
+
/** 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. */
|
|
2796
|
+
key?: string;
|
|
2797
|
+
/** Required. The workspace's name. */
|
|
2798
|
+
name: string;
|
|
2799
|
+
/** OAuth 2.0 token for the current user. */
|
|
2800
|
+
oauth_token?: string;
|
|
2801
|
+
/** Returns response with indentations and line breaks. */
|
|
2802
|
+
prettyPrint?: boolean;
|
|
2803
|
+
/** 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. */
|
|
2804
|
+
quotaUser?: string;
|
|
2805
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2806
|
+
upload_protocol?: string;
|
|
2807
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2808
|
+
uploadType?: string;
|
|
2809
|
+
/** Request body */
|
|
2810
|
+
resource: ResetWorkspaceChangesRequest;
|
|
2811
|
+
}): Request<{}>;
|
|
2812
|
+
reset(
|
|
2813
|
+
request: {
|
|
2814
|
+
/** V1 error format. */
|
|
2815
|
+
'$.xgafv'?: string;
|
|
2816
|
+
/** OAuth access token. */
|
|
2817
|
+
access_token?: string;
|
|
2818
|
+
/** Data format for response. */
|
|
2819
|
+
alt?: string;
|
|
2820
|
+
/** JSONP */
|
|
2821
|
+
callback?: string;
|
|
2822
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2823
|
+
fields?: string;
|
|
2824
|
+
/** 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. */
|
|
2825
|
+
key?: string;
|
|
2826
|
+
/** Required. The workspace's name. */
|
|
2827
|
+
name: string;
|
|
2828
|
+
/** OAuth 2.0 token for the current user. */
|
|
2829
|
+
oauth_token?: string;
|
|
2830
|
+
/** Returns response with indentations and line breaks. */
|
|
2831
|
+
prettyPrint?: boolean;
|
|
2832
|
+
/** 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. */
|
|
2833
|
+
quotaUser?: string;
|
|
2834
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2835
|
+
upload_protocol?: string;
|
|
2836
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2837
|
+
uploadType?: string;
|
|
2838
|
+
},
|
|
2839
|
+
body: ResetWorkspaceChangesRequest,
|
|
2840
|
+
): Request<{}>;
|
|
2841
|
+
/** Finds the contents of a given Workspace directory by filter. */
|
|
2842
|
+
searchFiles(request?: {
|
|
2843
|
+
/** V1 error format. */
|
|
2844
|
+
'$.xgafv'?: string;
|
|
2845
|
+
/** OAuth access token. */
|
|
2846
|
+
access_token?: string;
|
|
2847
|
+
/** Data format for response. */
|
|
2848
|
+
alt?: string;
|
|
2849
|
+
/** JSONP */
|
|
2850
|
+
callback?: string;
|
|
2851
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2852
|
+
fields?: string;
|
|
2853
|
+
/** Optional. Optional filter for the returned list in filtering format. Filtering is only currently supported on the `path` field. See https://google.aip.dev/160 for details. */
|
|
2854
|
+
filter?: string;
|
|
2855
|
+
/** 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. */
|
|
2856
|
+
key?: string;
|
|
2857
|
+
/** OAuth 2.0 token for the current user. */
|
|
2858
|
+
oauth_token?: string;
|
|
2859
|
+
/** Optional. Maximum number of search results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
2860
|
+
pageSize?: number;
|
|
2861
|
+
/** Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
2862
|
+
pageToken?: string;
|
|
2863
|
+
/** Returns response with indentations and line breaks. */
|
|
2864
|
+
prettyPrint?: boolean;
|
|
2865
|
+
/** 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. */
|
|
2866
|
+
quotaUser?: string;
|
|
2867
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2868
|
+
upload_protocol?: string;
|
|
2869
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2870
|
+
uploadType?: string;
|
|
2871
|
+
/** Required. The workspace's name. */
|
|
2872
|
+
workspace: string;
|
|
2873
|
+
}): Request<SearchFilesResponse>;
|
|
2874
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
2875
|
+
setIamPolicy(
|
|
2876
|
+
request: {
|
|
2877
|
+
/** V1 error format. */
|
|
2878
|
+
'$.xgafv'?: string;
|
|
2879
|
+
/** OAuth access token. */
|
|
2880
|
+
access_token?: string;
|
|
2881
|
+
/** Data format for response. */
|
|
2882
|
+
alt?: string;
|
|
2883
|
+
/** JSONP */
|
|
2884
|
+
callback?: string;
|
|
2885
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2886
|
+
fields?: string;
|
|
2887
|
+
/** 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. */
|
|
2888
|
+
key?: string;
|
|
2889
|
+
/** OAuth 2.0 token for the current user. */
|
|
2890
|
+
oauth_token?: string;
|
|
2891
|
+
/** Returns response with indentations and line breaks. */
|
|
2892
|
+
prettyPrint?: boolean;
|
|
2893
|
+
/** 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. */
|
|
2894
|
+
quotaUser?: string;
|
|
2895
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
2896
|
+
resource: string;
|
|
2897
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2898
|
+
upload_protocol?: string;
|
|
2899
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2900
|
+
uploadType?: string;
|
|
2901
|
+
},
|
|
2902
|
+
body: SetIamPolicyRequest,
|
|
2903
|
+
): Request<Policy>;
|
|
2904
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
2905
|
+
testIamPermissions(
|
|
2906
|
+
request: {
|
|
2907
|
+
/** V1 error format. */
|
|
2908
|
+
'$.xgafv'?: string;
|
|
2909
|
+
/** OAuth access token. */
|
|
2910
|
+
access_token?: string;
|
|
2911
|
+
/** Data format for response. */
|
|
2912
|
+
alt?: string;
|
|
2913
|
+
/** JSONP */
|
|
2914
|
+
callback?: string;
|
|
2915
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2916
|
+
fields?: string;
|
|
2917
|
+
/** 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. */
|
|
2918
|
+
key?: string;
|
|
2919
|
+
/** OAuth 2.0 token for the current user. */
|
|
2920
|
+
oauth_token?: string;
|
|
2921
|
+
/** Returns response with indentations and line breaks. */
|
|
2922
|
+
prettyPrint?: boolean;
|
|
2923
|
+
/** 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. */
|
|
2924
|
+
quotaUser?: string;
|
|
2925
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
2926
|
+
resource: string;
|
|
2927
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2928
|
+
upload_protocol?: string;
|
|
2929
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2930
|
+
uploadType?: string;
|
|
2931
|
+
},
|
|
2932
|
+
body: TestIamPermissionsRequest,
|
|
2933
|
+
): Request<TestIamPermissionsResponse>;
|
|
2934
|
+
/** Writes to a file (inside a Workspace). */
|
|
2935
|
+
writeFile(request: {
|
|
2936
|
+
/** V1 error format. */
|
|
2937
|
+
'$.xgafv'?: string;
|
|
2938
|
+
/** OAuth access token. */
|
|
2939
|
+
access_token?: string;
|
|
2940
|
+
/** Data format for response. */
|
|
2941
|
+
alt?: string;
|
|
2942
|
+
/** JSONP */
|
|
2943
|
+
callback?: string;
|
|
2944
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2945
|
+
fields?: string;
|
|
2946
|
+
/** 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. */
|
|
2947
|
+
key?: string;
|
|
2948
|
+
/** OAuth 2.0 token for the current user. */
|
|
2949
|
+
oauth_token?: string;
|
|
2950
|
+
/** Returns response with indentations and line breaks. */
|
|
2951
|
+
prettyPrint?: boolean;
|
|
2952
|
+
/** 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. */
|
|
2953
|
+
quotaUser?: string;
|
|
2954
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2955
|
+
upload_protocol?: string;
|
|
2956
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2957
|
+
uploadType?: string;
|
|
2958
|
+
/** Required. The workspace's name. */
|
|
2959
|
+
workspace: string;
|
|
2960
|
+
/** Request body */
|
|
2961
|
+
resource: WriteFileRequest;
|
|
2962
|
+
}): Request<{}>;
|
|
2963
|
+
writeFile(
|
|
2964
|
+
request: {
|
|
2965
|
+
/** V1 error format. */
|
|
2966
|
+
'$.xgafv'?: string;
|
|
2967
|
+
/** OAuth access token. */
|
|
2968
|
+
access_token?: string;
|
|
2969
|
+
/** Data format for response. */
|
|
2970
|
+
alt?: string;
|
|
2971
|
+
/** JSONP */
|
|
2972
|
+
callback?: string;
|
|
2973
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2974
|
+
fields?: string;
|
|
2975
|
+
/** 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. */
|
|
2976
|
+
key?: string;
|
|
2977
|
+
/** OAuth 2.0 token for the current user. */
|
|
2978
|
+
oauth_token?: string;
|
|
2979
|
+
/** Returns response with indentations and line breaks. */
|
|
2980
|
+
prettyPrint?: boolean;
|
|
2981
|
+
/** 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. */
|
|
2982
|
+
quotaUser?: string;
|
|
2983
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2984
|
+
upload_protocol?: string;
|
|
2985
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2986
|
+
uploadType?: string;
|
|
2987
|
+
/** Required. The workspace's name. */
|
|
2988
|
+
workspace: string;
|
|
2989
|
+
},
|
|
2990
|
+
body: WriteFileRequest,
|
|
2991
|
+
): Request<{}>;
|
|
2992
|
+
}
|
|
2993
|
+
interface RepositoriesResource {
|
|
2994
|
+
/** Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`. */
|
|
2995
|
+
commit(request: {
|
|
2996
|
+
/** V1 error format. */
|
|
2997
|
+
'$.xgafv'?: string;
|
|
2998
|
+
/** OAuth access token. */
|
|
2999
|
+
access_token?: string;
|
|
3000
|
+
/** Data format for response. */
|
|
3001
|
+
alt?: string;
|
|
3002
|
+
/** JSONP */
|
|
3003
|
+
callback?: string;
|
|
3004
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3005
|
+
fields?: string;
|
|
3006
|
+
/** 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. */
|
|
3007
|
+
key?: string;
|
|
3008
|
+
/** Required. The repository's name. */
|
|
3009
|
+
name: string;
|
|
3010
|
+
/** OAuth 2.0 token for the current user. */
|
|
3011
|
+
oauth_token?: string;
|
|
3012
|
+
/** Returns response with indentations and line breaks. */
|
|
3013
|
+
prettyPrint?: boolean;
|
|
3014
|
+
/** 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. */
|
|
3015
|
+
quotaUser?: string;
|
|
3016
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3017
|
+
upload_protocol?: string;
|
|
3018
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3019
|
+
uploadType?: string;
|
|
3020
|
+
/** Request body */
|
|
3021
|
+
resource: CommitRepositoryChangesRequest;
|
|
3022
|
+
}): Request<CommitRepositoryChangesResponse>;
|
|
3023
|
+
commit(
|
|
3024
|
+
request: {
|
|
3025
|
+
/** V1 error format. */
|
|
3026
|
+
'$.xgafv'?: string;
|
|
3027
|
+
/** OAuth access token. */
|
|
3028
|
+
access_token?: string;
|
|
3029
|
+
/** Data format for response. */
|
|
3030
|
+
alt?: string;
|
|
3031
|
+
/** JSONP */
|
|
3032
|
+
callback?: string;
|
|
3033
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3034
|
+
fields?: string;
|
|
3035
|
+
/** 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. */
|
|
3036
|
+
key?: string;
|
|
3037
|
+
/** Required. The repository's name. */
|
|
3038
|
+
name: string;
|
|
3039
|
+
/** OAuth 2.0 token for the current user. */
|
|
3040
|
+
oauth_token?: string;
|
|
3041
|
+
/** Returns response with indentations and line breaks. */
|
|
3042
|
+
prettyPrint?: boolean;
|
|
3043
|
+
/** 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. */
|
|
3044
|
+
quotaUser?: string;
|
|
3045
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3046
|
+
upload_protocol?: string;
|
|
3047
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3048
|
+
uploadType?: string;
|
|
3049
|
+
},
|
|
3050
|
+
body: CommitRepositoryChangesRequest,
|
|
3051
|
+
): Request<CommitRepositoryChangesResponse>;
|
|
3052
|
+
/** Computes a Repository's Git access token status. */
|
|
3053
|
+
computeAccessTokenStatus(request?: {
|
|
3054
|
+
/** V1 error format. */
|
|
3055
|
+
'$.xgafv'?: string;
|
|
3056
|
+
/** OAuth access token. */
|
|
3057
|
+
access_token?: string;
|
|
3058
|
+
/** Data format for response. */
|
|
3059
|
+
alt?: string;
|
|
3060
|
+
/** JSONP */
|
|
3061
|
+
callback?: string;
|
|
3062
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3063
|
+
fields?: string;
|
|
3064
|
+
/** 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. */
|
|
3065
|
+
key?: string;
|
|
3066
|
+
/** Required. The repository's name. */
|
|
3067
|
+
name: string;
|
|
3068
|
+
/** OAuth 2.0 token for the current user. */
|
|
3069
|
+
oauth_token?: string;
|
|
3070
|
+
/** Returns response with indentations and line breaks. */
|
|
3071
|
+
prettyPrint?: boolean;
|
|
3072
|
+
/** 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. */
|
|
3073
|
+
quotaUser?: string;
|
|
3074
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3075
|
+
upload_protocol?: string;
|
|
3076
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3077
|
+
uploadType?: string;
|
|
3078
|
+
}): Request<ComputeRepositoryAccessTokenStatusResponse>;
|
|
3079
|
+
/** Creates a new Repository in a given project and location. */
|
|
3080
|
+
create(request: {
|
|
3081
|
+
/** V1 error format. */
|
|
3082
|
+
'$.xgafv'?: string;
|
|
3083
|
+
/** OAuth access token. */
|
|
3084
|
+
access_token?: string;
|
|
3085
|
+
/** Data format for response. */
|
|
3086
|
+
alt?: string;
|
|
3087
|
+
/** JSONP */
|
|
3088
|
+
callback?: string;
|
|
3089
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3090
|
+
fields?: string;
|
|
3091
|
+
/** 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. */
|
|
3092
|
+
key?: string;
|
|
3093
|
+
/** OAuth 2.0 token for the current user. */
|
|
3094
|
+
oauth_token?: string;
|
|
3095
|
+
/** Required. The location in which to create the repository. Must be in the format `projects/*/locations/*`. */
|
|
3096
|
+
parent: string;
|
|
3097
|
+
/** Returns response with indentations and line breaks. */
|
|
3098
|
+
prettyPrint?: boolean;
|
|
3099
|
+
/** 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. */
|
|
3100
|
+
quotaUser?: string;
|
|
3101
|
+
/** Required. The ID to use for the repository, which will become the final component of the repository's resource name. */
|
|
3102
|
+
repositoryId?: string;
|
|
3103
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3104
|
+
upload_protocol?: string;
|
|
3105
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3106
|
+
uploadType?: string;
|
|
3107
|
+
/** Request body */
|
|
3108
|
+
resource: Repository;
|
|
3109
|
+
}): Request<Repository>;
|
|
3110
|
+
create(
|
|
3111
|
+
request: {
|
|
3112
|
+
/** V1 error format. */
|
|
3113
|
+
'$.xgafv'?: string;
|
|
3114
|
+
/** OAuth access token. */
|
|
3115
|
+
access_token?: string;
|
|
3116
|
+
/** Data format for response. */
|
|
3117
|
+
alt?: string;
|
|
3118
|
+
/** JSONP */
|
|
3119
|
+
callback?: string;
|
|
3120
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3121
|
+
fields?: string;
|
|
3122
|
+
/** 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. */
|
|
3123
|
+
key?: string;
|
|
3124
|
+
/** OAuth 2.0 token for the current user. */
|
|
3125
|
+
oauth_token?: string;
|
|
3126
|
+
/** Required. The location in which to create the repository. Must be in the format `projects/*/locations/*`. */
|
|
3127
|
+
parent: string;
|
|
3128
|
+
/** Returns response with indentations and line breaks. */
|
|
3129
|
+
prettyPrint?: boolean;
|
|
3130
|
+
/** 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. */
|
|
3131
|
+
quotaUser?: string;
|
|
3132
|
+
/** Required. The ID to use for the repository, which will become the final component of the repository's resource name. */
|
|
3133
|
+
repositoryId?: string;
|
|
3134
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3135
|
+
upload_protocol?: string;
|
|
3136
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3137
|
+
uploadType?: string;
|
|
3138
|
+
},
|
|
3139
|
+
body: Repository,
|
|
3140
|
+
): Request<Repository>;
|
|
3141
|
+
/** Deletes a single Repository. */
|
|
3142
|
+
delete(request?: {
|
|
3143
|
+
/** V1 error format. */
|
|
3144
|
+
'$.xgafv'?: string;
|
|
3145
|
+
/** OAuth access token. */
|
|
3146
|
+
access_token?: string;
|
|
3147
|
+
/** Data format for response. */
|
|
3148
|
+
alt?: string;
|
|
3149
|
+
/** JSONP */
|
|
3150
|
+
callback?: string;
|
|
3151
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3152
|
+
fields?: string;
|
|
3153
|
+
/** Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources. **Note:** *This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.*. */
|
|
3154
|
+
force?: boolean;
|
|
3155
|
+
/** 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. */
|
|
3156
|
+
key?: string;
|
|
3157
|
+
/** Required. The repository's name. */
|
|
3158
|
+
name: string;
|
|
3159
|
+
/** OAuth 2.0 token for the current user. */
|
|
3160
|
+
oauth_token?: string;
|
|
3161
|
+
/** Returns response with indentations and line breaks. */
|
|
3162
|
+
prettyPrint?: boolean;
|
|
3163
|
+
/** 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. */
|
|
3164
|
+
quotaUser?: string;
|
|
3165
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3166
|
+
upload_protocol?: string;
|
|
3167
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3168
|
+
uploadType?: string;
|
|
3169
|
+
}): Request<{}>;
|
|
3170
|
+
/** Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`. */
|
|
3171
|
+
fetchHistory(request?: {
|
|
3172
|
+
/** V1 error format. */
|
|
3173
|
+
'$.xgafv'?: string;
|
|
3174
|
+
/** OAuth access token. */
|
|
3175
|
+
access_token?: string;
|
|
3176
|
+
/** Data format for response. */
|
|
3177
|
+
alt?: string;
|
|
3178
|
+
/** JSONP */
|
|
3179
|
+
callback?: string;
|
|
3180
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3181
|
+
fields?: string;
|
|
3182
|
+
/** 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. */
|
|
3183
|
+
key?: string;
|
|
3184
|
+
/** Required. The repository's name. */
|
|
3185
|
+
name: string;
|
|
3186
|
+
/** OAuth 2.0 token for the current user. */
|
|
3187
|
+
oauth_token?: string;
|
|
3188
|
+
/** Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
3189
|
+
pageSize?: number;
|
|
3190
|
+
/** Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
3191
|
+
pageToken?: string;
|
|
3192
|
+
/** Returns response with indentations and line breaks. */
|
|
3193
|
+
prettyPrint?: boolean;
|
|
3194
|
+
/** 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. */
|
|
3195
|
+
quotaUser?: string;
|
|
3196
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3197
|
+
upload_protocol?: string;
|
|
3198
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3199
|
+
uploadType?: string;
|
|
3200
|
+
}): Request<FetchRepositoryHistoryResponse>;
|
|
3201
|
+
/** Fetches a Repository's remote branches. */
|
|
3202
|
+
fetchRemoteBranches(request?: {
|
|
3203
|
+
/** V1 error format. */
|
|
3204
|
+
'$.xgafv'?: string;
|
|
3205
|
+
/** OAuth access token. */
|
|
3206
|
+
access_token?: string;
|
|
3207
|
+
/** Data format for response. */
|
|
3208
|
+
alt?: string;
|
|
3209
|
+
/** JSONP */
|
|
3210
|
+
callback?: string;
|
|
3211
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3212
|
+
fields?: string;
|
|
3213
|
+
/** 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. */
|
|
3214
|
+
key?: string;
|
|
3215
|
+
/** Required. The repository's name. */
|
|
3216
|
+
name: string;
|
|
3217
|
+
/** OAuth 2.0 token for the current user. */
|
|
3218
|
+
oauth_token?: string;
|
|
3219
|
+
/** Returns response with indentations and line breaks. */
|
|
3220
|
+
prettyPrint?: boolean;
|
|
3221
|
+
/** 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. */
|
|
3222
|
+
quotaUser?: string;
|
|
3223
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3224
|
+
upload_protocol?: string;
|
|
3225
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3226
|
+
uploadType?: string;
|
|
3227
|
+
}): Request<FetchRemoteBranchesResponse>;
|
|
3228
|
+
/** Fetches a single Repository. */
|
|
3229
|
+
get(request?: {
|
|
3230
|
+
/** V1 error format. */
|
|
3231
|
+
'$.xgafv'?: string;
|
|
3232
|
+
/** OAuth access token. */
|
|
3233
|
+
access_token?: string;
|
|
3234
|
+
/** Data format for response. */
|
|
3235
|
+
alt?: string;
|
|
3236
|
+
/** JSONP */
|
|
3237
|
+
callback?: string;
|
|
3238
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3239
|
+
fields?: string;
|
|
3240
|
+
/** 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. */
|
|
3241
|
+
key?: string;
|
|
3242
|
+
/** Required. The repository's name. */
|
|
3243
|
+
name: string;
|
|
3244
|
+
/** OAuth 2.0 token for the current user. */
|
|
3245
|
+
oauth_token?: string;
|
|
3246
|
+
/** Returns response with indentations and line breaks. */
|
|
3247
|
+
prettyPrint?: boolean;
|
|
3248
|
+
/** 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. */
|
|
3249
|
+
quotaUser?: string;
|
|
3250
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3251
|
+
upload_protocol?: string;
|
|
3252
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3253
|
+
uploadType?: string;
|
|
3254
|
+
}): Request<Repository>;
|
|
3255
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
3256
|
+
getIamPolicy(request?: {
|
|
3257
|
+
/** V1 error format. */
|
|
3258
|
+
'$.xgafv'?: string;
|
|
3259
|
+
/** OAuth access token. */
|
|
3260
|
+
access_token?: string;
|
|
3261
|
+
/** Data format for response. */
|
|
3262
|
+
alt?: string;
|
|
3263
|
+
/** JSONP */
|
|
3264
|
+
callback?: string;
|
|
3265
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3266
|
+
fields?: string;
|
|
3267
|
+
/** 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. */
|
|
3268
|
+
key?: string;
|
|
3269
|
+
/** OAuth 2.0 token for the current user. */
|
|
3270
|
+
oauth_token?: string;
|
|
3271
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
3272
|
+
'options.requestedPolicyVersion'?: number;
|
|
3273
|
+
/** Returns response with indentations and line breaks. */
|
|
3274
|
+
prettyPrint?: boolean;
|
|
3275
|
+
/** 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. */
|
|
3276
|
+
quotaUser?: string;
|
|
3277
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3278
|
+
resource: string;
|
|
3279
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3280
|
+
upload_protocol?: string;
|
|
3281
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3282
|
+
uploadType?: string;
|
|
3283
|
+
}): Request<Policy>;
|
|
3284
|
+
/** Lists Repositories in a given project and location. **Note:** *This method can return repositories not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*. */
|
|
3285
|
+
list(request?: {
|
|
3286
|
+
/** V1 error format. */
|
|
3287
|
+
'$.xgafv'?: string;
|
|
3288
|
+
/** OAuth access token. */
|
|
3289
|
+
access_token?: string;
|
|
3290
|
+
/** Data format for response. */
|
|
3291
|
+
alt?: string;
|
|
3292
|
+
/** JSONP */
|
|
3293
|
+
callback?: string;
|
|
3294
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3295
|
+
fields?: string;
|
|
3296
|
+
/** Optional. Filter for the returned list. */
|
|
3297
|
+
filter?: string;
|
|
3298
|
+
/** 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. */
|
|
3299
|
+
key?: string;
|
|
3300
|
+
/** OAuth 2.0 token for the current user. */
|
|
3301
|
+
oauth_token?: string;
|
|
3302
|
+
/** 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. */
|
|
3303
|
+
orderBy?: string;
|
|
3304
|
+
/** Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
3305
|
+
pageSize?: number;
|
|
3306
|
+
/** Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
3307
|
+
pageToken?: string;
|
|
3308
|
+
/** Required. The location in which to list repositories. Must be in the format `projects/*/locations/*`. */
|
|
3309
|
+
parent: string;
|
|
3310
|
+
/** Returns response with indentations and line breaks. */
|
|
3311
|
+
prettyPrint?: boolean;
|
|
3312
|
+
/** 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. */
|
|
3313
|
+
quotaUser?: string;
|
|
3314
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3315
|
+
upload_protocol?: string;
|
|
3316
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3317
|
+
uploadType?: string;
|
|
3318
|
+
}): Request<ListRepositoriesResponse>;
|
|
3319
|
+
/** Updates a single Repository. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.* */
|
|
3320
|
+
patch(request: {
|
|
3321
|
+
/** V1 error format. */
|
|
3322
|
+
'$.xgafv'?: string;
|
|
3323
|
+
/** OAuth access token. */
|
|
3324
|
+
access_token?: string;
|
|
3325
|
+
/** Data format for response. */
|
|
3326
|
+
alt?: string;
|
|
3327
|
+
/** JSONP */
|
|
3328
|
+
callback?: string;
|
|
3329
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3330
|
+
fields?: string;
|
|
3331
|
+
/** 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. */
|
|
3332
|
+
key?: string;
|
|
3333
|
+
/** Identifier. The repository's name. */
|
|
3334
|
+
name: string;
|
|
3335
|
+
/** OAuth 2.0 token for the current user. */
|
|
3336
|
+
oauth_token?: string;
|
|
3337
|
+
/** Returns response with indentations and line breaks. */
|
|
3338
|
+
prettyPrint?: boolean;
|
|
3339
|
+
/** 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. */
|
|
3340
|
+
quotaUser?: string;
|
|
3341
|
+
/** Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated. */
|
|
3342
|
+
updateMask?: string;
|
|
3343
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3344
|
+
upload_protocol?: string;
|
|
3345
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3346
|
+
uploadType?: string;
|
|
3347
|
+
/** Request body */
|
|
3348
|
+
resource: Repository;
|
|
3349
|
+
}): Request<Repository>;
|
|
3350
|
+
patch(
|
|
3351
|
+
request: {
|
|
3352
|
+
/** V1 error format. */
|
|
3353
|
+
'$.xgafv'?: string;
|
|
3354
|
+
/** OAuth access token. */
|
|
3355
|
+
access_token?: string;
|
|
3356
|
+
/** Data format for response. */
|
|
3357
|
+
alt?: string;
|
|
3358
|
+
/** JSONP */
|
|
3359
|
+
callback?: string;
|
|
3360
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3361
|
+
fields?: string;
|
|
3362
|
+
/** 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. */
|
|
3363
|
+
key?: string;
|
|
3364
|
+
/** Identifier. The repository's name. */
|
|
3365
|
+
name: string;
|
|
3366
|
+
/** OAuth 2.0 token for the current user. */
|
|
3367
|
+
oauth_token?: string;
|
|
3368
|
+
/** Returns response with indentations and line breaks. */
|
|
3369
|
+
prettyPrint?: boolean;
|
|
3370
|
+
/** 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. */
|
|
3371
|
+
quotaUser?: string;
|
|
3372
|
+
/** Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated. */
|
|
3373
|
+
updateMask?: string;
|
|
3374
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3375
|
+
upload_protocol?: string;
|
|
3376
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3377
|
+
uploadType?: string;
|
|
3378
|
+
},
|
|
3379
|
+
body: Repository,
|
|
3380
|
+
): Request<Repository>;
|
|
3381
|
+
/** Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`. */
|
|
3382
|
+
queryDirectoryContents(request?: {
|
|
3383
|
+
/** V1 error format. */
|
|
3384
|
+
'$.xgafv'?: string;
|
|
3385
|
+
/** OAuth access token. */
|
|
3386
|
+
access_token?: string;
|
|
3387
|
+
/** Data format for response. */
|
|
3388
|
+
alt?: string;
|
|
3389
|
+
/** JSONP */
|
|
3390
|
+
callback?: string;
|
|
3391
|
+
/** Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD. */
|
|
3392
|
+
commitSha?: string;
|
|
3393
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3394
|
+
fields?: string;
|
|
3395
|
+
/** 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. */
|
|
3396
|
+
key?: string;
|
|
3397
|
+
/** Required. The repository's name. */
|
|
3398
|
+
name: string;
|
|
3399
|
+
/** OAuth 2.0 token for the current user. */
|
|
3400
|
+
oauth_token?: string;
|
|
3401
|
+
/** Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
3402
|
+
pageSize?: number;
|
|
3403
|
+
/** Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token. */
|
|
3404
|
+
pageToken?: string;
|
|
3405
|
+
/** Optional. The directory's full path including directory name, relative to root. If left unset, the root is used. */
|
|
3406
|
+
path?: string;
|
|
3407
|
+
/** Returns response with indentations and line breaks. */
|
|
3408
|
+
prettyPrint?: boolean;
|
|
3409
|
+
/** 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. */
|
|
3410
|
+
quotaUser?: string;
|
|
3411
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3412
|
+
upload_protocol?: string;
|
|
3413
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3414
|
+
uploadType?: string;
|
|
3415
|
+
}): Request<QueryRepositoryDirectoryContentsResponse>;
|
|
3416
|
+
/** Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`. */
|
|
3417
|
+
readFile(request?: {
|
|
3418
|
+
/** V1 error format. */
|
|
3419
|
+
'$.xgafv'?: string;
|
|
3420
|
+
/** OAuth access token. */
|
|
3421
|
+
access_token?: string;
|
|
3422
|
+
/** Data format for response. */
|
|
3423
|
+
alt?: string;
|
|
3424
|
+
/** JSONP */
|
|
3425
|
+
callback?: string;
|
|
3426
|
+
/** Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD. */
|
|
3427
|
+
commitSha?: string;
|
|
3428
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3429
|
+
fields?: string;
|
|
3430
|
+
/** 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. */
|
|
3431
|
+
key?: string;
|
|
3432
|
+
/** Required. The repository's name. */
|
|
3433
|
+
name: string;
|
|
3434
|
+
/** OAuth 2.0 token for the current user. */
|
|
3435
|
+
oauth_token?: string;
|
|
3436
|
+
/** Required. Full file path to read including filename, from repository root. */
|
|
3437
|
+
path?: string;
|
|
3438
|
+
/** Returns response with indentations and line breaks. */
|
|
3439
|
+
prettyPrint?: boolean;
|
|
3440
|
+
/** 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. */
|
|
3441
|
+
quotaUser?: string;
|
|
3442
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3443
|
+
upload_protocol?: string;
|
|
3444
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3445
|
+
uploadType?: string;
|
|
3446
|
+
}): Request<ReadRepositoryFileResponse>;
|
|
3447
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
3448
|
+
setIamPolicy(
|
|
3449
|
+
request: {
|
|
3450
|
+
/** V1 error format. */
|
|
3451
|
+
'$.xgafv'?: string;
|
|
3452
|
+
/** OAuth access token. */
|
|
3453
|
+
access_token?: string;
|
|
3454
|
+
/** Data format for response. */
|
|
3455
|
+
alt?: string;
|
|
3456
|
+
/** JSONP */
|
|
3457
|
+
callback?: string;
|
|
3458
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3459
|
+
fields?: string;
|
|
3460
|
+
/** 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. */
|
|
3461
|
+
key?: string;
|
|
3462
|
+
/** OAuth 2.0 token for the current user. */
|
|
3463
|
+
oauth_token?: string;
|
|
3464
|
+
/** Returns response with indentations and line breaks. */
|
|
3465
|
+
prettyPrint?: boolean;
|
|
3466
|
+
/** 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. */
|
|
3467
|
+
quotaUser?: string;
|
|
3468
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3469
|
+
resource: string;
|
|
3470
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3471
|
+
upload_protocol?: string;
|
|
3472
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3473
|
+
uploadType?: string;
|
|
3474
|
+
},
|
|
3475
|
+
body: SetIamPolicyRequest,
|
|
3476
|
+
): Request<Policy>;
|
|
3477
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
3478
|
+
testIamPermissions(
|
|
3479
|
+
request: {
|
|
3480
|
+
/** V1 error format. */
|
|
3481
|
+
'$.xgafv'?: string;
|
|
3482
|
+
/** OAuth access token. */
|
|
3483
|
+
access_token?: string;
|
|
3484
|
+
/** Data format for response. */
|
|
3485
|
+
alt?: string;
|
|
3486
|
+
/** JSONP */
|
|
3487
|
+
callback?: string;
|
|
3488
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3489
|
+
fields?: string;
|
|
3490
|
+
/** 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. */
|
|
3491
|
+
key?: string;
|
|
3492
|
+
/** OAuth 2.0 token for the current user. */
|
|
3493
|
+
oauth_token?: string;
|
|
3494
|
+
/** Returns response with indentations and line breaks. */
|
|
3495
|
+
prettyPrint?: boolean;
|
|
3496
|
+
/** 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. */
|
|
3497
|
+
quotaUser?: string;
|
|
3498
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3499
|
+
resource: string;
|
|
3500
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3501
|
+
upload_protocol?: string;
|
|
3502
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3503
|
+
uploadType?: string;
|
|
3504
|
+
},
|
|
3505
|
+
body: TestIamPermissionsRequest,
|
|
3506
|
+
): Request<TestIamPermissionsResponse>;
|
|
3507
|
+
compilationResults: CompilationResultsResource;
|
|
3508
|
+
releaseConfigs: ReleaseConfigsResource;
|
|
3509
|
+
workflowConfigs: WorkflowConfigsResource;
|
|
3510
|
+
workflowInvocations: WorkflowInvocationsResource;
|
|
3511
|
+
workspaces: WorkspacesResource;
|
|
3512
|
+
}
|
|
3513
|
+
interface TeamFoldersResource {
|
|
3514
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
3515
|
+
getIamPolicy(request?: {
|
|
3516
|
+
/** V1 error format. */
|
|
3517
|
+
'$.xgafv'?: string;
|
|
3518
|
+
/** OAuth access token. */
|
|
3519
|
+
access_token?: string;
|
|
3520
|
+
/** Data format for response. */
|
|
3521
|
+
alt?: string;
|
|
3522
|
+
/** JSONP */
|
|
3523
|
+
callback?: string;
|
|
3524
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3525
|
+
fields?: string;
|
|
3526
|
+
/** 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. */
|
|
3527
|
+
key?: string;
|
|
3528
|
+
/** OAuth 2.0 token for the current user. */
|
|
3529
|
+
oauth_token?: string;
|
|
3530
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
3531
|
+
'options.requestedPolicyVersion'?: number;
|
|
3532
|
+
/** Returns response with indentations and line breaks. */
|
|
3533
|
+
prettyPrint?: boolean;
|
|
3534
|
+
/** 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. */
|
|
3535
|
+
quotaUser?: string;
|
|
3536
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3537
|
+
resource: string;
|
|
3538
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3539
|
+
upload_protocol?: string;
|
|
3540
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3541
|
+
uploadType?: string;
|
|
3542
|
+
}): Request<Policy>;
|
|
3543
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
3544
|
+
setIamPolicy(
|
|
3545
|
+
request: {
|
|
3546
|
+
/** V1 error format. */
|
|
3547
|
+
'$.xgafv'?: string;
|
|
3548
|
+
/** OAuth access token. */
|
|
3549
|
+
access_token?: string;
|
|
3550
|
+
/** Data format for response. */
|
|
3551
|
+
alt?: string;
|
|
3552
|
+
/** JSONP */
|
|
3553
|
+
callback?: string;
|
|
3554
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3555
|
+
fields?: string;
|
|
3556
|
+
/** 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. */
|
|
3557
|
+
key?: string;
|
|
3558
|
+
/** OAuth 2.0 token for the current user. */
|
|
3559
|
+
oauth_token?: string;
|
|
3560
|
+
/** Returns response with indentations and line breaks. */
|
|
3561
|
+
prettyPrint?: boolean;
|
|
3562
|
+
/** 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. */
|
|
3563
|
+
quotaUser?: string;
|
|
3564
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3565
|
+
resource: string;
|
|
3566
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3567
|
+
upload_protocol?: string;
|
|
3568
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3569
|
+
uploadType?: string;
|
|
3570
|
+
},
|
|
3571
|
+
body: SetIamPolicyRequest,
|
|
3572
|
+
): Request<Policy>;
|
|
3573
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
3574
|
+
testIamPermissions(
|
|
3575
|
+
request: {
|
|
3576
|
+
/** V1 error format. */
|
|
3577
|
+
'$.xgafv'?: string;
|
|
3578
|
+
/** OAuth access token. */
|
|
3579
|
+
access_token?: string;
|
|
3580
|
+
/** Data format for response. */
|
|
3581
|
+
alt?: string;
|
|
3582
|
+
/** JSONP */
|
|
3583
|
+
callback?: string;
|
|
3584
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3585
|
+
fields?: string;
|
|
3586
|
+
/** 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. */
|
|
3587
|
+
key?: string;
|
|
3588
|
+
/** OAuth 2.0 token for the current user. */
|
|
3589
|
+
oauth_token?: string;
|
|
3590
|
+
/** Returns response with indentations and line breaks. */
|
|
3591
|
+
prettyPrint?: boolean;
|
|
3592
|
+
/** 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. */
|
|
3593
|
+
quotaUser?: string;
|
|
3594
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3595
|
+
resource: string;
|
|
3596
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3597
|
+
upload_protocol?: string;
|
|
3598
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3599
|
+
uploadType?: string;
|
|
3600
|
+
},
|
|
3601
|
+
body: TestIamPermissionsRequest,
|
|
3602
|
+
): Request<TestIamPermissionsResponse>;
|
|
3603
|
+
}
|
|
3604
|
+
interface LocationsResource {
|
|
3605
|
+
/** Gets information about a location. */
|
|
3606
|
+
get(request?: {
|
|
3607
|
+
/** V1 error format. */
|
|
3608
|
+
'$.xgafv'?: string;
|
|
3609
|
+
/** OAuth access token. */
|
|
3610
|
+
access_token?: string;
|
|
3611
|
+
/** Data format for response. */
|
|
3612
|
+
alt?: string;
|
|
3613
|
+
/** JSONP */
|
|
3614
|
+
callback?: string;
|
|
3615
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3616
|
+
fields?: string;
|
|
3617
|
+
/** 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. */
|
|
3618
|
+
key?: string;
|
|
3619
|
+
/** Resource name for the location. */
|
|
3620
|
+
name: string;
|
|
3621
|
+
/** OAuth 2.0 token for the current user. */
|
|
3622
|
+
oauth_token?: string;
|
|
3623
|
+
/** Returns response with indentations and line breaks. */
|
|
3624
|
+
prettyPrint?: boolean;
|
|
3625
|
+
/** 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. */
|
|
3626
|
+
quotaUser?: string;
|
|
3627
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3628
|
+
upload_protocol?: string;
|
|
3629
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3630
|
+
uploadType?: string;
|
|
3631
|
+
}): Request<Location>;
|
|
3632
|
+
/** Get default config for a given project and location. */
|
|
3633
|
+
getConfig(request?: {
|
|
3634
|
+
/** V1 error format. */
|
|
3635
|
+
'$.xgafv'?: string;
|
|
3636
|
+
/** OAuth access token. */
|
|
3637
|
+
access_token?: string;
|
|
3638
|
+
/** Data format for response. */
|
|
3639
|
+
alt?: string;
|
|
3640
|
+
/** JSONP */
|
|
3641
|
+
callback?: string;
|
|
3642
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3643
|
+
fields?: string;
|
|
3644
|
+
/** 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. */
|
|
3645
|
+
key?: string;
|
|
3646
|
+
/** Required. The config name. */
|
|
3647
|
+
name: string;
|
|
3648
|
+
/** OAuth 2.0 token for the current user. */
|
|
3649
|
+
oauth_token?: string;
|
|
3650
|
+
/** Returns response with indentations and line breaks. */
|
|
3651
|
+
prettyPrint?: boolean;
|
|
3652
|
+
/** 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. */
|
|
3653
|
+
quotaUser?: string;
|
|
3654
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3655
|
+
upload_protocol?: string;
|
|
3656
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3657
|
+
uploadType?: string;
|
|
3658
|
+
}): Request<Config>;
|
|
3659
|
+
/** Lists information about the supported locations for this service. */
|
|
3660
|
+
list(request?: {
|
|
3661
|
+
/** V1 error format. */
|
|
3662
|
+
'$.xgafv'?: string;
|
|
3663
|
+
/** OAuth access token. */
|
|
3664
|
+
access_token?: string;
|
|
3665
|
+
/** Data format for response. */
|
|
3666
|
+
alt?: string;
|
|
3667
|
+
/** JSONP */
|
|
3668
|
+
callback?: string;
|
|
3669
|
+
/** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. */
|
|
3670
|
+
extraLocationTypes?: string | string[];
|
|
3671
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3672
|
+
fields?: string;
|
|
3673
|
+
/** 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 [AIP-160](https://google.aip.dev/160). */
|
|
3674
|
+
filter?: string;
|
|
3675
|
+
/** 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. */
|
|
3676
|
+
key?: string;
|
|
3677
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
3678
|
+
name: string;
|
|
3679
|
+
/** OAuth 2.0 token for the current user. */
|
|
3680
|
+
oauth_token?: string;
|
|
3681
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
3682
|
+
pageSize?: number;
|
|
3683
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
3684
|
+
pageToken?: string;
|
|
3685
|
+
/** Returns response with indentations and line breaks. */
|
|
3686
|
+
prettyPrint?: boolean;
|
|
3687
|
+
/** 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. */
|
|
3688
|
+
quotaUser?: string;
|
|
3689
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3690
|
+
upload_protocol?: string;
|
|
3691
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3692
|
+
uploadType?: string;
|
|
3693
|
+
}): Request<ListLocationsResponse>;
|
|
3694
|
+
/** Update default config for a given project and location. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.* */
|
|
3695
|
+
updateConfig(request: {
|
|
3696
|
+
/** V1 error format. */
|
|
3697
|
+
'$.xgafv'?: string;
|
|
3698
|
+
/** OAuth access token. */
|
|
3699
|
+
access_token?: string;
|
|
3700
|
+
/** Data format for response. */
|
|
3701
|
+
alt?: string;
|
|
3702
|
+
/** JSONP */
|
|
3703
|
+
callback?: string;
|
|
3704
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3705
|
+
fields?: string;
|
|
3706
|
+
/** 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. */
|
|
3707
|
+
key?: string;
|
|
3708
|
+
/** Identifier. The config name. */
|
|
3709
|
+
name: string;
|
|
3710
|
+
/** OAuth 2.0 token for the current user. */
|
|
3711
|
+
oauth_token?: string;
|
|
3712
|
+
/** Returns response with indentations and line breaks. */
|
|
3713
|
+
prettyPrint?: boolean;
|
|
3714
|
+
/** 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. */
|
|
3715
|
+
quotaUser?: string;
|
|
3716
|
+
/** Optional. Specifies the fields to be updated in the config. */
|
|
3717
|
+
updateMask?: string;
|
|
3718
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3719
|
+
upload_protocol?: string;
|
|
3720
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3721
|
+
uploadType?: string;
|
|
3722
|
+
/** Request body */
|
|
3723
|
+
resource: Config;
|
|
3724
|
+
}): Request<Config>;
|
|
3725
|
+
updateConfig(
|
|
3726
|
+
request: {
|
|
3727
|
+
/** V1 error format. */
|
|
3728
|
+
'$.xgafv'?: string;
|
|
3729
|
+
/** OAuth access token. */
|
|
3730
|
+
access_token?: string;
|
|
3731
|
+
/** Data format for response. */
|
|
3732
|
+
alt?: string;
|
|
3733
|
+
/** JSONP */
|
|
3734
|
+
callback?: string;
|
|
3735
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3736
|
+
fields?: string;
|
|
3737
|
+
/** 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. */
|
|
3738
|
+
key?: string;
|
|
3739
|
+
/** Identifier. The config name. */
|
|
3740
|
+
name: string;
|
|
3741
|
+
/** OAuth 2.0 token for the current user. */
|
|
3742
|
+
oauth_token?: string;
|
|
3743
|
+
/** Returns response with indentations and line breaks. */
|
|
3744
|
+
prettyPrint?: boolean;
|
|
3745
|
+
/** 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. */
|
|
3746
|
+
quotaUser?: string;
|
|
3747
|
+
/** Optional. Specifies the fields to be updated in the config. */
|
|
3748
|
+
updateMask?: string;
|
|
3749
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3750
|
+
upload_protocol?: string;
|
|
3751
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3752
|
+
uploadType?: string;
|
|
3753
|
+
},
|
|
3754
|
+
body: Config,
|
|
3755
|
+
): Request<Config>;
|
|
3756
|
+
folders: FoldersResource;
|
|
3757
|
+
operations: OperationsResource;
|
|
3758
|
+
repositories: RepositoriesResource;
|
|
3759
|
+
teamFolders: TeamFoldersResource;
|
|
3760
|
+
}
|
|
3761
|
+
interface ProjectsResource {
|
|
3762
|
+
locations: LocationsResource;
|
|
3763
|
+
}
|
|
3764
|
+
|
|
3765
|
+
const projects: ProjectsResource;
|
|
3766
|
+
}
|
|
3767
|
+
}
|