@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.0.20230414 → 0.0.20230428

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 +2004 -949
  2. package/package.json +1 -1
  3. package/tests.ts +6 -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: 20230414
12
+ // Revision: 20230428
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,344 +914,485 @@ 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;
1357
+ }
1358
+ // tslint:disable-next-line:no-empty-interface
1359
+ interface GeneratePackagesSummaryRequest {
1024
1360
  }
1025
1361
  interface GenericSignedAttestation {
1026
1362
  /**
1027
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
1028
1364
  * payload is a valid instantiation of that type (for example by validating a JSON schema).
1029
1365
  */
1030
- contentType?: string;
1366
+ contentType?:
1367
+ string;
1031
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`. */
1032
- serializedPayload?: string;
1369
+ serializedPayload?:
1370
+ string;
1033
1371
  /**
1034
1372
  * One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies
1035
1373
  * `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.
1036
1374
  */
1037
- signatures?: Signature[];
1375
+ signatures?:
1376
+ Signature[];
1038
1377
  }
1039
1378
  interface GerritSourceContext {
1040
1379
  /** An alias, which may be a branch or tag. */
1041
- aliasContext?: AliasContext;
1380
+ aliasContext?:
1381
+ AliasContext;
1042
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. */
1043
- gerritProject?: string;
1383
+ gerritProject?:
1384
+ string;
1044
1385
  /** The URI of a running Gerrit instance. */
1045
- hostUri?: string;
1386
+ hostUri?:
1387
+ string;
1046
1388
  /** A revision (commit) ID. */
1047
- revisionId?: string;
1389
+ revisionId?:
1390
+ string;
1048
1391
  }
1049
1392
  interface GetIamPolicyRequest {
1050
1393
  /** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
1051
- options?: GetPolicyOptions;
1394
+ options?:
1395
+ GetPolicyOptions;
1052
1396
  }
1053
1397
  interface GetPolicyOptions {
1054
1398
  /**
@@ -1058,414 +1402,588 @@ declare namespace gapi.client {
1058
1402
  * bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
1059
1403
  * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1060
1404
  */
1061
- requestedPolicyVersion?: number;
1405
+ requestedPolicyVersion?:
1406
+ number;
1062
1407
  }
1063
1408
  interface GitSourceContext {
1064
1409
  /** Git commit hash. */
1065
- revisionId?: string;
1410
+ revisionId?:
1411
+ string;
1066
1412
  /** Git repository URL. */
1067
- url?: string;
1413
+ url?:
1414
+ string;
1068
1415
  }
1069
1416
  interface GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata {
1070
1417
  /** Output only. The time this operation was created. */
1071
- createTime?: string;
1418
+ createTime?:
1419
+ string;
1072
1420
  /** Output only. The time that this operation was marked completed or failed. */
1073
- endTime?: string;
1421
+ endTime?:
1422
+ string;
1074
1423
  }
1075
1424
  interface GrafeasV1beta1BuildDetails {
1076
1425
  /** Required. The actual provenance for the build. */
1077
- provenance?: BuildProvenance;
1426
+ provenance?:
1427
+ BuildProvenance;
1078
1428
  /**
1079
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
1080
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
1081
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
1082
1432
  * as well to prevent incompatibilities with future changes.
1083
1433
  */
1084
- provenanceBytes?: string;
1434
+ provenanceBytes?:
1435
+ string;
1085
1436
  }
1086
1437
  interface GrafeasV1beta1DeploymentDetails {
1087
1438
  /** Required. Deployment history for the resource. */
1088
- deployment?: Deployment;
1439
+ deployment?:
1440
+ Deployment;
1089
1441
  }
1090
1442
  interface GrafeasV1beta1DiscoveryDetails {
1091
1443
  /** Required. Analysis status for the discovered resource. */
1092
- discovered?: Discovered;
1444
+ discovered?:
1445
+ Discovered;
1093
1446
  }
1094
1447
  interface GrafeasV1beta1ImageDetails {
1095
1448
  /** Required. Immutable. The child image derived from the base image. */
1096
- derivedImage?: Derived;
1449
+ derivedImage?:
1450
+ Derived;
1097
1451
  }
1098
1452
  interface GrafeasV1beta1IntotoArtifact {
1099
- hashes?: ArtifactHashes;
1100
- resourceUri?: string;
1453
+ hashes?:
1454
+ ArtifactHashes;
1455
+ resourceUri?:
1456
+ string;
1101
1457
  }
1102
1458
  interface GrafeasV1beta1IntotoDetails {
1103
- signatures?: GrafeasV1beta1IntotoSignature[];
1104
- signed?: Link;
1459
+ signatures?:
1460
+ GrafeasV1beta1IntotoSignature[];
1461
+ signed?:
1462
+ Link;
1105
1463
  }
1106
1464
  interface GrafeasV1beta1IntotoSignature {
1107
- keyid?: string;
1108
- sig?: string;
1465
+ keyid?:
1466
+ string;
1467
+ sig?:
1468
+ string;
1109
1469
  }
1110
1470
  interface GrafeasV1beta1PackageDetails {
1111
1471
  /** Required. Where the package was installed. */
1112
- installation?: Installation;
1472
+ installation?:
1473
+ Installation;
1113
1474
  }
1114
1475
  interface GrafeasV1beta1VulnerabilityDetails {
1115
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. */
1116
- cvssScore?: number;
1477
+ cvssScore?:
1478
+ number;
1117
1479
  /** The cvss v2 score for the vulnerability. */
1118
- cvssV2?: CVSS;
1480
+ cvssV2?:
1481
+ CVSS;
1119
1482
  /** The cvss v3 score for the vulnerability. */
1120
- cvssV3?: CVSS;
1483
+ cvssV3?:
1484
+ CVSS;
1121
1485
  /** Output only. CVSS version used to populate cvss_score and severity. */
1122
- cvssVersion?: string;
1486
+ cvssVersion?:
1487
+ string;
1123
1488
  /**
1124
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.
1125
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
1126
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
1127
1492
  * differing effective severities, this field should be the highest severity for any of the PackageIssues.
1128
1493
  */
1129
- effectiveSeverity?: string;
1494
+ effectiveSeverity?:
1495
+ string;
1130
1496
  /** Output only. A detailed description of this vulnerability. */
1131
- longDescription?: string;
1497
+ longDescription?:
1498
+ string;
1132
1499
  /** Required. The set of affected locations and their fixes (if available) within the associated resource. */
1133
- packageIssue?: PackageIssue[];
1500
+ packageIssue?:
1501
+ PackageIssue[];
1134
1502
  /** Output only. URLs related to this vulnerability. */
1135
- relatedUrls?: RelatedUrl[];
1503
+ relatedUrls?:
1504
+ RelatedUrl[];
1136
1505
  /** Output only. The note provider assigned Severity of the vulnerability. */
1137
- severity?: string;
1506
+ severity?:
1507
+ string;
1138
1508
  /** Output only. A one sentence description of this vulnerability. */
1139
- shortDescription?: string;
1509
+ shortDescription?:
1510
+ string;
1140
1511
  /** The type of package; whether native or non native(ruby gems, node.js packages etc) */
1141
- type?: string;
1142
- vexAssessment?: VexAssessment;
1512
+ type?:
1513
+ string;
1514
+ vexAssessment?:
1515
+ VexAssessment;
1143
1516
  }
1144
1517
  interface Hash {
1145
1518
  /** Required. The type of hash that was performed. */
1146
- type?: string;
1519
+ type?:
1520
+ string;
1147
1521
  /** Required. The hash value. */
1148
- value?: string;
1522
+ value?:
1523
+ string;
1149
1524
  }
1150
1525
  interface Hint {
1151
1526
  /** Required. The human readable name of this attestation authority, for example "qa". */
1152
- humanReadableName?: string;
1527
+ humanReadableName?:
1528
+ string;
1153
1529
  }
1154
1530
  interface Installation {
1155
1531
  /** Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
1156
- architecture?: string;
1532
+ architecture?:
1533
+ string;
1157
1534
  /**
1158
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
1159
1536
  * packages.
1160
1537
  */
1161
- cpeUri?: string;
1538
+ cpeUri?:
1539
+ string;
1162
1540
  /** Licenses that have been declared by the authors of the package. */
1163
- license?: License;
1541
+ license?:
1542
+ License;
1164
1543
  /** All of the places within the filesystem versions of this package have been found. */
1165
- location?: Location[];
1544
+ location?:
1545
+ Location[];
1166
1546
  /** Required. Output only. The name of the installed package. */
1167
- name?: string;
1547
+ name?:
1548
+ string;
1168
1549
  /** Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). */
1169
- packageType?: string;
1550
+ packageType?:
1551
+ string;
1170
1552
  /** Output only. The version of the package. */
1171
- version?: Version;
1553
+ version?:
1554
+ Version;
1172
1555
  }
1173
1556
  interface InToto {
1174
1557
  /** This field contains the expected command used to perform the step. */
1175
- expectedCommand?: string[];
1558
+ expectedCommand?:
1559
+ string[];
1176
1560
  /**
1177
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
1178
1562
  * step.
1179
1563
  */
1180
- expectedMaterials?: ArtifactRule[];
1181
- expectedProducts?: ArtifactRule[];
1564
+ expectedMaterials?:
1565
+ ArtifactRule[];
1566
+ expectedProducts?:
1567
+ ArtifactRule[];
1182
1568
  /** This field contains the public keys that can be used to verify the signatures on the step metadata. */
1183
- signingKeys?: SigningKey[];
1569
+ signingKeys?:
1570
+ SigningKey[];
1184
1571
  /** This field identifies the name of the step in the supply chain. */
1185
- stepName?: string;
1572
+ stepName?:
1573
+ string;
1186
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. */
1187
- threshold?: string;
1575
+ threshold?:
1576
+ string;
1188
1577
  }
1189
1578
  interface Justification {
1190
1579
  /** Additional details on why this justification was chosen. */
1191
- details?: string;
1580
+ details?:
1581
+ string;
1192
1582
  /** The justification type for this vulnerability. */
1193
- justificationType?: string;
1583
+ justificationType?:
1584
+ string;
1194
1585
  }
1195
1586
  interface KnowledgeBase {
1196
1587
  /** The KB name (generally of the form KB[0-9]+ i.e. KB123456). */
1197
- name?: string;
1588
+ name?:
1589
+ string;
1198
1590
  /** A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/ */
1199
- url?: string;
1591
+ url?:
1592
+ string;
1200
1593
  }
1201
1594
  interface Layer {
1202
1595
  /** The recovered arguments to the Dockerfile directive. */
1203
- arguments?: string;
1596
+ arguments?:
1597
+ string;
1204
1598
  /** Required. The recovered Dockerfile directive used to construct this layer. */
1205
- directive?: string;
1599
+ directive?:
1600
+ string;
1206
1601
  }
1207
1602
  interface License {
1208
1603
  /** Comments */
1209
- comments?: string;
1604
+ comments?:
1605
+ string;
1210
1606
  /**
1211
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
1212
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".
1213
1609
  */
1214
- expression?: string;
1610
+ expression?:
1611
+ string;
1612
+ }
1613
+ interface LicensesSummary {
1614
+ /** The number of fixable vulnerabilities associated with this resource. */
1615
+ count?:
1616
+ string;
1617
+ /**
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
1619
+ * B), etc...
1620
+ */
1621
+ license?:
1622
+ string;
1215
1623
  }
1216
1624
  interface Link {
1217
1625
  /** ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step. */
1218
- byproducts?: ByProducts;
1626
+ byproducts?:
1627
+ ByProducts;
1219
1628
  /**
1220
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
1221
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",
1222
1631
  * "https://github.com/in-toto/demo-project.git"]
1223
1632
  */
1224
- command?: string[];
1633
+ command?:
1634
+ string[];
1225
1635
  /**
1226
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
1227
1637
  * information, and the present working directory. The recommended structure of this field is: "environment": { "custom_values": { "variables": "", "filesystem": "", "workdir": "", "":
1228
1638
  * "..." } }
1229
1639
  */
1230
- environment?: Environment;
1640
+ environment?:
1641
+ Environment;
1231
1642
  /**
1232
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
1233
1644
  * the recorded hash information. An example is: "materials": [ { "resource_uri": "foo/bar", "hashes": { "sha256": "ebebf...", : } } ]
1234
1645
  */
1235
- materials?: GrafeasV1beta1IntotoArtifact[];
1646
+ materials?:
1647
+ GrafeasV1beta1IntotoArtifact[];
1236
1648
  /** Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials. */
1237
- products?: GrafeasV1beta1IntotoArtifact[];
1649
+ products?:
1650
+ GrafeasV1beta1IntotoArtifact[];
1238
1651
  }
