@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.
@@ -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
- * 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
- */
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
- * 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
- */
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
- * 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
- */
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,