@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.0.20230421 → 0.0.20230505

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.
Files changed (3) hide show
  1. package/index.d.ts +1957 -979
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://containeranalysis.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20230421
12
+ // Revision: 20230505
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,81 +24,106 @@ declare namespace gapi.client {
24
24
  namespace containeranalysis {
25
25
  interface AliasContext {
26
26
  /** The alias kind. */
27
- kind?: string;
27
+ kind?:
28
+ string;
28
29
  /** The alias name. */
29
- name?: string;
30
+ name?:
31
+ string;
30
32
  }
31
33
  interface AnalysisCompleted {
32
- analysisType?: string[];
34
+ analysisType?:
35
+ string[];
33
36
  }
34
37
  interface Artifact {
35
38
  /** Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container. */
36
- checksum?: string;
39
+ checksum?:
40
+ string;
37
41
  /** Artifact ID, if any; for container images, this will be a URL by digest like `gcr.io/projectID/imagename@sha256:123456`. */
38
- id?: string;
42
+ id?:
43
+ string;
39
44
  /**
40
45
  * Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as
41
46
  * presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.
42
47
  */
43
- names?: string[];
48
+ names?:
49
+ string[];
44
50
  }
45
51
  interface ArtifactHashes {
46
- sha256?: string;
52
+ sha256?:
53
+ string;
47
54
  }
48
55
  interface ArtifactRule {
49
- artifactRule?: string[];
56
+ artifactRule?:
57
+ string[];
50
58
  }
51
59
  interface Assessment {
52
60
  /** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
53
- cve?: string;
61
+ cve?:
62
+ string;
54
63
  /** Contains information about the impact of this vulnerability, this will change with time. */
55
- impacts?: string[];
64
+ impacts?:
65
+ string[];
56
66
  /** Justification provides the justification when the state of the assessment if NOT_AFFECTED. */
57
- justification?: Justification;
67
+ justification?:
68
+ Justification;
58
69
  /** A detailed description of this Vex. */
59
- longDescription?: string;
70
+ longDescription?:
71
+ string;
60
72
  /**
61
73
  * Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g.
62
74
  * Link to a document which details how this assessment concluded the state of this vulnerability.
63
75
  */
64
- relatedUris?: RelatedUrl[];
76
+ relatedUris?:
77
+ RelatedUrl[];
65
78
  /** Specifies details on how to handle (and presumably, fix) a vulnerability. */
66
- remediations?: Remediation[];
79
+ remediations?:
80
+ Remediation[];
67
81
  /** A one sentence description of this Vex. */
68
- shortDescription?: string;
82
+ shortDescription?:
83
+ string;
69
84
  /** Provides the state of this Vulnerability assessment. */
70
- state?: string;
85
+ state?:
86
+ string;
71
87
  }
72
88
  interface Attestation {
73
- genericSignedAttestation?: GenericSignedAttestation;
89
+ genericSignedAttestation?:
90
+ GenericSignedAttestation;
74
91
  /** A PGP signed attestation. */
75
- pgpSignedAttestation?: PgpSignedAttestation;
92
+ pgpSignedAttestation?:
93
+ PgpSignedAttestation;
76
94
  }
77
95
  interface Authority {
78
96
  /** Hint hints at the purpose of the attestation authority. */
79
- hint?: Hint;
97
+ hint?:
98
+ Hint;
80
99
  }
81
100
  interface Basis {
82
101
  /** Required. Immutable. The fingerprint of the base image. */
83
- fingerprint?: Fingerprint;
102
+ fingerprint?:
103
+ Fingerprint;
84
104
  /** Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images. */
85
- resourceUrl?: string;
105
+ resourceUrl?:
106
+ string;
86
107
  }
87
108
  interface BatchCreateNotesRequest {
88
109
  /** Required. The notes to create, the key is expected to be the note ID. Max allowed length is 1000. */
89
- notes?: { [P in string]: Note };
110
+ notes?:
111
+ { [P in string]: Note };
90
112
  }
91
113
  interface BatchCreateNotesResponse {
92
114
  /** The notes that were created. */
93
- notes?: Note[];
115
+ notes?:
116
+ Note[];
94
117
  }
95
118
  interface BatchCreateOccurrencesRequest {
96
119
  /** Required. The occurrences to create. Max allowed length is 1000. */
97
- occurrences?: Occurrence[];
120
+ occurrences?:
121
+ Occurrence[];
98
122
  }
99
123
  interface BatchCreateOccurrencesResponse {
100
124
  /** The occurrences that were created. */
101
- occurrences?: Occurrence[];
125
+ occurrences?:
126
+ Occurrence[];
102
127
  }
103
128
  interface Binding {
104
129
  /**
@@ -106,7 +131,8 @@ declare namespace gapi.client {
106
131
  * 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
107
132
  * resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
108
133
  */
109
- condition?: Expr;
134
+ condition?:
135
+ Expr;
110
136
  /**
111
137
  * 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
112
138
  * 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
@@ -123,95 +149,124 @@ declare namespace gapi.client {
123
149
  * 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
124
150
  * retains the role in the binding.
125
151
  */
126
- members?: string[];
152
+ members?:
153
+ string[];
127
154
  /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
128
- role?: string;
155
+ role?:
156
+ string;
129
157
  }
130
158
  interface Build {
131
159
  /** Required. Immutable. Version of the builder which produced this build. */
132
- builderVersion?: string;
160
+ builderVersion?:
161
+ string;
133
162
  /** Signature of the build in occurrences pointing to this build note containing build details. */
134
- signature?: BuildSignature;
163
+ signature?:
164
+ BuildSignature;
135
165
  }
136
166
  interface BuildProvenance {
137
167
  /** Version string of the builder at the time this build was executed. */
138
- builderVersion?: string;
168
+ builderVersion?:
169
+ string;
139
170
  /** Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details. */
140
- buildOptions?: { [P in string]: string };
171
+ buildOptions?:
172
+ { [P in string]: string };
141
173
  /** Output of the build. */
142
- builtArtifacts?: Artifact[];
174
+ builtArtifacts?:
175
+ Artifact[];
143
176
  /** Commands requested by the build. */
144
- commands?: Command[];
177
+ commands?:
178
+ Command[];
145
179
  /** Time at which the build was created. */
146
- createTime?: string;
180
+ createTime?:
181
+ string;
147
182
  /**
148
183
  * E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same
149
184
  * end-user for all time.
150
185
  */
151
- creator?: string;
186
+ creator?:
187
+ string;
152
188
  /** Time at which execution of the build was finished. */
153
- endTime?: string;
189
+ endTime?:
190
+ string;
154
191
  /** Required. Unique identifier of the build. */
155
- id?: string;
192
+ id?:
193
+ string;
156
194
  /** URI where any logs for this provenance were written. */
157
- logsUri?: string;
195
+ logsUri?:
196
+ string;
158
197
  /** ID of the project. */
159
- projectId?: string;
198
+ projectId?:
199
+ string;
160
200
  /** Details of the Source input to the build. */
161
- sourceProvenance?: Source;
201
+ sourceProvenance?:
202
+ Source;
162
203
  /** Time at which execution of the build was started. */
163
- startTime?: string;
204
+ startTime?:
205
+ string;
164
206
  /** Trigger identifier if the build was triggered automatically; empty if not. */
165
- triggerId?: string;
207
+ triggerId?:
208
+ string;
166
209
  }
167
210
  interface BuildSignature {
168
211
  /**
169
212
  * An ID for the key used to sign. This could be either an ID for the key stored in `public_key` (such as the ID or fingerprint for a PGP key, or the CN for a cert), or a reference to
170
213
  * an external key (such as a reference to a key in Cloud Key Management Service).
171
214
  */
172
- keyId?: string;
215
+ keyId?:
216
+ string;
173
217
  /** The type of the key, either stored in `public_key` or referenced in `key_id`. */
174
- keyType?: string;
218
+ keyType?:
219
+ string;
175
220
  /**
176
221
  * Public key of the builder which can be used to verify that the related findings are valid and unchanged. If `key_type` is empty, this defaults to PEM encoded public keys. This field
177
222
  * may be empty if `key_id` references an external key. For Cloud Build based signatures, this is a PEM encoded public key. To verify the Cloud Build signature, place the contents of
178
223
  * this field into a file (public.pem). The signature field is base64-decoded into its binary representation in signature.bin, and the provenance bytes from `BuildDetails` are
179
224
  * base64-decoded into a binary representation in signed.bin. OpenSSL can then verify the signature: `openssl sha256 -verify public.pem -signature signature.bin signed.bin`
180
225
  */
181
- publicKey?: string;
226
+ publicKey?:
227
+ string;
182
228
  /** Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded. */
183
- signature?: string;
229
+ signature?:
230
+ string;
184
231
  }
185
232
  interface BuildStep {
186
233
  /**
187
234
  * Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take
188
235
  * precedence.
189
236
  */
190
- allowExitCodes?: number[];
237
+ allowExitCodes?:
238
+ number[];
191
239
  /**
192
240
  * Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still
193
241
  * have a failure status. Error information will be reported in the failure_detail field.
194
242
  */
195
- allowFailure?: boolean;
243
+ allowFailure?:
244
+ boolean;
196
245
  /**
197
246
  * A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that
198
247
  * entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.
199
248
  */
200
- args?: string[];
249
+ args?:
250
+ string[];
201
251
  /**
202
252
  * Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be
203
253
  * outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the
204
254
  * build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.
205
255
  */
206
- dir?: string;
256
+ dir?:
257
+ string;
207
258
  /** Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used. */
208
- entrypoint?: string;
259
+ entrypoint?:
260
+ string;
209
261
  /** A list of environment variable definitions to be used when running a step. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". */
210
- env?: string[];
262
+ env?:
263
+ string[];
211
264
  /** Output only. Return code from running the step. */
212
- exitCode?: number;
265
+ exitCode?:
266
+ number;
213
267
  /** Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency. */
214
- id?: string;
268
+ id?:
269
+ string;
215
270
  /**
216
271
  * Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not,
217
272
  * the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all
@@ -219,101 +274,131 @@ declare namespace gapi.client {
219
274
  * have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them. If you built an image in a previous
220
275
  * build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.
221
276
  */
222
- name?: string;
277
+ name?:
278
+ string;
223
279
  /** Output only. Stores timing information for pulling this build step's builder image only. */
224
- pullTiming?: TimeSpan;
280
+ pullTiming?:
281
+ TimeSpan;
225
282
  /** A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args. */
226
- script?: string;
283
+ script?:
284
+ string;
227
285
  /** A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. */
228
- secretEnv?: string[];
286
+ secretEnv?:
287
+ string[];
229
288
  /** Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses. */
230
- status?: string;
289
+ status?:
290
+ string;
231
291
  /** Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out. */
232
- timeout?: string;
292
+ timeout?:
293
+ string;
233
294
  /** Output only. Stores timing information for executing this build step. */
234
- timing?: TimeSpan;
295
+ timing?:
296
+ TimeSpan;
235
297
  /**
236
298
  * List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their
237
299
  * contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.
238
300
  */
239
- volumes?: Volume[];
301
+ volumes?:
302
+ Volume[];
240
303
  /**
241
304
  * The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty,
242
305
  * this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.
243
306
  */
244
- waitFor?: string[];
307
+ waitFor?:
308
+ string[];
245
309
  }
246
310
  interface ByProducts {
247
- customValues?: { [P in string]: string };
311
+ customValues?:
312
+ { [P in string]: string };
248
313
  }
249
314
  interface CloudRepoSourceContext {
250
315
  /** An alias, which may be a branch or tag. */
251
- aliasContext?: AliasContext;
316
+ aliasContext?:
317
+ AliasContext;
252
318
  /** The ID of the repo. */
253
- repoId?: RepoId;
319
+ repoId?:
320
+ RepoId;
254
321
  /** A revision ID. */
255
- revisionId?: string;
322
+ revisionId?:
323
+ string;
256
324
  }
257
325
  interface Command {
258
326
  /** Command-line arguments used when executing this command. */
259
- args?: string[];
327
+ args?:
328
+ string[];
260
329
  /** Working directory (relative to project source root) used when running this command. */
261
- dir?: string;
330
+ dir?:
331
+ string;
262
332
  /** Environment variables set before running this command. */
263
- env?: string[];
333
+ env?:
334
+ string[];
264
335
  /** Optional unique identifier for this command, used in wait_for to reference this command as a dependency. */
265
- id?: string;
336
+ id?:
337
+ string;
266
338
  /** Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`. */
267
- name?: string;
339
+ name?:
340
+ string;
268
341
  /** The ID(s) of the command(s) that this command depends on. */
269
- waitFor?: string[];
342
+ waitFor?:
343
+ string[];
270
344
  }
271
345
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig {
272
346
  /** Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start. */
273
- approvalRequired?: boolean;
347
+ approvalRequired?:
348
+ boolean;
274
349
  }
275
350
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult {
276
351
  /** Output only. The time when the approval decision was made. */
277
- approvalTime?: string;
352
+ approvalTime?:
353
+ string;
278
354
  /** Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called. */
279
- approverAccount?: string;
355
+ approverAccount?:
356
+ string;
280
357
  /** Optional. An optional comment for this manual approval result. */
281
- comment?: string;
358
+ comment?:
359
+ string;
282
360
  /** Required. The decision of this manual approval. */
283
- decision?: string;
361
+ decision?:
362
+ string;
284
363
  /**
285
364
  * Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use
286
365
  * case is a link to an external job that approved this Build.
287
366
  */
288
- url?: string;
367
+ url?:
368
+ string;
289
369
  }
290
370
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts {
291
371
  /**
292
372
  * A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed
293
373
  * images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.
294
374
  */
295
- images?: string[];
375
+ images?:
376
+ string[];
296
377
  /**
297
378
  * A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be
298
379
  * uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.
299
380
  */
300
- mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact[];
381
+ mavenArtifacts?:
382
+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact[];
301
383
  /**
302
384
  * A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified
303
385
  * Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.
304
386
  */
305
- npmPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage[];
387
+ npmPackages?:
388
+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage[];
306
389
  /**
307
390
  * A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the
308
391
  * specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results
309
392
  * field. If any objects fail to be pushed, the build is marked FAILURE.
310
393
  */
311
- objects?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects;
394
+ objects?:
395
+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects;
312
396
  /**
313
397
  * A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the
314
398
  * upload. If any objects fail to be pushed, the build is marked FAILURE.
315
399
  */
316
- pythonPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage[];
400
+ pythonPackages?:
401
+ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage[];
317
402
  }
318
403
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects {
319
404
  /**
@@ -321,233 +406,302 @@ declare namespace gapi.client {
321
406
  * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this
322
407
  * location as a prefix.
323
408
  */
324
- location?: string;
409
+ location?:
410
+ string;
325
411
  /** Path globs used to match files in the build's workspace. */
326
- paths?: string[];
412
+ paths?:
413
+ string[];
327
414
  /** Output only. Stores timing information for pushing all artifact objects. */
328
- timing?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
415
+ timing?:
416
+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
329
417
  }
330
418
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact {
331
419
  /** Maven `artifactId` value used when uploading the artifact to Artifact Registry. */
332
- artifactId?: string;
420
+ artifactId?:
421
+ string;
333
422
  /** Maven `groupId` value used when uploading the artifact to Artifact Registry. */
334
- groupId?: string;
423
+ groupId?:
424
+ string;
335
425
  /**
336
426
  * Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a
337
427
  * relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
338
428
  */
339
- path?: string;
429
+ path?:
430
+ string;
340
431
  /**
341
432
  * Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with
342
433
  * this location as a prefix.
343
434
  */
344
- repository?: string;
435
+ repository?:
436
+ string;
345
437
  /** Maven `version` value used when uploading the artifact to Artifact Registry. */
346
- version?: string;
438
+ version?:
439
+ string;
347
440
  }
348
441
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage {
349
442
  /** Path to the package.json. e.g. workspace/path/to/package */
350
- packagePath?: string;
443
+ packagePath?:
444
+ string;
351
445
  /**
352
446
  * Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact
353
447
  * Registry with this location as a prefix.
354
448
  */
355
- repository?: string;
449
+ repository?:
450
+ string;
356
451
  }
357
452
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage {
358
453
  /** Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. */
359
- paths?: string[];
454
+ paths?:
455
+ string[];
360
456
  /**
361
457
  * Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact
362
458
  * Registry with this location as a prefix.
363
459
  */
364
- repository?: string;
460
+ repository?:
461
+ string;
365
462
  }
366
463
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Build {
367
464
  /** Output only. Describes this build's approval configuration, status, and result. */
368
- approval?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval;
465
+ approval?:
466
+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval;
369
467
  /** Artifacts produced by the build that should be uploaded upon successful completion of all build steps. */
370
- artifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts;
468
+ artifacts?:
469
+ ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts;
371
470
  /** Secrets and secret environment variables. */
372
- availableSecrets?: ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets;
471
+ availableSecrets?:
472
+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets;
373
473
  /** Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically. */
374
- buildTriggerId?: string;
474
+ buildTriggerId?:
475
+ string;
375
476
  /** Output only. Time at which the request to create the build was received. */
376
- createTime?: string;
477
+ createTime?:
478
+ string;
377
479
  /** Output only. Contains information about the build when status=FAILURE. */
378
- failureInfo?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo;
480
+ failureInfo?:
481
+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo;
379
482
  /** Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution. */
380
- finishTime?: string;
483
+ finishTime?:
484
+ string;
381
485
  /** Output only. Unique identifier of the build. */
382
- id?: string;
486
+ id?:
487
+ string;
383
488
  /**
384
489
  * A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed
385
490
  * images will be stored in the `Build` resource's results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.
386
491
  */
387
- images?: string[];
492
+ images?:
493
+ string[];
388
494
  /**
389
495
  * Google Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be
390
496
  * of the format `${logs_bucket}/log-${build_id}.txt`.
391
497
  */
392
- logsBucket?: string;
498
+ logsBucket?:
499
+ string;
393
500
  /** Output only. URL to logs for this build in Google Cloud Console. */
394
- logUrl?: string;
501
+ logUrl?:
502
+ string;
395
503
  /** Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service. */
396
- name?: string;
504
+ name?:
505
+ string;
397
506
  /** Special options for this build. */
398
- options?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions;
507
+ options?:
508
+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions;
399
509
  /** Output only. ID of the project. */
400
- projectId?: string;
510
+ projectId?:
511
+ string;
401
512
  /**
402
513
  * TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from
403
514
  * create_time.
404
515
  */
405
- queueTtl?: string;
516
+ queueTtl?:
517
+ string;
406
518
  /** Output only. Results of the build. */
407
- results?: ContaineranalysisGoogleDevtoolsCloudbuildV1Results;
519
+ results?:
520
+ ContaineranalysisGoogleDevtoolsCloudbuildV1Results;
408
521
  /**
409
522
  * Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to
410
523
  * configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets
411
524
  */
412
- secrets?: ContaineranalysisGoogleDevtoolsCloudbuildV1Secret[];
525
+ secrets?:
526
+ ContaineranalysisGoogleDevtoolsCloudbuildV1Secret[];
413
527
  /**
414
528
  * IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or
415
529
  * uniqueId of the service account.
416
530
  */
417
- serviceAccount?: string;
531
+ serviceAccount?:
532
+ string;
418
533
  /** The location of the source files to build. */
419
- source?: ContaineranalysisGoogleDevtoolsCloudbuildV1Source;
534
+ source?:
535
+ ContaineranalysisGoogleDevtoolsCloudbuildV1Source;
420
536
  /** Output only. A permanent fixed identifier for source. */
421
- sourceProvenance?: ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance;
537
+ sourceProvenance?:
538
+ ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance;
422
539
  /** Output only. Time at which execution of the build was started. */
423
- startTime?: string;
540
+ startTime?:
541
+ string;
424
542
  /** Output only. Status of the build. */
425
- status?: string;
543
+ status?:
544
+ string;
426
545
  /** Output only. Customer-readable message about the current status. */
427
- statusDetail?: string;
546
+ statusDetail?:
547
+ string;
428
548
  /** Required. The operations to be performed on the workspace. */
429
- steps?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep[];
549
+ steps?:
550
+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep[];
430
551
  /** Substitutions data for `Build` resource. */
431
- substitutions?: { [P in string]: string };
552
+ substitutions?:
553
+ { [P in string]: string };
432
554
  /** Tags for annotation of a `Build`. These are not docker tags. */
433
- tags?: string[];
555
+ tags?:
556
+ string[];
434
557
  /**
435
558
  * Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`.
436
559
  * `timeout` starts ticking from `startTime`. Default time is 60 minutes.
437
560
  */
438
- timeout?: string;
561
+ timeout?:
562
+ string;
439
563
  /**
440
564
  * Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images
441
565
  * and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
442
566
  */
443
- timing?: { [P in string]: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan };
567
+ timing?:
568
+ { [P in string]: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan };
444
569
  /** Output only. Non-fatal problems encountered during the execution of the build. */
445
- warnings?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning[];
570
+ warnings?:
571
+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning[];
446
572
  }
447
573
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval {
448
574
  /** Output only. Configuration for manual approval of this build. */
449
- config?: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig;
575
+ config?:
576
+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig;
450
577
  /** Output only. Result of manual approval for this Build. */
451
- result?: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult;
578
+ result?:
579
+ ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult;
452
580
  /** Output only. The state of this build's approval. */
453
- state?: string;
581
+ state?:
582
+ string;
454
583
  }
455
584
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo {
456
585
  /** Explains the failure issue in more detail using hard-coded text. */
457
- detail?: string;
586
+ detail?:
587
+ string;
458
588
  /** The name of the failure. */
459
- type?: string;
589
+ type?:
590
+ string;
460
591
  }
461
592
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions {
462
593
  /** Optional. Option to specify how default logs buckets are setup. */
463
- defaultLogsBucketBehavior?: string;
594
+ defaultLogsBucketBehavior?:
595
+ string;
464
596
  /**
465
597
  * Requested disk size for the VM that runs the build. Note that this is *NOT* "disk free"; some of the space will be used by the operating system and build utilities. Also note that
466
598
  * this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that
467
599
  * request more than the maximum are rejected with an error.
468
600
  */
469
- diskSizeGb?: string;
601
+ diskSizeGb?:
602
+ string;
470
603
  /**
471
604
  * Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build
472
605
  * configuration file.
473
606
  */
474
- dynamicSubstitutions?: boolean;
607
+ dynamicSubstitutions?:
608
+ boolean;
475
609
  /**
476
610
  * A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will
477
611
  * use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
478
612
  */
479
- env?: string[];
613
+ env?:
614
+ string[];
480
615
  /** Option to specify the logging mode, which determines if and where build logs are stored. */
481
- logging?: string;
616
+ logging?:
617
+ string;
482
618
  /** Option to define build log streaming behavior to Google Cloud Storage. */
483
- logStreamingOption?: string;
619
+ logStreamingOption?:
620
+ string;
484
621
  /** Compute Engine machine type on which to run the build. */
485
- machineType?: string;
622
+ machineType?:
623
+ string;
486
624
  /**
487
625
  * Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for
488
626
  * more information.
489
627
  */
490
- pool?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
628
+ pool?:
629
+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
491
630
  /** Requested verifiability options. */
492
- requestedVerifyOption?: string;
631
+ requestedVerifyOption?:
632
+ string;
493
633
  /**
494
634
  * A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables
495
635
  * will be available to all build steps in this build.
496
636
  */
497
- secretEnv?: string[];
637
+ secretEnv?:
638
+ string[];
498
639
  /** Requested hash for SourceProvenance. */
499
- sourceProvenanceHash?: string[];
640
+ sourceProvenanceHash?:
641
+ string[];
500
642
  /**
501
643
  * Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build
502
644
  * configuration file.
503
645
  */
504
- substitutionOption?: string;
646
+ substitutionOption?:
647
+ string;
505
648
  /**
506
649
  * Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their
507
650
  * contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it
508
651
  * is indicative of a build request with an incorrect configuration.
509
652
  */
510
- volumes?: ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[];
653
+ volumes?:
654
+ ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[];
511
655
  /** This field deprecated; please use `pool.name` instead. */
512
- workerPool?: string;
656
+ workerPool?:
657
+ string;
513
658
  }
514
659
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption {
515
660
  /**
516
661
  * The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format
517
662
  * projects/{project}/locations/{location}/workerPools/{workerPoolId}
518
663
  */
519
- name?: string;
664
+ name?:
665
+ string;
520
666
  }
521
667
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep {
522
668
  /**
523
669
  * Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take
524
670
  * precedence.
525
671
  */
526
- allowExitCodes?: number[];
672
+ allowExitCodes?:
673
+ number[];
527
674
  /**
528
675
  * Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still
529
676
  * have a failure status. Error information will be reported in the failure_detail field.
530
677
  */
531
- allowFailure?: boolean;
678
+ allowFailure?:
679
+ boolean;
532
680
  /**
533
681
  * A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that
534
682
  * entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.
535
683
  */
536
- args?: string[];
684
+ args?:
685
+ string[];
537
686
  /**
538
687
  * Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be
539
688
  * outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the
540
689
  * build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.
541
690
  */
542
- dir?: string;
691
+ dir?:
692
+ string;
543
693
  /** Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used. */
544
- entrypoint?: string;
694
+ entrypoint?:
695
+ string;
545
696
  /** A list of environment variable definitions to be used when running a step. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". */
546
- env?: string[];
697
+ env?:
698
+ string[];
547
699
  /** Output only. Return code from running the step. */
548
- exitCode?: number;
700
+ exitCode?:
701
+ number;
549
702
  /** Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency. */
550
- id?: string;
703
+ id?:
704
+ string;
551
705
  /**
552
706
  * Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not,
553
707
  * the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all
@@ -555,155 +709,204 @@ declare namespace gapi.client {
555
709
  * have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them. If you built an image in a previous
556
710
  * build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.
557
711
  */
558
- name?: string;
712
+ name?:
713
+ string;
559
714
  /** Output only. Stores timing information for pulling this build step's builder image only. */
560
- pullTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
715
+ pullTiming?:
716
+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
561
717
  /** A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args. */
562
- script?: string;
718
+ script?:
719
+ string;
563
720
  /** A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. */
564
- secretEnv?: string[];
721
+ secretEnv?:
722
+ string[];
565
723
  /** Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses. */
566
- status?: string;
724
+ status?:
725
+ string;
567
726
  /** Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out. */
568
- timeout?: string;
727
+ timeout?:
728
+ string;
569
729
  /** Output only. Stores timing information for executing this build step. */
570
- timing?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
730
+ timing?:
731
+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
571
732
  /**
572
733
  * List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their
573
734
  * contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.
574
735
  */
575
- volumes?: ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[];
736
+ volumes?:
737
+ ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[];
576
738
  /**
577
739
  * The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty,
578
740
  * this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.
579
741
  */
580
- waitFor?: string[];
742
+ waitFor?:
743
+ string[];
581
744
  }
582
745
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning {
583
746
  /** The priority for this warning. */
584
- priority?: string;
747
+ priority?:
748
+ string;
585
749
  /** Explanation of the warning generated. */
586
- text?: string;
750
+ text?:
751
+ string;
587
752
  }
588
753
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage {
589
754
  /** Docker Registry 2.0 digest. */
590
- digest?: string;
755
+ digest?:
756
+ string;
591
757
  /** Name used to push the container image to Google Container Registry, as presented to `docker push`. */
592
- name?: string;
758
+ name?:
759
+ string;
593
760
  /** Output only. Stores timing information for pushing the specified image. */
594
- pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
761
+ pushTiming?:
762
+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
595
763
  }
596
764
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes {
597
765
  /** Collection of file hashes. */
598
- fileHash?: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[];
766
+ fileHash?:
767
+ ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[];
599
768
  }
600
769
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource {
601
770
  /**
602
771
  * Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for
603
772
  * that step's execution.
604
773
  */
605
- dir?: string;
774
+ dir?:
775
+ string;
606
776
  /**
607
777
  * The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository;
608
778
  * therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see
609
779
  * https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.
610
780
  */
611
- revision?: string;
781
+ revision?:
782
+ string;
612
783
  /** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
613
- url?: string;
784
+ url?:
785
+ string;
614
786
  }
615
787
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
616
788
  /** The type of hash that was performed. */
617
- type?: string;
789
+ type?:
790
+ string;
618
791
  /** The hash value. */
619
- value?: string;
792
+ value?:
793
+ string;
620
794
  }
621
795
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret {
622
796
  /**
623
797
  * Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
624
798
  * Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
625
799
  */
626
- envMap?: { [P in string]: string };
800
+ envMap?:
801
+ { [P in string]: string };
627
802
  /** Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*‍/locations/*‍/keyRings/*‍/cryptoKeys/* */
628
- kmsKeyName?: string;
803
+ kmsKeyName?:
804
+ string;
629
805
  }
630
806
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource {
631
807
  /** Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
632
- branchName?: string;
808
+ branchName?:
809
+ string;
633
810
  /** Explicit commit SHA to build. */
634
- commitSha?: string;
811
+ commitSha?:
812
+ string;
635
813
  /**
636
814
  * Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for
637
815
  * that step's execution.
638
816
  */
639
- dir?: string;
817
+ dir?:
818
+ string;
640
819
  /** Only trigger a build if the revision regex does NOT match the revision regex. */
641
- invertRegex?: boolean;
820
+ invertRegex?:
821
+ boolean;
642
822
  /** ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
643
- projectId?: string;
823
+ projectId?:
824
+ string;
644
825
  /** Name of the Cloud Source Repository. */
645
- repoName?: string;
826
+ repoName?:
827
+ string;
646
828
  /** Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
647
- substitutions?: { [P in string]: string };
829
+ substitutions?:
830
+ { [P in string]: string };
648
831
  /** Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
649
- tagName?: string;
832
+ tagName?:
833
+ string;
650
834
  }
651
835
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Results {
652
836
  /** Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
653
- artifactManifest?: string;
837
+ artifactManifest?:
838
+ string;
654
839
  /** Time to push all non-container artifacts to Cloud Storage. */
655
- artifactTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
840
+ artifactTiming?:
841
+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
656
842
  /** List of build step digests, in the order corresponding to build step indices. */
657
- buildStepImages?: string[];
843
+ buildStepImages?:
844
+ string[];
658
845
  /**
659
846
  * List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders)
660
847
  * can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.
661
848
  */
662
- buildStepOutputs?: string[];
849
+ buildStepOutputs?:
850
+ string[];
663
851
  /** Container images that were built as a part of the build. */
664
- images?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage[];
852
+ images?:
853
+ ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage[];
665
854
  /** Maven artifacts uploaded to Artifact Registry at the end of the build. */
666
- mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact[];
855
+ mavenArtifacts?:
856
+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact[];
667
857
  /** Npm packages uploaded to Artifact Registry at the end of the build. */
668
- npmPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage[];
858
+ npmPackages?:
859
+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage[];
669
860
  /** Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
670
- numArtifacts?: string;
861
+ numArtifacts?:
862
+ string;
671
863
  /** Python artifacts uploaded to Artifact Registry at the end of the build. */
672
- pythonPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage[];
864
+ pythonPackages?:
865
+ ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage[];
673
866
  }
674
867
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Secret {
675
868
  /** Cloud KMS key name to use to decrypt these envs. */
676
- kmsKeyName?: string;
869
+ kmsKeyName?:
870
+ string;
677
871
  /**
678
872
  * Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
679
873
  * Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
680
874
  */
681
- secretEnv?: { [P in string]: string };
875
+ secretEnv?:
876
+ { [P in string]: string };
682
877
  }
683
878
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret {
684
879
  /** Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. */
685
- env?: string;
880
+ env?:
881
+ string;
686
882
  /** Resource name of the SecretVersion. In format: projects/*‍/secrets/*‍/versions/* */
687
- versionName?: string;
883
+ versionName?:
884
+ string;
688
885
  }
689
886
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets {
690
887
  /** Secrets encrypted with KMS key and the associated secret environment variable. */
691
- inline?: ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret[];
888
+ inline?:
889
+ ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret[];
692
890
  /** Secrets in Secret Manager and associated secret environment variable. */
693
- secretManager?: ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret[];
891
+ secretManager?:
892
+ ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret[];
694
893
  }
695
894
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Source {
696
895
  /** If provided, get the source from this Git repository. */
697
- gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource;
896
+ gitSource?:
897
+ ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource;
698
898
  /** If provided, get the source from this location in a Cloud Source Repository. */
699
- repoSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource;
899
+ repoSource?:
900
+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource;
700
901
  /** If provided, get the source from this location in Google Cloud Storage. */
701
- storageSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource;
902
+ storageSource?:
903
+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource;
702
904
  /**
703
905
  * If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description
704
906
  * [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
705
907
  */
706
- storageSourceManifest?: ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest;
908
+ storageSourceManifest?:
909
+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest;
707
910
  }
708
911
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance {
709
912
  /**
@@ -711,316 +914,446 @@ declare namespace gapi.client {
711
914
  * if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the
712
915
  * build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file.
713
916
  */
714
- fileHashes?: { [P in string]: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes };
917
+ fileHashes?:
918
+ { [P in string]: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes };
715
919
  /** A copy of the build's `source.repo_source`, if exists, with any revisions resolved. */
716
- resolvedRepoSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource;
920
+ resolvedRepoSource?:
921
+ ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource;
717
922
  /** A copy of the build's `source.storage_source`, if exists, with any generations resolved. */
718
- resolvedStorageSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource;
923
+ resolvedStorageSource?:
924
+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource;
719
925
  /** A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview. */
720
- resolvedStorageSourceManifest?: ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest;
926
+ resolvedStorageSourceManifest?:
927
+ ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest;
721
928
  }
722
929
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource {
723
930
  /** Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
724
- bucket?: string;
931
+ bucket?:
932
+ string;
725
933
  /** Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
726
- generation?: string;
934
+ generation?:
935
+ string;
727
936
  /** Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
728
- object?: string;
937
+ object?:
938
+ string;
729
939
  }
730
940
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest {
731
941
  /** Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
732
- bucket?: string;
942
+ bucket?:
943
+ string;
733
944
  /** Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
734
- generation?: string;
945
+ generation?:
946
+ string;
735
947
  /** Google Cloud Storage object containing the source manifest. This object must be a JSON file. */
736
- object?: string;
948
+ object?:
949
+ string;
737
950
  }
738
951
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan {
739
952
  /** End of time span. */
740
- endTime?: string;
953
+ endTime?:
954
+ string;
741
955
  /** Start of time span. */
742
- startTime?: string;
956
+ startTime?:
957
+ string;
743
958
  }
744
959
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact {
745
960
  /** Hash types and values of the Maven Artifact. */
746
- fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
961
+ fileHashes?:
962
+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
747
963
  /** Output only. Stores timing information for pushing the specified artifact. */
748
- pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
964
+ pushTiming?:
965
+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
749
966
  /** URI of the uploaded artifact. */
750
- uri?: string;
967
+ uri?:
968
+ string;
751
969
  }
752
970
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage {
753
971
  /** Hash types and values of the npm package. */
754
- fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
972
+ fileHashes?:
973
+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
755
974
  /** Output only. Stores timing information for pushing the specified artifact. */
756
- pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
975
+ pushTiming?:
976
+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
757
977
  /** URI of the uploaded npm package. */
758
- uri?: string;
978
+ uri?:
979
+ string;
759
980
  }
760
981
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage {
761
982
  /** Hash types and values of the Python Artifact. */
762
- fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
983
+ fileHashes?:
984
+ ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
763
985
  /** Output only. Stores timing information for pushing the specified artifact. */
764
- pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
986
+ pushTiming?:
987
+ ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
765
988
  /** URI of the uploaded artifact. */
766
- uri?: string;
989
+ uri?:
990
+ string;
767
991
  }
768
992
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Volume {
769
993
  /** Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps. */
770
- name?: string;
994
+ name?:
995
+ string;
771
996
  /** Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths. */
772
- path?: string;
997
+ path?:
998
+ string;
773
999
  }
774
1000
  interface CVSS {
775
1001
  /** Defined in CVSS v3, CVSS v2 */
776
- attackComplexity?: string;
1002
+ attackComplexity?:
1003
+ string;
777
1004
  /** Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Defined in CVSS v3, CVSS v2 */
778
- attackVector?: string;
1005
+ attackVector?:
1006
+ string;
779
1007
  /** Defined in CVSS v2 */
780
- authentication?: string;
1008
+ authentication?:
1009
+ string;
781
1010
  /** Defined in CVSS v3, CVSS v2 */
782
- availabilityImpact?: string;
1011
+ availabilityImpact?:
1012
+ string;
783
1013
  /** The base score is a function of the base metric scores. */
784
- baseScore?: number;
1014
+ baseScore?:
1015
+ number;
785
1016
  /** Defined in CVSS v3, CVSS v2 */
786
- confidentialityImpact?: string;
787
- exploitabilityScore?: number;
788
- impactScore?: number;
1017
+ confidentialityImpact?:
1018
+ string;
1019
+ exploitabilityScore?:
1020
+ number;
1021
+ impactScore?:
1022
+ number;
789
1023
  /** Defined in CVSS v3, CVSS v2 */
790
- integrityImpact?: string;
1024
+ integrityImpact?:
1025
+ string;
791
1026
  /** Defined in CVSS v3 */
792
- privilegesRequired?: string;
1027
+ privilegesRequired?:
1028
+ string;
793
1029
  /** Defined in CVSS v3 */
794
- scope?: string;
1030
+ scope?:
1031
+ string;
795
1032
  /** Defined in CVSS v3 */
796
- userInteraction?: string;
1033
+ userInteraction?:
1034
+ string;
797
1035
  }
798
1036
  interface CVSSv3 {
799
- attackComplexity?: string;
1037
+ attackComplexity?:
1038
+ string;
800
1039
  /** Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. */
801
- attackVector?: string;
802
- availabilityImpact?: string;
1040
+ attackVector?:
1041
+ string;
1042
+ availabilityImpact?:
1043
+ string;
803
1044
  /** The base score is a function of the base metric scores. */
804
- baseScore?: number;
805
- confidentialityImpact?: string;
806
- exploitabilityScore?: number;
807
- impactScore?: number;
808
- integrityImpact?: string;
809
- privilegesRequired?: string;
810
- scope?: string;
811
- userInteraction?: string;
1045
+ baseScore?:
1046
+ number;
1047
+ confidentialityImpact?:
1048
+ string;
1049
+ exploitabilityScore?:
1050
+ number;
1051
+ impactScore?:
1052
+ number;
1053
+ integrityImpact?:
1054
+ string;
1055
+ privilegesRequired?:
1056
+ string;
1057
+ scope?:
1058
+ string;
1059
+ userInteraction?:
1060
+ string;
812
1061
  }
813
1062
  interface Deployable {
814
1063
  /** Required. Resource URI for the artifact being deployed. */
815
- resourceUri?: string[];
1064
+ resourceUri?:
1065
+ string[];
816
1066
  }
817
1067
  interface Deployment {
818
1068
  /** Address of the runtime element hosting this deployment. */
819
- address?: string;
1069
+ address?:
1070
+ string;
820
1071
  /** Configuration used to create this deployment. */
821
- config?: string;
1072
+ config?:
1073
+ string;
822
1074
  /** Required. Beginning of the lifetime of this deployment. */
823
- deployTime?: string;
1075
+ deployTime?:
1076
+ string;
824
1077
  /** Platform hosting this deployment. */
825
- platform?: string;
1078
+ platform?:
1079
+ string;
826
1080
  /** Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name. */
827
- resourceUri?: string[];
1081
+ resourceUri?:
1082
+ string[];
828
1083
  /** End of the lifetime of this deployment. */
829
- undeployTime?: string;
1084
+ undeployTime?:
1085
+ string;
830
1086
  /** Identity of the user that triggered this deployment. */
831
- userEmail?: string;
1087
+ userEmail?:
1088
+ string;
832
1089
  }
833
1090
  interface Derived {
834
1091
  /** Output only. This contains the base image URL for the derived image occurrence. */
835
- baseResourceUrl?: string;
1092
+ baseResourceUrl?:
1093
+ string;
836
1094
  /** Output only. The number of layers by which this image differs from the associated image basis. */
837
- distance?: number;
1095
+ distance?:
1096
+ number;
838
1097
  /** Required. The fingerprint of the derived image. */
839
- fingerprint?: Fingerprint;
1098
+ fingerprint?:
1099
+ Fingerprint;
840
1100
  /**
841
1101
  * This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the
842
1102
  * final layer.
843
1103
  */
844
- layerInfo?: Layer[];
1104
+ layerInfo?:
1105
+ Layer[];
845
1106
  }
846
1107
  interface Detail {
847
1108
  /** Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. */
848
- cpeUri?: string;
1109
+ cpeUri?:
1110
+ string;
849
1111
  /** A vendor-specific description of this note. */
850
- description?: string;
1112
+ description?:
1113
+ string;
851
1114
  /** The fix for this specific package version. */
852
- fixedLocation?: VulnerabilityLocation;
1115
+ fixedLocation?:
1116
+ VulnerabilityLocation;
853
1117
  /** Whether this detail is obsolete. Occurrences are expected not to point to obsolete details. */
854
- isObsolete?: boolean;
1118
+ isObsolete?:
1119
+ boolean;
855
1120
  /** The max version of the package in which the vulnerability exists. */
856
- maxAffectedVersion?: Version;
1121
+ maxAffectedVersion?:
1122
+ Version;
857
1123
  /** The min version of the package in which the vulnerability exists. */
858
- minAffectedVersion?: Version;
1124
+ minAffectedVersion?:
1125
+ Version;
859
1126
  /** Required. The name of the package where the vulnerability was found. */
860
- package?: string;
1127
+ package?:
1128
+ string;
861
1129
  /** The type of package; whether native or non native(ruby gems, node.js packages etc). */
862
- packageType?: string;
1130
+ packageType?:
1131
+ string;
863
1132
  /** The severity (eg: distro assigned severity) for this vulnerability. */
864
- severityName?: string;
1133
+ severityName?:
1134
+ string;
865
1135
  /** The source from which the information in this Detail was obtained. */
866
- source?: string;
1136
+ source?:
1137
+ string;
867
1138
  /** The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker. */
868
- sourceUpdateTime?: string;
1139
+ sourceUpdateTime?:
1140
+ string;
869
1141
  /** The name of the vendor of the product. */
870
- vendor?: string;
1142
+ vendor?:
1143
+ string;
871
1144
  }
872
1145
  interface Details {
873
1146
  /** Required. Attestation for the resource. */
874
- attestation?: Attestation;
1147
+ attestation?:
1148
+ Attestation;
875
1149
  }
876
1150
  interface Digest {
877
1151
  /** `SHA1`, `SHA512` etc. */
878
- algo?: string;
1152
+ algo?:
1153
+ string;
879
1154
  /** Value of the digest. */
880
- digestBytes?: string;
1155
+ digestBytes?:
1156
+ string;
881
1157
  }
882
1158
  interface Discovered {
883
- analysisCompleted?: AnalysisCompleted;
1159
+ analysisCompleted?:
1160
+ AnalysisCompleted;
884
1161
  /** Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors. */
885
- analysisError?: Status[];
1162
+ analysisError?:
1163
+ Status[];
886
1164
  /** The status of discovery for the resource. */
887
- analysisStatus?: string;
1165
+ analysisStatus?:
1166
+ string;
888
1167
  /** When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API. */
889
- analysisStatusError?: Status;
1168
+ analysisStatusError?:
1169
+ Status;
890
1170
  /** Whether the resource is continuously analyzed. */
891
- continuousAnalysis?: string;
1171
+ continuousAnalysis?:
1172
+ string;
892
1173
  /** The last time continuous analysis was done for this resource. Deprecated, do not use. */
893
- lastAnalysisTime?: string;
1174
+ lastAnalysisTime?:
1175
+ string;
894
1176
  }
895
1177
  interface Discovery {
896
1178
  /** Required. Immutable. The kind of analysis that is handled by this discovery. */
897
- analysisKind?: string;
1179
+ analysisKind?:
1180
+ string;
898
1181
  }
899
1182
  interface Distribution {
900
1183
  /** The CPU architecture for which packages in this distribution channel were built. */
901
- architecture?: string;
1184
+ architecture?:
1185
+ string;
902
1186
  /** Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. */
903
- cpeUri?: string;
1187
+ cpeUri?:
1188
+ string;
904
1189
  /** The distribution channel-specific description of this package. */
905
- description?: string;
1190
+ description?:
1191
+ string;
906
1192
  /** The latest available version of this package in this distribution channel. */
907
- latestVersion?: Version;
1193
+ latestVersion?:
1194
+ Version;
908
1195
  /** A freeform string denoting the maintainer of this package. */
909
- maintainer?: string;
1196
+ maintainer?:
1197
+ string;
910
1198
  /** The distribution channel-specific homepage for this package. */
911
- url?: string;
1199
+ url?:
1200
+ string;
912
1201
  }
913
1202
  interface DocumentNote {
914
1203
  /** Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields ("SPDX-Metadata") */
915
- dataLicence?: string;
1204
+ dataLicence?:
1205
+ string;
916
1206
  /** Provide a reference number that can be used to understand how to parse and interpret the rest of the file */
917
- spdxVersion?: string;
1207
+ spdxVersion?:
1208
+ string;
918
1209
  }
919
1210
  interface DocumentOccurrence {
920
1211
  /** Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard */
921
- createTime?: string;
1212
+ createTime?:
1213
+ string;
922
1214
  /** A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields */
923
- creatorComment?: string;
1215
+ creatorComment?:
1216
+ string;
924
1217
  /** Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person's name */
925
- creators?: string[];
1218
+ creators?:
1219
+ string[];
926
1220
  /** A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document */
927
- documentComment?: string;
1221
+ documentComment?:
1222
+ string;
928
1223
  /** Identify any external SPDX documents referenced within this SPDX document */
929
- externalDocumentRefs?: string[];
1224
+ externalDocumentRefs?:
1225
+ string[];
930
1226
  /** Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally */
931
- id?: string;
1227
+ id?:
1228
+ string;
932
1229
  /** A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created */
933
- licenseListVersion?: string;
1230
+ licenseListVersion?:
1231
+ string;
934
1232
  /** Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘#’ delimiter */
935
- namespace?: string;
1233
+ namespace?:
1234
+ string;
936
1235
  /** Identify name of this document as designated by creator */
937
- title?: string;
1236
+ title?:
1237
+ string;
938
1238
  }
939
1239
  // tslint:disable-next-line:no-empty-interface
940
1240
  interface Empty {
941
1241
  }
942
1242
  interface Envelope {
943
- payload?: string;
944
- payloadType?: string;
945
- signatures?: EnvelopeSignature[];
1243
+ payload?:
1244
+ string;
1245
+ payloadType?:
1246
+ string;
1247
+ signatures?:
1248
+ EnvelopeSignature[];
946
1249
  }
947
1250
  interface EnvelopeSignature {
948
- keyid?: string;
949
- sig?: string;
1251
+ keyid?:
1252
+ string;
1253
+ sig?:
1254
+ string;
950
1255
  }
951
1256
  interface Environment {
952
- customValues?: { [P in string]: string };
1257
+ customValues?:
1258
+ { [P in string]: string };
953
1259
  }
954
1260
  interface Expr {
955
1261
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
956
- description?: string;
1262
+ description?:
1263
+ string;
957
1264
  /** Textual representation of an expression in Common Expression Language syntax. */
958
- expression?: string;
1265
+ expression?:
1266
+ string;
959
1267
  /** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
960
- location?: string;
1268
+ location?:
1269
+ string;
961
1270
  /** 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. */
962
- title?: string;
1271
+ title?:
1272
+ string;
963
1273
  }
964
1274
  interface ExternalRef {
965
1275
  /**
966
1276
  * An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be
967
1277
  * relevant to the Package
968
1278
  */
969
- category?: string;
1279
+ category?:
1280
+ string;
970
1281
  /** Human-readable information about the purpose and target of the reference */
971
- comment?: string;
1282
+ comment?:
1283
+ string;
972
1284
  /** The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location */
973
- locator?: string;
1285
+ locator?:
1286
+ string;
974
1287
  /** Type of category (e.g. 'npm' for the PACKAGE_MANAGER category) */
975
- type?: string;
1288
+ type?:
1289
+ string;
976
1290
  }
977
1291
  interface FileHashes {
978
1292
  /** Required. Collection of file hashes. */
979
- fileHash?: Hash[];
1293
+ fileHash?:
1294
+ Hash[];
980
1295
  }
981
1296
  interface FileNote {
982
1297
  /** Provide a unique identifier to match analysis information on each specific file in a package */
983
- checksum?: string[];
1298
+ checksum?:
1299
+ string[];
984
1300
  /** This field provides information about the type of file identified */
985
- fileType?: string;
1301
+ fileType?:
1302
+ string;
986
1303
  /** Identify the full path and filename that corresponds to the file information in this section */
987
- title?: string;
1304
+ title?:
1305
+ string;
988
1306
  }
989
1307
  interface FileOccurrence {
990
1308
  /** This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts */
991
- attributions?: string[];
1309
+ attributions?:
1310
+ string[];
992
1311
  /** This field provides a place for the SPDX file creator to record any general comments about the file */
993
- comment?: string;
1312
+ comment?:
1313
+ string;
994
1314
  /** This field provides a place for the SPDX file creator to record file contributors */
995
- contributors?: string[];
1315
+ contributors?:
1316
+ string[];
996
1317
  /** Identify the copyright holder of the file, as well as any dates present */
997
- copyright?: string;
1318
+ copyright?:
1319
+ string;
998
1320
  /** This field contains the license information actually found in the file, if any */
999
- filesLicenseInfo?: string[];
1321
+ filesLicenseInfo?:
1322
+ string[];
1000
1323
  /** Uniquely identify any element in an SPDX document which may be referenced by other elements */
1001
- id?: string;
1324
+ id?:
1325
+ string;
1002
1326
  /** This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined */
1003
- licenseConcluded?: License;
1327
+ licenseConcluded?:
1328
+ License;
1004
1329
  /** This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file */
1005
- notice?: string;
1330
+ notice?:
1331
+ string;
1006
1332
  }
1007
1333
  interface Fingerprint {
1008
1334
  /** Required. The layer ID of the final layer in the Docker image's v1 representation. */
1009
- v1Name?: string;
1335
+ v1Name?:
1336
+ string;
1010
1337
  /** Required. The ordered list of v2 blobs that represent a given image. */
1011
- v2Blob?: string[];
1338
+ v2Blob?:
1339
+ string[];
1012
1340
  /** Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept. */
1013
- v2Name?: string;
1341
+ v2Name?:
1342
+ string;
1014
1343
  }
1015
1344
  interface FixableTotalByDigest {
1016
1345
  /** The number of fixable vulnerabilities associated with this resource. */
1017
- fixableCount?: string;
1346
+ fixableCount?:
1347
+ string;
1018
1348
  /** The affected resource. */
1019
- resource?: Resource;
1349
+ resource?:
1350
+ Resource;
1020
1351
  /** The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities. */
1021
- severity?: string;
1352
+ severity?:
1353
+ string;
1022
1354
  /** The total number of vulnerabilities associated with this resource. */
1023
- totalCount?: string;
1355
+ totalCount?:
1356
+ string;
1024
1357
  }
1025
1358
  // tslint:disable-next-line:no-empty-interface
1026
1359
  interface GeneratePackagesSummaryRequest {
@@ -1030,28 +1363,36 @@ declare namespace gapi.client {
1030
1363
  * Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation
1031
1364
  * payload is a valid instantiation of that type (for example by validating a JSON schema).
1032
1365
  */
1033
- contentType?: string;
1366
+ contentType?:
1367
+ string;
1034
1368
  /** The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`. */
1035
- serializedPayload?: string;
1369
+ serializedPayload?:
1370
+ string;
1036
1371
  /**
1037
1372
  * One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies
1038
1373
  * `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.
1039
1374
  */
1040
- signatures?: Signature[];
1375
+ signatures?:
1376
+ Signature[];
1041
1377
  }
1042
1378
  interface GerritSourceContext {
1043
1379
  /** An alias, which may be a branch or tag. */
1044
- aliasContext?: AliasContext;
1380
+ aliasContext?:
1381
+ AliasContext;
1045
1382
  /** The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project. */
1046
- gerritProject?: string;
1383
+ gerritProject?:
1384
+ string;
1047
1385
  /** The URI of a running Gerrit instance. */
1048
- hostUri?: string;
1386
+ hostUri?:
1387
+ string;
1049
1388
  /** A revision (commit) ID. */
1050
- revisionId?: string;
1389
+ revisionId?:
1390
+ string;
1051
1391
  }
1052
1392
  interface GetIamPolicyRequest {
1053
1393
  /** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
1054
- options?: GetPolicyOptions;
1394
+ options?:
1395
+ GetPolicyOptions;
1055
1396
  }
1056
1397
  interface GetPolicyOptions {
1057
1398
  /**
@@ -1061,429 +1402,588 @@ declare namespace gapi.client {
1061
1402
  * bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
1062
1403
  * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1063
1404
  */
1064
- requestedPolicyVersion?: number;
1405
+ requestedPolicyVersion?:
1406
+ number;
1065
1407
  }
1066
1408
  interface GitSourceContext {
1067
1409
  /** Git commit hash. */
1068
- revisionId?: string;
1410
+ revisionId?:
1411
+ string;
1069
1412
  /** Git repository URL. */
1070
- url?: string;
1413
+ url?:
1414
+ string;
1071
1415
  }
1072
1416
  interface GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata {
1073
1417
  /** Output only. The time this operation was created. */
1074
- createTime?: string;
1418
+ createTime?:
1419
+ string;
1075
1420
  /** Output only. The time that this operation was marked completed or failed. */
1076
- endTime?: string;
1421
+ endTime?:
1422
+ string;
1077
1423
  }
1078
1424
  interface GrafeasV1beta1BuildDetails {
1079
1425
  /** Required. The actual provenance for the build. */
1080
- provenance?: BuildProvenance;
1426
+ provenance?:
1427
+ BuildProvenance;
1081
1428
  /**
1082
1429
  * Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, `provenance_bytes` can be
1083
1430
  * unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to
1084
1431
  * interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json
1085
1432
  * as well to prevent incompatibilities with future changes.
1086
1433
  */
1087
- provenanceBytes?: string;
1434
+ provenanceBytes?:
1435
+ string;
1088
1436
  }
1089
1437
  interface GrafeasV1beta1DeploymentDetails {
1090
1438
  /** Required. Deployment history for the resource. */
1091
- deployment?: Deployment;
1439
+ deployment?:
1440
+ Deployment;
1092
1441
  }
1093
1442
  interface GrafeasV1beta1DiscoveryDetails {
1094
1443
  /** Required. Analysis status for the discovered resource. */
1095
- discovered?: Discovered;
1444
+ discovered?:
1445
+ Discovered;
1096
1446
  }
1097
1447
  interface GrafeasV1beta1ImageDetails {
1098
1448
  /** Required. Immutable. The child image derived from the base image. */
1099
- derivedImage?: Derived;
1449
+ derivedImage?:
1450
+ Derived;
1100
1451
  }
1101
1452
  interface GrafeasV1beta1IntotoArtifact {
1102
- hashes?: ArtifactHashes;
1103
- resourceUri?: string;
1453
+ hashes?:
1454
+ ArtifactHashes;
1455
+ resourceUri?:
1456
+ string;
1104
1457
  }
1105
1458
  interface GrafeasV1beta1IntotoDetails {
1106
- signatures?: GrafeasV1beta1IntotoSignature[];
1107
- signed?: Link;
1459
+ signatures?:
1460
+ GrafeasV1beta1IntotoSignature[];
1461
+ signed?:
1462
+ Link;
1108
1463
  }
1109
1464
  interface GrafeasV1beta1IntotoSignature {
1110
- keyid?: string;
1111
- sig?: string;
1465
+ keyid?:
1466
+ string;
1467
+ sig?:
1468
+ string;
1112
1469
  }
1113
1470
  interface GrafeasV1beta1PackageDetails {
1114
1471
  /** Required. Where the package was installed. */
1115
- installation?: Installation;
1472
+ installation?:
1473
+ Installation;
1116
1474
  }
1117
1475
  interface GrafeasV1beta1VulnerabilityDetails {
1118
1476
  /** Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity. */
1119
- cvssScore?: number;
1477
+ cvssScore?:
1478
+ number;
1120
1479
  /** The cvss v2 score for the vulnerability. */
1121
- cvssV2?: CVSS;
1480
+ cvssV2?:
1481
+ CVSS;
1122
1482
  /** The cvss v3 score for the vulnerability. */
1123
- cvssV3?: CVSS;
1483
+ cvssV3?:
1484
+ CVSS;
1124
1485
  /** Output only. CVSS version used to populate cvss_score and severity. */
1125
- cvssVersion?: string;
1486
+ cvssVersion?:
1487
+ string;
1126
1488
  /**
1127
1489
  * The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
1128
1490
  * When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by
1129
1491
  * the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have
1130
1492
  * differing effective severities, this field should be the highest severity for any of the PackageIssues.
1131
1493
  */
1132
- effectiveSeverity?: string;
1494
+ effectiveSeverity?:
1495
+ string;
1133
1496
  /** Output only. A detailed description of this vulnerability. */
1134
- longDescription?: string;
1497
+ longDescription?:
1498
+ string;
1135
1499
  /** Required. The set of affected locations and their fixes (if available) within the associated resource. */
1136
- packageIssue?: PackageIssue[];
1500
+ packageIssue?:
1501
+ PackageIssue[];
1137
1502
  /** Output only. URLs related to this vulnerability. */
1138
- relatedUrls?: RelatedUrl[];
1503
+ relatedUrls?:
1504
+ RelatedUrl[];
1139
1505
  /** Output only. The note provider assigned Severity of the vulnerability. */
1140
- severity?: string;
1506
+ severity?:
1507
+ string;
1141
1508
  /** Output only. A one sentence description of this vulnerability. */
1142
- shortDescription?: string;
1509
+ shortDescription?:
1510
+ string;
1143
1511
  /** The type of package; whether native or non native(ruby gems, node.js packages etc) */
1144
- type?: string;
1145
- vexAssessment?: VexAssessment;
1512
+ type?:
1513
+ string;
1514
+ vexAssessment?:
1515
+ VexAssessment;
1146
1516
  }
1147
1517
  interface Hash {
1148
1518
  /** Required. The type of hash that was performed. */
1149
- type?: string;
1519
+ type?:
1520
+ string;
1150
1521
  /** Required. The hash value. */
1151
- value?: string;
1522
+ value?:
1523
+ string;
1152
1524
  }
1153
1525
  interface Hint {
1154
1526
  /** Required. The human readable name of this attestation authority, for example "qa". */
1155
- humanReadableName?: string;
1527
+ humanReadableName?:
1528
+ string;
1156
1529
  }
1157
1530
  interface Installation {
1158
1531
  /** Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
1159
- architecture?: string;
1532
+ architecture?:
1533
+ string;
1160
1534
  /**
1161
1535
  * Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language
1162
1536
  * packages.
1163
1537
  */
1164
- cpeUri?: string;
1538
+ cpeUri?:
1539
+ string;
1165
1540
  /** Licenses that have been declared by the authors of the package. */
1166
- license?: License;
1541
+ license?:
1542
+ License;
1167
1543
  /** All of the places within the filesystem versions of this package have been found. */
1168
- location?: Location[];
1544
+ location?:
1545
+ Location[];
1169
1546
  /** Required. Output only. The name of the installed package. */
1170
- name?: string;
1547
+ name?:
1548
+ string;
1171
1549
  /** Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). */
1172
- packageType?: string;
1550
+ packageType?:
1551
+ string;
1173
1552
  /** Output only. The version of the package. */
1174
- version?: Version;
1553
+ version?:
1554
+ Version;
1175
1555
  }
1176
1556
  interface InToto {
1177
1557
  /** This field contains the expected command used to perform the step. */
1178
- expectedCommand?: string[];
1558
+ expectedCommand?:
1559
+ string[];
1179
1560
  /**
1180
1561
  * The following fields contain in-toto artifact rules identifying the artifacts that enter this supply chain step, and exit the supply chain step, i.e. materials and products of the
1181
1562
  * step.
1182
1563
  */
1183
- expectedMaterials?: ArtifactRule[];
1184
- expectedProducts?: ArtifactRule[];
1564
+ expectedMaterials?:
1565
+ ArtifactRule[];
1566
+ expectedProducts?:
1567
+ ArtifactRule[];
1185
1568
  /** This field contains the public keys that can be used to verify the signatures on the step metadata. */
1186
- signingKeys?: SigningKey[];
1569
+ signingKeys?:
1570
+ SigningKey[];
1187
1571
  /** This field identifies the name of the step in the supply chain. */
1188
- stepName?: string;
1572
+ stepName?:
1573
+ string;
1189
1574
  /** This field contains a value that indicates the minimum number of keys that need to be used to sign the step's in-toto link. */
1190
- threshold?: string;
1575
+ threshold?:
1576
+ string;
1191
1577
  }
1192
1578
  interface Justification {
1193
1579
  /** Additional details on why this justification was chosen. */
1194
- details?: string;
1580
+ details?:
1581
+ string;
1195
1582
  /** The justification type for this vulnerability. */
1196
- justificationType?: string;
1583
+ justificationType?:
1584
+ string;
1197
1585
  }
1198
1586
  interface KnowledgeBase {
1199
1587
  /** The KB name (generally of the form KB[0-9]+ i.e. KB123456). */
1200
- name?: string;
1588
+ name?:
1589
+ string;
1201
1590
  /** A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/ */
1202
- url?: string;
1591
+ url?:
1592
+ string;
1203
1593
  }
1204
1594
  interface Layer {
1205
1595
  /** The recovered arguments to the Dockerfile directive. */
1206
- arguments?: string;
1596
+ arguments?:
1597
+ string;
1207
1598
  /** Required. The recovered Dockerfile directive used to construct this layer. */
1208
- directive?: string;
1599
+ directive?:
1600
+ string;
1209
1601
  }
1210
1602
  interface License {
1211
1603
  /** Comments */
1212
- comments?: string;
1604
+ comments?:
1605
+ string;
1213
1606
  /**
1214
1607
  * Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license
1215
1608
  * identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
1216
1609
  */
1217
- expression?: string;
1610
+ expression?:
1611
+ string;
1218
1612
  }
1219
1613
  interface LicensesSummary {
1220
1614
  /** The number of fixable vulnerabilities associated with this resource. */
1221
- count?: string;
1615
+ count?:
1616
+ string;
1222
1617
  /**
1223
1618
  * The license of the package. Note that the format of this value is not guaranteed. It may be nil, an empty string, a boolean value (A | B), a differently formed boolean value (A OR
1224
1619
  * B), etc...
1225
1620
  */
1226
- license?: string;
1621
+ license?:
1622
+ string;
1227
1623
  }
1228
1624
  interface Link {
1229
1625
  /** ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step. */
1230
- byproducts?: ByProducts;
1626
+ byproducts?:
1627
+ ByProducts;
1231
1628
  /**
1232
1629
  * This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren't directly mapped to a specific command. Each term
1233
1630
  * in the command is an independent string in the list. An example of a command in the in-toto metadata field is: "command": ["git", "clone",
1234
1631
  * "https://github.com/in-toto/demo-project.git"]
1235
1632
  */
1236
- command?: string[];
1633
+ command?:
1634
+ string[];
1237
1635
  /**
1238
1636
  * This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem
1239
1637
  * information, and the present working directory. The recommended structure of this field is: "environment": { "custom_values": { "variables": "", "filesystem": "", "workdir": "", "":
1240
1638
  * "..." } }
1241
1639
  */
1242
- environment?: Environment;
1640
+ environment?:
1641
+ Environment;
1243
1642
  /**
1244
1643
  * Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains
1245
1644
  * the recorded hash information. An example is: "materials": [ { "resource_uri": "foo/bar", "hashes": { "sha256": "ebebf...", : } } ]
1246
1645
  */
1247
- materials?: GrafeasV1beta1IntotoArtifact[];
1646
+ materials?:
1647
+ GrafeasV1beta1IntotoArtifact[];
1248
1648
  /** Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials. */
1249
- products?: GrafeasV1beta1IntotoArtifact[];
1649
+ products?:
1650
+ GrafeasV1beta1IntotoArtifact[];
1250
1651
  }
1251
1652
  interface ListNoteOccurrencesResponse {
1252
1653
  /** Token to provide to skip to a particular spot in the list. */
1253
- nextPageToken?: string;
1654
+ nextPageToken?:
1655
+ string;
1254
1656
  /** The occurrences attached to the specified note. */
1255
- occurrences?: Occurrence[];
1657
+ occurrences?:
1658
+ Occurrence[];
1256
1659
  }
1257
1660
  interface ListNotesResponse {
1258
1661
  /** The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results. */
1259
- nextPageToken?: string;
1662
+ nextPageToken?:
1663
+ string;
1260
1664
  /** The notes requested. */
1261
- notes?: Note[];
1665
+ notes?:
1666
+ Note[];
1262
1667
  }
1263
1668
  interface ListOccurrencesResponse {
1264
1669
  /** The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results. */
1265
- nextPageToken?: string;
1670
+ nextPageToken?:
1671
+ string;
1266
1672
  /** The occurrences requested. */
1267
- occurrences?: Occurrence[];
1673
+ occurrences?:
1674
+ Occurrence[];
1268
1675
  }
1269
1676
  interface Location {
1270
1677
  /** Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. */
1271
- cpeUri?: string;
1678
+ cpeUri?:
1679
+ string;
1272
1680
  /** The path from which we gathered that this package/version is installed. */
1273
- path?: string;
1681
+ path?:
1682
+ string;
1274
1683
  /** Deprecated. The version installed at this location. */
1275
- version?: Version;
1684
+ version?:
1685
+ Version;
1276
1686
  }
1277
1687
  interface Note {
1278
1688
  /** A note describing an attestation role. */
1279
- attestationAuthority?: Authority;
1689
+ attestationAuthority?:
1690
+ Authority;
1280
1691
  /** A note describing a base image. */
1281
- baseImage?: Basis;
1692
+ baseImage?:
1693
+ Basis;
1282
1694
  /** A note describing build provenance for a verifiable build. */
1283
- build?: Build;
1695
+ build?:
1696
+ Build;
1284
1697
  /** Output only. The time this note was created. This field can be used as a filter in list requests. */
1285
- createTime?: string;
1698
+ createTime?:
1699
+ string;
1286
1700
  /** A note describing something that can be deployed. */
1287
- deployable?: Deployable;
1701
+ deployable?:
1702
+ Deployable;
1288
1703
  /** A note describing the initial analysis of a resource. */
1289
- discovery?: Discovery;
1704
+ discovery?:
1705
+ Discovery;
1290
1706
  /** Time of expiration for this note. Empty if note does not expire. */
1291
- expirationTime?: string;
1707
+ expirationTime?:
1708
+ string;
1292
1709
  /** A note describing an in-toto link. */
1293
- intoto?: InToto;
1710
+ intoto?:
1711
+ InToto;
1294
1712
  /** Output only. The type of analysis. This field can be used as a filter in list requests. */
1295
- kind?: string;
1713
+ kind?:
1714
+ string;
1296
1715
  /** A detailed description of this note. */
1297
- longDescription?: string;
1716
+ longDescription?:
1717
+ string;
1298
1718
  /** Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1299
- name?: string;
1719
+ name?:
1720
+ string;
1300
1721
  /** A note describing a package hosted by various package managers. */
1301
- package?: Package;
1722
+ package?:
1723
+ Package;
1302
1724
  /** Other notes related to this note. */
1303
- relatedNoteNames?: string[];
1725
+ relatedNoteNames?:
1726
+ string[];
1304
1727
  /** URLs associated with this note. */
1305
- relatedUrl?: RelatedUrl[];
1728
+ relatedUrl?:
1729
+ RelatedUrl[];
1306
1730
  /** A note describing a software bill of materials. */
1307
- sbom?: DocumentNote;
1731
+ sbom?:
1732
+ DocumentNote;
1308
1733
  /** A note describing an SBOM reference. */
1309
- sbomReference?: SBOMReferenceNote;
1734
+ sbomReference?:
1735
+ SBOMReferenceNote;
1310
1736
  /** A one sentence description of this note. */
1311
- shortDescription?: string;
1737
+ shortDescription?:
1738
+ string;
1312
1739
  /** A note describing an SPDX File. */
1313
- spdxFile?: FileNote;
1740
+ spdxFile?:
1741
+ FileNote;
1314
1742
  /** A note describing an SPDX Package. */
1315
- spdxPackage?: PackageInfoNote;
1743
+ spdxPackage?:
1744
+ PackageInfoNote;
1316
1745
  /** A note describing an SPDX File. */
1317
- spdxRelationship?: RelationshipNote;
1746
+ spdxRelationship?:
1747
+ RelationshipNote;
1318
1748
  /** Output only. The time this note was last updated. This field can be used as a filter in list requests. */
1319
- updateTime?: string;
1749
+ updateTime?:
1750
+ string;
1320
1751
  /** A note describing a package vulnerability. */
1321
- vulnerability?: Vulnerability;
1752
+ vulnerability?:
1753
+ Vulnerability;
1322
1754
  /** A note describing a vulnerability assessment. */
1323
- vulnerabilityAssessment?: VulnerabilityAssessmentNote;
1755
+ vulnerabilityAssessment?:
1756
+ VulnerabilityAssessmentNote;
1324
1757
  }
1325
1758
  interface Occurrence {
1326
1759
  /** Describes an attestation of an artifact. */
1327
- attestation?: Details;
1760
+ attestation?:
1761
+ Details;
1328
1762
  /** Describes a verifiable build. */
1329
- build?: GrafeasV1beta1BuildDetails;
1763
+ build?:
1764
+ GrafeasV1beta1BuildDetails;
1330
1765
  /** Output only. The time this occurrence was created. */
1331
- createTime?: string;
1766
+ createTime?:
1767
+ string;
1332
1768
  /** Describes the deployment of an artifact on a runtime. */
1333
- deployment?: GrafeasV1beta1DeploymentDetails;
1769
+ deployment?:
1770
+ GrafeasV1beta1DeploymentDetails;
1334
1771
  /** Describes how this resource derives from the basis in the associated note. */
1335
- derivedImage?: GrafeasV1beta1ImageDetails;
1772
+ derivedImage?:
1773
+ GrafeasV1beta1ImageDetails;
1336
1774
  /** Describes when a resource was discovered. */
1337
- discovered?: GrafeasV1beta1DiscoveryDetails;
1775
+ discovered?:
1776
+ GrafeasV1beta1DiscoveryDetails;
1338
1777
  /** https://github.com/secure-systems-lab/dsse */
1339
- envelope?: Envelope;
1778
+ envelope?:
1779
+ Envelope;
1340
1780
  /** Describes the installation of a package on the linked resource. */
1341
- installation?: GrafeasV1beta1PackageDetails;
1781
+ installation?:
1782
+ GrafeasV1beta1PackageDetails;
1342
1783
  /** Describes a specific in-toto link. */
1343
- intoto?: GrafeasV1beta1IntotoDetails;
1784
+ intoto?:
1785
+ GrafeasV1beta1IntotoDetails;
1344
1786
  /** Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests. */
1345
- kind?: string;
1787
+ kind?:
1788
+ string;
1346
1789
  /** Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
1347
- name?: string;
1790
+ name?:
1791
+ string;
1348
1792
  /** Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests. */
1349
- noteName?: string;
1793
+ noteName?:
1794
+ string;
1350
1795
  /** A description of actions that can be taken to remedy the note. */
1351
- remediation?: string;
1796
+ remediation?:
1797
+ string;
1352
1798
  /** Required. Immutable. The resource for which the occurrence applies. */
1353
- resource?: Resource;
1799
+ resource?:
1800
+ Resource;
1354
1801
  /** Describes a specific software bill of materials document. */
1355
- sbom?: DocumentOccurrence;
1802
+ sbom?:
1803
+ DocumentOccurrence;
1356
1804
  /** Describes a specific SBOM reference occurrences. */
1357
- sbomReference?: SBOMReferenceOccurrence;
1805
+ sbomReference?:
1806
+ SBOMReferenceOccurrence;
1358
1807
  /** Describes a specific SPDX File. */
1359
- spdxFile?: FileOccurrence;
1808
+ spdxFile?:
1809
+ FileOccurrence;
1360
1810
  /** Describes a specific SPDX Package. */
1361
- spdxPackage?: PackageInfoOccurrence;
1811
+ spdxPackage?:
1812
+ PackageInfoOccurrence;
1362
1813
  /** Describes a specific SPDX Relationship. */
1363
- spdxRelationship?: RelationshipOccurrence;
1814
+ spdxRelationship?:
1815
+ RelationshipOccurrence;
1364
1816
  /** Output only. The time this occurrence was last updated. */
1365
- updateTime?: string;
1817
+ updateTime?:
1818
+ string;
1366
1819
  /** Describes a security vulnerability. */
1367
- vulnerability?: GrafeasV1beta1VulnerabilityDetails;
1820
+ vulnerability?:
1821
+ GrafeasV1beta1VulnerabilityDetails;
1368
1822
  }
1369
1823
  interface Package {
1370
1824
  /** The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
1371
- architecture?: string;
1825
+ architecture?:
1826
+ string;
1372
1827
  /** The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages. */
1373
- cpeUri?: string;
1828
+ cpeUri?:
1829
+ string;
1374
1830
  /** The description of this package. */
1375
- description?: string;
1831
+ description?:
1832
+ string;
1376
1833
  /** Hash value, typically a file digest, that allows unique identification a specific package. */
1377
- digest?: Digest[];
1834
+ digest?:
1835
+ Digest[];
1378
1836
  /** The various channels by which a package is distributed. */
1379
- distribution?: Distribution[];
1837
+ distribution?:
1838
+ Distribution[];
1380
1839
  /** Licenses that have been declared by the authors of the package. */
1381
- license?: License;
1840
+ license?:
1841
+ License;
1382
1842
  /** A freeform text denoting the maintainer of this package. */
1383
- maintainer?: string;
1843
+ maintainer?:
1844
+ string;
1384
1845
  /** Required. Immutable. The name of the package. */
1385
- name?: string;
1846
+ name?:
1847
+ string;
1386
1848
  /** The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). */
1387
- packageType?: string;
1849
+ packageType?:
1850
+ string;
1388
1851
  /** The homepage for this package. */
1389
- url?: string;
1852
+ url?:
1853
+ string;
1390
1854
  /** The version of the package. */
1391
- version?: Version;
1855
+ version?:
1856
+ Version;
1392
1857
  }
1393
1858
  interface PackageInfoNote {
1394
1859
  /** Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document */
1395
- analyzed?: boolean;
1860
+ analyzed?:
1861
+ boolean;
1396
1862
  /** A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts */
1397
- attribution?: string;
1863
+ attribution?:
1864
+ string;
1398
1865
  /** Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file */
1399
- checksum?: string;
1866
+ checksum?:
1867
+ string;
1400
1868
  /** Identify the copyright holders of the package, as well as any dates present */
1401
- copyright?: string;
1869
+ copyright?:
1870
+ string;
1402
1871
  /** A more detailed description of the package */
1403
- detailedDescription?: string;
1872
+ detailedDescription?:
1873
+ string;
1404
1874
  /**
1405
1875
  * This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file
1406
1876
  * was created
1407
1877
  */
1408
- downloadLocation?: string;
1878
+ downloadLocation?:
1879
+ string;
1409
1880
  /** ExternalRef */
1410
- externalRefs?: ExternalRef[];
1881
+ externalRefs?:
1882
+ ExternalRef[];
1411
1883
  /**
1412
1884
  * Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses
1413
1885
  * (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
1414
1886
  */
1415
- filesLicenseInfo?: string[];
1887
+ filesLicenseInfo?:
1888
+ string[];
1416
1889
  /** Provide a place for the SPDX file creator to record a web site that serves as the package's home page */
1417
- homePage?: string;
1890
+ homePage?:
1891
+ string;
1418
1892
  /** List the licenses that have been declared by the authors of the package */
1419
- licenseDeclared?: License;
1893
+ licenseDeclared?:
1894
+ License;
1420
1895
  /**
1421
1896
  * If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the
1422
1897
  * package originally came
1423
1898
  */
1424
- originator?: string;
1899
+ originator?:
1900
+ string;
1425
1901
  /** The type of package: OS, MAVEN, GO, GO_STDLIB, etc. */
1426
- packageType?: string;
1902
+ packageType?:
1903
+ string;
1427
1904
  /** A short description of the package */
1428
- summaryDescription?: string;
1905
+ summaryDescription?:
1906
+ string;
1429
1907
  /** Identify the actual distribution source for the package/directory identified in the SPDX file */
1430
- supplier?: string;
1908
+ supplier?:
1909
+ string;
1431
1910
  /** Identify the full name of the package as given by the Package Originator */
1432
- title?: string;
1911
+ title?:
1912
+ string;
1433
1913
  /**
1434
1914
  * This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in
1435
1915
  * the package) that make up each package and that correlates to the data in this SPDX file
1436
1916
  */
1437
- verificationCode?: string;
1917
+ verificationCode?:
1918
+ string;
1438
1919
  /** Identify the version of the package */
1439
- version?: string;
1920
+ version?:
1921
+ string;
1440
1922
  }
1441
1923
  interface PackageInfoOccurrence {
1442
1924
  /** A place for the SPDX file creator to record any general comments about the package being described */
1443
- comment?: string;
1925
+ comment?:
1926
+ string;
1444
1927
  /** Provide the actual file name of the package, or path of the directory being treated as a package */
1445
- filename?: string;
1928
+ filename?:
1929
+ string;
1446
1930
  /** Output only. Provide a place for the SPDX file creator to record a web site that serves as the package's home page */
1447
- homePage?: string;
1931
+ homePage?:
1932
+ string;
1448
1933
  /** Uniquely identify any element in an SPDX document which may be referenced by other elements */
1449
- id?: string;
1934
+ id?:
1935
+ string;
1450
1936
  /** package or alternative values, if the governing license cannot be determined */
1451
- licenseConcluded?: License;
1937
+ licenseConcluded?:
1938
+ License;
1452
1939
  /** Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc. */
1453
- packageType?: string;
1940
+ packageType?:
1941
+ string;
1454
1942
  /** Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package */
1455
- sourceInfo?: string;
1943
+ sourceInfo?:
1944
+ string;
1456
1945
  /** Output only. A short description of the package */
1457
- summaryDescription?: string;
1946
+ summaryDescription?:
1947
+ string;
1458
1948
  /** Output only. Identify the full name of the package as given by the Package Originator */
1459
- title?: string;
1949
+ title?:
1950
+ string;
1460
1951
  /** Output only. Identify the version of the package */
1461
- version?: string;
1952
+ version?:
1953
+ string;
1462
1954
  }
1463
1955
  interface PackageIssue {
1464
1956
  /** Required. The location of the vulnerability. */
1465
- affectedLocation?: VulnerabilityLocation;
1957
+ affectedLocation?:
1958
+ VulnerabilityLocation;
1466
1959
  /** Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available. */
1467
- effectiveSeverity?: string;
1960
+ effectiveSeverity?:
1961
+ string;
1468
1962
  /** The location of the available fix for vulnerability. */
1469
- fixedLocation?: VulnerabilityLocation;
1963
+ fixedLocation?:
1964
+ VulnerabilityLocation;
1470
1965
  /** The type of package (e.g. OS, MAVEN, GO). */
1471
- packageType?: string;
1966
+ packageType?:
1967
+ string;
1472
1968
  /** Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability. */
1473
- severityName?: string;
1969
+ severityName?:
1970
+ string;
1474
1971
  }
1475
1972
  interface PackagesSummaryResponse {
1476
1973
  /** A listing by license name of each of the licenses and their counts. */
1477
- licensesSummary?: LicensesSummary[];
1974
+ licensesSummary?:
1975
+ LicensesSummary[];
1478
1976
  /** The unique URL of the image or the container for which this summary applies. */
1479
- resourceUrl?: string;
1977
+ resourceUrl?:
1978
+ string;
1480
1979
  }
1481
1980
  interface PgpSignedAttestation {
1482
1981
  /**
1483
1982
  * Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation
1484
1983
  * payload is a valid instantiation of that type (for example by validating a JSON schema).
1485
1984
  */
1486
- contentType?: string;
1985
+ contentType?:
1986
+ string;
1487
1987
  /**
1488
1988
  * The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a
1489
1989
  * 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge "LONG", "SHORT", or other abbreviated
@@ -1491,14 +1991,16 @@ declare namespace gapi.client {
1491
1991
  * --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys attester@example.com tru::1:1513631572:0:3:1:5 pub:......
1492
1992
  * fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
1493
1993
  */
1494
- pgpKeyId?: string;
1994
+ pgpKeyId?:
1995
+ string;
1495
1996
  /**
1496
1997
  * Required. The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed
1497
1998
  * must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign`
1498
1999
  * rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in
1499
2000
  * `signature.gpg` for the `payload.json` attestation payload.
1500
2001
  */
1501
- signature?: string;
2002
+ signature?:
2003
+ string;
1502
2004
  }
1503
2005
  interface Policy {
1504
2006
  /**
@@ -1507,7 +2009,8 @@ declare namespace gapi.client {
1507
2009
  * 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
1508
2010
  * 1,450 principals to the `bindings` in the `Policy`.
1509
2011
  */
1510
- bindings?: Binding[];
2012
+ bindings?:
2013
+ Binding[];
1511
2014
  /**
1512
2015
  * `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
1513
2016
  * 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
@@ -1515,7 +2018,8 @@ declare namespace gapi.client {
1515
2018
  * 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`
1516
2019
  * policy, and all of the conditions in the version `3` policy are lost.
1517
2020
  */
1518
- etag?: string;
2021
+ etag?:
2022
+ string;
1519
2023
  /**
1520
2024
  * 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
1521
2025
  * 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
@@ -1524,118 +2028,156 @@ declare namespace gapi.client {
1524
2028
  * 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
1525
2029
  * 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).
1526
2030
  */
1527
- version?: number;
2031
+ version?:
2032
+ number;
1528
2033
  }
1529
2034
  interface Product {
1530
2035
  /** Contains a URI which is vendor-specific. Example: The artifact repository URL of an image. */
1531
- genericUri?: string;
2036
+ genericUri?:
2037
+ string;
1532
2038
  /**
1533
2039
  * Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the
1534
2040
  * context of the current document.
1535
2041
  */
1536
- id?: string;
2042
+ id?:
2043
+ string;
1537
2044
  /** Name of the product. */
1538
- name?: string;
2045
+ name?:
2046
+ string;
1539
2047
  }
1540
2048
  interface ProjectRepoId {
1541
2049
  /** The ID of the project. */
1542
- projectId?: string;
2050
+ projectId?:
2051
+ string;
1543
2052
  /** The name of the repo. Leave empty for the default repo. */
1544
- repoName?: string;
2053
+ repoName?:
2054
+ string;
1545
2055
  }
1546
2056
  interface Publisher {
1547
2057
  /** Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations. */
1548
- issuingAuthority?: string;
2058
+ issuingAuthority?:
2059
+ string;
1549
2060
  /** Name of the publisher. Examples: 'Google', 'Google Cloud Platform'. */
1550
- name?: string;
2061
+ name?:
2062
+ string;
1551
2063
  /** The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io */
1552
- publisherNamespace?: string;
2064
+ publisherNamespace?:
2065
+ string;
1553
2066
  }
1554
2067
  interface RelatedUrl {
1555
2068
  /** Label to describe usage of the URL. */
1556
- label?: string;
2069
+ label?:
2070
+ string;
1557
2071
  /** Specific URL associated with the resource. */
1558
- url?: string;
2072
+ url?:
2073
+ string;
1559
2074
  }
1560
2075
  interface RelationshipNote {
1561
2076
  /** The type of relationship between the source and target SPDX elements */
1562
- type?: string;
2077
+ type?:
2078
+ string;
1563
2079
  }
1564
2080
  interface RelationshipOccurrence {
1565
2081
  /** A place for the SPDX file creator to record any general comments about the relationship */
1566
- comment?: string;
2082
+ comment?:
2083
+ string;
1567
2084
  /** Also referred to as SPDXRef-A The source SPDX element (file, package, etc) */
1568
- source?: string;
2085
+ source?:
2086
+ string;
1569
2087
  /**
1570
2088
  * Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are "known unknowns", the use of the keyword NOASSERTION can be used The keywords
1571
2089
  * NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
1572
2090
  */
1573
- target?: string;
2091
+ target?:
2092
+ string;
1574
2093
  /** Output only. The type of relationship between the source and target SPDX elements */
1575
- type?: string;
2094
+ type?:
2095
+ string;
1576
2096
  }
1577
2097
  interface Remediation {
1578
2098
  /** Contains a comprehensive human-readable discussion of the remediation. */
1579
- details?: string;
2099
+ details?:
2100
+ string;
1580
2101
  /** The type of remediation that can be applied. */
1581
- remediationType?: string;
2102
+ remediationType?:
2103
+ string;
1582
2104
  /** Contains the URL where to obtain the remediation. */
1583
- remediationUri?: RelatedUrl;
2105
+ remediationUri?:
2106
+ RelatedUrl;
1584
2107
  }
1585
2108
  interface RepoId {
1586
2109
  /** A combination of a project ID and a repo name. */
1587
- projectRepoId?: ProjectRepoId;
2110
+ projectRepoId?:
2111
+ ProjectRepoId;
1588
2112
  /** A server-assigned, globally unique identifier. */
1589
- uid?: string;
2113
+ uid?:
2114
+ string;
1590
2115
  }
1591
2116
  interface Resource {
1592
2117
  /** Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest. */
1593
- contentHash?: Hash;
2118
+ contentHash?:
2119
+ Hash;
1594
2120
  /** Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - "Debian". */
1595
- name?: string;
2121
+ name?:
2122
+ string;
1596
2123
  /** Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image. */
1597
- uri?: string;
2124
+ uri?:
2125
+ string;
1598
2126
  }
1599
2127
  interface SbomReferenceIntotoPayload {
1600
2128
  /** Identifier for the schema of the Statement. */
1601
- _type?: string;
2129
+ _type?:
2130
+ string;
1602
2131
  /** Additional parameters of the Predicate. Includes the actual data about the SBOM. */
1603
- predicate?: SbomReferenceIntotoPredicate;
2132
+ predicate?:
2133
+ SbomReferenceIntotoPredicate;
1604
2134
  /** URI identifying the type of the Predicate. */
1605
- predicateType?: string;
2135
+ predicateType?:
2136
+ string;
1606
2137
  /** Set of software artifacts that the attestation applies to. Each element represents a single software artifact. */
1607
- subject?: Subject[];
2138
+ subject?:
2139
+ Subject[];
1608
2140
  }
1609
2141
  interface SbomReferenceIntotoPredicate {
1610
2142
  /** A map of algorithm to digest of the contents of the SBOM. */
1611
- digest?: { [P in string]: string };
2143
+ digest?:
2144
+ { [P in string]: string };
1612
2145
  /** The location of the SBOM. */
1613
- location?: string;
2146
+ location?:
2147
+ string;
1614
2148
  /** The mime type of the SBOM. */
1615
- mimeType?: string;
2149
+ mimeType?:
2150
+ string;
1616
2151
  /** The person or system referring this predicate to the consumer. */
1617
- referrerId?: string;
2152
+ referrerId?:
2153
+ string;
1618
2154
  }
1619
2155
  interface SBOMReferenceNote {
1620
2156
  /** The format that SBOM takes. E.g. may be spdx, cyclonedx, etc... */
1621
- format?: string;
2157
+ format?:
2158
+ string;
1622
2159
  /** The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3. */
1623
- version?: string;
2160
+ version?:
2161
+ string;
1624
2162
  }
1625
2163
  interface SBOMReferenceOccurrence {
1626
2164
  /** The actual payload that contains the SBOM reference data. */
1627
- payload?: SbomReferenceIntotoPayload;
2165
+ payload?:
2166
+ SbomReferenceIntotoPayload;
1628
2167
  /** The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'. */
1629
- payloadType?: string;
2168
+ payloadType?:
2169
+ string;
1630
2170
  /** The signatures over the payload. */
1631
- signatures?: EnvelopeSignature[];
2171
+ signatures?:
2172
+ EnvelopeSignature[];
1632
2173
  }
1633
2174
  interface SetIamPolicyRequest {
1634
2175
  /**
1635
2176
  * 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
1636
2177
  * services (such as Projects) might reject them.
1637
2178
  */
1638
- policy?: Policy;
2179
+ policy?:
2180
+ Policy;
1639
2181
  }
1640
2182
  interface Signature {
1641
2183
  /**
@@ -1645,391 +2187,543 @@ declare namespace gapi.client {
1645
2187
  * SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" *
1646
2188
  * "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5"
1647
2189
  */
1648
- publicKeyId?: string;
2190
+ publicKeyId?:
2191
+ string;
1649
2192
  /**
1650
2193
  * The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message
1651
2194
  * might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
1652
2195
  */
1653
- signature?: string;
2196
+ signature?:
2197
+ string;
1654
2198
  }
1655
2199
  interface SigningKey {
1656
2200
  /** key_id is an identifier for the signing key. */
1657
- keyId?: string;
2201
+ keyId?:
2202
+ string;
1658
2203
  /** This field contains the corresponding signature scheme. Eg: "rsassa-pss-sha256". */
1659
- keyScheme?: string;
2204
+ keyScheme?:
2205
+ string;
1660
2206
  /** This field identifies the specific signing method. Eg: "rsa", "ed25519", and "ecdsa". */
1661
- keyType?: string;
2207
+ keyType?:
2208
+ string;
1662
2209
  /** This field contains the actual public key. */
1663
- publicKeyValue?: string;
2210
+ publicKeyValue?:
2211
+ string;
1664
2212
  }
1665
2213
  interface Source {
1666
2214
  /**
1667
2215
  * If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will
1668
2216
  * not include the context specified in the context field.
1669
2217
  */
1670
- additionalContexts?: SourceContext[];
2218
+ additionalContexts?:
2219
+ SourceContext[];
1671
2220
  /** If provided, the input binary artifacts for the build came from this location. */
1672
- artifactStorageSourceUri?: string;
2221
+ artifactStorageSourceUri?:
2222
+ string;
1673
2223
  /** If provided, the source code used for the build came from this location. */
1674
- context?: SourceContext;
2224
+ context?:
2225
+ SourceContext;
1675
2226
  /**
1676
2227
  * Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source
1677
2228
  * and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to
1678
2229
  * that file.
1679
2230
  */
1680
- fileHashes?: { [P in string]: FileHashes };
2231
+ fileHashes?:
2232
+ { [P in string]: FileHashes };
1681
2233
  }
1682
2234
  interface SourceContext {
1683
2235
  /** A SourceContext referring to a revision in a Google Cloud Source Repo. */
1684
- cloudRepo?: CloudRepoSourceContext;
2236
+ cloudRepo?:
2237
+ CloudRepoSourceContext;
1685
2238
  /** A SourceContext referring to a Gerrit project. */
1686
- gerrit?: GerritSourceContext;
2239
+ gerrit?:
2240
+ GerritSourceContext;
1687
2241
  /** A SourceContext referring to any third party Git repo (e.g., GitHub). */
1688
- git?: GitSourceContext;
2242
+ git?:
2243
+ GitSourceContext;
1689
2244
  /** Labels with user defined metadata. */
1690
- labels?: { [P in string]: string };
2245
+ labels?:
2246
+ { [P in string]: string };
1691
2247
  }
1692
2248
  interface Status {
1693
2249
  /** The status code, which should be an enum value of google.rpc.Code. */
1694
- code?: number;
2250
+ code?:
2251
+ number;
1695
2252
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1696
- details?: Array<{ [P in string]: any }>;
2253
+ details?:
2254
+ Array<{ [P in string]: any }>;
1697
2255
  /**
1698
2256
  * 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
1699
2257
  * client.
1700
2258
  */
1701
- message?: string;
2259
+ message?:
2260
+ string;
1702
2261
  }
1703
2262
  interface Subject {
1704
2263
  /** `"": ""` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet */
1705
- digest?: { [P in string]: string };
2264
+ digest?:
2265
+ { [P in string]: string };
1706
2266
  /** Identifier to distinguish this artifact from others within the subject. */
1707
- name?: string;
2267
+ name?:
2268
+ string;
1708
2269
  }
1709
2270
  interface TestIamPermissionsRequest {
1710
2271
  /**
1711
2272
  * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
1712
2273
  * Overview](https://cloud.google.com/iam/docs/overview#permissions).
1713
2274
  */
1714
- permissions?: string[];
2275
+ permissions?:
2276
+ string[];
1715
2277
  }
1716
2278
  interface TestIamPermissionsResponse {
1717
2279
  /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
1718
- permissions?: string[];
2280
+ permissions?:
2281
+ string[];
1719
2282
  }
1720
2283
  interface TimeSpan {
1721
2284
  /** End of time span. */
1722
- endTime?: string;
2285
+ endTime?:
2286
+ string;
1723
2287
  /** Start of time span. */
1724
- startTime?: string;
2288
+ startTime?:
2289
+ string;
1725
2290
  }
1726
2291
  interface Version {
1727
2292
  /** Used to correct mistakes in the version numbering scheme. */
1728
- epoch?: number;
2293
+ epoch?:
2294
+ number;
1729
2295
  /**
1730
2296
  * Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and
1731
2297
  * end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set
1732
2298
  * to true when the version is included in a range.
1733
2299
  */
1734
- inclusive?: boolean;
2300
+ inclusive?:
2301
+ boolean;
1735
2302
  /** Required. Distinguishes between sentinel MIN/MAX versions and normal versions. */
1736
- kind?: string;
2303
+ kind?:
2304
+ string;
1737
2305
  /** Required only when version kind is NORMAL. The main part of the version name. */
1738
- name?: string;
2306
+ name?:
2307
+ string;
1739
2308
  /** The iteration of the package build from the above version. */
1740
- revision?: string;
2309
+ revision?:
2310
+ string;
1741
2311
  }
1742
2312
  interface VexAssessment {
1743
2313
  /** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
1744
- cve?: string;
2314
+ cve?:
2315
+ string;
1745
2316
  /** Contains information about the impact of this vulnerability, this will change with time. */
1746
- impacts?: string[];
2317
+ impacts?:
2318
+ string[];
1747
2319
  /** Justification provides the justification when the state of the assessment if NOT_AFFECTED. */
1748
- justification?: Justification;
2320
+ justification?:
2321
+ Justification;
1749
2322
  /** The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`. */
1750
- noteName?: string;
2323
+ noteName?:
2324
+ string;
1751
2325
  /** Holds a list of references associated with this vulnerability item and assessment. */
1752
- relatedUris?: RelatedUrl[];
2326
+ relatedUris?:
2327
+ RelatedUrl[];
1753
2328
  /** Specifies details on how to handle (and presumably, fix) a vulnerability. */
1754
- remediations?: Remediation[];
2329
+ remediations?:
2330
+ Remediation[];
1755
2331
  /** Provides the state of this Vulnerability assessment. */
1756
- state?: string;
2332
+ state?:
2333
+ string;
1757
2334
  }
1758
2335
  interface Volume {
1759
2336
  /** Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps. */
1760
- name?: string;
2337
+ name?:
2338
+ string;
1761
2339
  /** Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths. */
1762
- path?: string;
2340
+ path?:
2341
+ string;
1763
2342
  }
1764
2343
  interface Vulnerability {
1765
2344
  /** The CVSS score for this vulnerability. */
1766
- cvssScore?: number;
2345
+ cvssScore?:
2346
+ number;
1767
2347
  /** The full description of the CVSS for version 2. */
1768
- cvssV2?: CVSS;
2348
+ cvssV2?:
2349
+ CVSS;
1769
2350
  /** The full description of the CVSS for version 3. */
1770
- cvssV3?: CVSSv3;
2351
+ cvssV3?:
2352
+ CVSSv3;
1771
2353
  /** CVSS version used to populate cvss_score and severity. */
1772
- cvssVersion?: string;
2354
+ cvssVersion?:
2355
+ string;
1773
2356
  /** A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html */
1774
- cwe?: string[];
2357
+ cwe?:
2358
+ string[];
1775
2359
  /** All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in. */
1776
- details?: Detail[];
2360
+ details?:
2361
+ Detail[];
1777
2362
  /** Note provider assigned impact of the vulnerability. */
1778
- severity?: string;
2363
+ severity?:
2364
+ string;
1779
2365
  /** The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker. */
1780
- sourceUpdateTime?: string;
2366
+ sourceUpdateTime?:
2367
+ string;
1781
2368
  /**
1782
2369
  * Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows
1783
2370
  * vulnerabilities really are a missing package, rather than a package being at an incorrect version.
1784
2371
  */
1785
- windowsDetails?: WindowsDetail[];
2372
+ windowsDetails?:
2373
+ WindowsDetail[];
1786
2374
  }
1787
2375
  interface VulnerabilityAssessmentNote {
1788
2376
  /** Represents a vulnerability assessment for the product. */
1789
- assessment?: Assessment;
2377
+ assessment?:
2378
+ Assessment;
1790
2379
  /** Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646. */
1791
- languageCode?: string;
2380
+ languageCode?:
2381
+ string;
1792
2382
  /** A detailed description of this Vex. */
1793
- longDescription?: string;
2383
+ longDescription?:
2384
+ string;
1794
2385
  /** The product affected by this vex. */
1795
- product?: Product;
2386
+ product?:
2387
+ Product;
1796
2388
  /** Publisher details of this Note. */
1797
- publisher?: Publisher;
2389
+ publisher?:
2390
+ Publisher;
1798
2391
  /** A one sentence description of this Vex. */
1799
- shortDescription?: string;
2392
+ shortDescription?:
2393
+ string;
1800
2394
  /** The title of the note. E.g. `Vex-Debian-11.4` */
1801
- title?: string;
2395
+ title?:
2396
+ string;
1802
2397
  }
1803
2398
  interface VulnerabilityLocation {
1804
2399
  /** Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. */
1805
- cpeUri?: string;
2400
+ cpeUri?:
2401
+ string;
1806
2402
  /** Required. The package being described. */
1807
- package?: string;
2403
+ package?:
2404
+ string;
1808
2405
  /** Required. The version of the package being described. */
1809
- version?: Version;
2406
+ version?:
2407
+ Version;
1810
2408
  }
1811
2409
  interface VulnerabilityOccurrencesSummary {
1812
2410
  /** A listing by resource of the number of fixable and total vulnerabilities. */
1813
- counts?: FixableTotalByDigest[];
2411
+ counts?:
2412
+ FixableTotalByDigest[];
1814
2413
  }
1815
2414
  interface WindowsDetail {
1816
2415
  /** Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. */
1817
- cpeUri?: string;
2416
+ cpeUri?:
2417
+ string;
1818
2418
  /** The description of the vulnerability. */
1819
- description?: string;
2419
+ description?:
2420
+ string;
1820
2421
  /**
1821
2422
  * Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given
1822
2423
  * vulnerability. Currently any listed kb's presence is considered a fix.
1823
2424
  */
1824
- fixingKbs?: KnowledgeBase[];
2425
+ fixingKbs?:
2426
+ KnowledgeBase[];
1825
2427
  /** Required. The name of the vulnerability. */
1826
- name?: string;
2428
+ name?:
2429
+ string;
1827
2430
  }
1828
2431
  interface OccurrencesResource {
1829
2432
  /** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
1830
2433
  list(request?: {
1831
2434
  /** V1 error format. */
1832
- "$.xgafv"?: string;
2435
+ "$.xgafv"?:
2436
+ string;
1833
2437
  /** OAuth access token. */
1834
- access_token?: string;
2438
+ access_token?:
2439
+ string;
1835
2440
  /** Data format for response. */
1836
- alt?: string;
2441
+ alt?:
2442
+ string;
1837
2443
  /** JSONP */
1838
- callback?: string;
2444
+ callback?:
2445
+ string;
1839
2446
  /** Selector specifying which fields to include in a partial response. */
1840
- fields?: string;
2447
+ fields?:
2448
+ string;
1841
2449
  /** The filter expression. */
1842
- filter?: string;
2450
+ filter?:
2451
+ string;
1843
2452
  /** 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. */
1844
- key?: string;
2453
+ key?:
2454
+ string;
1845
2455
  /** Required. The name of the note to list occurrences for in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1846
- name: string;
2456
+ name:
2457
+ string;
1847
2458
  /** OAuth 2.0 token for the current user. */
1848
- oauth_token?: string;
2459
+ oauth_token?:
2460
+ string;
1849
2461
  /** Number of occurrences to return in the list. */
1850
- pageSize?: number;
2462
+ pageSize?:
2463
+ number;
1851
2464
  /** Token to provide to skip to a particular spot in the list. */
1852
- pageToken?: string;
2465
+ pageToken?:
2466
+ string;
1853
2467
  /** Returns response with indentations and line breaks. */
1854
- prettyPrint?: boolean;
2468
+ prettyPrint?:
2469
+ boolean;
1855
2470
  /** 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. */
1856
- quotaUser?: string;
2471
+ quotaUser?:
2472
+ string;
1857
2473
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1858
- upload_protocol?: string;
2474
+ upload_protocol?:
2475
+ string;
1859
2476
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1860
- uploadType?: string;
2477
+ uploadType?:
2478
+ string;
1861
2479
  }): Request<ListNoteOccurrencesResponse>;
1862
2480
  }
1863
2481
  interface NotesResource {
1864
2482
  /** Creates new notes in batch. */
1865
2483
  batchCreate(request: {
1866
2484
  /** V1 error format. */
1867
- "$.xgafv"?: string;
2485
+ "$.xgafv"?:
2486
+ string;
1868
2487
  /** OAuth access token. */
1869
- access_token?: string;
2488
+ access_token?:
2489
+ string;
1870
2490
  /** Data format for response. */
1871
- alt?: string;
2491
+ alt?:
2492
+ string;
1872
2493
  /** JSONP */
1873
- callback?: string;
2494
+ callback?:
2495
+ string;
1874
2496
  /** Selector specifying which fields to include in a partial response. */
1875
- fields?: string;
2497
+ fields?:
2498
+ string;
1876
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. */
1877
- key?: string;
2500
+ key?:
2501
+ string;
1878
2502
  /** OAuth 2.0 token for the current user. */
1879
- oauth_token?: string;
2503
+ oauth_token?:
2504
+ string;
1880
2505
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
1881
- parent: string;
2506
+ parent:
2507
+ string;
1882
2508
  /** Returns response with indentations and line breaks. */
1883
- prettyPrint?: boolean;
2509
+ prettyPrint?:
2510
+ boolean;
1884
2511
  /** 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. */
1885
- quotaUser?: string;
2512
+ quotaUser?:
2513
+ string;
1886
2514
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1887
- upload_protocol?: string;
2515
+ upload_protocol?:
2516
+ string;
1888
2517
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1889
- uploadType?: string;
2518
+ uploadType?:
2519
+ string;
1890
2520
  /** Request body */
1891
- resource: BatchCreateNotesRequest;
2521
+ resource:
2522
+ BatchCreateNotesRequest;
1892
2523
  }): Request<BatchCreateNotesResponse>;
1893
2524
  batchCreate(request: {
1894
2525
  /** V1 error format. */
1895
- "$.xgafv"?: string;
2526
+ "$.xgafv"?:
2527
+ string;
1896
2528
  /** OAuth access token. */
1897
- access_token?: string;
2529
+ access_token?:
2530
+ string;
1898
2531
  /** Data format for response. */
1899
- alt?: string;
2532
+ alt?:
2533
+ string;
1900
2534
  /** JSONP */
1901
- callback?: string;
2535
+ callback?:
2536
+ string;
1902
2537
  /** Selector specifying which fields to include in a partial response. */
1903
- fields?: string;
2538
+ fields?:
2539
+ string;
1904
2540
  /** 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. */
1905
- key?: string;
2541
+ key?:
2542
+ string;
1906
2543
  /** OAuth 2.0 token for the current user. */
1907
- oauth_token?: string;
2544
+ oauth_token?:
2545
+ string;
1908
2546
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
1909
- parent: string;
2547
+ parent:
2548
+ string;
1910
2549
  /** Returns response with indentations and line breaks. */
1911
- prettyPrint?: boolean;
2550
+ prettyPrint?:
2551
+ boolean;
1912
2552
  /** 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. */
1913
- quotaUser?: string;
2553
+ quotaUser?:
2554
+ string;
1914
2555
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1915
- upload_protocol?: string;
2556
+ upload_protocol?:
2557
+ string;
1916
2558
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1917
- uploadType?: string;
2559
+ uploadType?:
2560
+ string;
1918
2561
  },
1919
2562
  body: BatchCreateNotesRequest): Request<BatchCreateNotesResponse>;
1920
2563
  /** Creates a new note. */
1921
2564
  create(request: {
1922
2565
  /** V1 error format. */
1923
- "$.xgafv"?: string;
2566
+ "$.xgafv"?:
2567
+ string;
1924
2568
  /** OAuth access token. */
1925
- access_token?: string;
2569
+ access_token?:
2570
+ string;
1926
2571
  /** Data format for response. */
1927
- alt?: string;
2572
+ alt?:
2573
+ string;
1928
2574
  /** JSONP */
1929
- callback?: string;
2575
+ callback?:
2576
+ string;
1930
2577
  /** Selector specifying which fields to include in a partial response. */
1931
- fields?: string;
2578
+ fields?:
2579
+ string;
1932
2580
  /** 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. */
1933
- key?: string;
2581
+ key?:
2582
+ string;
1934
2583
  /** Required. The ID to use for this note. */
1935
- noteId?: string;
2584
+ noteId?:
2585
+ string;
1936
2586
  /** OAuth 2.0 token for the current user. */
1937
- oauth_token?: string;
2587
+ oauth_token?:
2588
+ string;
1938
2589
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
1939
- parent: string;
2590
+ parent:
2591
+ string;
1940
2592
  /** Returns response with indentations and line breaks. */
1941
- prettyPrint?: boolean;
2593
+ prettyPrint?:
2594
+ boolean;
1942
2595
  /** 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. */
1943
- quotaUser?: string;
2596
+ quotaUser?:
2597
+ string;
1944
2598
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1945
- upload_protocol?: string;
2599
+ upload_protocol?:
2600
+ string;
1946
2601
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1947
- uploadType?: string;
2602
+ uploadType?:
2603
+ string;
1948
2604
  /** Request body */
1949
- resource: Note;
2605
+ resource:
2606
+ Note;
1950
2607
  }): Request<Note>;
1951
2608
  create(request: {
1952
2609
  /** V1 error format. */
1953
- "$.xgafv"?: string;
2610
+ "$.xgafv"?:
2611
+ string;
1954
2612
  /** OAuth access token. */
1955
- access_token?: string;
2613
+ access_token?:
2614
+ string;
1956
2615
  /** Data format for response. */
1957
- alt?: string;
2616
+ alt?:
2617
+ string;
1958
2618
  /** JSONP */
1959
- callback?: string;
2619
+ callback?:
2620
+ string;
1960
2621
  /** Selector specifying which fields to include in a partial response. */
1961
- fields?: string;
2622
+ fields?:
2623
+ string;
1962
2624
  /** 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. */
1963
- key?: string;
2625
+ key?:
2626
+ string;
1964
2627
  /** Required. The ID to use for this note. */
1965
- noteId?: string;
2628
+ noteId?:
2629
+ string;
1966
2630
  /** OAuth 2.0 token for the current user. */
1967
- oauth_token?: string;
2631
+ oauth_token?:
2632
+ string;
1968
2633
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
1969
- parent: string;
2634
+ parent:
2635
+ string;
1970
2636
  /** Returns response with indentations and line breaks. */
1971
- prettyPrint?: boolean;
2637
+ prettyPrint?:
2638
+ boolean;
1972
2639
  /** 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. */
1973
- quotaUser?: string;
2640
+ quotaUser?:
2641
+ string;
1974
2642
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1975
- upload_protocol?: string;
2643
+ upload_protocol?:
2644
+ string;
1976
2645
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1977
- uploadType?: string;
2646
+ uploadType?:
2647
+ string;
1978
2648
  },
1979
2649
  body: Note): Request<Note>;
1980
2650
  /** Deletes the specified note. */
1981
2651
  delete(request?: {
1982
2652
  /** V1 error format. */
1983
- "$.xgafv"?: string;
2653
+ "$.xgafv"?:
2654
+ string;
1984
2655
  /** OAuth access token. */
1985
- access_token?: string;
2656
+ access_token?:
2657
+ string;
1986
2658
  /** Data format for response. */
1987
- alt?: string;
2659
+ alt?:
2660
+ string;
1988
2661
  /** JSONP */
1989
- callback?: string;
2662
+ callback?:
2663
+ string;
1990
2664
  /** Selector specifying which fields to include in a partial response. */
1991
- fields?: string;
2665
+ fields?:
2666
+ string;
1992
2667
  /** 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. */
1993
- key?: string;
2668
+ key?:
2669
+ string;
1994
2670
  /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1995
- name: string;
2671
+ name:
2672
+ string;
1996
2673
  /** OAuth 2.0 token for the current user. */
1997
- oauth_token?: string;
2674
+ oauth_token?:
2675
+ string;
1998
2676
  /** Returns response with indentations and line breaks. */
1999
- prettyPrint?: boolean;
2677
+ prettyPrint?:
2678
+ boolean;
2000
2679
  /** 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. */
2001
- quotaUser?: string;
2680
+ quotaUser?:
2681
+ string;
2002
2682
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2003
- upload_protocol?: string;
2683
+ upload_protocol?:
2684
+ string;
2004
2685
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2005
- uploadType?: string;
2686
+ uploadType?:
2687
+ string;
2006
2688
  }): Request<{}>;
2007
2689
  /** Gets the specified note. */
2008
2690
  get(request?: {
2009
2691
  /** V1 error format. */
2010
- "$.xgafv"?: string;
2692
+ "$.xgafv"?:
2693
+ string;
2011
2694
  /** OAuth access token. */
2012
- access_token?: string;
2695
+ access_token?:
2696
+ string;
2013
2697
  /** Data format for response. */
2014
- alt?: string;
2698
+ alt?:
2699
+ string;
2015
2700
  /** JSONP */
2016
- callback?: string;
2701
+ callback?:
2702
+ string;
2017
2703
  /** Selector specifying which fields to include in a partial response. */
2018
- fields?: string;
2704
+ fields?:
2705
+ string;
2019
2706
  /** 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. */
2020
- key?: string;
2707
+ key?:
2708
+ string;
2021
2709
  /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
2022
- name: string;
2710
+ name:
2711
+ string;
2023
2712
  /** OAuth 2.0 token for the current user. */
2024
- oauth_token?: string;
2713
+ oauth_token?:
2714
+ string;
2025
2715
  /** Returns response with indentations and line breaks. */
2026
- prettyPrint?: boolean;
2716
+ prettyPrint?:
2717
+ boolean;
2027
2718
  /** 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. */
2028
- quotaUser?: string;
2719
+ quotaUser?:
2720
+ string;
2029
2721
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2030
- upload_protocol?: string;
2722
+ upload_protocol?:
2723
+ string;
2031
2724
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2032
- uploadType?: string;
2725
+ uploadType?:
2726
+ string;
2033
2727
  }): Request<Note>;
2034
2728
  /**
2035
2729
  * Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if
@@ -2038,125 +2732,179 @@ declare namespace gapi.client {
2038
2732
  */
2039
2733
  getIamPolicy(request: {
2040
2734
  /** V1 error format. */
2041
- "$.xgafv"?: string;
2735
+ "$.xgafv"?:
2736
+ string;
2042
2737
  /** OAuth access token. */
2043
- access_token?: string;
2738
+ access_token?:
2739
+ string;
2044
2740
  /** Data format for response. */
2045
- alt?: string;
2741
+ alt?:
2742
+ string;
2046
2743
  /** JSONP */
2047
- callback?: string;
2744
+ callback?:
2745
+ string;
2048
2746
  /** Selector specifying which fields to include in a partial response. */
2049
- fields?: string;
2747
+ fields?:
2748
+ string;
2050
2749
  /** 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. */
2051
- key?: string;
2750
+ key?:
2751
+ string;
2052
2752
  /** OAuth 2.0 token for the current user. */
2053
- oauth_token?: string;
2753
+ oauth_token?:
2754
+ string;
2054
2755
  /** Returns response with indentations and line breaks. */
2055
- prettyPrint?: boolean;
2756
+ prettyPrint?:
2757
+ boolean;
2056
2758
  /** 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. */
2057
- quotaUser?: string;
2759
+ quotaUser?:
2760
+ string;
2058
2761
  /**
2059
2762
  * 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
2060
2763
  * field.
2061
2764
  */
2062
- resource: string;
2765
+ resource:
2766
+ string;
2063
2767
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2064
- upload_protocol?: string;
2768
+ upload_protocol?:
2769
+ string;
2065
2770
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2066
- uploadType?: string;
2771
+ uploadType?:
2772
+ string;
2067
2773
  },
2068
2774
  body: GetIamPolicyRequest): Request<Policy>;
2069
2775
  /** Lists notes for the specified project. */
2070
2776
  list(request?: {
2071
2777
  /** V1 error format. */
2072
- "$.xgafv"?: string;
2778
+ "$.xgafv"?:
2779
+ string;
2073
2780
  /** OAuth access token. */
2074
- access_token?: string;
2781
+ access_token?:
2782
+ string;
2075
2783
  /** Data format for response. */
2076
- alt?: string;
2784
+ alt?:
2785
+ string;
2077
2786
  /** JSONP */
2078
- callback?: string;
2787
+ callback?:
2788
+ string;
2079
2789
  /** Selector specifying which fields to include in a partial response. */
2080
- fields?: string;
2790
+ fields?:
2791
+ string;
2081
2792
  /** The filter expression. */
2082
- filter?: string;
2793
+ filter?:
2794
+ string;
2083
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. */
2084
- key?: string;
2796
+ key?:
2797
+ string;
2085
2798
  /** OAuth 2.0 token for the current user. */
2086
- oauth_token?: string;
2799
+ oauth_token?:
2800
+ string;
2087
2801
  /** Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20. */
2088
- pageSize?: number;
2802
+ pageSize?:
2803
+ number;
2089
2804
  /** Token to provide to skip to a particular spot in the list. */
2090
- pageToken?: string;
2805
+ pageToken?:
2806
+ string;
2091
2807
  /** Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. */
2092
- parent: string;
2808
+ parent:
2809
+ string;
2093
2810
  /** Returns response with indentations and line breaks. */
2094
- prettyPrint?: boolean;
2811
+ prettyPrint?:
2812
+ boolean;
2095
2813
  /** 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. */
2096
- quotaUser?: string;
2814
+ quotaUser?:
2815
+ string;
2097
2816
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2098
- upload_protocol?: string;
2817
+ upload_protocol?:
2818
+ string;
2099
2819
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2100
- uploadType?: string;
2820
+ uploadType?:
2821
+ string;
2101
2822
  }): Request<ListNotesResponse>;
2102
2823
  /** Updates the specified note. */
2103
2824
  patch(request: {
2104
2825
  /** V1 error format. */
2105
- "$.xgafv"?: string;
2826
+ "$.xgafv"?:
2827
+ string;
2106
2828
  /** OAuth access token. */
2107
- access_token?: string;
2829
+ access_token?:
2830
+ string;
2108
2831
  /** Data format for response. */
2109
- alt?: string;
2832
+ alt?:
2833
+ string;
2110
2834
  /** JSONP */
2111
- callback?: string;
2835
+ callback?:
2836
+ string;
2112
2837
  /** Selector specifying which fields to include in a partial response. */
2113
- fields?: string;
2838
+ fields?:
2839
+ string;
2114
2840
  /** 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. */
2115
- key?: string;
2841
+ key?:
2842
+ string;
2116
2843
  /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
2117
- name: string;
2844
+ name:
2845
+ string;
2118
2846
  /** OAuth 2.0 token for the current user. */
2119
- oauth_token?: string;
2847
+ oauth_token?:
2848
+ string;
2120
2849
  /** Returns response with indentations and line breaks. */
2121
- prettyPrint?: boolean;
2850
+ prettyPrint?:
2851
+ boolean;
2122
2852
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2123
- quotaUser?: string;
2853
+ quotaUser?:
2854
+ string;
2124
2855
  /** The fields to update. */
2125
- updateMask?: string;
2856
+ updateMask?:
2857
+ string;
2126
2858
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2127
- upload_protocol?: string;
2859
+ upload_protocol?:
2860
+ string;
2128
2861
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2129
- uploadType?: string;
2862
+ uploadType?:
2863
+ string;
2130
2864
  /** Request body */
2131
- resource: Note;
2865
+ resource:
2866
+ Note;
2132
2867
  }): Request<Note>;
2133
2868
  patch(request: {
2134
2869
  /** V1 error format. */
2135
- "$.xgafv"?: string;
2870
+ "$.xgafv"?:
2871
+ string;
2136
2872
  /** OAuth access token. */
2137
- access_token?: string;
2873
+ access_token?:
2874
+ string;
2138
2875
  /** Data format for response. */
2139
- alt?: string;
2876
+ alt?:
2877
+ string;
2140
2878
  /** JSONP */
2141
- callback?: string;
2879
+ callback?:
2880
+ string;
2142
2881
  /** Selector specifying which fields to include in a partial response. */
2143
- fields?: string;
2882
+ fields?:
2883
+ string;
2144
2884
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2145
- key?: string;
2885
+ key?:
2886
+ string;
2146
2887
  /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
2147
- name: string;
2888
+ name:
2889
+ string;
2148
2890
  /** OAuth 2.0 token for the current user. */
2149
- oauth_token?: string;
2891
+ oauth_token?:
2892
+ string;
2150
2893
  /** Returns response with indentations and line breaks. */
2151
- prettyPrint?: boolean;
2894
+ prettyPrint?:
2895
+ boolean;
2152
2896
  /** 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. */
2153
- quotaUser?: string;
2897
+ quotaUser?:
2898
+ string;
2154
2899
  /** The fields to update. */
2155
- updateMask?: string;
2900
+ updateMask?:
2901
+ string;
2156
2902
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2157
- upload_protocol?: string;
2903
+ upload_protocol?:
2904
+ string;
2158
2905
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2159
- uploadType?: string;
2906
+ uploadType?:
2907
+ string;
2160
2908
  },
2161
2909
  body: Note): Request<Note>;
2162
2910
  /**
@@ -2166,32 +2914,44 @@ declare namespace gapi.client {
2166
2914
  */
2167
2915
  setIamPolicy(request: {
2168
2916
  /** V1 error format. */
2169
- "$.xgafv"?: string;
2917
+ "$.xgafv"?:
2918
+ string;
2170
2919
  /** OAuth access token. */
2171
- access_token?: string;
2920
+ access_token?:
2921
+ string;
2172
2922
  /** Data format for response. */
2173
- alt?: string;
2923
+ alt?:
2924
+ string;
2174
2925
  /** JSONP */
2175
- callback?: string;
2926
+ callback?:
2927
+ string;
2176
2928
  /** Selector specifying which fields to include in a partial response. */
2177
- fields?: string;
2929
+ fields?:
2930
+ string;
2178
2931
  /** 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. */
2179
- key?: string;
2932
+ key?:
2933
+ string;
2180
2934
  /** OAuth 2.0 token for the current user. */
2181
- oauth_token?: string;
2935
+ oauth_token?:
2936
+ string;
2182
2937
  /** Returns response with indentations and line breaks. */
2183
- prettyPrint?: boolean;
2938
+ prettyPrint?:
2939
+ boolean;
2184
2940
  /** 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;
2941
+ quotaUser?:
2942
+ string;
2186
2943
  /**
2187
2944
  * 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
2188
2945
  * field.
2189
2946
  */
2190
- resource: string;
2947
+ resource:
2948
+ string;
2191
2949
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2192
- upload_protocol?: string;
2950
+ upload_protocol?:
2951
+ string;
2193
2952
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2194
- uploadType?: string;
2953
+ uploadType?:
2954
+ string;
2195
2955
  },
2196
2956
  body: SetIamPolicyRequest): Request<Policy>;
2197
2957
  /**
@@ -2200,202 +2960,289 @@ declare namespace gapi.client {
2200
2960
  */
2201
2961
  testIamPermissions(request: {
2202
2962
  /** V1 error format. */
2203
- "$.xgafv"?: string;
2963
+ "$.xgafv"?:
2964
+ string;
2204
2965
  /** OAuth access token. */
2205
- access_token?: string;
2966
+ access_token?:
2967
+ string;
2206
2968
  /** Data format for response. */
2207
- alt?: string;
2969
+ alt?:
2970
+ string;
2208
2971
  /** JSONP */
2209
- callback?: string;
2972
+ callback?:
2973
+ string;
2210
2974
  /** Selector specifying which fields to include in a partial response. */
2211
- fields?: string;
2975
+ fields?:
2976
+ string;
2212
2977
  /** 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. */
2213
- key?: string;
2978
+ key?:
2979
+ string;
2214
2980
  /** OAuth 2.0 token for the current user. */
2215
- oauth_token?: string;
2981
+ oauth_token?:
2982
+ string;
2216
2983
  /** Returns response with indentations and line breaks. */
2217
- prettyPrint?: boolean;
2984
+ prettyPrint?:
2985
+ boolean;
2218
2986
  /** 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. */
2219
- quotaUser?: string;
2987
+ quotaUser?:
2988
+ string;
2220
2989
  /**
2221
2990
  * 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
2222
2991
  * this field.
2223
2992
  */
2224
- resource: string;
2993
+ resource:
2994
+ string;
2225
2995
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2226
- upload_protocol?: string;
2996
+ upload_protocol?:
2997
+ string;
2227
2998
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2228
- uploadType?: string;
2999
+ uploadType?:
3000
+ string;
2229
3001
  },
2230
3002
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
2231
- occurrences: OccurrencesResource;
3003
+ occurrences:
3004
+ OccurrencesResource;
2232
3005
  }
2233
3006
  interface OccurrencesResource {
2234
3007
  /** Creates new occurrences in batch. */
2235
3008
  batchCreate(request: {
2236
3009
  /** V1 error format. */
2237
- "$.xgafv"?: string;
3010
+ "$.xgafv"?:
3011
+ string;
2238
3012
  /** OAuth access token. */
2239
- access_token?: string;
3013
+ access_token?:
3014
+ string;
2240
3015
  /** Data format for response. */
2241
- alt?: string;
3016
+ alt?:
3017
+ string;
2242
3018
  /** JSONP */
2243
- callback?: string;
3019
+ callback?:
3020
+ string;
2244
3021
  /** Selector specifying which fields to include in a partial response. */
2245
- fields?: string;
3022
+ fields?:
3023
+ string;
2246
3024
  /** 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. */
2247
- key?: string;
3025
+ key?:
3026
+ string;
2248
3027
  /** OAuth 2.0 token for the current user. */
2249
- oauth_token?: string;
3028
+ oauth_token?:
3029
+ string;
2250
3030
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
2251
- parent: string;
3031
+ parent:
3032
+ string;
2252
3033
  /** Returns response with indentations and line breaks. */
2253
- prettyPrint?: boolean;
3034
+ prettyPrint?:
3035
+ boolean;
2254
3036
  /** 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. */
2255
- quotaUser?: string;
3037
+ quotaUser?:
3038
+ string;
2256
3039
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2257
- upload_protocol?: string;
3040
+ upload_protocol?:
3041
+ string;
2258
3042
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2259
- uploadType?: string;
3043
+ uploadType?:
3044
+ string;
2260
3045
  /** Request body */
2261
- resource: BatchCreateOccurrencesRequest;
3046
+ resource:
3047
+ BatchCreateOccurrencesRequest;
2262
3048
  }): Request<BatchCreateOccurrencesResponse>;
2263
3049
  batchCreate(request: {
2264
3050
  /** V1 error format. */
2265
- "$.xgafv"?: string;
3051
+ "$.xgafv"?:
3052
+ string;
2266
3053
  /** OAuth access token. */
2267
- access_token?: string;
3054
+ access_token?:
3055
+ string;
2268
3056
  /** Data format for response. */
2269
- alt?: string;
3057
+ alt?:
3058
+ string;
2270
3059
  /** JSONP */
2271
- callback?: string;
3060
+ callback?:
3061
+ string;
2272
3062
  /** Selector specifying which fields to include in a partial response. */
2273
- fields?: string;
3063
+ fields?:
3064
+ string;
2274
3065
  /** 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. */
2275
- key?: string;
3066
+ key?:
3067
+ string;
2276
3068
  /** OAuth 2.0 token for the current user. */
2277
- oauth_token?: string;
3069
+ oauth_token?:
3070
+ string;
2278
3071
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
2279
- parent: string;
3072
+ parent:
3073
+ string;
2280
3074
  /** Returns response with indentations and line breaks. */
2281
- prettyPrint?: boolean;
3075
+ prettyPrint?:
3076
+ boolean;
2282
3077
  /** 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. */
2283
- quotaUser?: string;
3078
+ quotaUser?:
3079
+ string;
2284
3080
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2285
- upload_protocol?: string;
3081
+ upload_protocol?:
3082
+ string;
2286
3083
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2287
- uploadType?: string;
3084
+ uploadType?:
3085
+ string;
2288
3086
  },
2289
3087
  body: BatchCreateOccurrencesRequest): Request<BatchCreateOccurrencesResponse>;
2290
3088
  /** Creates a new occurrence. */
2291
3089
  create(request: {
2292
3090
  /** V1 error format. */
2293
- "$.xgafv"?: string;
3091
+ "$.xgafv"?:
3092
+ string;
2294
3093
  /** OAuth access token. */
2295
- access_token?: string;
3094
+ access_token?:
3095
+ string;
2296
3096
  /** Data format for response. */
2297
- alt?: string;
3097
+ alt?:
3098
+ string;
2298
3099
  /** JSONP */
2299
- callback?: string;
3100
+ callback?:
3101
+ string;
2300
3102
  /** Selector specifying which fields to include in a partial response. */
2301
- fields?: string;
3103
+ fields?:
3104
+ string;
2302
3105
  /** 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. */
2303
- key?: string;
3106
+ key?:
3107
+ string;
2304
3108
  /** OAuth 2.0 token for the current user. */
2305
- oauth_token?: string;
3109
+ oauth_token?:
3110
+ string;
2306
3111
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. */
2307
- parent: string;
3112
+ parent:
3113
+ string;
2308
3114
  /** Returns response with indentations and line breaks. */
2309
- prettyPrint?: boolean;
3115
+ prettyPrint?:
3116
+ boolean;
2310
3117
  /** 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. */
2311
- quotaUser?: string;
3118
+ quotaUser?:
3119
+ string;
2312
3120
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2313
- upload_protocol?: string;
3121
+ upload_protocol?:
3122
+ string;
2314
3123
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2315
- uploadType?: string;
3124
+ uploadType?:
3125
+ string;
2316
3126
  /** Request body */
2317
- resource: Occurrence;
3127
+ resource:
3128
+ Occurrence;
2318
3129
  }): Request<Occurrence>;
2319
3130
  create(request: {
2320
3131
  /** V1 error format. */
2321
- "$.xgafv"?: string;
3132
+ "$.xgafv"?:
3133
+ string;
2322
3134
  /** OAuth access token. */
2323
- access_token?: string;
3135
+ access_token?:
3136
+ string;
2324
3137
  /** Data format for response. */
2325
- alt?: string;
3138
+ alt?:
3139
+ string;
2326
3140
  /** JSONP */
2327
- callback?: string;
3141
+ callback?:
3142
+ string;
2328
3143
  /** Selector specifying which fields to include in a partial response. */
2329
- fields?: string;
3144
+ fields?:
3145
+ string;
2330
3146
  /** 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. */
2331
- key?: string;
3147
+ key?:
3148
+ string;
2332
3149
  /** OAuth 2.0 token for the current user. */
2333
- oauth_token?: string;
3150
+ oauth_token?:
3151
+ string;
2334
3152
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. */
2335
- parent: string;
3153
+ parent:
3154
+ string;
2336
3155
  /** Returns response with indentations and line breaks. */
2337
- prettyPrint?: boolean;
3156
+ prettyPrint?:
3157
+ boolean;
2338
3158
  /** 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. */
2339
- quotaUser?: string;
3159
+ quotaUser?:
3160
+ string;
2340
3161
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2341
- upload_protocol?: string;
3162
+ upload_protocol?:
3163
+ string;
2342
3164
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2343
- uploadType?: string;
3165
+ uploadType?:
3166
+ string;
2344
3167
  },
2345
3168
  body: Occurrence): Request<Occurrence>;
2346
3169
  /** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
2347
3170
  delete(request?: {
2348
3171
  /** V1 error format. */
2349
- "$.xgafv"?: string;
3172
+ "$.xgafv"?:
3173
+ string;
2350
3174
  /** OAuth access token. */
2351
- access_token?: string;
3175
+ access_token?:
3176
+ string;
2352
3177
  /** Data format for response. */
2353
- alt?: string;
3178
+ alt?:
3179
+ string;
2354
3180
  /** JSONP */
2355
- callback?: string;
3181
+ callback?:
3182
+ string;
2356
3183
  /** Selector specifying which fields to include in a partial response. */
2357
- fields?: string;
3184
+ fields?:
3185
+ string;
2358
3186
  /** 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. */
2359
- key?: string;
3187
+ key?:
3188
+ string;
2360
3189
  /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2361
- name: string;
3190
+ name:
3191
+ string;
2362
3192
  /** OAuth 2.0 token for the current user. */
2363
- oauth_token?: string;
3193
+ oauth_token?:
3194
+ string;
2364
3195
  /** Returns response with indentations and line breaks. */
2365
- prettyPrint?: boolean;
3196
+ prettyPrint?:
3197
+ boolean;
2366
3198
  /** 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. */
2367
- quotaUser?: string;
3199
+ quotaUser?:
3200
+ string;
2368
3201
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2369
- upload_protocol?: string;
3202
+ upload_protocol?:
3203
+ string;
2370
3204
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2371
- uploadType?: string;
3205
+ uploadType?:
3206
+ string;
2372
3207
  }): Request<{}>;
2373
3208
  /** Gets the specified occurrence. */
2374
3209
  get(request?: {
2375
3210
  /** V1 error format. */
2376
- "$.xgafv"?: string;
3211
+ "$.xgafv"?:
3212
+ string;
2377
3213
  /** OAuth access token. */
2378
- access_token?: string;
3214
+ access_token?:
3215
+ string;
2379
3216
  /** Data format for response. */
2380
- alt?: string;
3217
+ alt?:
3218
+ string;
2381
3219
  /** JSONP */
2382
- callback?: string;
3220
+ callback?:
3221
+ string;
2383
3222
  /** Selector specifying which fields to include in a partial response. */
2384
- fields?: string;
3223
+ fields?:
3224
+ string;
2385
3225
  /** 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. */
2386
- key?: string;
3226
+ key?:
3227
+ string;
2387
3228
  /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2388
- name: string;
3229
+ name:
3230
+ string;
2389
3231
  /** OAuth 2.0 token for the current user. */
2390
- oauth_token?: string;
3232
+ oauth_token?:
3233
+ string;
2391
3234
  /** Returns response with indentations and line breaks. */
2392
- prettyPrint?: boolean;
3235
+ prettyPrint?:
3236
+ boolean;
2393
3237
  /** 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. */
2394
- quotaUser?: string;
3238
+ quotaUser?:
3239
+ string;
2395
3240
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2396
- upload_protocol?: string;
3241
+ upload_protocol?:
3242
+ string;
2397
3243
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2398
- uploadType?: string;
3244
+ uploadType?:
3245
+ string;
2399
3246
  }): Request<Occurrence>;
2400
3247
  /**
2401
3248
  * Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if
@@ -2404,181 +3251,260 @@ declare namespace gapi.client {
2404
3251
  */
2405
3252
  getIamPolicy(request: {
2406
3253
  /** V1 error format. */
2407
- "$.xgafv"?: string;
3254
+ "$.xgafv"?:
3255
+ string;
2408
3256
  /** OAuth access token. */
2409
- access_token?: string;
3257
+ access_token?:
3258
+ string;
2410
3259
  /** Data format for response. */
2411
- alt?: string;
3260
+ alt?:
3261
+ string;
2412
3262
  /** JSONP */
2413
- callback?: string;
3263
+ callback?:
3264
+ string;
2414
3265
  /** Selector specifying which fields to include in a partial response. */
2415
- fields?: string;
3266
+ fields?:
3267
+ string;
2416
3268
  /** 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. */
2417
- key?: string;
3269
+ key?:
3270
+ string;
2418
3271
  /** OAuth 2.0 token for the current user. */
2419
- oauth_token?: string;
3272
+ oauth_token?:
3273
+ string;
2420
3274
  /** Returns response with indentations and line breaks. */
2421
- prettyPrint?: boolean;
3275
+ prettyPrint?:
3276
+ boolean;
2422
3277
  /** 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. */
2423
- quotaUser?: string;
3278
+ quotaUser?:
3279
+ string;
2424
3280
  /**
2425
3281
  * 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
2426
3282
  * field.
2427
3283
  */
2428
- resource: string;
3284
+ resource:
3285
+ string;
2429
3286
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2430
- upload_protocol?: string;
3287
+ upload_protocol?:
3288
+ string;
2431
3289
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2432
- uploadType?: string;
3290
+ uploadType?:
3291
+ string;
2433
3292
  },
2434
3293
  body: GetIamPolicyRequest): Request<Policy>;
2435
3294
  /** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
2436
3295
  getNotes(request?: {
2437
3296
  /** V1 error format. */
2438
- "$.xgafv"?: string;
3297
+ "$.xgafv"?:
3298
+ string;
2439
3299
  /** OAuth access token. */
2440
- access_token?: string;
3300
+ access_token?:
3301
+ string;
2441
3302
  /** Data format for response. */
2442
- alt?: string;
3303
+ alt?:
3304
+ string;
2443
3305
  /** JSONP */
2444
- callback?: string;
3306
+ callback?:
3307
+ string;
2445
3308
  /** Selector specifying which fields to include in a partial response. */
2446
- fields?: string;
3309
+ fields?:
3310
+ string;
2447
3311
  /** 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. */
2448
- key?: string;
3312
+ key?:
3313
+ string;
2449
3314
  /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2450
- name: string;
3315
+ name:
3316
+ string;
2451
3317
  /** OAuth 2.0 token for the current user. */
2452
- oauth_token?: string;
3318
+ oauth_token?:
3319
+ string;
2453
3320
  /** Returns response with indentations and line breaks. */
2454
- prettyPrint?: boolean;
3321
+ prettyPrint?:
3322
+ boolean;
2455
3323
  /** 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. */
2456
- quotaUser?: string;
3324
+ quotaUser?:
3325
+ string;
2457
3326
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2458
- upload_protocol?: string;
3327
+ upload_protocol?:
3328
+ string;
2459
3329
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2460
- uploadType?: string;
3330
+ uploadType?:
3331
+ string;
2461
3332
  }): Request<Note>;