1239
1652
  interface ListNoteOccurrencesResponse {
1240
1653
  /** Token to provide to skip to a particular spot in the list. */
1241
- nextPageToken?: string;
1654
+ nextPageToken?:
1655
+ string;
1242
1656
  /** The occurrences attached to the specified note. */
1243
- occurrences?: Occurrence[];
1657
+ occurrences?:
1658
+ Occurrence[];
1244
1659
  }
1245
1660
  interface ListNotesResponse {
1246
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. */
1247
- nextPageToken?: string;
1662
+ nextPageToken?:
1663
+ string;
1248
1664
  /** The notes requested. */
1249
- notes?: Note[];
1665
+ notes?:
1666
+ Note[];
1250
1667
  }
1251
1668
  interface ListOccurrencesResponse {
1252
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. */
1253
- nextPageToken?: string;
1670
+ nextPageToken?:
1671
+ string;
1254
1672
  /** The occurrences requested. */
1255
- occurrences?: Occurrence[];
1673
+ occurrences?:
1674
+ Occurrence[];
1256
1675
  }
1257
1676
  interface Location {
1258
1677
  /** Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. */
1259
- cpeUri?: string;
1678
+ cpeUri?:
1679
+ string;
1260
1680
  /** The path from which we gathered that this package/version is installed. */
1261
- path?: string;
1681
+ path?:
1682
+ string;
1262
1683
  /** Deprecated. The version installed at this location. */
1263
- version?: Version;
1684
+ version?:
1685
+ Version;
1264
1686
  }
1265
1687
  interface Note {
1266
1688
  /** A note describing an attestation role. */
1267
- attestationAuthority?: Authority;
1689
+ attestationAuthority?:
1690
+ Authority;
1268
1691
  /** A note describing a base image. */
1269
- baseImage?: Basis;
1692
+ baseImage?:
1693
+ Basis;
1270
1694
  /** A note describing build provenance for a verifiable build. */
1271
- build?: Build;
1695
+ build?:
1696
+ Build;
1272
1697
  /** Output only. The time this note was created. This field can be used as a filter in list requests. */
1273
- createTime?: string;
1698
+ createTime?:
1699
+ string;
1274
1700
  /** A note describing something that can be deployed. */
1275
- deployable?: Deployable;
1701
+ deployable?:
1702
+ Deployable;
1276
1703
  /** A note describing the initial analysis of a resource. */
1277
- discovery?: Discovery;
1704
+ discovery?:
1705
+ Discovery;
1278
1706
  /** Time of expiration for this note. Empty if note does not expire. */
1279
- expirationTime?: string;
1707
+ expirationTime?:
1708
+ string;
1280
1709
  /** A note describing an in-toto link. */
1281
- intoto?: InToto;
1710
+ intoto?:
1711
+ InToto;
1282
1712
  /** Output only. The type of analysis. This field can be used as a filter in list requests. */
1283
- kind?: string;
1713
+ kind?:
1714
+ string;
1284
1715
  /** A detailed description of this note. */
1285
- longDescription?: string;
1716
+ longDescription?:
1717
+ string;
1286
1718
  /** Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1287
- name?: string;
1719
+ name?:
1720
+ string;
1288
1721
  /** A note describing a package hosted by various package managers. */
1289
- package?: Package;
1722
+ package?:
1723
+ Package;
1290
1724
  /** Other notes related to this note. */
1291
- relatedNoteNames?: string[];
1725
+ relatedNoteNames?:
1726
+ string[];
1292
1727
  /** URLs associated with this note. */
1293
- relatedUrl?: RelatedUrl[];
1728
+ relatedUrl?:
1729
+ RelatedUrl[];
1294
1730
  /** A note describing a software bill of materials. */
1295
- sbom?: DocumentNote;
1731
+ sbom?:
1732
+ DocumentNote;
1296
1733
  /** A note describing an SBOM reference. */
1297
- sbomReference?: SBOMReferenceNote;
1734
+ sbomReference?:
1735
+ SBOMReferenceNote;
1298
1736
  /** A one sentence description of this note. */
1299
- shortDescription?: string;
1737
+ shortDescription?:
1738
+ string;
1300
1739
  /** A note describing an SPDX File. */
1301
- spdxFile?: FileNote;
1740
+ spdxFile?:
1741
+ FileNote;
1302
1742
  /** A note describing an SPDX Package. */
1303
- spdxPackage?: PackageInfoNote;
1743
+ spdxPackage?:
1744
+ PackageInfoNote;
1304
1745
  /** A note describing an SPDX File. */
1305
- spdxRelationship?: RelationshipNote;
1746
+ spdxRelationship?:
1747
+ RelationshipNote;
1306
1748
  /** Output only. The time this note was last updated. This field can be used as a filter in list requests. */
1307
- updateTime?: string;
1749
+ updateTime?:
1750
+ string;
1308
1751
  /** A note describing a package vulnerability. */
1309
- vulnerability?: Vulnerability;
1752
+ vulnerability?:
1753
+ Vulnerability;
1310
1754
  /** A note describing a vulnerability assessment. */
1311
- vulnerabilityAssessment?: VulnerabilityAssessmentNote;
1755
+ vulnerabilityAssessment?:
1756
+ VulnerabilityAssessmentNote;
1312
1757
  }
1313
1758
  interface Occurrence {
1314
1759
  /** Describes an attestation of an artifact. */
1315
- attestation?: Details;
1760
+ attestation?:
1761
+ Details;
1316
1762
  /** Describes a verifiable build. */
1317
- build?: GrafeasV1beta1BuildDetails;
1763
+ build?:
1764
+ GrafeasV1beta1BuildDetails;
1318
1765
  /** Output only. The time this occurrence was created. */
1319
- createTime?: string;
1766
+ createTime?:
1767
+ string;
1320
1768
  /** Describes the deployment of an artifact on a runtime. */
1321
- deployment?: GrafeasV1beta1DeploymentDetails;
1769
+ deployment?:
1770
+ GrafeasV1beta1DeploymentDetails;
1322
1771
  /** Describes how this resource derives from the basis in the associated note. */
1323
- derivedImage?: GrafeasV1beta1ImageDetails;
1772
+ derivedImage?:
1773
+ GrafeasV1beta1ImageDetails;
1324
1774
  /** Describes when a resource was discovered. */
1325
- discovered?: GrafeasV1beta1DiscoveryDetails;
1775
+ discovered?:
1776
+ GrafeasV1beta1DiscoveryDetails;
1326
1777
  /** https://github.com/secure-systems-lab/dsse */
1327
- envelope?: Envelope;
1778
+ envelope?:
1779
+ Envelope;
1328
1780
  /** Describes the installation of a package on the linked resource. */
1329
- installation?: GrafeasV1beta1PackageDetails;
1781
+ installation?:
1782
+ GrafeasV1beta1PackageDetails;
1330
1783
  /** Describes a specific in-toto link. */
1331
- intoto?: GrafeasV1beta1IntotoDetails;
1784
+ intoto?:
1785
+ GrafeasV1beta1IntotoDetails;
1332
1786
  /** Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests. */
1333
- kind?: string;
1787
+ kind?:
1788
+ string;
1334
1789
  /** Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
1335
- name?: string;
1790
+ name?:
1791
+ string;
1336
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. */
1337
- noteName?: string;
1793
+ noteName?:
1794
+ string;
1338
1795
  /** A description of actions that can be taken to remedy the note. */
1339
- remediation?: string;
1796
+ remediation?:
1797
+ string;
1340
1798
  /** Required. Immutable. The resource for which the occurrence applies. */
1341
- resource?: Resource;
1799
+ resource?:
1800
+ Resource;
1342
1801
  /** Describes a specific software bill of materials document. */
1343
- sbom?: DocumentOccurrence;
1802
+ sbom?:
1803
+ DocumentOccurrence;
1344
1804
  /** Describes a specific SBOM reference occurrences. */
1345
- sbomReference?: SBOMReferenceOccurrence;
1805
+ sbomReference?:
1806
+ SBOMReferenceOccurrence;
1346
1807
  /** Describes a specific SPDX File. */
1347
- spdxFile?: FileOccurrence;
1808
+ spdxFile?:
1809
+ FileOccurrence;
1348
1810
  /** Describes a specific SPDX Package. */
1349
- spdxPackage?: PackageInfoOccurrence;
1811
+ spdxPackage?:
1812
+ PackageInfoOccurrence;
1350
1813
  /** Describes a specific SPDX Relationship. */
1351
- spdxRelationship?: RelationshipOccurrence;
1814
+ spdxRelationship?:
1815
+ RelationshipOccurrence;
1352
1816
  /** Output only. The time this occurrence was last updated. */
1353
- updateTime?: string;
1817
+ updateTime?:
1818
+ string;
1354
1819
  /** Describes a security vulnerability. */
1355
- vulnerability?: GrafeasV1beta1VulnerabilityDetails;
1820
+ vulnerability?:
1821
+ GrafeasV1beta1VulnerabilityDetails;
1356
1822
  }
1357
1823
  interface Package {
1358
1824
  /** The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
1359
- architecture?: string;
1825
+ architecture?:
1826
+ string;
1360
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. */
1361
- cpeUri?: string;
1828
+ cpeUri?:
1829
+ string;
1362
1830
  /** The description of this package. */
1363
- description?: string;
1831
+ description?:
1832
+ string;
1364
1833
  /** Hash value, typically a file digest, that allows unique identification a specific package. */
1365
- digest?: Digest[];
1834
+ digest?:
1835
+ Digest[];
1366
1836
  /** The various channels by which a package is distributed. */
1367
- distribution?: Distribution[];
1837
+ distribution?:
1838
+ Distribution[];
1368
1839
  /** Licenses that have been declared by the authors of the package. */
1369
- license?: License;
1840
+ license?:
1841
+ License;
1370
1842
  /** A freeform text denoting the maintainer of this package. */
1371
- maintainer?: string;
1843
+ maintainer?:
1844
+ string;
1372
1845
  /** Required. Immutable. The name of the package. */
1373
- name?: string;
1846
+ name?:
1847
+ string;
1374
1848
  /** The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). */
1375
- packageType?: string;
1849
+ packageType?:
1850
+ string;
1376
1851
  /** The homepage for this package. */
1377
- url?: string;
1852
+ url?:
1853
+ string;
1378
1854
  /** The version of the package. */
1379
- version?: Version;
1855
+ version?:
1856
+ Version;
1380
1857
  }
