@google-cloud/containeranalysis 6.7.2 → 6.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/build/protos/protos.d.ts +518 -4
- package/build/protos/protos.js +8057 -2686
- package/build/protos/protos.json +203 -25
- package/build/src/v1/container_analysis_client.d.ts +2 -2
- package/build/src/v1/container_analysis_client.js +102 -52
- package/build/src/v1beta1/container_analysis_v1_beta1_client.d.ts +2 -2
- package/build/src/v1beta1/container_analysis_v1_beta1_client.js +100 -51
- package/build/src/v1beta1/grafeas_v1_beta1_client.d.ts +78 -78
- package/build/src/v1beta1/grafeas_v1_beta1_client.js +261 -128
- package/package.json +1 -1
|
@@ -431,37 +431,37 @@ export declare class GrafeasV1Beta1Client {
|
|
|
431
431
|
*/
|
|
432
432
|
getVulnerabilityOccurrencesSummary(request?: protos.grafeas.v1beta1.IGetVulnerabilityOccurrencesSummaryRequest, options?: CallOptions): Promise<[
|
|
433
433
|
protos.grafeas.v1beta1.IVulnerabilityOccurrencesSummary,
|
|
434
|
-
protos.grafeas.v1beta1.IGetVulnerabilityOccurrencesSummaryRequest | undefined,
|
|
434
|
+
(protos.grafeas.v1beta1.IGetVulnerabilityOccurrencesSummaryRequest | undefined),
|
|
435
435
|
{} | undefined
|
|
436
436
|
]>;
|
|
437
437
|
getVulnerabilityOccurrencesSummary(request: protos.grafeas.v1beta1.IGetVulnerabilityOccurrencesSummaryRequest, options: CallOptions, callback: Callback<protos.grafeas.v1beta1.IVulnerabilityOccurrencesSummary, protos.grafeas.v1beta1.IGetVulnerabilityOccurrencesSummaryRequest | null | undefined, {} | null | undefined>): void;
|
|
438
438
|
getVulnerabilityOccurrencesSummary(request: protos.grafeas.v1beta1.IGetVulnerabilityOccurrencesSummaryRequest, callback: Callback<protos.grafeas.v1beta1.IVulnerabilityOccurrencesSummary, protos.grafeas.v1beta1.IGetVulnerabilityOccurrencesSummaryRequest | null | undefined, {} | null | undefined>): void;
|
|
439
439
|
/**
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
440
|
+
* Lists occurrences for the specified project.
|
|
441
|
+
*
|
|
442
|
+
* @param {Object} request
|
|
443
|
+
* The request object that will be sent.
|
|
444
|
+
* @param {string} request.parent
|
|
445
|
+
* The name of the project to list occurrences for in the form of
|
|
446
|
+
* `projects/[PROJECT_ID]`.
|
|
447
|
+
* @param {string} request.filter
|
|
448
|
+
* The filter expression.
|
|
449
|
+
* @param {number} request.pageSize
|
|
450
|
+
* Number of occurrences to return in the list.
|
|
451
|
+
* @param {string} request.pageToken
|
|
452
|
+
* Token to provide to skip to a particular spot in the list.
|
|
453
|
+
* @param {object} [options]
|
|
454
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
455
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
456
|
+
* The first element of the array is Array of {@link protos.grafeas.v1beta1.Occurrence|Occurrence}.
|
|
457
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
458
|
+
* times as needed and will merge results from all the pages into this array.
|
|
459
|
+
* Note that it can affect your quota.
|
|
460
|
+
* We recommend using `listOccurrencesAsync()`
|
|
461
|
+
* method described below for async iteration which you can stop as needed.
|
|
462
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
463
|
+
* for more details and examples.
|
|
464
|
+
*/
|
|
465
465
|
listOccurrences(request?: protos.grafeas.v1beta1.IListOccurrencesRequest, options?: CallOptions): Promise<[
|
|
466
466
|
protos.grafeas.v1beta1.IOccurrence[],
|
|
467
467
|
protos.grafeas.v1beta1.IListOccurrencesRequest | null,
|
|
@@ -523,31 +523,31 @@ export declare class GrafeasV1Beta1Client {
|
|
|
523
523
|
*/
|
|
524
524
|
listOccurrencesAsync(request?: protos.grafeas.v1beta1.IListOccurrencesRequest, options?: CallOptions): AsyncIterable<protos.grafeas.v1beta1.IOccurrence>;
|
|
525
525
|
/**
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
526
|
+
* Lists notes for the specified project.
|
|
527
|
+
*
|
|
528
|
+
* @param {Object} request
|
|
529
|
+
* The request object that will be sent.
|
|
530
|
+
* @param {string} request.parent
|
|
531
|
+
* The name of the project to list notes for in the form of
|
|
532
|
+
* `projects/[PROJECT_ID]`.
|
|
533
|
+
* @param {string} request.filter
|
|
534
|
+
* The filter expression.
|
|
535
|
+
* @param {number} request.pageSize
|
|
536
|
+
* Number of notes to return in the list.
|
|
537
|
+
* @param {string} request.pageToken
|
|
538
|
+
* Token to provide to skip to a particular spot in the list.
|
|
539
|
+
* @param {object} [options]
|
|
540
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
541
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
542
|
+
* The first element of the array is Array of {@link protos.grafeas.v1beta1.Note|Note}.
|
|
543
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
544
|
+
* times as needed and will merge results from all the pages into this array.
|
|
545
|
+
* Note that it can affect your quota.
|
|
546
|
+
* We recommend using `listNotesAsync()`
|
|
547
|
+
* method described below for async iteration which you can stop as needed.
|
|
548
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
549
|
+
* for more details and examples.
|
|
550
|
+
*/
|
|
551
551
|
listNotes(request?: protos.grafeas.v1beta1.IListNotesRequest, options?: CallOptions): Promise<[
|
|
552
552
|
protos.grafeas.v1beta1.INote[],
|
|
553
553
|
protos.grafeas.v1beta1.IListNotesRequest | null,
|
|
@@ -609,33 +609,33 @@ export declare class GrafeasV1Beta1Client {
|
|
|
609
609
|
*/
|
|
610
610
|
listNotesAsync(request?: protos.grafeas.v1beta1.IListNotesRequest, options?: CallOptions): AsyncIterable<protos.grafeas.v1beta1.INote>;
|
|
611
611
|
/**
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
612
|
+
* Lists occurrences referencing the specified note. Provider projects can use
|
|
613
|
+
* this method to get all occurrences across consumer projects referencing the
|
|
614
|
+
* specified note.
|
|
615
|
+
*
|
|
616
|
+
* @param {Object} request
|
|
617
|
+
* The request object that will be sent.
|
|
618
|
+
* @param {string} request.name
|
|
619
|
+
* The name of the note to list occurrences for in the form of
|
|
620
|
+
* `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
|
|
621
|
+
* @param {string} request.filter
|
|
622
|
+
* The filter expression.
|
|
623
|
+
* @param {number} request.pageSize
|
|
624
|
+
* Number of occurrences to return in the list.
|
|
625
|
+
* @param {string} request.pageToken
|
|
626
|
+
* Token to provide to skip to a particular spot in the list.
|
|
627
|
+
* @param {object} [options]
|
|
628
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
629
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
630
|
+
* The first element of the array is Array of {@link protos.grafeas.v1beta1.Occurrence|Occurrence}.
|
|
631
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
632
|
+
* times as needed and will merge results from all the pages into this array.
|
|
633
|
+
* Note that it can affect your quota.
|
|
634
|
+
* We recommend using `listNoteOccurrencesAsync()`
|
|
635
|
+
* method described below for async iteration which you can stop as needed.
|
|
636
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
637
|
+
* for more details and examples.
|
|
638
|
+
*/
|
|
639
639
|
listNoteOccurrences(request?: protos.grafeas.v1beta1.IListNoteOccurrencesRequest, options?: CallOptions): Promise<[
|
|
640
640
|
protos.grafeas.v1beta1.IOccurrence[],
|
|
641
641
|
protos.grafeas.v1beta1.IListNoteOccurrencesRequest | null,
|