2462
3333
  /** Gets a summary of the number and severity of occurrences. */
2463
3334
  getVulnerabilitySummary(request?: {
2464
3335
  /** V1 error format. */
2465
- "$.xgafv"?: string;
3336
+ "$.xgafv"?:
3337
+ string;
2466
3338
  /** OAuth access token. */
2467
- access_token?: string;
3339
+ access_token?:
3340
+ string;
2468
3341
  /** Data format for response. */
2469
- alt?: string;
3342
+ alt?:
3343
+ string;
2470
3344
  /** JSONP */
2471
- callback?: string;
3345
+ callback?:
3346
+ string;
2472
3347
  /** Selector specifying which fields to include in a partial response. */
2473
- fields?: string;
3348
+ fields?:
3349
+ string;
2474
3350
  /** The filter expression. */
2475
- filter?: string;
3351
+ filter?:
3352
+ string;
2476
3353
  /** 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. */
2477
- key?: string;
3354
+ key?:
3355
+ string;
2478
3356
  /** OAuth 2.0 token for the current user. */
2479
- oauth_token?: string;
3357
+ oauth_token?:
3358
+ string;
2480
3359
  /** Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`. */
2481
- parent: string;
3360
+ parent:
3361
+ string;
2482
3362
  /** Returns response with indentations and line breaks. */
2483
- prettyPrint?: boolean;
3363
+ prettyPrint?:
3364
+ boolean;
2484
3365
  /** 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. */
2485
- quotaUser?: string;
3366
+ quotaUser?:
3367
+ string;
2486
3368
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2487
- upload_protocol?: string;
3369
+ upload_protocol?:
3370
+ string;
2488
3371
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2489
- uploadType?: string;
3372
+ uploadType?:
3373
+ string;
2490
3374
  }): Request<VulnerabilityOccurrencesSummary>;