1381
1858
  interface PackageInfoNote {
1382
1859
  /** Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document */
1383
- analyzed?: boolean;
1860
+ analyzed?:
1861
+ boolean;
1384
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 */
1385
- attribution?: string;
1863
+ attribution?:
1864
+ string;
1386
1865
  /** Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file */
1387
- checksum?: string;
1866
+ checksum?:
1867
+ string;
1388
1868
  /** Identify the copyright holders of the package, as well as any dates present */
1389
- copyright?: string;
1869
+ copyright?:
1870
+ string;
1390
1871
  /** A more detailed description of the package */
1391
- detailedDescription?: string;
1872
+ detailedDescription?:
1873
+ string;
1392
1874
  /**
1393
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
1394
1876
  * was created
1395
1877
  */
1396
- downloadLocation?: string;
1878
+ downloadLocation?:
1879
+ string;
1397
1880
  /** ExternalRef */
1398
- externalRefs?: ExternalRef[];
1881
+ externalRefs?:
1882
+ ExternalRef[];
1399
1883
  /**
1400
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
1401
1885
  * (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
1402
1886
  */
1403
- filesLicenseInfo?: string[];
1887
+ filesLicenseInfo?:
1888
+ string[];
1404
1889
  /** Provide a place for the SPDX file creator to record a web site that serves as the package's home page */
1405
- homePage?: string;
1890
+ homePage?:
1891
+ string;
1406
1892
  /** List the licenses that have been declared by the authors of the package */
1407
- licenseDeclared?: License;
1893
+ licenseDeclared?:
1894
+ License;
1408
1895
  /**
1409
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
1410
1897
  * package originally came
1411
1898
  */
1412
- originator?: string;
1899
+ originator?:
1900
+ string;
1413
1901
  /** The type of package: OS, MAVEN, GO, GO_STDLIB, etc. */
1414
- packageType?: string;
1902
+ packageType?:
1903
+ string;
1415
1904
  /** A short description of the package */
1416
- summaryDescription?: string;
1905
+ summaryDescription?:
1906
+ string;
1417
1907
  /** Identify the actual distribution source for the package/directory identified in the SPDX file */
1418
- supplier?: string;
1908
+ supplier?:
1909
+ string;
1419
1910
  /** Identify the full name of the package as given by the Package Originator */
1420
- title?: string;
1911
+ title?:
1912
+ string;
1421
1913
  /**
1422
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
1423
1915
  * the package) that make up each package and that correlates to the data in this SPDX file
1424
1916
  */
1425
- verificationCode?: string;
1917
+ verificationCode?:
1918
+ string;
1426
1919
  /** Identify the version of the package */
1427
- version?: string;
1920
+ version?:
1921
+ string;
1428
1922
  }
1429
1923
  interface PackageInfoOccurrence {
1430
1924
  /** A place for the SPDX file creator to record any general comments about the package being described */
1431
- comment?: string;
1925
+ comment?:
1926
+ string;
1432
1927
  /** Provide the actual file name of the package, or path of the directory being treated as a package */
1433
- filename?: string;
1928
+ filename?:
1929
+ string;
1434
1930
  /** Output only. Provide a place for the SPDX file creator to record a web site that serves as the package's home page */
1435
- homePage?: string;
1931
+ homePage?:
1932
+ string;
1436
1933
  /** Uniquely identify any element in an SPDX document which may be referenced by other elements */
1437
- id?: string;
1934
+ id?:
1935
+ string;
1438
1936
  /** package or alternative values, if the governing license cannot be determined */
1439
- licenseConcluded?: License;
1937
+ licenseConcluded?:
1938
+ License;
1440
1939
  /** Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc. */
1441
- packageType?: string;
1940
+ packageType?:
1941
+ string;
1442
1942
  /** Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package */
1443
- sourceInfo?: string;
1943
+ sourceInfo?:
1944
+ string;
1444
1945
  /** Output only. A short description of the package */
1445
- summaryDescription?: string;
1946
+ summaryDescription?:
1947
+ string;
1446
1948
  /** Output only. Identify the full name of the package as given by the Package Originator */
1447
- title?: string;
1949
+ title?:
1950
+ string;
1448
1951
  /** Output only. Identify the version of the package */
1449
- version?: string;
1952
+ version?:
1953
+ string;
1450
1954
  }
1451
1955
  interface PackageIssue {
1452
1956
  /** Required. The location of the vulnerability. */
1453
- affectedLocation?: VulnerabilityLocation;
1957
+ affectedLocation?:
1958
+ VulnerabilityLocation;
1454
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. */
1455
- effectiveSeverity?: string;
1960
+ effectiveSeverity?:
1961
+ string;
1456
1962
  /** The location of the available fix for vulnerability. */
1457
- fixedLocation?: VulnerabilityLocation;
1963
+ fixedLocation?:
1964
+ VulnerabilityLocation;
1458
1965
  /** The type of package (e.g. OS, MAVEN, GO). */
1459
- packageType?: string;
1966
+ packageType?:
1967
+ string;
1460
1968
  /** Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability. */
1461
- severityName?: string;
1969
+ severityName?:
1970
+ string;
1971
+ }
1972
+ interface PackagesSummaryResponse {
1973
+ /** A listing by license name of each of the licenses and their counts. */
1974
+ licensesSummary?:
1975
+ LicensesSummary[];
1976
+ /** The unique URL of the image or the container for which this summary applies. */
1977
+ resourceUrl?:
1978
+ string;
1462
1979
  }
1463
1980
  interface PgpSignedAttestation {
1464
1981
  /**
1465
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
1466
1983
  * payload is a valid instantiation of that type (for example by validating a JSON schema).
1467
1984
  */
1468
- contentType?: string;
1985
+ contentType?:
1986
+ string;
1469
1987
  /**
1470
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
1471
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
@@ -1473,14 +1991,16 @@ declare namespace gapi.client {
1473
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:......
1474
1992
  * fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
1475
1993
  */
1476
- pgpKeyId?: string;
1994
+ pgpKeyId?:
1995
+ string;
1477
1996
  /**
1478
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
1479
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`
1480
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
1481
2000
  * `signature.gpg` for the `payload.json` attestation payload.
1482
2001
  */
1483
- signature?: string;
2002
+ signature?:
2003
+ string;
1484
2004
  }
1485
2005
  interface Policy {
1486
2006
  /**
@@ -1489,7 +2009,8 @@ declare namespace gapi.client {
1489
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
1490
2010
  * 1,450 principals to the `bindings` in the `Policy`.
1491
2011
  */
1492
- bindings?: Binding[];
2012
+ bindings?:
2013
+ Binding[];
1493
2014
  /**
1494
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
1495
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
@@ -1497,7 +2018,8 @@ declare namespace gapi.client {
1497
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`
1498
2019
  * policy, and all of the conditions in the version `3` policy are lost.
1499
2020
  */
1500
- etag?: string;
2021
+ etag?:
2022
+ string;
1501
2023
  /**
1502
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
1503
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
@@ -1506,118 +2028,156 @@ declare namespace gapi.client {
1506
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
1507
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).
1508
2030
  */
1509
- version?: number;
2031
+ version?:
2032
+ number;
1510
2033
  }
1511
2034
  interface Product {
1512
2035
  /** Contains a URI which is vendor-specific. Example: The artifact repository URL of an image. */
1513
- genericUri?: string;
2036
+ genericUri?:
2037
+ string;
1514
2038
  /**
1515
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
1516
2040
  * context of the current document.
1517
2041
  */
1518
- id?: string;
2042
+ id?:
2043
+ string;
1519
2044
  /** Name of the product. */
1520
- name?: string;
2045
+ name?:
2046
+ string;
1521
2047
  }
1522
2048
  interface ProjectRepoId {
1523
2049
  /** The ID of the project. */
1524
- projectId?: string;
2050
+ projectId?:
2051
+ string;
1525
2052
  /** The name of the repo. Leave empty for the default repo. */
1526
- repoName?: string;
2053
+ repoName?:
2054
+ string;
1527
2055
  }
1528
2056
  interface Publisher {
1529
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. */
1530
- issuingAuthority?: string;
2058
+ issuingAuthority?:
2059
+ string;
1531
2060
  /** Name of the publisher. Examples: 'Google', 'Google Cloud Platform'. */
1532
- name?: string;
2061
+ name?:
2062
+ string;
1533
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 */
1534
- publisherNamespace?: string;
2064
+ publisherNamespace?:
2065
+ string;
1535
2066
  }
1536
2067
  interface RelatedUrl {
1537
2068
  /** Label to describe usage of the URL. */
1538
- label?: string;
2069
+ label?:
2070
+ string;
1539
2071
  /** Specific URL associated with the resource. */
1540
- url?: string;
2072
+ url?:
2073
+ string;
1541
2074
  }
1542
2075
  interface RelationshipNote {
1543
2076
  /** The type of relationship between the source and target SPDX elements */
1544
- type?: string;
2077
+ type?:
2078
+ string;
1545
2079
  }
1546
2080
  interface RelationshipOccurrence {
1547
2081
  /** A place for the SPDX file creator to record any general comments about the relationship */
1548
- comment?: string;
2082
+ comment?:
2083
+ string;
1549
2084
  /** Also referred to as SPDXRef-A The source SPDX element (file, package, etc) */
1550
- source?: string;
2085
+ source?:
2086
+ string;
1551
2087
  /**
1552
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
1553
2089
  * NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
1554
2090
  */
1555
- target?: string;
2091
+ target?:
2092
+ string;
1556
2093
  /** Output only. The type of relationship between the source and target SPDX elements */
1557
- type?: string;
2094
+ type?:
2095
+ string;
1558
2096
  }
1559
2097
  interface Remediation {
1560
2098
  /** Contains a comprehensive human-readable discussion of the remediation. */
1561
- details?: string;
2099
+ details?:
2100
+ string;
1562
2101
  /** The type of remediation that can be applied. */
1563
- remediationType?: string;
2102
+ remediationType?:
2103
+ string;
1564
2104
  /** Contains the URL where to obtain the remediation. */
1565
- remediationUri?: RelatedUrl;
2105
+ remediationUri?:
2106
+ RelatedUrl;
1566
2107
  }
1567
2108
  interface RepoId {
1568
2109
  /** A combination of a project ID and a repo name. */
1569
- projectRepoId?: ProjectRepoId;
2110
+ projectRepoId?:
2111
+ ProjectRepoId;
1570
2112
  /** A server-assigned, globally unique identifier. */
1571
- uid?: string;
2113
+ uid?:
2114
+ string;
1572
2115
  }
1573
2116
  interface Resource {
1574
2117
  /** Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest. */
1575
- contentHash?: Hash;
2118
+ contentHash?:
2119
+ Hash;
1576
2120
  /** Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - "Debian". */
1577
- name?: string;
2121
+ name?:
2122
+ string;
1578
2123
  /** Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image. */
1579
- uri?: string;
2124
+ uri?:
2125
+ string;
1580
2126
  }
1581
2127
  interface SbomReferenceIntotoPayload {
1582
2128
  /** Identifier for the schema of the Statement. */
1583
- _type?: string;
2129
+ _type?:
2130
+ string;
1584
2131
  /** Additional parameters of the Predicate. Includes the actual data about the SBOM. */
1585
- predicate?: SbomReferenceIntotoPredicate;
2132
+ predicate?:
2133
+ SbomReferenceIntotoPredicate;
1586
2134
  /** URI identifying the type of the Predicate. */
1587
- predicateType?: string;
2135
+ predicateType?:
2136
+ string;
1588
2137
  /** Set of software artifacts that the attestation applies to. Each element represents a single software artifact. */
1589
- subject?: Subject[];
2138
+ subject?:
2139
+ Subject[];
1590
2140
  }
1591
2141
  interface SbomReferenceIntotoPredicate {
1592
2142
  /** A map of algorithm to digest of the contents of the SBOM. */
1593
- digest?: { [P in string]: string };
2143
+ digest?:
2144
+ { [P in string]: string };
1594
2145
  /** The location of the SBOM. */
1595
- location?: string;
2146
+ location?:
2147
+ string;
1596
2148
  /** The mime type of the SBOM. */
1597
- mimeType?: string;
2149
+ mimeType?:
2150
+ string;
1598
2151
  /** The person or system referring this predicate to the consumer. */
1599
- referrerId?: string;
2152
+ referrerId?:
2153
+ string;
1600
2154
  }
1601
2155
  interface SBOMReferenceNote {
1602
2156
  /** The format that SBOM takes. E.g. may be spdx, cyclonedx, etc... */
1603
- format?: string;
2157
+ format?:
2158
+ string;
1604
2159
  /** The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3. */
1605
- version?: string;
2160
+ version?:
2161
+ string;
1606
2162
  }
1607
2163
  interface SBOMReferenceOccurrence {
1608
2164
  /** The actual payload that contains the SBOM reference data. */
1609
- payload?: SbomReferenceIntotoPayload;
2165
+ payload?:
2166
+ SbomReferenceIntotoPayload;
1610
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'. */
1611
- payloadType?: string;
2168
+ payloadType?:
2169
+ string;
1612
2170
  /** The signatures over the payload. */
1613
- signatures?: EnvelopeSignature[];
2171
+ signatures?:
2172
+ EnvelopeSignature[];
1614
2173
  }
