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