2491
3375
  /** Lists occurrences for the specified project. */
2492
3376
  list(request?: {
2493
3377
  /** V1 error format. */
2494
- "$.xgafv"?: string;
3378
+ "$.xgafv"?:
3379
+ string;
2495
3380
  /** OAuth access token. */
2496
- access_token?: string;
3381
+ access_token?:
3382
+ string;
2497
3383
  /** Data format for response. */
2498
- alt?: string;
3384
+ alt?:
3385
+ string;
2499
3386
  /** JSONP */
2500
- callback?: string;
3387
+ callback?:
3388
+ string;
2501
3389
  /** Selector specifying which fields to include in a partial response. */
2502
- fields?: string;
3390
+ fields?:
3391
+ string;
2503
3392
  /** The filter expression. */
2504
- filter?: string;
3393
+ filter?:
3394
+ string;
2505
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. */
2506
- key?: string;
3396
+ key?:
3397
+ string;
2507
3398
  /** OAuth 2.0 token for the current user. */
2508
- oauth_token?: string;
3399
+ oauth_token?:
3400
+ string;
2509
3401
  /** Number of occurrences to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20. */
2510
- pageSize?: number;
3402
+ pageSize?:
3403
+ number;
2511
3404
  /** Token to provide to skip to a particular spot in the list. */
2512
- pageToken?: string;
3405
+ pageToken?:
3406
+ string;
2513
3407
  /** Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`. */
2514
- parent: string;
3408
+ parent:
3409
+ string;
2515
3410
  /** Returns response with indentations and line breaks. */
2516
- prettyPrint?: boolean;
3411
+ prettyPrint?:
3412
+ boolean;
2517
3413
  /** 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. */
2518
- quotaUser?: string;
3414
+ quotaUser?:
3415
+ string;
2519
3416
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2520
- upload_protocol?: string;
3417
+ upload_protocol?:
3418
+ string;
2521
3419
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2522
- uploadType?: string;
3420
+ uploadType?:
3421
+ string;
2523
3422
  }): Request<ListOccurrencesResponse>;