1615
2174
  interface SetIamPolicyRequest {
1616
2175
  /**
1617
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
1618
2177
  * services (such as Projects) might reject them.
1619
2178
  */
1620
- policy?: Policy;
2179
+ policy?:
2180
+ Policy;
1621
2181
  }
1622
2182
  interface Signature {
1623
2183
  /**
@@ -1627,391 +2187,543 @@ declare namespace gapi.client {
1627
2187
  * SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" *
1628
2188
  * "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5"
1629
2189
  */
1630
- publicKeyId?: string;
2190
+ publicKeyId?:
2191
+ string;
1631
2192
  /**
1632
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
1633
2194
  * might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
1634
2195
  */
1635
- signature?: string;
2196
+ signature?:
2197
+ string;
1636
2198
  }
1637
2199
  interface SigningKey {
1638
2200
  /** key_id is an identifier for the signing key. */
1639
- keyId?: string;
2201
+ keyId?:
2202
+ string;
1640
2203
  /** This field contains the corresponding signature scheme. Eg: "rsassa-pss-sha256". */
1641
- keyScheme?: string;
2204
+ keyScheme?:
2205
+ string;
1642
2206
  /** This field identifies the specific signing method. Eg: "rsa", "ed25519", and "ecdsa". */
1643
- keyType?: string;
2207
+ keyType?:
2208
+ string;
1644
2209
  /** This field contains the actual public key. */
1645
- publicKeyValue?: string;
2210
+ publicKeyValue?:
2211
+ string;
1646
2212
  }
1647
2213
  interface Source {
1648
2214
  /**
1649
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
1650
2216
  * not include the context specified in the context field.
1651
2217
  */
1652
- additionalContexts?: SourceContext[];
2218
+ additionalContexts?:
2219
+ SourceContext[];
1653
2220
  /** If provided, the input binary artifacts for the build came from this location. */
1654
- artifactStorageSourceUri?: string;
2221
+ artifactStorageSourceUri?:
2222
+ string;
1655
2223
  /** If provided, the source code used for the build came from this location. */
1656
- context?: SourceContext;
2224
+ context?:
2225
+ SourceContext;
1657
2226
  /**
1658
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
1659
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
1660
2229
  * that file.
1661
2230
  */
1662
- fileHashes?: { [P in string]: FileHashes };
2231
+ fileHashes?:
2232
+ { [P in string]: FileHashes };
1663
2233
  }
1664
2234
  interface SourceContext {
1665
2235
  /** A SourceContext referring to a revision in a Google Cloud Source Repo. */
1666
- cloudRepo?: CloudRepoSourceContext;
2236
+ cloudRepo?:
2237
+ CloudRepoSourceContext;
1667
2238
  /** A SourceContext referring to a Gerrit project. */
1668
- gerrit?: GerritSourceContext;
2239
+ gerrit?:
2240
+ GerritSourceContext;
1669
2241
  /** A SourceContext referring to any third party Git repo (e.g., GitHub). */
1670
- git?: GitSourceContext;
2242
+ git?:
2243
+ GitSourceContext;
1671
2244
  /** Labels with user defined metadata. */
1672
- labels?: { [P in string]: string };
2245
+ labels?:
2246
+ { [P in string]: string };
1673
2247
  }
1674
2248
  interface Status {
1675
2249
  /** The status code, which should be an enum value of google.rpc.Code. */
1676
- code?: number;
2250
+ code?:
2251
+ number;
1677
2252
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1678
- details?: Array<{ [P in string]: any }>;
2253
+ details?:
2254
+ Array<{ [P in string]: any }>;
1679
2255
  /**
1680
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
1681
2257
  * client.
1682
2258
  */
1683
- message?: string;
2259
+ message?:
2260
+ string;
1684
2261
  }
1685
2262
  interface Subject {
1686
2263
  /** `"": ""` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet */
1687
- digest?: { [P in string]: string };
2264
+ digest?:
2265
+ { [P in string]: string };
1688
2266
  /** Identifier to distinguish this artifact from others within the subject. */
1689
- name?: string;
2267
+ name?:
2268
+ string;
1690
2269
  }
1691
2270
  interface TestIamPermissionsRequest {
1692
2271
  /**
1693
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
1694
2273
  * Overview](https://cloud.google.com/iam/docs/overview#permissions).
1695
2274
  */
1696
- permissions?: string[];
2275
+ permissions?:
2276
+ string[];
1697
2277
  }
1698
2278
  interface TestIamPermissionsResponse {
1699
2279
  /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
1700
- permissions?: string[];
2280
+ permissions?:
2281
+ string[];
1701
2282
  }
1702
2283
  interface TimeSpan {
1703
2284
  /** End of time span. */
1704
- endTime?: string;
2285
+ endTime?:
2286
+ string;
1705
2287
  /** Start of time span. */
1706
- startTime?: string;
2288
+ startTime?:
2289
+ string;
1707
2290
  }
1708
2291
  interface Version {
1709
2292
  /** Used to correct mistakes in the version numbering scheme. */
1710
- epoch?: number;
2293
+ epoch?:
2294
+ number;
1711
2295
  /**
1712
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
1713
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
1714
2298
  * to true when the version is included in a range.
1715
2299
  */
1716
- inclusive?: boolean;
2300
+ inclusive?:
2301
+ boolean;
1717
2302
  /** Required. Distinguishes between sentinel MIN/MAX versions and normal versions. */
1718
- kind?: string;
2303
+ kind?:
2304
+ string;
1719
2305
  /** Required only when version kind is NORMAL. The main part of the version name. */
1720
- name?: string;
2306
+ name?:
2307
+ string;
1721
2308
  /** The iteration of the package build from the above version. */
1722
- revision?: string;
2309
+ revision?:
2310
+ string;
1723
2311
  }
1724
2312
  interface VexAssessment {
1725
2313
  /** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
1726
- cve?: string;
2314
+ cve?:
2315
+ string;
1727
2316
  /** Contains information about the impact of this vulnerability, this will change with time. */
1728
- impacts?: string[];
2317
+ impacts?:
2318
+ string[];
1729
2319
  /** Justification provides the justification when the state of the assessment if NOT_AFFECTED. */
1730
- justification?: Justification;
2320
+ justification?:
2321
+ Justification;
1731
2322
  /** The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`. */
1732
- noteName?: string;
2323
+ noteName?:
2324
+ string;
1733
2325
  /** Holds a list of references associated with this vulnerability item and assessment. */
1734
- relatedUris?: RelatedUrl[];
2326
+ relatedUris?:
2327
+ RelatedUrl[];
1735
2328
  /** Specifies details on how to handle (and presumably, fix) a vulnerability. */
1736
- remediations?: Remediation[];
2329
+ remediations?:
2330
+ Remediation[];
1737
2331
  /** Provides the state of this Vulnerability assessment. */
1738
- state?: string;
2332
+ state?:
2333
+ string;
1739
2334
  }
1740
2335
  interface Volume {
1741
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. */
1742
- name?: string;
2337
+ name?:
2338
+ string;
1743
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. */
1744
- path?: string;
2340
+ path?:
2341
+ string;
1745
2342
  }
1746
2343
  interface Vulnerability {
1747
2344
  /** The CVSS score for this vulnerability. */
1748
- cvssScore?: number;
2345
+ cvssScore?:
2346
+ number;
1749
2347
  /** The full description of the CVSS for version 2. */
1750
- cvssV2?: CVSS;
2348
+ cvssV2?:
2349
+ CVSS;
1751
2350
  /** The full description of the CVSS for version 3. */
1752
- cvssV3?: CVSSv3;
2351
+ cvssV3?:
2352
+ CVSSv3;
1753
2353
  /** CVSS version used to populate cvss_score and severity. */
1754
- cvssVersion?: string;
2354
+ cvssVersion?:
2355
+ string;
1755
2356
  /** A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html */
1756
- cwe?: string[];
2357
+ cwe?:
2358
+ string[];
1757
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. */
1758
- details?: Detail[];
2360
+ details?:
2361
+ Detail[];
1759
2362
  /** Note provider assigned impact of the vulnerability. */
1760
- severity?: string;
2363
+ severity?:
2364
+ string;
1761
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. */
1762
- sourceUpdateTime?: string;
2366
+ sourceUpdateTime?:
2367
+ string;
1763
2368
  /**
1764
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
1765
2370
  * vulnerabilities really are a missing package, rather than a package being at an incorrect version.
1766
2371
  */
1767
- windowsDetails?: WindowsDetail[];
2372
+ windowsDetails?:
2373
+ WindowsDetail[];
1768
2374
  }
1769
2375
  interface VulnerabilityAssessmentNote {
1770
2376
  /** Represents a vulnerability assessment for the product. */
1771
- assessment?: Assessment;
2377
+ assessment?:
2378
+ Assessment;
1772
2379
  /** Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646. */
1773
- languageCode?: string;
2380
+ languageCode?:
2381
+ string;
1774
2382
  /** A detailed description of this Vex. */
1775
- longDescription?: string;
2383
+ longDescription?:
2384
+ string;
1776
2385
  /** The product affected by this vex. */
1777
- product?: Product;
2386
+ product?:
2387
+ Product;
1778
2388
  /** Publisher details of this Note. */
1779
- publisher?: Publisher;
2389
+ publisher?:
2390
+ Publisher;
1780
2391
  /** A one sentence description of this Vex. */
1781
- shortDescription?: string;
2392
+ shortDescription?:
2393
+ string;
1782
2394
  /** The title of the note. E.g. `Vex-Debian-11.4` */
1783
- title?: string;
2395
+ title?:
2396
+ string;
1784
2397
  }
1785
2398
  interface VulnerabilityLocation {
1786
2399
  /** Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. */
1787
- cpeUri?: string;
2400
+ cpeUri?:
2401
+ string;
1788
2402
  /** Required. The package being described. */
1789
- package?: string;
2403
+ package?:
2404
+ string;
1790
2405
  /** Required. The version of the package being described. */
1791
- version?: Version;
2406
+ version?:
2407
+ Version;
1792
2408
  }
1793
2409
  interface VulnerabilityOccurrencesSummary {
1794
2410
  /** A listing by resource of the number of fixable and total vulnerabilities. */
1795
- counts?: FixableTotalByDigest[];
2411
+ counts?:
2412
+ FixableTotalByDigest[];
1796
2413
  }
1797
2414
  interface WindowsDetail {
1798
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. */
1799
- cpeUri?: string;
2416
+ cpeUri?:
2417
+ string;
1800
2418
  /** The description of the vulnerability. */
1801
- description?: string;
2419
+ description?:
2420
+ string;
1802
2421
  /**
1803
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
1804
2423
  * vulnerability. Currently any listed kb's presence is considered a fix.
1805
2424
  */
1806
- fixingKbs?: KnowledgeBase[];
2425
+ fixingKbs?:
2426
+ KnowledgeBase[];
1807
2427
  /** Required. The name of the vulnerability. */
1808
- name?: string;
2428
+ name?:
2429
+ string;
1809
2430
  }