2524
3423
  /** Updates the specified occurrence. */
2525
3424
  patch(request: {
2526
3425
  /** V1 error format. */
2527
- "$.xgafv"?: string;
3426
+ "$.xgafv"?:
3427
+ string;
2528
3428
  /** OAuth access token. */
2529
- access_token?: string;
3429
+ access_token?:
3430
+ string;
2530
3431
  /** Data format for response. */
2531
- alt?: string;
3432
+ alt?:
3433
+ string;
2532
3434
  /** JSONP */
2533
- callback?: string;
3435
+ callback?:
3436
+ string;
2534
3437
  /** Selector specifying which fields to include in a partial response. */
2535
- fields?: string;
3438
+ fields?:
3439
+ string;
2536
3440
  /** 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. */
2537
- key?: string;
3441
+ key?:
3442
+ string;
2538
3443
  /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2539
- name: string;
3444
+ name:
3445
+ string;
2540
3446
  /** OAuth 2.0 token for the current user. */
2541
- oauth_token?: string;
3447
+ oauth_token?:
3448
+ string;
2542
3449
  /** Returns response with indentations and line breaks. */
2543
- prettyPrint?: boolean;
3450
+ prettyPrint?:
3451
+ boolean;
2544
3452
  /** 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. */
2545
- quotaUser?: string;
3453
+ quotaUser?:
3454
+ string;
2546
3455
  /** The fields to update. */
2547
- updateMask?: string;
3456
+ updateMask?:
3457
+ string;
2548
3458
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2549
- upload_protocol?: string;
3459
+ upload_protocol?:
3460
+ string;
2550
3461
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2551
- uploadType?: string;
3462
+ uploadType?:
3463
+ string;
2552
3464
  /** Request body */
2553
- resource: Occurrence;
3465
+ resource:
3466
+ Occurrence;
2554
3467
  }): Request<Occurrence>;
2555
3468
  patch(request: {
2556
3469
  /** V1 error format. */
2557
- "$.xgafv"?: string;
3470
+ "$.xgafv"?:
3471
+ string;
2558
3472
  /** OAuth access token. */
2559
- access_token?: string;
3473
+ access_token?:
3474
+ string;
2560
3475
  /** Data format for response. */
2561
- alt?: string;
3476
+ alt?:
3477
+ string;
2562
3478
  /** JSONP */
2563
- callback?: string;
3479
+ callback?:
3480
+ string;
2564
3481
  /** Selector specifying which fields to include in a partial response. */
2565
- fields?: string;
3482
+ fields?:
3483
+ string;
2566
3484
  /** 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. */
2567
- key?: string;
3485
+ key?:
3486
+ string;
2568
3487
  /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2569
- name: string;
3488
+ name:
3489
+ string;
2570
3490
  /** OAuth 2.0 token for the current user. */
2571
- oauth_token?: string;
3491
+ oauth_token?:
3492
+ string;
2572
3493
  /** Returns response with indentations and line breaks. */
2573
- prettyPrint?: boolean;
3494
+ prettyPrint?:
3495
+ boolean;
2574
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. */
2575
- quotaUser?: string;
3497
+ quotaUser?:
3498
+ string;
2576
3499
  /** The fields to update. */
2577
- updateMask?: string;
3500
+ updateMask?:
3501
+ string;
2578
3502
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2579
- upload_protocol?: string;
3503
+ upload_protocol?:
3504
+ string;
2580
3505
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2581
- uploadType?: string;
3506
+ uploadType?:
3507
+ string;
2582
3508
  },
2583
3509
  body: Occurrence): Request<Occurrence>;