1810
2431
  interface OccurrencesResource {
1811
2432
  /** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
1812
2433
  list(request?: {
1813
2434
  /** V1 error format. */
1814
- "$.xgafv"?: string;
2435
+ "$.xgafv"?:
2436
+ string;
1815
2437
  /** OAuth access token. */
1816
- access_token?: string;
2438
+ access_token?:
2439
+ string;
1817
2440
  /** Data format for response. */
1818
- alt?: string;
2441
+ alt?:
2442
+ string;
1819
2443
  /** JSONP */
1820
- callback?: string;
2444
+ callback?:
2445
+ string;
1821
2446
  /** Selector specifying which fields to include in a partial response. */
1822
- fields?: string;
2447
+ fields?:
2448
+ string;
1823
2449
  /** The filter expression. */
1824
- filter?: string;
2450
+ filter?:
2451
+ string;
1825
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. */
1826
- key?: string;
2453
+ key?:
2454
+ string;
1827
2455
  /** Required. The name of the note to list occurrences for in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1828
- name: string;
2456
+ name:
2457
+ string;
1829
2458
  /** OAuth 2.0 token for the current user. */
1830
- oauth_token?: string;
2459
+ oauth_token?:
2460
+ string;
1831
2461
  /** Number of occurrences to return in the list. */
1832
- pageSize?: number;
2462
+ pageSize?:
2463
+ number;
1833
2464
  /** Token to provide to skip to a particular spot in the list. */
1834
- pageToken?: string;
2465
+ pageToken?:
2466
+ string;
1835
2467
  /** Returns response with indentations and line breaks. */
1836
- prettyPrint?: boolean;
2468
+ prettyPrint?:
2469
+ boolean;
1837
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. */
1838
- quotaUser?: string;
2471
+ quotaUser?:
2472
+ string;
1839
2473
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1840
- upload_protocol?: string;
2474
+ upload_protocol?:
2475
+ string;
1841
2476
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1842
- uploadType?: string;
2477
+ uploadType?:
2478
+ string;
1843
2479
  }): Request<ListNoteOccurrencesResponse>;
1844
2480
  }