2584
3510
  /**
@@ -2588,32 +3514,44 @@ declare namespace gapi.client {
2588
3514
  */
2589
3515
  setIamPolicy(request: {
2590
3516
  /** V1 error format. */
2591
- "$.xgafv"?: string;
3517
+ "$.xgafv"?:
3518
+ string;
2592
3519
  /** OAuth access token. */
2593
- access_token?: string;
3520
+ access_token?:
3521
+ string;
2594
3522
  /** Data format for response. */
2595
- alt?: string;
3523
+ alt?:
3524
+ string;
2596
3525
  /** JSONP */
2597
- callback?: string;
3526
+ callback?:
3527
+ string;
2598
3528
  /** Selector specifying which fields to include in a partial response. */
2599
- fields?: string;
3529
+ fields?:
3530
+ string;
2600
3531
  /** 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. */
2601
- key?: string;
3532
+ key?:
3533
+ string;
2602
3534
  /** OAuth 2.0 token for the current user. */
2603
- oauth_token?: string;
3535
+ oauth_token?:
3536
+ string;
2604
3537
  /** Returns response with indentations and line breaks. */
2605
- prettyPrint?: boolean;
3538
+ prettyPrint?:
3539
+ boolean;
2606
3540
  /** 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. */
2607
- quotaUser?: string;
3541
+ quotaUser?:
3542
+ string;
2608
3543
  /**
2609
3544
  * 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
2610
3545
  * field.
2611
3546
  */
2612
- resource: string;
3547
+ resource:
3548
+ string;
2613
3549
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2614
- upload_protocol?: string;
3550
+ upload_protocol?:
3551
+ string;
2615
3552
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2616
- uploadType?: string;
3553
+ uploadType?:
3554
+ string;
2617
3555
  },
2618
3556
  body: SetIamPolicyRequest): Request<Policy>;
2619
3557
  /**
@@ -2622,32 +3560,44 @@ declare namespace gapi.client {
2622
3560
  */
2623
3561
  testIamPermissions(request: {
2624
3562
  /** V1 error format. */
2625
- "$.xgafv"?: string;
3563
+ "$.xgafv"?:
3564
+ string;
2626
3565
  /** OAuth access token. */
2627
- access_token?: string;
3566
+ access_token?:
3567
+ string;
2628
3568
  /** Data format for response. */
2629
- alt?: string;
3569
+ alt?:
3570
+ string;
2630
3571
  /** JSONP */
2631
- callback?: string;
3572
+ callback?:
3573
+ string;
2632
3574
  /** Selector specifying which fields to include in a partial response. */
2633
- fields?: string;
3575
+ fields?:
3576
+ string;
2634
3577
  /** 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. */
2635
- key?: string;
3578
+ key?:
3579
+ string;
2636
3580
  /** OAuth 2.0 token for the current user. */
2637
- oauth_token?: string;
3581
+ oauth_token?:
3582
+ string;
2638
3583
  /** Returns response with indentations and line breaks. */
2639
- prettyPrint?: boolean;
3584
+ prettyPrint?:
3585
+ boolean;
2640
3586
  /** 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. */
2641
- quotaUser?: string;
3587
+ quotaUser?:
3588
+ string;
2642
3589
  /**
2643
3590
  * 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
2644
3591
  * this field.
2645
3592
  */
2646
- resource: string;
3593
+ resource:
3594
+ string;
2647
3595
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2648
- upload_protocol?: string;
3596
+ upload_protocol?:
3597
+ string;
2649
3598
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2650
- uploadType?: string;
3599
+ uploadType?:
3600
+ string;
2651
3601
  },
2652
3602
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
2653
3603
  }