1845
2481
  interface NotesResource {
1846
2482
  /** Creates new notes in batch. */
1847
2483
  batchCreate(request: {
1848
2484
  /** V1 error format. */
1849
- "$.xgafv"?: string;
2485
+ "$.xgafv"?:
2486
+ string;
1850
2487
  /** OAuth access token. */
1851
- access_token?: string;
2488
+ access_token?:
2489
+ string;
1852
2490
  /** Data format for response. */
1853
- alt?: string;
2491
+ alt?:
2492
+ string;
1854
2493
  /** JSONP */
1855
- callback?: string;
2494
+ callback?:
2495
+ string;
1856
2496
  /** Selector specifying which fields to include in a partial response. */
1857
- fields?: string;
2497
+ fields?:
2498
+ string;
1858
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. */
1859
- key?: string;
2500
+ key?:
2501
+ string;
1860
2502
  /** OAuth 2.0 token for the current user. */
1861
- oauth_token?: string;
2503
+ oauth_token?:
2504
+ string;
1862
2505
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
1863
- parent: string;
2506
+ parent:
2507
+ string;
1864
2508
  /** Returns response with indentations and line breaks. */
1865
- prettyPrint?: boolean;
2509
+ prettyPrint?:
2510
+ boolean;
1866
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. */
1867
- quotaUser?: string;
2512
+ quotaUser?:
2513
+ string;
1868
2514
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1869
- upload_protocol?: string;
2515
+ upload_protocol?:
2516
+ string;
1870
2517
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1871
- uploadType?: string;
2518
+ uploadType?:
2519
+ string;
1872
2520
  /** Request body */
1873
- resource: BatchCreateNotesRequest;
2521
+ resource:
2522
+ BatchCreateNotesRequest;
1874
2523
  }): Request<BatchCreateNotesResponse>;
1875
2524
  batchCreate(request: {
1876
2525
  /** V1 error format. */
1877
- "$.xgafv"?: string;
2526
+ "$.xgafv"?:
2527
+ string;
1878
2528
  /** OAuth access token. */
1879
- access_token?: string;
2529
+ access_token?:
2530
+ string;
1880
2531
  /** Data format for response. */
1881
- alt?: string;
2532
+ alt?:
2533
+ string;
1882
2534
  /** JSONP */
1883
- callback?: string;
2535
+ callback?:
2536
+ string;
1884
2537
  /** Selector specifying which fields to include in a partial response. */
1885
- fields?: string;
2538
+ fields?:
2539
+ string;
1886
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. */
1887
- key?: string;
2541
+ key?:
2542
+ string;
1888
2543
  /** OAuth 2.0 token for the current user. */
1889
- oauth_token?: string;
2544
+ oauth_token?:
2545
+ string;
1890
2546
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
1891
- parent: string;
2547
+ parent:
2548
+ string;
1892
2549
  /** Returns response with indentations and line breaks. */
1893
- prettyPrint?: boolean;
2550
+ prettyPrint?:
2551
+ boolean;
1894
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. */
1895
- quotaUser?: string;
2553
+ quotaUser?:
2554
+ string;
1896
2555
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1897
- upload_protocol?: string;
2556
+ upload_protocol?:
2557
+ string;
1898
2558
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1899
- uploadType?: string;
2559
+ uploadType?:
2560
+ string;
1900
2561
  },
1901
2562
  body: BatchCreateNotesRequest): Request<BatchCreateNotesResponse>;
1902
2563
  /** Creates a new note. */
1903
2564
  create(request: {
1904
2565
  /** V1 error format. */
1905
- "$.xgafv"?: string;
2566
+ "$.xgafv"?:
2567
+ string;
1906
2568
  /** OAuth access token. */
1907
- access_token?: string;
2569
+ access_token?:
2570
+ string;
1908
2571
  /** Data format for response. */
1909
- alt?: string;
2572
+ alt?:
2573
+ string;
1910
2574
  /** JSONP */
1911
- callback?: string;
2575
+ callback?:
2576
+ string;
1912
2577
  /** Selector specifying which fields to include in a partial response. */
1913
- fields?: string;
2578
+ fields?:
2579
+ string;
1914
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. */
1915
- key?: string;
2581
+ key?:
2582
+ string;
1916
2583
  /** Required. The ID to use for this note. */
1917
- noteId?: string;
2584
+ noteId?:
2585
+ string;
1918
2586
  /** OAuth 2.0 token for the current user. */
1919
- oauth_token?: string;
2587
+ oauth_token?:
2588
+ string;
1920
2589
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
1921
- parent: string;
2590
+ parent:
2591
+ string;
1922
2592
  /** Returns response with indentations and line breaks. */
1923
- prettyPrint?: boolean;
2593
+ prettyPrint?:
2594
+ boolean;
1924
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. */
1925
- quotaUser?: string;
2596
+ quotaUser?:
2597
+ string;
1926
2598
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1927
- upload_protocol?: string;
2599
+ upload_protocol?:
2600
+ string;
1928
2601
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1929
- uploadType?: string;
2602
+ uploadType?:
2603
+ string;
1930
2604
  /** Request body */
1931
- resource: Note;
2605
+ resource:
2606
+ Note;
1932
2607
  }): Request<Note>;
1933
2608
  create(request: {
1934
2609
  /** V1 error format. */
1935
- "$.xgafv"?: string;
2610
+ "$.xgafv"?:
2611
+ string;
1936
2612
  /** OAuth access token. */
1937
- access_token?: string;
2613
+ access_token?:
2614
+ string;
1938
2615
  /** Data format for response. */
1939
- alt?: string;
2616
+ alt?:
2617
+ string;
1940
2618
  /** JSONP */
1941
- callback?: string;
2619
+ callback?:
2620
+ string;
1942
2621
  /** Selector specifying which fields to include in a partial response. */
1943
- fields?: string;
2622
+ fields?:
2623
+ string;
1944
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. */
1945
- key?: string;
2625
+ key?:
2626
+ string;
1946
2627
  /** Required. The ID to use for this note. */
1947
- noteId?: string;
2628
+ noteId?:
2629
+ string;
1948
2630
  /** OAuth 2.0 token for the current user. */
1949
- oauth_token?: string;
2631
+ oauth_token?:
2632
+ string;
1950
2633
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
1951
- parent: string;
2634
+ parent:
2635
+ string;
1952
2636
  /** Returns response with indentations and line breaks. */
1953
- prettyPrint?: boolean;
2637
+ prettyPrint?:
2638
+ boolean;
1954
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. */
1955
- quotaUser?: string;
2640
+ quotaUser?:
2641
+ string;
1956
2642
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1957
- upload_protocol?: string;
2643
+ upload_protocol?:
2644
+ string;
1958
2645
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1959
- uploadType?: string;
2646
+ uploadType?:
2647
+ string;
1960
2648
  },
1961
2649
  body: Note): Request<Note>;
1962
2650
  /** Deletes the specified note. */
1963
2651
  delete(request?: {
1964
2652
  /** V1 error format. */
1965
- "$.xgafv"?: string;
2653
+ "$.xgafv"?:
2654
+ string;
1966
2655
  /** OAuth access token. */
1967
- access_token?: string;
2656
+ access_token?:
2657
+ string;
1968
2658
  /** Data format for response. */
1969
- alt?: string;
2659
+ alt?:
2660
+ string;
1970
2661
  /** JSONP */
1971
- callback?: string;
2662
+ callback?:
2663
+ string;
1972
2664
  /** Selector specifying which fields to include in a partial response. */
1973
- fields?: string;
2665
+ fields?:
2666
+ string;
1974
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. */
1975
- key?: string;
2668
+ key?:
2669
+ string;
1976
2670
  /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1977
- name: string;
2671
+ name:
2672
+ string;
1978
2673
  /** OAuth 2.0 token for the current user. */
1979
- oauth_token?: string;
2674
+ oauth_token?:
2675
+ string;
1980
2676
  /** Returns response with indentations and line breaks. */
1981
- prettyPrint?: boolean;
2677
+ prettyPrint?:
2678
+ boolean;
1982
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. */
1983
- quotaUser?: string;
2680
+ quotaUser?:
2681
+ string;
1984
2682
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1985
- upload_protocol?: string;
2683
+ upload_protocol?:
2684
+ string;
1986
2685
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1987
- uploadType?: string;
2686
+ uploadType?:
2687
+ string;
1988
2688
  }): Request<{}>;
1989
2689
  /** Gets the specified note. */
1990
2690
  get(request?: {
1991
2691
  /** V1 error format. */
1992
- "$.xgafv"?: string;
2692
+ "$.xgafv"?:
2693
+ string;
1993
2694
  /** OAuth access token. */
1994
- access_token?: string;
2695
+ access_token?:
2696
+ string;
1995
2697
  /** Data format for response. */
1996
- alt?: string;
2698
+ alt?:
2699
+ string;
1997
2700
  /** JSONP */
1998
- callback?: string;
2701
+ callback?:
2702
+ string;
1999
2703
  /** Selector specifying which fields to include in a partial response. */
2000
- fields?: string;
2704
+ fields?:
2705
+ string;
2001
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. */
2002
- key?: string;
2707
+ key?:
2708
+ string;
2003
2709
  /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
2004
- name: string;
2710
+ name:
2711
+ string;
2005
2712
  /** OAuth 2.0 token for the current user. */
2006
- oauth_token?: string;
2713
+ oauth_token?:
2714
+ string;
2007
2715
  /** Returns response with indentations and line breaks. */
2008
- prettyPrint?: boolean;
2716
+ prettyPrint?:
2717
+ boolean;
2009
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. */
2010
- quotaUser?: string;
2719
+ quotaUser?:
2720
+ string;
2011
2721
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2012
- upload_protocol?: string;
2722
+ upload_protocol?:
2723
+ string;
2013
2724
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2014
- uploadType?: string;
2725
+ uploadType?:
2726
+ string;
2015
2727
  }): Request<Note>;
2016
2728
  /**
2017
2729
  * Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if
@@ -2020,125 +2732,179 @@ declare namespace gapi.client {
2020
2732
  */
2021
2733
  getIamPolicy(request: {
2022
2734
  /** V1 error format. */
2023
- "$.xgafv"?: string;
2735
+ "$.xgafv"?:
2736
+ string;
2024
2737
  /** OAuth access token. */
2025
- access_token?: string;
2738
+ access_token?:
2739
+ string;
2026
2740
  /** Data format for response. */
2027
- alt?: string;
2741
+ alt?:
2742
+ string;
2028
2743
  /** JSONP */
2029
- callback?: string;
2744
+ callback?:
2745
+ string;
2030
2746
  /** Selector specifying which fields to include in a partial response. */
2031
- fields?: string;
2747
+ fields?:
2748
+ string;
2032
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. */
2033
- key?: string;
2750
+ key?:
2751
+ string;
2034
2752
  /** OAuth 2.0 token for the current user. */
2035
- oauth_token?: string;
2753
+ oauth_token?:
2754
+ string;
2036
2755
  /** Returns response with indentations and line breaks. */
2037
- prettyPrint?: boolean;
2756
+ prettyPrint?:
2757
+ boolean;
2038
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. */
2039
- quotaUser?: string;
2759
+ quotaUser?:
2760
+ string;
2040
2761
  /**
2041
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
2042
2763
  * field.
2043
2764
  */
2044
- resource: string;
2765
+ resource:
2766
+ string;
2045
2767
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2046
- upload_protocol?: string;
2768
+ upload_protocol?:
2769
+ string;
2047
2770
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2048
- uploadType?: string;
2771
+ uploadType?:
2772
+ string;
2049
2773
  },
2050
2774
  body: GetIamPolicyRequest): Request<Policy>;
2051
2775
  /** Lists notes for the specified project. */
2052
2776
  list(request?: {
2053
2777
  /** V1 error format. */
2054
- "$.xgafv"?: string;
2778
+ "$.xgafv"?:
2779
+ string;
2055
2780
  /** OAuth access token. */
2056
- access_token?: string;
2781
+ access_token?:
2782
+ string;
2057
2783
  /** Data format for response. */
2058
- alt?: string;
2784
+ alt?:
2785
+ string;
2059
2786
  /** JSONP */
2060
- callback?: string;
2787
+ callback?:
2788
+ string;
2061
2789
  /** Selector specifying which fields to include in a partial response. */
2062
- fields?: string;
2790
+ fields?:
2791
+ string;
2063
2792
  /** The filter expression. */
2064
- filter?: string;
2793
+ filter?:
2794
+ string;
2065
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. */
2066
- key?: string;
2796
+ key?:
2797
+ string;
2067
2798
  /** OAuth 2.0 token for the current user. */
2068
- oauth_token?: string;
2799
+ oauth_token?:
2800
+ string;
2069
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. */
2070
- pageSize?: number;
2802
+ pageSize?:
2803
+ number;
2071
2804
  /** Token to provide to skip to a particular spot in the list. */
2072
- pageToken?: string;
2805
+ pageToken?:
2806
+ string;
2073
2807
  /** Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. */
2074
- parent: string;
2808
+ parent:
2809
+ string;
2075
2810
  /** Returns response with indentations and line breaks. */
2076
- prettyPrint?: boolean;
2811
+ prettyPrint?:
2812
+ boolean;
2077
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. */
2078
- quotaUser?: string;
2814
+ quotaUser?:
2815
+ string;
2079
2816
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2080
- upload_protocol?: string;
2817
+ upload_protocol?:
2818
+ string;
2081
2819
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2082
- uploadType?: string;
2820
+ uploadType?:
2821
+ string;
2083
2822
  }): Request<ListNotesResponse>;
2084
2823
  /** Updates the specified note. */
2085
2824
  patch(request: {
2086
2825
  /** V1 error format. */
2087
- "$.xgafv"?: string;
2826
+ "$.xgafv"?:
2827
+ string;
2088
2828
  /** OAuth access token. */
2089
- access_token?: string;
2829
+ access_token?:
2830
+ string;
2090
2831
  /** Data format for response. */
2091
- alt?: string;
2832
+ alt?:
2833
+ string;
2092
2834
  /** JSONP */
2093
- callback?: string;
2835
+ callback?:
2836
+ string;
2094
2837
  /** Selector specifying which fields to include in a partial response. */
2095
- fields?: string;
2838
+ fields?:
2839
+ string;
2096
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. */
2097
- key?: string;
2841
+ key?:
2842
+ string;
2098
2843
  /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
2099
- name: string;
2844
+ name:
2845
+ string;
2100
2846
  /** OAuth 2.0 token for the current user. */
2101
- oauth_token?: string;
2847
+ oauth_token?:
2848
+ string;
2102
2849
  /** Returns response with indentations and line breaks. */
2103
- prettyPrint?: boolean;
2850
+ prettyPrint?:
2851
+ boolean;
2104
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. */
2105
- quotaUser?: string;
2853
+ quotaUser?:
2854
+ string;
2106
2855
  /** The fields to update. */
2107
- updateMask?: string;
2856
+ updateMask?:
2857
+ string;
2108
2858
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2109
- upload_protocol?: string;
2859
+ upload_protocol?:
2860
+ string;
2110
2861
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2111
- uploadType?: string;
2862
+ uploadType?:
2863
+ string;
2112
2864
  /** Request body */
2113
- resource: Note;
2865
+ resource:
2866
+ Note;
2114
2867
  }): Request<Note>;
2115
2868
  patch(request: {
2116
2869
  /** V1 error format. */
2117
- "$.xgafv"?: string;
2870
+ "$.xgafv"?:
2871
+ string;
2118
2872
  /** OAuth access token. */
2119
- access_token?: string;
2873
+ access_token?:
2874
+ string;
2120
2875
  /** Data format for response. */
2121
- alt?: string;
2876
+ alt?:
2877
+ string;
2122
2878
  /** JSONP */
2123
- callback?: string;
2879
+ callback?:
2880
+ string;
2124
2881
  /** Selector specifying which fields to include in a partial response. */
2125
- fields?: string;
2882
+ fields?:
2883
+ string;
2126
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. */
2127
- key?: string;
2885
+ key?:
2886
+ string;
2128
2887
  /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
2129
- name: string;
2888
+ name:
2889
+ string;
2130
2890
  /** OAuth 2.0 token for the current user. */
2131
- oauth_token?: string;
2891
+ oauth_token?:
2892
+ string;
2132
2893
  /** Returns response with indentations and line breaks. */
2133
- prettyPrint?: boolean;
2894
+ prettyPrint?:
2895
+ boolean;
2134
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. */
2135
- quotaUser?: string;
2897
+ quotaUser?:
2898
+ string;
2136
2899
  /** The fields to update. */
2137
- updateMask?: string;
2900
+ updateMask?:
2901
+ string;
2138
2902
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2139
- upload_protocol?: string;
2903
+ upload_protocol?:
2904
+ string;
2140
2905
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2141
- uploadType?: string;
2906
+ uploadType?:
2907
+ string;
2142
2908
  },
2143
2909
  body: Note): Request<Note>;
2144
2910
  /**
@@ -2148,32 +2914,44 @@ declare namespace gapi.client {
2148
2914
  */
2149
2915
  setIamPolicy(request: {
2150
2916
  /** V1 error format. */
2151
- "$.xgafv"?: string;
2917
+ "$.xgafv"?:
2918
+ string;
2152
2919
  /** OAuth access token. */
2153
- access_token?: string;
2920
+ access_token?:
2921
+ string;
2154
2922
  /** Data format for response. */
2155
- alt?: string;
2923
+ alt?:
2924
+ string;
2156
2925
  /** JSONP */
2157
- callback?: string;
2926
+ callback?:
2927
+ string;
2158
2928
  /** Selector specifying which fields to include in a partial response. */
2159
- fields?: string;
2929
+ fields?:
2930
+ string;
2160
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. */
2161
- key?: string;
2932
+ key?:
2933
+ string;
2162
2934
  /** OAuth 2.0 token for the current user. */
2163
- oauth_token?: string;
2935
+ oauth_token?:
2936
+ string;
2164
2937
  /** Returns response with indentations and line breaks. */
2165
- prettyPrint?: boolean;
2938
+ prettyPrint?:
2939
+ boolean;
2166
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. */
2167
- quotaUser?: string;
2941
+ quotaUser?:
2942
+ string;
2168
2943
  /**
2169
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
2170
2945
  * field.
2171
2946
  */
2172
- resource: string;
2947
+ resource:
2948
+ string;
2173
2949
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2174
- upload_protocol?: string;
2950
+ upload_protocol?:
2951
+ string;
2175
2952
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2176
- uploadType?: string;
2953
+ uploadType?:
2954
+ string;
2177
2955
  },
2178
2956
  body: SetIamPolicyRequest): Request<Policy>;
2179
2957
  /**
@@ -2182,202 +2960,289 @@ declare namespace gapi.client {
2182
2960
  */
2183
2961
  testIamPermissions(request: {
2184
2962
  /** V1 error format. */
2185
- "$.xgafv"?: string;
2963
+ "$.xgafv"?:
2964
+ string;
2186
2965
  /** OAuth access token. */
2187
- access_token?: string;
2966
+ access_token?:
2967
+ string;
2188
2968
  /** Data format for response. */
2189
- alt?: string;
2969
+ alt?:
2970
+ string;
2190
2971
  /** JSONP */
2191
- callback?: string;
2972
+ callback?:
2973
+ string;
2192
2974
  /** Selector specifying which fields to include in a partial response. */
2193
- fields?: string;
2975
+ fields?:
2976
+ string;
2194
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. */
2195
- key?: string;
2978
+ key?:
2979
+ string;
2196
2980
  /** OAuth 2.0 token for the current user. */
2197
- oauth_token?: string;
2981
+ oauth_token?:
2982
+ string;
2198
2983
  /** Returns response with indentations and line breaks. */
2199
- prettyPrint?: boolean;
2984
+ prettyPrint?:
2985
+ boolean;
2200
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. */
2201
- quotaUser?: string;
2987
+ quotaUser?:
2988
+ string;
2202
2989
  /**
2203
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
2204
2991
  * this field.
2205
2992
  */
2206
- resource: string;
2993
+ resource:
2994
+ string;
2207
2995
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2208
- upload_protocol?: string;
2996
+ upload_protocol?:
2997
+ string;
2209
2998
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2210
- uploadType?: string;
2999
+ uploadType?:
3000
+ string;
2211
3001
  },
2212
3002
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
2213
- occurrences: OccurrencesResource;
3003
+ occurrences:
3004
+ OccurrencesResource;
2214
3005
  }
2215
3006
  interface OccurrencesResource {
2216
3007
  /** Creates new occurrences in batch. */
2217
3008
  batchCreate(request: {
2218
3009
  /** V1 error format. */
2219
- "$.xgafv"?: string;
3010
+ "$.xgafv"?:
3011
+ string;
2220
3012
  /** OAuth access token. */
2221
- access_token?: string;
3013
+ access_token?:
3014
+ string;
2222
3015
  /** Data format for response. */
2223
- alt?: string;
3016
+ alt?:
3017
+ string;
2224
3018
  /** JSONP */
2225
- callback?: string;
3019
+ callback?:
3020
+ string;
2226
3021
  /** Selector specifying which fields to include in a partial response. */
2227
- fields?: string;
3022
+ fields?:
3023
+ string;
2228
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. */
2229
- key?: string;
3025
+ key?:
3026
+ string;
2230
3027
  /** OAuth 2.0 token for the current user. */
2231
- oauth_token?: string;
3028
+ oauth_token?:
3029
+ string;
2232
3030
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
2233
- parent: string;
3031
+ parent:
3032
+ string;
2234
3033
  /** Returns response with indentations and line breaks. */
2235
- prettyPrint?: boolean;
3034
+ prettyPrint?:
3035
+ boolean;
2236
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. */
2237
- quotaUser?: string;
3037
+ quotaUser?:
3038
+ string;
2238
3039
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2239
- upload_protocol?: string;
3040
+ upload_protocol?:
3041
+ string;
2240
3042
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2241
- uploadType?: string;
3043
+ uploadType?:
3044
+ string;
2242
3045
  /** Request body */
2243
- resource: BatchCreateOccurrencesRequest;
3046
+ resource:
3047
+ BatchCreateOccurrencesRequest;
2244
3048
  }): Request<BatchCreateOccurrencesResponse>;
2245
3049
  batchCreate(request: {
2246
3050
  /** V1 error format. */
2247
- "$.xgafv"?: string;
3051
+ "$.xgafv"?:
3052
+ string;
2248
3053
  /** OAuth access token. */
2249
- access_token?: string;
3054
+ access_token?:
3055
+ string;
2250
3056
  /** Data format for response. */
2251
- alt?: string;
3057
+ alt?:
3058
+ string;
2252
3059
  /** JSONP */
2253
- callback?: string;
3060
+ callback?:
3061
+ string;
2254
3062
  /** Selector specifying which fields to include in a partial response. */
2255
- fields?: string;
3063
+ fields?:
3064
+ string;
2256
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. */
2257
- key?: string;
3066
+ key?:
3067
+ string;
2258
3068
  /** OAuth 2.0 token for the current user. */
2259
- oauth_token?: string;
3069
+ oauth_token?:
3070
+ string;
2260
3071
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
2261
- parent: string;
3072
+ parent:
3073
+ string;
2262
3074
  /** Returns response with indentations and line breaks. */
2263
- prettyPrint?: boolean;
3075
+ prettyPrint?:
3076
+ boolean;
2264
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. */
2265
- quotaUser?: string;
3078
+ quotaUser?:
3079
+ string;
2266
3080
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2267
- upload_protocol?: string;
3081
+ upload_protocol?:
3082
+ string;
2268
3083
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2269
- uploadType?: string;
3084
+ uploadType?:
3085
+ string;
2270
3086
  },
2271
3087
  body: BatchCreateOccurrencesRequest): Request<BatchCreateOccurrencesResponse>;
2272
3088
  /** Creates a new occurrence. */
2273
3089
  create(request: {
2274
3090
  /** V1 error format. */
2275
- "$.xgafv"?: string;
3091
+ "$.xgafv"?:
3092
+ string;
2276
3093
  /** OAuth access token. */
2277
- access_token?: string;
3094
+ access_token?:
3095
+ string;
2278
3096
  /** Data format for response. */
2279
- alt?: string;
3097
+ alt?:
3098
+ string;
2280
3099
  /** JSONP */
2281
- callback?: string;
3100
+ callback?:
3101
+ string;
2282
3102
  /** Selector specifying which fields to include in a partial response. */
2283
- fields?: string;
3103
+ fields?:
3104
+ string;
2284
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. */
2285
- key?: string;
3106
+ key?:
3107
+ string;
2286
3108
  /** OAuth 2.0 token for the current user. */
2287
- oauth_token?: string;
3109
+ oauth_token?:
3110
+ string;
2288
3111
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. */
2289
- parent: string;
3112
+ parent:
3113
+ string;
2290
3114
  /** Returns response with indentations and line breaks. */
2291
- prettyPrint?: boolean;
3115
+ prettyPrint?:
3116
+ boolean;
2292
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. */
2293
- quotaUser?: string;
3118
+ quotaUser?:
3119
+ string;
2294
3120
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2295
- upload_protocol?: string;
3121
+ upload_protocol?:
3122
+ string;
2296
3123
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2297
- uploadType?: string;
3124
+ uploadType?:
3125
+ string;
2298
3126
  /** Request body */
2299
- resource: Occurrence;
3127
+ resource:
3128
+ Occurrence;
2300
3129
  }): Request<Occurrence>;
2301
3130
  create(request: {
2302
3131
  /** V1 error format. */
2303
- "$.xgafv"?: string;
3132
+ "$.xgafv"?:
3133
+ string;
2304
3134
  /** OAuth access token. */
2305
- access_token?: string;
3135
+ access_token?:
3136
+ string;
2306
3137
  /** Data format for response. */
2307
- alt?: string;
3138
+ alt?:
3139
+ string;
2308
3140
  /** JSONP */
2309
- callback?: string;
3141
+ callback?:
3142
+ string;
2310
3143
  /** Selector specifying which fields to include in a partial response. */
2311
- fields?: string;
3144
+ fields?:
3145
+ string;
2312
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. */
2313
- key?: string;
3147
+ key?:
3148
+ string;
2314
3149
  /** OAuth 2.0 token for the current user. */
2315
- oauth_token?: string;
3150
+ oauth_token?:
3151
+ string;
2316
3152
  /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. */
2317
- parent: string;
3153
+ parent:
3154
+ string;
2318
3155
  /** Returns response with indentations and line breaks. */
2319
- prettyPrint?: boolean;
3156
+ prettyPrint?:
3157
+ boolean;
2320
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. */
2321
- quotaUser?: string;
3159
+ quotaUser?:
3160
+ string;
2322
3161
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2323
- upload_protocol?: string;
3162
+ upload_protocol?:
3163
+ string;
2324
3164
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2325
- uploadType?: string;
3165
+ uploadType?:
3166
+ string;
2326
3167
  },
2327
3168
  body: Occurrence): Request<Occurrence>;
2328
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. */
2329
3170
  delete(request?: {
2330
3171
  /** V1 error format. */
2331
- "$.xgafv"?: string;
3172
+ "$.xgafv"?:
3173
+ string;
2332
3174
  /** OAuth access token. */
2333
- access_token?: string;
3175
+ access_token?:
3176
+ string;
2334
3177
  /** Data format for response. */
2335
- alt?: string;
3178
+ alt?:
3179
+ string;
2336
3180
  /** JSONP */
2337
- callback?: string;
3181
+ callback?:
3182
+ string;
2338
3183
  /** Selector specifying which fields to include in a partial response. */
2339
- fields?: string;
3184
+ fields?:
3185
+ string;
2340
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. */
2341
- key?: string;
3187
+ key?:
3188
+ string;
2342
3189
  /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2343
- name: string;
3190
+ name:
3191
+ string;
2344
3192
  /** OAuth 2.0 token for the current user. */
2345
- oauth_token?: string;
3193
+ oauth_token?:
3194
+ string;
2346
3195
  /** Returns response with indentations and line breaks. */
2347
- prettyPrint?: boolean;
3196
+ prettyPrint?:
3197
+ boolean;
2348
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. */
2349
- quotaUser?: string;
3199
+ quotaUser?:
3200
+ string;
2350
3201
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2351
- upload_protocol?: string;
3202
+ upload_protocol?:
3203
+ string;
2352
3204
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2353
- uploadType?: string;
3205
+ uploadType?:
3206
+ string;
2354
3207
  }): Request<{}>;
2355
3208
  /** Gets the specified occurrence. */
2356
3209
  get(request?: {
2357
3210
  /** V1 error format. */
2358
- "$.xgafv"?: string;
3211
+ "$.xgafv"?:
3212
+ string;
2359
3213
  /** OAuth access token. */
2360
- access_token?: string;
3214
+ access_token?:
3215
+ string;
2361
3216
  /** Data format for response. */
2362
- alt?: string;
3217
+ alt?:
3218
+ string;
2363
3219
  /** JSONP */
2364
- callback?: string;
3220
+ callback?:
3221
+ string;
2365
3222
  /** Selector specifying which fields to include in a partial response. */
2366
- fields?: string;
3223
+ fields?:
3224
+ string;
2367
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. */
2368
- key?: string;
3226
+ key?:
3227
+ string;
2369
3228
  /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2370
- name: string;
3229
+ name:
3230
+ string;
2371
3231
  /** OAuth 2.0 token for the current user. */
2372
- oauth_token?: string;
3232
+ oauth_token?:
3233
+ string;
2373
3234
  /** Returns response with indentations and line breaks. */
2374
- prettyPrint?: boolean;
3235
+ prettyPrint?:
3236
+ boolean;
2375
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. */
2376
- quotaUser?: string;
3238
+ quotaUser?:
3239
+ string;
2377
3240
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2378
- upload_protocol?: string;
3241
+ upload_protocol?:
3242
+ string;
2379
3243
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2380
- uploadType?: string;
3244
+ uploadType?:
3245
+ string;
2381
3246
  }): Request<Occurrence>;
2382
3247
  /**
2383
3248
  * Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if
@@ -2386,181 +3251,260 @@ declare namespace gapi.client {
2386
3251
  */
2387
3252
  getIamPolicy(request: {
2388
3253
  /** V1 error format. */
2389
- "$.xgafv"?: string;
3254
+ "$.xgafv"?:
3255
+ string;
2390
3256
  /** OAuth access token. */
2391
- access_token?: string;
3257
+ access_token?:
3258
+ string;
2392
3259
  /** Data format for response. */
2393
- alt?: string;
3260
+ alt?:
3261
+ string;
2394
3262
  /** JSONP */
2395
- callback?: string;
3263
+ callback?:
3264
+ string;
2396
3265
  /** Selector specifying which fields to include in a partial response. */
2397
- fields?: string;
3266
+ fields?:
3267
+ string;
2398
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. */
2399
- key?: string;
3269
+ key?:
3270
+ string;
2400
3271
  /** OAuth 2.0 token for the current user. */
2401
- oauth_token?: string;
3272
+ oauth_token?:
3273
+ string;
2402
3274
  /** Returns response with indentations and line breaks. */
2403
- prettyPrint?: boolean;
3275
+ prettyPrint?:
3276
+ boolean;
2404
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. */
2405
- quotaUser?: string;
3278
+ quotaUser?:
3279
+ string;
2406
3280
  /**
2407
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
2408
3282
  * field.
2409
3283
  */
2410
- resource: string;
3284
+ resource:
3285
+ string;
2411
3286
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2412
- upload_protocol?: string;
3287
+ upload_protocol?:
3288
+ string;
2413
3289
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2414
- uploadType?: string;
3290
+ uploadType?:
3291
+ string;
2415
3292
  },
2416
3293
  body: GetIamPolicyRequest): Request<Policy>;
2417
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. */
2418
3295
  getNotes(request?: {
2419
3296
  /** V1 error format. */
2420
- "$.xgafv"?: string;
3297
+ "$.xgafv"?:
3298
+ string;
2421
3299
  /** OAuth access token. */
2422
- access_token?: string;
3300
+ access_token?:
3301
+ string;
2423
3302
  /** Data format for response. */
2424
- alt?: string;
3303
+ alt?:
3304
+ string;
2425
3305
  /** JSONP */
2426
- callback?: string;
3306
+ callback?:
3307
+ string;
2427
3308
  /** Selector specifying which fields to include in a partial response. */
2428
- fields?: string;
3309
+ fields?:
3310
+ string;
2429
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. */
2430
- key?: string;
3312
+ key?:
3313
+ string;
2431
3314
  /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2432
- name: string;
3315
+ name:
3316
+ string;
2433
3317
  /** OAuth 2.0 token for the current user. */
2434
- oauth_token?: string;
3318
+ oauth_token?:
3319
+ string;
2435
3320
  /** Returns response with indentations and line breaks. */
2436
- prettyPrint?: boolean;
3321
+ prettyPrint?:
3322
+ boolean;
2437
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. */
2438
- quotaUser?: string;
3324
+ quotaUser?:
3325
+ string;
2439
3326
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2440
- upload_protocol?: string;
3327
+ upload_protocol?:
3328
+ string;
2441
3329
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2442
- uploadType?: string;
3330
+ uploadType?:
3331
+ string;
2443
3332
  }): Request<Note>;
2444
3333
  /** Gets a summary of the number and severity of occurrences. */
2445
3334
  getVulnerabilitySummary(request?: {
2446
3335
  /** V1 error format. */
2447
- "$.xgafv"?: string;
3336
+ "$.xgafv"?:
3337
+ string;
2448
3338
  /** OAuth access token. */
2449
- access_token?: string;
3339
+ access_token?:
3340
+ string;
2450
3341
  /** Data format for response. */
2451
- alt?: string;
3342
+ alt?:
3343
+ string;
2452
3344
  /** JSONP */
2453
- callback?: string;
3345
+ callback?:
3346
+ string;
2454
3347
  /** Selector specifying which fields to include in a partial response. */
2455
- fields?: string;
3348
+ fields?:
3349
+ string;
2456
3350
  /** The filter expression. */
2457
- filter?: string;
3351
+ filter?:
3352
+ string;
2458
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. */
2459
- key?: string;
3354
+ key?:
3355
+ string;
2460
3356
  /** OAuth 2.0 token for the current user. */
2461
- oauth_token?: string;
3357
+ oauth_token?:
3358
+ string;
2462
3359
  /** Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`. */
2463
- parent: string;
3360
+ parent:
3361
+ string;
2464
3362
  /** Returns response with indentations and line breaks. */
2465
- prettyPrint?: boolean;
3363
+ prettyPrint?:
3364
+ boolean;
2466
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. */
2467
- quotaUser?: string;
3366
+ quotaUser?:
3367
+ string;
2468
3368
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2469
- upload_protocol?: string;
3369
+ upload_protocol?:
3370
+ string;
2470
3371
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2471
- uploadType?: string;
3372
+ uploadType?:
3373
+ string;
2472
3374
  }): Request<VulnerabilityOccurrencesSummary>;
2473
3375
  /** Lists occurrences for the specified project. */
2474
3376
  list(request?: {
2475
3377
  /** V1 error format. */
2476
- "$.xgafv"?: string;
3378
+ "$.xgafv"?:
3379
+ string;
2477
3380
  /** OAuth access token. */
2478
- access_token?: string;
3381
+ access_token?:
3382
+ string;
2479
3383
  /** Data format for response. */
2480
- alt?: string;
3384
+ alt?:
3385
+ string;
2481
3386
  /** JSONP */
2482
- callback?: string;
3387
+ callback?:
3388
+ string;
2483
3389
  /** Selector specifying which fields to include in a partial response. */
2484
- fields?: string;
3390
+ fields?:
3391
+ string;
2485
3392
  /** The filter expression. */
2486
- filter?: string;
3393
+ filter?:
3394
+ string;
2487
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. */
2488
- key?: string;
3396
+ key?:
3397
+ string;
2489
3398
  /** OAuth 2.0 token for the current user. */
2490
- oauth_token?: string;
3399
+ oauth_token?:
3400
+ string;
2491
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. */
2492
- pageSize?: number;
3402
+ pageSize?:
3403
+ number;
2493
3404
  /** Token to provide to skip to a particular spot in the list. */
2494
- pageToken?: string;
3405
+ pageToken?:
3406
+ string;
2495
3407
  /** Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`. */
2496
- parent: string;
3408
+ parent:
3409
+ string;
2497
3410
  /** Returns response with indentations and line breaks. */
2498
- prettyPrint?: boolean;
3411
+ prettyPrint?:
3412
+ boolean;
2499
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. */
2500
- quotaUser?: string;
3414
+ quotaUser?:
3415
+ string;
2501
3416
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2502
- upload_protocol?: string;
3417
+ upload_protocol?:
3418
+ string;
2503
3419
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2504
- uploadType?: string;
3420
+ uploadType?:
3421
+ string;
2505
3422
  }): Request<ListOccurrencesResponse>;
2506
3423
  /** Updates the specified occurrence. */
2507
3424
  patch(request: {
2508
3425
  /** V1 error format. */
2509
- "$.xgafv"?: string;
3426
+ "$.xgafv"?:
3427
+ string;
2510
3428
  /** OAuth access token. */
2511
- access_token?: string;
3429
+ access_token?:
3430
+ string;
2512
3431
  /** Data format for response. */
2513
- alt?: string;
3432
+ alt?:
3433
+ string;
2514
3434
  /** JSONP */
2515
- callback?: string;
3435
+ callback?:
3436
+ string;
2516
3437
  /** Selector specifying which fields to include in a partial response. */
2517
- fields?: string;
3438
+ fields?:
3439
+ string;
2518
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. */
2519
- key?: string;
3441
+ key?:
3442
+ string;
2520
3443
  /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2521
- name: string;
3444
+ name:
3445
+ string;
2522
3446
  /** OAuth 2.0 token for the current user. */
2523
- oauth_token?: string;
3447
+ oauth_token?:
3448
+ string;
2524
3449
  /** Returns response with indentations and line breaks. */
2525
- prettyPrint?: boolean;
3450
+ prettyPrint?:
3451
+ boolean;
2526
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. */
2527
- quotaUser?: string;
3453
+ quotaUser?:
3454
+ string;
2528
3455
  /** The fields to update. */
2529
- updateMask?: string;
3456
+ updateMask?:
3457
+ string;
2530
3458
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2531
- upload_protocol?: string;
3459
+ upload_protocol?:
3460
+ string;
2532
3461
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2533
- uploadType?: string;
3462
+ uploadType?:
3463
+ string;
2534
3464
  /** Request body */
2535
- resource: Occurrence;
3465
+ resource:
3466
+ Occurrence;
2536
3467
  }): Request<Occurrence>;
2537
3468
  patch(request: {
2538
3469
  /** V1 error format. */
2539
- "$.xgafv"?: string;
3470
+ "$.xgafv"?:
3471
+ string;
2540
3472
  /** OAuth access token. */
2541
- access_token?: string;
3473
+ access_token?:
3474
+ string;
2542
3475
  /** Data format for response. */
2543
- alt?: string;
3476
+ alt?:
3477
+ string;
2544
3478
  /** JSONP */
2545
- callback?: string;
3479
+ callback?:
3480
+ string;
2546
3481
  /** Selector specifying which fields to include in a partial response. */
2547
- fields?: string;
3482
+ fields?:
3483
+ string;
2548
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. */
2549
- key?: string;
3485
+ key?:
3486
+ string;
2550
3487
  /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2551
- name: string;
3488
+ name:
3489
+ string;
2552
3490
  /** OAuth 2.0 token for the current user. */
2553
- oauth_token?: string;
3491
+ oauth_token?:
3492
+ string;
2554
3493
  /** Returns response with indentations and line breaks. */
2555
- prettyPrint?: boolean;
3494
+ prettyPrint?:
3495
+ boolean;
2556
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. */
2557
- quotaUser?: string;
3497
+ quotaUser?:
3498
+ string;
2558
3499
  /** The fields to update. */
2559
- updateMask?: string;
3500
+ updateMask?:
3501
+ string;
2560
3502
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2561
- upload_protocol?: string;
3503
+ upload_protocol?:
3504
+ string;
2562
3505
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2563
- uploadType?: string;
3506
+ uploadType?:
3507
+ string;
2564
3508
  },
2565
3509
  body: Occurrence): Request<Occurrence>;
2566
3510
  /**
@@ -2570,32 +3514,44 @@ declare namespace gapi.client {
2570
3514
  */
2571
3515
  setIamPolicy(request: {
2572
3516
  /** V1 error format. */
2573
- "$.xgafv"?: string;
3517
+ "$.xgafv"?:
3518
+ string;
2574
3519
  /** OAuth access token. */
2575
- access_token?: string;
3520
+ access_token?:
3521
+ string;
2576
3522
  /** Data format for response. */
2577
- alt?: string;
3523
+ alt?:
3524
+ string;
2578
3525
  /** JSONP */
2579
- callback?: string;
3526
+ callback?:
3527
+ string;
2580
3528
  /** Selector specifying which fields to include in a partial response. */
2581
- fields?: string;
3529
+ fields?:
3530
+ string;
2582
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. */
2583
- key?: string;
3532
+ key?:
3533
+ string;
2584
3534
  /** OAuth 2.0 token for the current user. */
2585
- oauth_token?: string;
3535
+ oauth_token?:
3536
+ string;
2586
3537
  /** Returns response with indentations and line breaks. */
2587
- prettyPrint?: boolean;
3538
+ prettyPrint?:
3539
+ boolean;
2588
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. */
2589
- quotaUser?: string;
3541
+ quotaUser?:
3542
+ string;
2590
3543
  /**
2591
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
2592
3545
  * field.
2593
3546
  */
2594
- resource: string;
3547
+ resource:
3548
+ string;
2595
3549
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2596
- upload_protocol?: string;
3550
+ upload_protocol?:
3551
+ string;
2597
3552
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2598
- uploadType?: string;
3553
+ uploadType?:
3554
+ string;
2599
3555
  },
2600
3556
  body: SetIamPolicyRequest): Request<Policy>;
2601
3557
  /**
@@ -2604,38 +3560,137 @@ declare namespace gapi.client {
2604
3560
  */
2605
3561
  testIamPermissions(request: {
2606
3562
  /** V1 error format. */
2607
- "$.xgafv"?: string;
3563
+ "$.xgafv"?:
3564
+ string;
2608
3565
  /** OAuth access token. */
2609
- access_token?: string;
3566
+ access_token?:
3567
+ string;
2610
3568
  /** Data format for response. */
2611
- alt?: string;
3569
+ alt?:
3570
+ string;
2612
3571
  /** JSONP */
2613
- callback?: string;
3572
+ callback?:
3573
+ string;
2614
3574
  /** Selector specifying which fields to include in a partial response. */
2615
- fields?: string;
3575
+ fields?:
3576
+ string;
2616
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. */
2617
- key?: string;
3578
+ key?:
3579
+ string;
2618
3580
  /** OAuth 2.0 token for the current user. */
2619
- oauth_token?: string;
3581
+ oauth_token?:
3582
+ string;
2620
3583
  /** Returns response with indentations and line breaks. */
2621
- prettyPrint?: boolean;
3584
+ prettyPrint?:
3585
+ boolean;
2622
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. */
2623
- quotaUser?: string;
3587
+ quotaUser?:
3588
+ string;
2624
3589
  /**
2625
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
2626
3591
  * this field.
2627
3592
  */
2628
- resource: string;
3593
+ resource:
3594
+ string;
2629
3595
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2630
- upload_protocol?: string;
3596
+ upload_protocol?:
3597
+ string;
2631
3598
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2632
- uploadType?: string;
3599
+ uploadType?:
3600
+ string;
2633
3601
  },
2634
3602
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
2635
3603
  }
3604
+ interface ResourcesResource {
3605
+ /** Gets a summary of the packages within a given resource. */
3606
+ generatePackagesSummary(request: {
3607
+ /** V1 error format. */
3608
+ "$.xgafv"?:
3609
+ string;
3610
+ /** OAuth access token. */
3611
+ access_token?:
3612
+ string;
3613
+ /** Data format for response. */
3614
+ alt?:
3615
+ string;
3616
+ /** JSONP */
3617
+ callback?:
3618
+ string;
3619
+ /** Selector specifying which fields to include in a partial response. */
3620
+ fields?:
3621
+ string;
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. */
3623
+ key?:
3624
+ string;
3625
+ /** Required. The name of the resource to get a packages summary for in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
3626
+ name:
3627
+ string;
3628
+ /** OAuth 2.0 token for the current user. */
3629
+ oauth_token?:
3630
+ string;
3631
+ /** Returns response with indentations and line breaks. */
3632
+ prettyPrint?:
3633
+ boolean;
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. */
3635
+ quotaUser?:
3636
+ string;
3637
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3638
+ upload_protocol?:
3639
+ string;
3640
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3641
+ uploadType?:
3642
+ string;
3643
+ /** Request body */
3644
+ resource:
3645
+ GeneratePackagesSummaryRequest;
3646
+ }): Request<PackagesSummaryResponse>;
3647
+ generatePackagesSummary(request: {
3648
+ /** V1 error format. */
3649
+ "$.xgafv"?:
3650
+ string;
3651
+ /** OAuth access token. */
3652
+ access_token?:
3653
+ string;
3654
+ /** Data format for response. */
3655
+ alt?:
3656
+ string;
3657
+ /** JSONP */
3658
+ callback?:
3659
+ string;
3660
+ /** Selector specifying which fields to include in a partial response. */
3661
+ fields?:
3662
+ string;
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. */
3664
+ key?:
3665
+ string;
3666
+ /** Required. The name of the resource to get a packages summary for in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
3667
+ name:
3668
+ string;
3669
+ /** OAuth 2.0 token for the current user. */
3670
+ oauth_token?:
3671
+ string;
3672
+ /** Returns response with indentations and line breaks. */
3673
+ prettyPrint?:
3674
+ boolean;
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. */
3676
+ quotaUser?:
3677
+ string;
3678
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3679
+ upload_protocol?:
3680
+ string;
3681
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3682
+ uploadType?:
3683
+ string;
3684
+ },
3685
+ body: GeneratePackagesSummaryRequest): Request<PackagesSummaryResponse>;
3686
+ }
2636
3687
  interface ProjectsResource {
2637
- notes: NotesResource;
2638
- occurrences: OccurrencesResource;
3688
+ notes:
3689
+ NotesResource;
3690
+ occurrences:
3691
+ OccurrencesResource;
3692
+ resources:
3693
+ ResourcesResource;
2639
3694
  }
2640
3695
 
2641
3696
  const projects: ProjectsResource;