@@ -2655,64 +3605,92 @@ declare namespace gapi.client {
2655
3605
  /** Gets a summary of the packages within a given resource. */
2656
3606
  generatePackagesSummary(request: {
2657
3607
  /** V1 error format. */
2658
- "$.xgafv"?: string;
3608
+ "$.xgafv"?:
3609
+ string;
2659
3610
  /** OAuth access token. */
2660
- access_token?: string;
3611
+ access_token?:
3612
+ string;
2661
3613
  /** Data format for response. */
2662
- alt?: string;
3614
+ alt?:
3615
+ string;
2663
3616
  /** JSONP */
2664
- callback?: string;
3617
+ callback?:
3618
+ string;
2665
3619
  /** Selector specifying which fields to include in a partial response. */
2666
- fields?: string;
3620
+ fields?:
3621
+ string;
2667
3622
  /** 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. */
2668
- key?: string;
3623
+ key?:
3624
+ string;
2669
3625
  /** Required. The name of the resource to get a packages summary for in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
2670
- name: string;
3626
+ name:
3627
+ string;
2671
3628
  /** OAuth 2.0 token for the current user. */
2672
- oauth_token?: string;
3629
+ oauth_token?:
3630
+ string;
2673
3631
  /** Returns response with indentations and line breaks. */
2674
- prettyPrint?: boolean;
3632
+ prettyPrint?:
3633
+ boolean;
2675
3634
  /** 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. */
2676
- quotaUser?: string;
3635
+ quotaUser?:
3636
+ string;
2677
3637
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2678
- upload_protocol?: string;
3638
+ upload_protocol?:
3639
+ string;
2679
3640
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2680
- uploadType?: string;
3641
+ uploadType?:
3642
+ string;
2681
3643
  /** Request body */
2682
- resource: GeneratePackagesSummaryRequest;
3644
+ resource:
3645
+ GeneratePackagesSummaryRequest;
2683
3646
  }): Request<PackagesSummaryResponse>;
2684
3647
  generatePackagesSummary(request: {
2685
3648
  /** V1 error format. */
2686
- "$.xgafv"?: string;
3649
+ "$.xgafv"?:
3650
+ string;
2687
3651
  /** OAuth access token. */
2688
- access_token?: string;
3652
+ access_token?:
3653
+ string;
2689
3654
  /** Data format for response. */
2690
- alt?: string;
3655
+ alt?:
3656
+ string;
2691
3657
  /** JSONP */
2692
- callback?: string;
3658
+ callback?:
3659
+ string;
2693
3660
  /** Selector specifying which fields to include in a partial response. */
2694
- fields?: string;
3661
+ fields?:
3662
+ string;
2695
3663
  /** 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. */
2696
- key?: string;
3664
+ key?:
3665
+ string;
2697
3666
  /** Required. The name of the resource to get a packages summary for in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
2698
- name: string;
3667
+ name:
3668
+ string;
2699
3669
  /** OAuth 2.0 token for the current user. */
2700
- oauth_token?: string;
3670
+ oauth_token?:
3671
+ string;
2701
3672
  /** Returns response with indentations and line breaks. */
2702
- prettyPrint?: boolean;
3673
+ prettyPrint?:
3674
+ boolean;
2703
3675
  /** 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. */
2704
- quotaUser?: string;
3676
+ quotaUser?:
3677
+ string;
2705
3678
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2706
- upload_protocol?: string;
3679
+ upload_protocol?:
3680
+ string;
2707
3681
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2708
- uploadType?: string;
3682
+ uploadType?:
3683
+ string;
2709
3684
  },
2710
3685
  body: GeneratePackagesSummaryRequest): Request<PackagesSummaryResponse>;
2711
3686
  }
2712
3687
  interface ProjectsResource {
2713
- notes: NotesResource;
2714
- occurrences: OccurrencesResource;
2715
- resources: ResourcesResource;
3688
+ notes:
3689
+ NotesResource;
3690
+ occurrences:
3691
+ OccurrencesResource;
3692
+ resources:
3693
+ ResourcesResource;
2716
3694
  }
2717
3695
 
2718
3696
  const projects: ProjectsResource;