@maxim_mazurok/gapi.client.containeranalysis-v1 0.2.20261106 → 0.3.20261106
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/index.d.ts +1407 -1420
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -560,11 +560,12 @@ declare namespace gapi.client {
|
|
|
560
560
|
/** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
|
|
561
561
|
pubsubTopic?: string;
|
|
562
562
|
/** Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. */
|
|
563
|
-
rankedMachineSeries?:
|
|
563
|
+
rankedMachineSeries?: (
|
|
564
564
|
| 'MACHINE_SERIES_UNSPECIFIED'
|
|
565
565
|
| 'MACHINE_SERIES_E'
|
|
566
566
|
| 'MACHINE_SERIES_N'
|
|
567
|
-
| 'MACHINE_SERIES_C'
|
|
567
|
+
| 'MACHINE_SERIES_C'
|
|
568
|
+
)[];
|
|
568
569
|
/** Requested verifiability options. */
|
|
569
570
|
requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED' | 'BEST_EFFORT';
|
|
570
571
|
/** Output only. Worker release resolved from the release channel. */
|
|
@@ -572,13 +573,9 @@ declare namespace gapi.client {
|
|
|
572
573
|
/** 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 will be available to all build steps in this build. */
|
|
573
574
|
secretEnv?: string[];
|
|
574
575
|
/** Requested hash for SourceProvenance. */
|
|
575
|
-
sourceProvenanceHash?:
|
|
576
|
-
| '
|
|
577
|
-
|
|
578
|
-
| 'MD5'
|
|
579
|
-
| 'GO_MODULE_H1'
|
|
580
|
-
| 'SHA512'
|
|
581
|
-
| 'DIRSUM_SHA256'[];
|
|
576
|
+
sourceProvenanceHash?: (
|
|
577
|
+
'NONE' | 'SHA256' | 'MD5' | 'GO_MODULE_H1' | 'SHA512' | 'DIRSUM_SHA256'
|
|
578
|
+
)[];
|
|
582
579
|
/** 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 configuration file. */
|
|
583
580
|
substitutionOption?: 'MUST_MATCH' | 'ALLOW_LOOSE';
|
|
584
581
|
/** 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 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 is indicative of a build request with an incorrect configuration. */
|
|
@@ -2479,73 +2476,888 @@ declare namespace gapi.client {
|
|
|
2479
2476
|
/** Verdict of the scan. */
|
|
2480
2477
|
verdict?: 'VERDICT_UNSPECIFIED' | 'PASSED' | 'FAILED';
|
|
2481
2478
|
}
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2479
|
+
|
|
2480
|
+
const projects: {
|
|
2481
|
+
locations: {
|
|
2482
|
+
notes: {
|
|
2483
|
+
/** Creates new notes in batch. */
|
|
2484
|
+
batchCreate(request: {
|
|
2485
|
+
/** V1 error format. */
|
|
2486
|
+
'$.xgafv'?: '1' | '2';
|
|
2487
|
+
/** OAuth access token. */
|
|
2488
|
+
access_token?: string;
|
|
2489
|
+
/** Data format for response. */
|
|
2490
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2491
|
+
/** JSONP */
|
|
2492
|
+
callback?: string;
|
|
2493
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2494
|
+
fields?: string;
|
|
2495
|
+
/** 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. */
|
|
2496
|
+
key?: string;
|
|
2497
|
+
/** OAuth 2.0 token for the current user. */
|
|
2498
|
+
oauth_token?: string;
|
|
2499
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
|
|
2500
|
+
parent: string;
|
|
2501
|
+
/** Returns response with indentations and line breaks. */
|
|
2502
|
+
prettyPrint?: boolean;
|
|
2503
|
+
/** 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. */
|
|
2504
|
+
quotaUser?: string;
|
|
2505
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2506
|
+
upload_protocol?: string;
|
|
2507
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2508
|
+
uploadType?: string;
|
|
2509
|
+
/** Request body */
|
|
2510
|
+
resource: BatchCreateNotesRequest;
|
|
2511
|
+
}): Request<BatchCreateNotesResponse>;
|
|
2512
|
+
batchCreate(
|
|
2513
|
+
request: {
|
|
2514
|
+
/** V1 error format. */
|
|
2515
|
+
'$.xgafv'?: '1' | '2';
|
|
2516
|
+
/** OAuth access token. */
|
|
2517
|
+
access_token?: string;
|
|
2518
|
+
/** Data format for response. */
|
|
2519
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2520
|
+
/** JSONP */
|
|
2521
|
+
callback?: string;
|
|
2522
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2523
|
+
fields?: string;
|
|
2524
|
+
/** 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. */
|
|
2525
|
+
key?: string;
|
|
2526
|
+
/** OAuth 2.0 token for the current user. */
|
|
2527
|
+
oauth_token?: string;
|
|
2528
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
|
|
2529
|
+
parent: string;
|
|
2530
|
+
/** Returns response with indentations and line breaks. */
|
|
2531
|
+
prettyPrint?: boolean;
|
|
2532
|
+
/** 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. */
|
|
2533
|
+
quotaUser?: string;
|
|
2534
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2535
|
+
upload_protocol?: string;
|
|
2536
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2537
|
+
uploadType?: string;
|
|
2538
|
+
},
|
|
2539
|
+
body: BatchCreateNotesRequest,
|
|
2540
|
+
): Request<BatchCreateNotesResponse>;
|
|
2541
|
+
/** Creates a new note. */
|
|
2542
|
+
create(request: {
|
|
2543
|
+
/** V1 error format. */
|
|
2544
|
+
'$.xgafv'?: '1' | '2';
|
|
2545
|
+
/** OAuth access token. */
|
|
2546
|
+
access_token?: string;
|
|
2547
|
+
/** Data format for response. */
|
|
2548
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2549
|
+
/** JSONP */
|
|
2550
|
+
callback?: string;
|
|
2551
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2552
|
+
fields?: string;
|
|
2553
|
+
/** 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. */
|
|
2554
|
+
key?: string;
|
|
2555
|
+
/** Required. The ID to use for this note. */
|
|
2556
|
+
noteId?: string;
|
|
2557
|
+
/** OAuth 2.0 token for the current user. */
|
|
2558
|
+
oauth_token?: string;
|
|
2559
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
|
|
2560
|
+
parent: string;
|
|
2561
|
+
/** Returns response with indentations and line breaks. */
|
|
2562
|
+
prettyPrint?: boolean;
|
|
2563
|
+
/** 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. */
|
|
2564
|
+
quotaUser?: string;
|
|
2565
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2566
|
+
upload_protocol?: string;
|
|
2567
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2568
|
+
uploadType?: string;
|
|
2569
|
+
/** Request body */
|
|
2570
|
+
resource: Note;
|
|
2571
|
+
}): Request<Note>;
|
|
2572
|
+
create(
|
|
2573
|
+
request: {
|
|
2574
|
+
/** V1 error format. */
|
|
2575
|
+
'$.xgafv'?: '1' | '2';
|
|
2576
|
+
/** OAuth access token. */
|
|
2577
|
+
access_token?: string;
|
|
2578
|
+
/** Data format for response. */
|
|
2579
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2580
|
+
/** JSONP */
|
|
2581
|
+
callback?: string;
|
|
2582
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2583
|
+
fields?: string;
|
|
2584
|
+
/** 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. */
|
|
2585
|
+
key?: string;
|
|
2586
|
+
/** Required. The ID to use for this note. */
|
|
2587
|
+
noteId?: string;
|
|
2588
|
+
/** OAuth 2.0 token for the current user. */
|
|
2589
|
+
oauth_token?: string;
|
|
2590
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
|
|
2591
|
+
parent: string;
|
|
2592
|
+
/** Returns response with indentations and line breaks. */
|
|
2593
|
+
prettyPrint?: boolean;
|
|
2594
|
+
/** 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. */
|
|
2595
|
+
quotaUser?: string;
|
|
2596
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2597
|
+
upload_protocol?: string;
|
|
2598
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2599
|
+
uploadType?: string;
|
|
2600
|
+
},
|
|
2601
|
+
body: Note,
|
|
2602
|
+
): Request<Note>;
|
|
2603
|
+
/** Deletes the specified note. */
|
|
2604
|
+
delete(request?: {
|
|
2605
|
+
/** V1 error format. */
|
|
2606
|
+
'$.xgafv'?: '1' | '2';
|
|
2607
|
+
/** OAuth access token. */
|
|
2608
|
+
access_token?: string;
|
|
2609
|
+
/** Data format for response. */
|
|
2610
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2611
|
+
/** JSONP */
|
|
2612
|
+
callback?: string;
|
|
2613
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2614
|
+
fields?: string;
|
|
2615
|
+
/** 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. */
|
|
2616
|
+
key?: string;
|
|
2617
|
+
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
2618
|
+
name: string;
|
|
2619
|
+
/** OAuth 2.0 token for the current user. */
|
|
2620
|
+
oauth_token?: string;
|
|
2621
|
+
/** Returns response with indentations and line breaks. */
|
|
2622
|
+
prettyPrint?: boolean;
|
|
2623
|
+
/** 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. */
|
|
2624
|
+
quotaUser?: string;
|
|
2625
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2626
|
+
upload_protocol?: string;
|
|
2627
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2628
|
+
uploadType?: string;
|
|
2629
|
+
}): Request<{}>;
|
|
2630
|
+
/** Gets the specified note. */
|
|
2631
|
+
get(request?: {
|
|
2632
|
+
/** V1 error format. */
|
|
2633
|
+
'$.xgafv'?: '1' | '2';
|
|
2634
|
+
/** OAuth access token. */
|
|
2635
|
+
access_token?: string;
|
|
2636
|
+
/** Data format for response. */
|
|
2637
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2638
|
+
/** JSONP */
|
|
2639
|
+
callback?: string;
|
|
2640
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2641
|
+
fields?: string;
|
|
2642
|
+
/** 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. */
|
|
2643
|
+
key?: string;
|
|
2644
|
+
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
2645
|
+
name: string;
|
|
2646
|
+
/** OAuth 2.0 token for the current user. */
|
|
2647
|
+
oauth_token?: string;
|
|
2648
|
+
/** Returns response with indentations and line breaks. */
|
|
2649
|
+
prettyPrint?: boolean;
|
|
2650
|
+
/** 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. */
|
|
2651
|
+
quotaUser?: string;
|
|
2652
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2653
|
+
upload_protocol?: string;
|
|
2654
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2655
|
+
uploadType?: string;
|
|
2656
|
+
}): Request<Note>;
|
|
2657
|
+
/** Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
2658
|
+
getIamPolicy(
|
|
2659
|
+
request: {
|
|
2660
|
+
/** V1 error format. */
|
|
2661
|
+
'$.xgafv'?: '1' | '2';
|
|
2662
|
+
/** OAuth access token. */
|
|
2663
|
+
access_token?: string;
|
|
2664
|
+
/** Data format for response. */
|
|
2665
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2666
|
+
/** JSONP */
|
|
2667
|
+
callback?: string;
|
|
2668
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2669
|
+
fields?: string;
|
|
2670
|
+
/** 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. */
|
|
2671
|
+
key?: string;
|
|
2672
|
+
/** OAuth 2.0 token for the current user. */
|
|
2673
|
+
oauth_token?: string;
|
|
2674
|
+
/** Returns response with indentations and line breaks. */
|
|
2675
|
+
prettyPrint?: boolean;
|
|
2676
|
+
/** 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. */
|
|
2677
|
+
quotaUser?: string;
|
|
2678
|
+
/** 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 field. */
|
|
2679
|
+
resource: string;
|
|
2680
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2681
|
+
upload_protocol?: string;
|
|
2682
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2683
|
+
uploadType?: string;
|
|
2684
|
+
},
|
|
2685
|
+
body: GetIamPolicyRequest,
|
|
2686
|
+
): Request<Policy>;
|
|
2687
|
+
/** Lists notes for the specified project. */
|
|
2688
|
+
list(request?: {
|
|
2689
|
+
/** V1 error format. */
|
|
2690
|
+
'$.xgafv'?: '1' | '2';
|
|
2691
|
+
/** OAuth access token. */
|
|
2692
|
+
access_token?: string;
|
|
2693
|
+
/** Data format for response. */
|
|
2694
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2695
|
+
/** JSONP */
|
|
2696
|
+
callback?: string;
|
|
2697
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2698
|
+
fields?: string;
|
|
2699
|
+
/** The filter expression. */
|
|
2700
|
+
filter?: string;
|
|
2701
|
+
/** 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. */
|
|
2702
|
+
key?: string;
|
|
2703
|
+
/** OAuth 2.0 token for the current user. */
|
|
2704
|
+
oauth_token?: string;
|
|
2705
|
+
/** 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. */
|
|
2706
|
+
pageSize?: number;
|
|
2707
|
+
/** Token to provide to skip to a particular spot in the list. */
|
|
2708
|
+
pageToken?: string;
|
|
2709
|
+
/** Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. */
|
|
2710
|
+
parent: string;
|
|
2711
|
+
/** Returns response with indentations and line breaks. */
|
|
2712
|
+
prettyPrint?: boolean;
|
|
2713
|
+
/** 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. */
|
|
2714
|
+
quotaUser?: string;
|
|
2715
|
+
/** If set, the request will return all reachable Notes and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
2716
|
+
returnPartialSuccess?: boolean;
|
|
2717
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2718
|
+
upload_protocol?: string;
|
|
2719
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2720
|
+
uploadType?: string;
|
|
2721
|
+
}): Request<ListNotesResponse>;
|
|
2722
|
+
/** Updates the specified note. */
|
|
2723
|
+
patch(request: {
|
|
2724
|
+
/** V1 error format. */
|
|
2725
|
+
'$.xgafv'?: '1' | '2';
|
|
2726
|
+
/** OAuth access token. */
|
|
2727
|
+
access_token?: string;
|
|
2728
|
+
/** Data format for response. */
|
|
2729
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2730
|
+
/** JSONP */
|
|
2731
|
+
callback?: string;
|
|
2732
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2733
|
+
fields?: string;
|
|
2734
|
+
/** 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. */
|
|
2735
|
+
key?: string;
|
|
2736
|
+
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
2737
|
+
name: string;
|
|
2738
|
+
/** OAuth 2.0 token for the current user. */
|
|
2739
|
+
oauth_token?: string;
|
|
2740
|
+
/** Returns response with indentations and line breaks. */
|
|
2741
|
+
prettyPrint?: boolean;
|
|
2742
|
+
/** 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. */
|
|
2743
|
+
quotaUser?: string;
|
|
2744
|
+
/** The fields to update. */
|
|
2745
|
+
updateMask?: string;
|
|
2746
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2747
|
+
upload_protocol?: string;
|
|
2748
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2749
|
+
uploadType?: string;
|
|
2750
|
+
/** Request body */
|
|
2751
|
+
resource: Note;
|
|
2752
|
+
}): Request<Note>;
|
|
2753
|
+
patch(
|
|
2754
|
+
request: {
|
|
2755
|
+
/** V1 error format. */
|
|
2756
|
+
'$.xgafv'?: '1' | '2';
|
|
2757
|
+
/** OAuth access token. */
|
|
2758
|
+
access_token?: string;
|
|
2759
|
+
/** Data format for response. */
|
|
2760
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2761
|
+
/** JSONP */
|
|
2762
|
+
callback?: string;
|
|
2763
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2764
|
+
fields?: string;
|
|
2765
|
+
/** 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. */
|
|
2766
|
+
key?: string;
|
|
2767
|
+
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
2768
|
+
name: string;
|
|
2769
|
+
/** OAuth 2.0 token for the current user. */
|
|
2770
|
+
oauth_token?: string;
|
|
2771
|
+
/** Returns response with indentations and line breaks. */
|
|
2772
|
+
prettyPrint?: boolean;
|
|
2773
|
+
/** 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. */
|
|
2774
|
+
quotaUser?: string;
|
|
2775
|
+
/** The fields to update. */
|
|
2776
|
+
updateMask?: string;
|
|
2777
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2778
|
+
upload_protocol?: string;
|
|
2779
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2780
|
+
uploadType?: string;
|
|
2781
|
+
},
|
|
2782
|
+
body: Note,
|
|
2783
|
+
): Request<Note>;
|
|
2784
|
+
/** Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
2785
|
+
setIamPolicy(
|
|
2786
|
+
request: {
|
|
2787
|
+
/** V1 error format. */
|
|
2788
|
+
'$.xgafv'?: '1' | '2';
|
|
2789
|
+
/** OAuth access token. */
|
|
2790
|
+
access_token?: string;
|
|
2791
|
+
/** Data format for response. */
|
|
2792
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2793
|
+
/** JSONP */
|
|
2794
|
+
callback?: string;
|
|
2795
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2796
|
+
fields?: string;
|
|
2797
|
+
/** 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. */
|
|
2798
|
+
key?: string;
|
|
2799
|
+
/** OAuth 2.0 token for the current user. */
|
|
2800
|
+
oauth_token?: string;
|
|
2801
|
+
/** Returns response with indentations and line breaks. */
|
|
2802
|
+
prettyPrint?: boolean;
|
|
2803
|
+
/** 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. */
|
|
2804
|
+
quotaUser?: string;
|
|
2805
|
+
/** 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 field. */
|
|
2806
|
+
resource: string;
|
|
2807
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2808
|
+
upload_protocol?: string;
|
|
2809
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2810
|
+
uploadType?: string;
|
|
2811
|
+
},
|
|
2812
|
+
body: SetIamPolicyRequest,
|
|
2813
|
+
): Request<Policy>;
|
|
2814
|
+
/** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
2815
|
+
testIamPermissions(
|
|
2816
|
+
request: {
|
|
2817
|
+
/** V1 error format. */
|
|
2818
|
+
'$.xgafv'?: '1' | '2';
|
|
2819
|
+
/** OAuth access token. */
|
|
2820
|
+
access_token?: string;
|
|
2821
|
+
/** Data format for response. */
|
|
2822
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2823
|
+
/** JSONP */
|
|
2824
|
+
callback?: string;
|
|
2825
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2826
|
+
fields?: string;
|
|
2827
|
+
/** 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. */
|
|
2828
|
+
key?: string;
|
|
2829
|
+
/** OAuth 2.0 token for the current user. */
|
|
2830
|
+
oauth_token?: string;
|
|
2831
|
+
/** Returns response with indentations and line breaks. */
|
|
2832
|
+
prettyPrint?: boolean;
|
|
2833
|
+
/** 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. */
|
|
2834
|
+
quotaUser?: string;
|
|
2835
|
+
/** 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 this field. */
|
|
2836
|
+
resource: string;
|
|
2837
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2838
|
+
upload_protocol?: string;
|
|
2839
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2840
|
+
uploadType?: string;
|
|
2841
|
+
},
|
|
2842
|
+
body: TestIamPermissionsRequest,
|
|
2843
|
+
): Request<TestIamPermissionsResponse>;
|
|
2844
|
+
occurrences: {
|
|
2845
|
+
/** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
|
|
2846
|
+
list(request?: {
|
|
2847
|
+
/** V1 error format. */
|
|
2848
|
+
'$.xgafv'?: '1' | '2';
|
|
2849
|
+
/** OAuth access token. */
|
|
2850
|
+
access_token?: string;
|
|
2851
|
+
/** Data format for response. */
|
|
2852
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2853
|
+
/** JSONP */
|
|
2854
|
+
callback?: string;
|
|
2855
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2856
|
+
fields?: string;
|
|
2857
|
+
/** The filter expression. */
|
|
2858
|
+
filter?: string;
|
|
2859
|
+
/** 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. */
|
|
2860
|
+
key?: string;
|
|
2861
|
+
/** Required. The name of the note to list occurrences for in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
2862
|
+
name: string;
|
|
2863
|
+
/** OAuth 2.0 token for the current user. */
|
|
2864
|
+
oauth_token?: string;
|
|
2865
|
+
/** Number of occurrences to return in the list. */
|
|
2866
|
+
pageSize?: number;
|
|
2867
|
+
/** Token to provide to skip to a particular spot in the list. */
|
|
2868
|
+
pageToken?: string;
|
|
2869
|
+
/** Returns response with indentations and line breaks. */
|
|
2870
|
+
prettyPrint?: boolean;
|
|
2871
|
+
/** 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. */
|
|
2872
|
+
quotaUser?: string;
|
|
2873
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2874
|
+
upload_protocol?: string;
|
|
2875
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2876
|
+
uploadType?: string;
|
|
2877
|
+
}): Request<ListNoteOccurrencesResponse>;
|
|
2878
|
+
};
|
|
2879
|
+
};
|
|
2880
|
+
occurrences: {
|
|
2881
|
+
/** Creates new occurrences in batch. */
|
|
2882
|
+
batchCreate(request: {
|
|
2883
|
+
/** V1 error format. */
|
|
2884
|
+
'$.xgafv'?: '1' | '2';
|
|
2885
|
+
/** OAuth access token. */
|
|
2886
|
+
access_token?: string;
|
|
2887
|
+
/** Data format for response. */
|
|
2888
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2889
|
+
/** JSONP */
|
|
2890
|
+
callback?: string;
|
|
2891
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2892
|
+
fields?: string;
|
|
2893
|
+
/** 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. */
|
|
2894
|
+
key?: string;
|
|
2895
|
+
/** OAuth 2.0 token for the current user. */
|
|
2896
|
+
oauth_token?: string;
|
|
2897
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
|
|
2898
|
+
parent: string;
|
|
2899
|
+
/** Returns response with indentations and line breaks. */
|
|
2900
|
+
prettyPrint?: boolean;
|
|
2901
|
+
/** 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. */
|
|
2902
|
+
quotaUser?: string;
|
|
2903
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2904
|
+
upload_protocol?: string;
|
|
2905
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2906
|
+
uploadType?: string;
|
|
2907
|
+
/** Request body */
|
|
2908
|
+
resource: BatchCreateOccurrencesRequest;
|
|
2909
|
+
}): Request<BatchCreateOccurrencesResponse>;
|
|
2910
|
+
batchCreate(
|
|
2911
|
+
request: {
|
|
2912
|
+
/** V1 error format. */
|
|
2913
|
+
'$.xgafv'?: '1' | '2';
|
|
2914
|
+
/** OAuth access token. */
|
|
2915
|
+
access_token?: string;
|
|
2916
|
+
/** Data format for response. */
|
|
2917
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2918
|
+
/** JSONP */
|
|
2919
|
+
callback?: string;
|
|
2920
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2921
|
+
fields?: string;
|
|
2922
|
+
/** 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. */
|
|
2923
|
+
key?: string;
|
|
2924
|
+
/** OAuth 2.0 token for the current user. */
|
|
2925
|
+
oauth_token?: string;
|
|
2926
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
|
|
2927
|
+
parent: string;
|
|
2928
|
+
/** Returns response with indentations and line breaks. */
|
|
2929
|
+
prettyPrint?: boolean;
|
|
2930
|
+
/** 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. */
|
|
2931
|
+
quotaUser?: string;
|
|
2932
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2933
|
+
upload_protocol?: string;
|
|
2934
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2935
|
+
uploadType?: string;
|
|
2936
|
+
},
|
|
2937
|
+
body: BatchCreateOccurrencesRequest,
|
|
2938
|
+
): Request<BatchCreateOccurrencesResponse>;
|
|
2939
|
+
/** Creates a new occurrence. */
|
|
2940
|
+
create(request: {
|
|
2941
|
+
/** V1 error format. */
|
|
2942
|
+
'$.xgafv'?: '1' | '2';
|
|
2943
|
+
/** OAuth access token. */
|
|
2944
|
+
access_token?: string;
|
|
2945
|
+
/** Data format for response. */
|
|
2946
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2947
|
+
/** JSONP */
|
|
2948
|
+
callback?: string;
|
|
2949
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2950
|
+
fields?: string;
|
|
2951
|
+
/** 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. */
|
|
2952
|
+
key?: string;
|
|
2953
|
+
/** OAuth 2.0 token for the current user. */
|
|
2954
|
+
oauth_token?: string;
|
|
2955
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. */
|
|
2956
|
+
parent: string;
|
|
2957
|
+
/** Returns response with indentations and line breaks. */
|
|
2958
|
+
prettyPrint?: boolean;
|
|
2959
|
+
/** 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. */
|
|
2960
|
+
quotaUser?: string;
|
|
2961
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2962
|
+
upload_protocol?: string;
|
|
2963
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2964
|
+
uploadType?: string;
|
|
2965
|
+
/** Request body */
|
|
2966
|
+
resource: Occurrence;
|
|
2967
|
+
}): Request<Occurrence>;
|
|
2968
|
+
create(
|
|
2969
|
+
request: {
|
|
2970
|
+
/** V1 error format. */
|
|
2971
|
+
'$.xgafv'?: '1' | '2';
|
|
2972
|
+
/** OAuth access token. */
|
|
2973
|
+
access_token?: string;
|
|
2974
|
+
/** Data format for response. */
|
|
2975
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2976
|
+
/** JSONP */
|
|
2977
|
+
callback?: string;
|
|
2978
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2979
|
+
fields?: string;
|
|
2980
|
+
/** 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. */
|
|
2981
|
+
key?: string;
|
|
2982
|
+
/** OAuth 2.0 token for the current user. */
|
|
2983
|
+
oauth_token?: string;
|
|
2984
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. */
|
|
2985
|
+
parent: string;
|
|
2986
|
+
/** Returns response with indentations and line breaks. */
|
|
2987
|
+
prettyPrint?: boolean;
|
|
2988
|
+
/** 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. */
|
|
2989
|
+
quotaUser?: string;
|
|
2990
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2991
|
+
upload_protocol?: string;
|
|
2992
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2993
|
+
uploadType?: string;
|
|
2994
|
+
},
|
|
2995
|
+
body: Occurrence,
|
|
2996
|
+
): Request<Occurrence>;
|
|
2997
|
+
/** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
|
|
2998
|
+
delete(request?: {
|
|
2999
|
+
/** V1 error format. */
|
|
3000
|
+
'$.xgafv'?: '1' | '2';
|
|
3001
|
+
/** OAuth access token. */
|
|
3002
|
+
access_token?: string;
|
|
3003
|
+
/** Data format for response. */
|
|
3004
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3005
|
+
/** JSONP */
|
|
3006
|
+
callback?: string;
|
|
3007
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3008
|
+
fields?: string;
|
|
3009
|
+
/** 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. */
|
|
3010
|
+
key?: string;
|
|
3011
|
+
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3012
|
+
name: string;
|
|
3013
|
+
/** OAuth 2.0 token for the current user. */
|
|
3014
|
+
oauth_token?: string;
|
|
3015
|
+
/** Returns response with indentations and line breaks. */
|
|
3016
|
+
prettyPrint?: boolean;
|
|
3017
|
+
/** 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. */
|
|
3018
|
+
quotaUser?: string;
|
|
3019
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3020
|
+
upload_protocol?: string;
|
|
3021
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3022
|
+
uploadType?: string;
|
|
3023
|
+
}): Request<{}>;
|
|
3024
|
+
/** Gets the specified occurrence. */
|
|
3025
|
+
get(request?: {
|
|
3026
|
+
/** V1 error format. */
|
|
3027
|
+
'$.xgafv'?: '1' | '2';
|
|
3028
|
+
/** OAuth access token. */
|
|
3029
|
+
access_token?: string;
|
|
3030
|
+
/** Data format for response. */
|
|
3031
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3032
|
+
/** JSONP */
|
|
3033
|
+
callback?: string;
|
|
3034
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3035
|
+
fields?: string;
|
|
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. */
|
|
3037
|
+
key?: string;
|
|
3038
|
+
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3039
|
+
name: string;
|
|
3040
|
+
/** OAuth 2.0 token for the current user. */
|
|
3041
|
+
oauth_token?: string;
|
|
3042
|
+
/** Returns response with indentations and line breaks. */
|
|
3043
|
+
prettyPrint?: boolean;
|
|
3044
|
+
/** 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. */
|
|
3045
|
+
quotaUser?: string;
|
|
3046
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3047
|
+
upload_protocol?: string;
|
|
3048
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3049
|
+
uploadType?: string;
|
|
3050
|
+
}): Request<Occurrence>;
|
|
3051
|
+
/** Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3052
|
+
getIamPolicy(
|
|
3053
|
+
request: {
|
|
3054
|
+
/** V1 error format. */
|
|
3055
|
+
'$.xgafv'?: '1' | '2';
|
|
3056
|
+
/** OAuth access token. */
|
|
3057
|
+
access_token?: string;
|
|
3058
|
+
/** Data format for response. */
|
|
3059
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3060
|
+
/** JSONP */
|
|
3061
|
+
callback?: string;
|
|
3062
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3063
|
+
fields?: string;
|
|
3064
|
+
/** 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. */
|
|
3065
|
+
key?: string;
|
|
3066
|
+
/** OAuth 2.0 token for the current user. */
|
|
3067
|
+
oauth_token?: string;
|
|
3068
|
+
/** Returns response with indentations and line breaks. */
|
|
3069
|
+
prettyPrint?: boolean;
|
|
3070
|
+
/** 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. */
|
|
3071
|
+
quotaUser?: string;
|
|
3072
|
+
/** 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 field. */
|
|
3073
|
+
resource: string;
|
|
3074
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3075
|
+
upload_protocol?: string;
|
|
3076
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3077
|
+
uploadType?: string;
|
|
3078
|
+
},
|
|
3079
|
+
body: GetIamPolicyRequest,
|
|
3080
|
+
): Request<Policy>;
|
|
3081
|
+
/** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
|
|
3082
|
+
getNotes(request?: {
|
|
3083
|
+
/** V1 error format. */
|
|
3084
|
+
'$.xgafv'?: '1' | '2';
|
|
3085
|
+
/** OAuth access token. */
|
|
3086
|
+
access_token?: string;
|
|
3087
|
+
/** Data format for response. */
|
|
3088
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3089
|
+
/** JSONP */
|
|
3090
|
+
callback?: string;
|
|
3091
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3092
|
+
fields?: string;
|
|
3093
|
+
/** 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. */
|
|
3094
|
+
key?: string;
|
|
3095
|
+
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3096
|
+
name: string;
|
|
3097
|
+
/** OAuth 2.0 token for the current user. */
|
|
3098
|
+
oauth_token?: string;
|
|
3099
|
+
/** Returns response with indentations and line breaks. */
|
|
3100
|
+
prettyPrint?: boolean;
|
|
3101
|
+
/** 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. */
|
|
3102
|
+
quotaUser?: string;
|
|
3103
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3104
|
+
upload_protocol?: string;
|
|
3105
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3106
|
+
uploadType?: string;
|
|
3107
|
+
}): Request<Note>;
|
|
3108
|
+
/** Gets a summary of the number and severity of occurrences. */
|
|
3109
|
+
getVulnerabilitySummary(request?: {
|
|
3110
|
+
/** V1 error format. */
|
|
3111
|
+
'$.xgafv'?: '1' | '2';
|
|
3112
|
+
/** OAuth access token. */
|
|
3113
|
+
access_token?: string;
|
|
3114
|
+
/** Data format for response. */
|
|
3115
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3116
|
+
/** JSONP */
|
|
3117
|
+
callback?: string;
|
|
3118
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3119
|
+
fields?: string;
|
|
3120
|
+
/** The filter expression. */
|
|
3121
|
+
filter?: string;
|
|
3122
|
+
/** 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. */
|
|
3123
|
+
key?: string;
|
|
3124
|
+
/** OAuth 2.0 token for the current user. */
|
|
3125
|
+
oauth_token?: string;
|
|
3126
|
+
/** Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`. */
|
|
3127
|
+
parent: string;
|
|
3128
|
+
/** Returns response with indentations and line breaks. */
|
|
3129
|
+
prettyPrint?: boolean;
|
|
3130
|
+
/** 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. */
|
|
3131
|
+
quotaUser?: string;
|
|
3132
|
+
/** If set, the request will return all reachable occurrence summaries and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
3133
|
+
returnPartialSuccess?: boolean;
|
|
3134
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3135
|
+
upload_protocol?: string;
|
|
3136
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3137
|
+
uploadType?: string;
|
|
3138
|
+
}): Request<VulnerabilityOccurrencesSummary>;
|
|
3139
|
+
/** Lists occurrences for the specified project. */
|
|
3140
|
+
list(request?: {
|
|
3141
|
+
/** V1 error format. */
|
|
3142
|
+
'$.xgafv'?: '1' | '2';
|
|
3143
|
+
/** OAuth access token. */
|
|
3144
|
+
access_token?: string;
|
|
3145
|
+
/** Data format for response. */
|
|
3146
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3147
|
+
/** JSONP */
|
|
3148
|
+
callback?: string;
|
|
3149
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3150
|
+
fields?: string;
|
|
3151
|
+
/** The filter expression. */
|
|
3152
|
+
filter?: string;
|
|
3153
|
+
/** 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. */
|
|
3154
|
+
key?: string;
|
|
3155
|
+
/** OAuth 2.0 token for the current user. */
|
|
3156
|
+
oauth_token?: string;
|
|
3157
|
+
/** 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. */
|
|
3158
|
+
pageSize?: number;
|
|
3159
|
+
/** Token to provide to skip to a particular spot in the list. */
|
|
3160
|
+
pageToken?: string;
|
|
3161
|
+
/** Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`. */
|
|
3162
|
+
parent: string;
|
|
3163
|
+
/** Returns response with indentations and line breaks. */
|
|
3164
|
+
prettyPrint?: boolean;
|
|
3165
|
+
/** 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. */
|
|
3166
|
+
quotaUser?: string;
|
|
3167
|
+
/** If set, the request will return all reachable Occurrences and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
3168
|
+
returnPartialSuccess?: boolean;
|
|
3169
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3170
|
+
upload_protocol?: string;
|
|
3171
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3172
|
+
uploadType?: string;
|
|
3173
|
+
}): Request<ListOccurrencesResponse>;
|
|
3174
|
+
/** Updates the specified occurrence. */
|
|
3175
|
+
patch(request: {
|
|
3176
|
+
/** V1 error format. */
|
|
3177
|
+
'$.xgafv'?: '1' | '2';
|
|
3178
|
+
/** OAuth access token. */
|
|
3179
|
+
access_token?: string;
|
|
3180
|
+
/** Data format for response. */
|
|
3181
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3182
|
+
/** JSONP */
|
|
3183
|
+
callback?: string;
|
|
3184
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3185
|
+
fields?: string;
|
|
3186
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3187
|
+
key?: string;
|
|
3188
|
+
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3189
|
+
name: string;
|
|
3190
|
+
/** OAuth 2.0 token for the current user. */
|
|
3191
|
+
oauth_token?: string;
|
|
3192
|
+
/** Returns response with indentations and line breaks. */
|
|
3193
|
+
prettyPrint?: boolean;
|
|
3194
|
+
/** 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. */
|
|
3195
|
+
quotaUser?: string;
|
|
3196
|
+
/** The fields to update. */
|
|
3197
|
+
updateMask?: string;
|
|
3198
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3199
|
+
upload_protocol?: string;
|
|
3200
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3201
|
+
uploadType?: string;
|
|
3202
|
+
/** Request body */
|
|
3203
|
+
resource: Occurrence;
|
|
3204
|
+
}): Request<Occurrence>;
|
|
3205
|
+
patch(
|
|
3206
|
+
request: {
|
|
3207
|
+
/** V1 error format. */
|
|
3208
|
+
'$.xgafv'?: '1' | '2';
|
|
3209
|
+
/** OAuth access token. */
|
|
3210
|
+
access_token?: string;
|
|
3211
|
+
/** Data format for response. */
|
|
3212
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3213
|
+
/** JSONP */
|
|
3214
|
+
callback?: string;
|
|
3215
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3216
|
+
fields?: string;
|
|
3217
|
+
/** 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. */
|
|
3218
|
+
key?: string;
|
|
3219
|
+
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3220
|
+
name: string;
|
|
3221
|
+
/** OAuth 2.0 token for the current user. */
|
|
3222
|
+
oauth_token?: string;
|
|
3223
|
+
/** Returns response with indentations and line breaks. */
|
|
3224
|
+
prettyPrint?: boolean;
|
|
3225
|
+
/** 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. */
|
|
3226
|
+
quotaUser?: string;
|
|
3227
|
+
/** The fields to update. */
|
|
3228
|
+
updateMask?: string;
|
|
3229
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3230
|
+
upload_protocol?: string;
|
|
3231
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3232
|
+
uploadType?: string;
|
|
3233
|
+
},
|
|
3234
|
+
body: Occurrence,
|
|
3235
|
+
): Request<Occurrence>;
|
|
3236
|
+
/** Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3237
|
+
setIamPolicy(
|
|
3238
|
+
request: {
|
|
3239
|
+
/** V1 error format. */
|
|
3240
|
+
'$.xgafv'?: '1' | '2';
|
|
3241
|
+
/** OAuth access token. */
|
|
3242
|
+
access_token?: string;
|
|
3243
|
+
/** Data format for response. */
|
|
3244
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3245
|
+
/** JSONP */
|
|
3246
|
+
callback?: string;
|
|
3247
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3248
|
+
fields?: string;
|
|
3249
|
+
/** 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. */
|
|
3250
|
+
key?: string;
|
|
3251
|
+
/** OAuth 2.0 token for the current user. */
|
|
3252
|
+
oauth_token?: string;
|
|
3253
|
+
/** Returns response with indentations and line breaks. */
|
|
3254
|
+
prettyPrint?: boolean;
|
|
3255
|
+
/** 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. */
|
|
3256
|
+
quotaUser?: string;
|
|
3257
|
+
/** 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 field. */
|
|
3258
|
+
resource: string;
|
|
3259
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3260
|
+
upload_protocol?: string;
|
|
3261
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3262
|
+
uploadType?: string;
|
|
3263
|
+
},
|
|
3264
|
+
body: SetIamPolicyRequest,
|
|
3265
|
+
): Request<Policy>;
|
|
3266
|
+
/** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3267
|
+
testIamPermissions(
|
|
3268
|
+
request: {
|
|
3269
|
+
/** V1 error format. */
|
|
3270
|
+
'$.xgafv'?: '1' | '2';
|
|
3271
|
+
/** OAuth access token. */
|
|
3272
|
+
access_token?: string;
|
|
3273
|
+
/** Data format for response. */
|
|
3274
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3275
|
+
/** JSONP */
|
|
3276
|
+
callback?: string;
|
|
3277
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3278
|
+
fields?: string;
|
|
3279
|
+
/** 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. */
|
|
3280
|
+
key?: string;
|
|
3281
|
+
/** OAuth 2.0 token for the current user. */
|
|
3282
|
+
oauth_token?: string;
|
|
3283
|
+
/** Returns response with indentations and line breaks. */
|
|
3284
|
+
prettyPrint?: boolean;
|
|
3285
|
+
/** 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. */
|
|
3286
|
+
quotaUser?: string;
|
|
3287
|
+
/** 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 this field. */
|
|
3288
|
+
resource: string;
|
|
3289
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3290
|
+
upload_protocol?: string;
|
|
3291
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3292
|
+
uploadType?: string;
|
|
3293
|
+
},
|
|
3294
|
+
body: TestIamPermissionsRequest,
|
|
3295
|
+
): Request<TestIamPermissionsResponse>;
|
|
3296
|
+
};
|
|
3297
|
+
resources: {
|
|
3298
|
+
/** Generates an SBOM for the given resource. */
|
|
3299
|
+
exportSBOM(request: {
|
|
3300
|
+
/** V1 error format. */
|
|
3301
|
+
'$.xgafv'?: '1' | '2';
|
|
3302
|
+
/** OAuth access token. */
|
|
3303
|
+
access_token?: string;
|
|
3304
|
+
/** Data format for response. */
|
|
3305
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3306
|
+
/** JSONP */
|
|
3307
|
+
callback?: string;
|
|
3308
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3309
|
+
fields?: string;
|
|
3310
|
+
/** 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. */
|
|
3311
|
+
key?: string;
|
|
3312
|
+
/** Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
|
|
3313
|
+
name: string;
|
|
3314
|
+
/** OAuth 2.0 token for the current user. */
|
|
3315
|
+
oauth_token?: string;
|
|
3316
|
+
/** Returns response with indentations and line breaks. */
|
|
3317
|
+
prettyPrint?: boolean;
|
|
3318
|
+
/** 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. */
|
|
3319
|
+
quotaUser?: string;
|
|
3320
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3321
|
+
upload_protocol?: string;
|
|
3322
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3323
|
+
uploadType?: string;
|
|
3324
|
+
/** Request body */
|
|
3325
|
+
resource: ExportSBOMRequest;
|
|
3326
|
+
}): Request<ExportSBOMResponse>;
|
|
3327
|
+
exportSBOM(
|
|
3328
|
+
request: {
|
|
3329
|
+
/** V1 error format. */
|
|
3330
|
+
'$.xgafv'?: '1' | '2';
|
|
3331
|
+
/** OAuth access token. */
|
|
3332
|
+
access_token?: string;
|
|
3333
|
+
/** Data format for response. */
|
|
3334
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3335
|
+
/** JSONP */
|
|
3336
|
+
callback?: string;
|
|
3337
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3338
|
+
fields?: string;
|
|
3339
|
+
/** 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. */
|
|
3340
|
+
key?: string;
|
|
3341
|
+
/** Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
|
|
3342
|
+
name: string;
|
|
3343
|
+
/** OAuth 2.0 token for the current user. */
|
|
3344
|
+
oauth_token?: string;
|
|
3345
|
+
/** Returns response with indentations and line breaks. */
|
|
3346
|
+
prettyPrint?: boolean;
|
|
3347
|
+
/** 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. */
|
|
3348
|
+
quotaUser?: string;
|
|
3349
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3350
|
+
upload_protocol?: string;
|
|
3351
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3352
|
+
uploadType?: string;
|
|
3353
|
+
},
|
|
3354
|
+
body: ExportSBOMRequest,
|
|
3355
|
+
): Request<ExportSBOMResponse>;
|
|
3356
|
+
};
|
|
3357
|
+
};
|
|
3358
|
+
notes: {
|
|
3359
|
+
/** Creates new notes in batch. */
|
|
3360
|
+
batchCreate(request: {
|
|
2549
3361
|
/** V1 error format. */
|
|
2550
3362
|
'$.xgafv'?: '1' | '2';
|
|
2551
3363
|
/** OAuth access token. */
|
|
@@ -2570,42 +3382,40 @@ declare namespace gapi.client {
|
|
|
2570
3382
|
upload_protocol?: string;
|
|
2571
3383
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2572
3384
|
uploadType?: string;
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
create(
|
|
2608
|
-
request: {
|
|
3385
|
+
/** Request body */
|
|
3386
|
+
resource: BatchCreateNotesRequest;
|
|
3387
|
+
}): Request<BatchCreateNotesResponse>;
|
|
3388
|
+
batchCreate(
|
|
3389
|
+
request: {
|
|
3390
|
+
/** V1 error format. */
|
|
3391
|
+
'$.xgafv'?: '1' | '2';
|
|
3392
|
+
/** OAuth access token. */
|
|
3393
|
+
access_token?: string;
|
|
3394
|
+
/** Data format for response. */
|
|
3395
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3396
|
+
/** JSONP */
|
|
3397
|
+
callback?: string;
|
|
3398
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3399
|
+
fields?: string;
|
|
3400
|
+
/** 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. */
|
|
3401
|
+
key?: string;
|
|
3402
|
+
/** OAuth 2.0 token for the current user. */
|
|
3403
|
+
oauth_token?: string;
|
|
3404
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
|
|
3405
|
+
parent: string;
|
|
3406
|
+
/** Returns response with indentations and line breaks. */
|
|
3407
|
+
prettyPrint?: boolean;
|
|
3408
|
+
/** 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. */
|
|
3409
|
+
quotaUser?: string;
|
|
3410
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3411
|
+
upload_protocol?: string;
|
|
3412
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3413
|
+
uploadType?: string;
|
|
3414
|
+
},
|
|
3415
|
+
body: BatchCreateNotesRequest,
|
|
3416
|
+
): Request<BatchCreateNotesResponse>;
|
|
3417
|
+
/** Creates a new note. */
|
|
3418
|
+
create(request: {
|
|
2609
3419
|
/** V1 error format. */
|
|
2610
3420
|
'$.xgafv'?: '1' | '2';
|
|
2611
3421
|
/** OAuth access token. */
|
|
@@ -2632,66 +3442,42 @@ declare namespace gapi.client {
|
|
|
2632
3442
|
upload_protocol?: string;
|
|
2633
3443
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2634
3444
|
uploadType?: string;
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
/**
|
|
2670
|
-
|
|
2671
|
-
/** Data format for response. */
|
|
2672
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2673
|
-
/** JSONP */
|
|
2674
|
-
callback?: string;
|
|
2675
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2676
|
-
fields?: string;
|
|
2677
|
-
/** 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. */
|
|
2678
|
-
key?: string;
|
|
2679
|
-
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
2680
|
-
name: string;
|
|
2681
|
-
/** OAuth 2.0 token for the current user. */
|
|
2682
|
-
oauth_token?: string;
|
|
2683
|
-
/** Returns response with indentations and line breaks. */
|
|
2684
|
-
prettyPrint?: boolean;
|
|
2685
|
-
/** 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. */
|
|
2686
|
-
quotaUser?: string;
|
|
2687
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2688
|
-
upload_protocol?: string;
|
|
2689
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2690
|
-
uploadType?: string;
|
|
2691
|
-
}): Request<Note>;
|
|
2692
|
-
/** Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
2693
|
-
getIamPolicy(
|
|
2694
|
-
request: {
|
|
3445
|
+
/** Request body */
|
|
3446
|
+
resource: Note;
|
|
3447
|
+
}): Request<Note>;
|
|
3448
|
+
create(
|
|
3449
|
+
request: {
|
|
3450
|
+
/** V1 error format. */
|
|
3451
|
+
'$.xgafv'?: '1' | '2';
|
|
3452
|
+
/** OAuth access token. */
|
|
3453
|
+
access_token?: string;
|
|
3454
|
+
/** Data format for response. */
|
|
3455
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3456
|
+
/** JSONP */
|
|
3457
|
+
callback?: string;
|
|
3458
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3459
|
+
fields?: string;
|
|
3460
|
+
/** 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. */
|
|
3461
|
+
key?: string;
|
|
3462
|
+
/** Required. The ID to use for this note. */
|
|
3463
|
+
noteId?: string;
|
|
3464
|
+
/** OAuth 2.0 token for the current user. */
|
|
3465
|
+
oauth_token?: string;
|
|
3466
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
|
|
3467
|
+
parent: string;
|
|
3468
|
+
/** Returns response with indentations and line breaks. */
|
|
3469
|
+
prettyPrint?: boolean;
|
|
3470
|
+
/** 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. */
|
|
3471
|
+
quotaUser?: string;
|
|
3472
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3473
|
+
upload_protocol?: string;
|
|
3474
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3475
|
+
uploadType?: string;
|
|
3476
|
+
},
|
|
3477
|
+
body: Note,
|
|
3478
|
+
): Request<Note>;
|
|
3479
|
+
/** Deletes the specified note. */
|
|
3480
|
+
delete(request?: {
|
|
2695
3481
|
/** V1 error format. */
|
|
2696
3482
|
'$.xgafv'?: '1' | '2';
|
|
2697
3483
|
/** OAuth access token. */
|
|
@@ -2704,89 +3490,21 @@ declare namespace gapi.client {
|
|
|
2704
3490
|
fields?: string;
|
|
2705
3491
|
/** 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. */
|
|
2706
3492
|
key?: string;
|
|
3493
|
+
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
3494
|
+
name: string;
|
|
2707
3495
|
/** OAuth 2.0 token for the current user. */
|
|
2708
3496
|
oauth_token?: string;
|
|
2709
3497
|
/** Returns response with indentations and line breaks. */
|
|
2710
3498
|
prettyPrint?: boolean;
|
|
2711
3499
|
/** 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. */
|
|
2712
3500
|
quotaUser?: string;
|
|
2713
|
-
/** 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 field. */
|
|
2714
|
-
resource: string;
|
|
2715
3501
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2716
3502
|
upload_protocol?: string;
|
|
2717
3503
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2718
3504
|
uploadType?: string;
|
|
2719
|
-
}
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
/** Lists notes for the specified project. */
|
|
2723
|
-
list(request?: {
|
|
2724
|
-
/** V1 error format. */
|
|
2725
|
-
'$.xgafv'?: '1' | '2';
|
|
2726
|
-
/** OAuth access token. */
|
|
2727
|
-
access_token?: string;
|
|
2728
|
-
/** Data format for response. */
|
|
2729
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2730
|
-
/** JSONP */
|
|
2731
|
-
callback?: string;
|
|
2732
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2733
|
-
fields?: string;
|
|
2734
|
-
/** The filter expression. */
|
|
2735
|
-
filter?: string;
|
|
2736
|
-
/** 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. */
|
|
2737
|
-
key?: string;
|
|
2738
|
-
/** OAuth 2.0 token for the current user. */
|
|
2739
|
-
oauth_token?: string;
|
|
2740
|
-
/** 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. */
|
|
2741
|
-
pageSize?: number;
|
|
2742
|
-
/** Token to provide to skip to a particular spot in the list. */
|
|
2743
|
-
pageToken?: string;
|
|
2744
|
-
/** Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. */
|
|
2745
|
-
parent: string;
|
|
2746
|
-
/** Returns response with indentations and line breaks. */
|
|
2747
|
-
prettyPrint?: boolean;
|
|
2748
|
-
/** 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. */
|
|
2749
|
-
quotaUser?: string;
|
|
2750
|
-
/** If set, the request will return all reachable Notes and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
2751
|
-
returnPartialSuccess?: boolean;
|
|
2752
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2753
|
-
upload_protocol?: string;
|
|
2754
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2755
|
-
uploadType?: string;
|
|
2756
|
-
}): Request<ListNotesResponse>;
|
|
2757
|
-
/** Updates the specified note. */
|
|
2758
|
-
patch(request: {
|
|
2759
|
-
/** V1 error format. */
|
|
2760
|
-
'$.xgafv'?: '1' | '2';
|
|
2761
|
-
/** OAuth access token. */
|
|
2762
|
-
access_token?: string;
|
|
2763
|
-
/** Data format for response. */
|
|
2764
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2765
|
-
/** JSONP */
|
|
2766
|
-
callback?: string;
|
|
2767
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2768
|
-
fields?: string;
|
|
2769
|
-
/** 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. */
|
|
2770
|
-
key?: string;
|
|
2771
|
-
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
2772
|
-
name: string;
|
|
2773
|
-
/** OAuth 2.0 token for the current user. */
|
|
2774
|
-
oauth_token?: string;
|
|
2775
|
-
/** Returns response with indentations and line breaks. */
|
|
2776
|
-
prettyPrint?: boolean;
|
|
2777
|
-
/** 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. */
|
|
2778
|
-
quotaUser?: string;
|
|
2779
|
-
/** The fields to update. */
|
|
2780
|
-
updateMask?: string;
|
|
2781
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2782
|
-
upload_protocol?: string;
|
|
2783
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2784
|
-
uploadType?: string;
|
|
2785
|
-
/** Request body */
|
|
2786
|
-
resource: Note;
|
|
2787
|
-
}): Request<Note>;
|
|
2788
|
-
patch(
|
|
2789
|
-
request: {
|
|
3505
|
+
}): Request<{}>;
|
|
3506
|
+
/** Gets the specified note. */
|
|
3507
|
+
get(request?: {
|
|
2790
3508
|
/** V1 error format. */
|
|
2791
3509
|
'$.xgafv'?: '1' | '2';
|
|
2792
3510
|
/** OAuth access token. */
|
|
@@ -2807,18 +3525,43 @@ declare namespace gapi.client {
|
|
|
2807
3525
|
prettyPrint?: boolean;
|
|
2808
3526
|
/** 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. */
|
|
2809
3527
|
quotaUser?: string;
|
|
2810
|
-
/** The fields to update. */
|
|
2811
|
-
updateMask?: string;
|
|
2812
3528
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2813
3529
|
upload_protocol?: string;
|
|
2814
3530
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2815
3531
|
uploadType?: string;
|
|
2816
|
-
}
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
3532
|
+
}): Request<Note>;
|
|
3533
|
+
/** Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3534
|
+
getIamPolicy(
|
|
3535
|
+
request: {
|
|
3536
|
+
/** V1 error format. */
|
|
3537
|
+
'$.xgafv'?: '1' | '2';
|
|
3538
|
+
/** OAuth access token. */
|
|
3539
|
+
access_token?: string;
|
|
3540
|
+
/** Data format for response. */
|
|
3541
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3542
|
+
/** JSONP */
|
|
3543
|
+
callback?: string;
|
|
3544
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3545
|
+
fields?: string;
|
|
3546
|
+
/** 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. */
|
|
3547
|
+
key?: string;
|
|
3548
|
+
/** OAuth 2.0 token for the current user. */
|
|
3549
|
+
oauth_token?: string;
|
|
3550
|
+
/** Returns response with indentations and line breaks. */
|
|
3551
|
+
prettyPrint?: boolean;
|
|
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. */
|
|
3553
|
+
quotaUser?: string;
|
|
3554
|
+
/** 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 field. */
|
|
3555
|
+
resource: string;
|
|
3556
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3557
|
+
upload_protocol?: string;
|
|
3558
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3559
|
+
uploadType?: string;
|
|
3560
|
+
},
|
|
3561
|
+
body: GetIamPolicyRequest,
|
|
3562
|
+
): Request<Policy>;
|
|
3563
|
+
/** Lists notes for the specified project. */
|
|
3564
|
+
list(request?: {
|
|
2822
3565
|
/** V1 error format. */
|
|
2823
3566
|
'$.xgafv'?: '1' | '2';
|
|
2824
3567
|
/** OAuth access token. */
|
|
@@ -2829,26 +3572,31 @@ declare namespace gapi.client {
|
|
|
2829
3572
|
callback?: string;
|
|
2830
3573
|
/** Selector specifying which fields to include in a partial response. */
|
|
2831
3574
|
fields?: string;
|
|
3575
|
+
/** The filter expression. */
|
|
3576
|
+
filter?: string;
|
|
2832
3577
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2833
3578
|
key?: string;
|
|
2834
3579
|
/** OAuth 2.0 token for the current user. */
|
|
2835
3580
|
oauth_token?: string;
|
|
3581
|
+
/** 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. */
|
|
3582
|
+
pageSize?: number;
|
|
3583
|
+
/** Token to provide to skip to a particular spot in the list. */
|
|
3584
|
+
pageToken?: string;
|
|
3585
|
+
/** Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. */
|
|
3586
|
+
parent: string;
|
|
2836
3587
|
/** Returns response with indentations and line breaks. */
|
|
2837
3588
|
prettyPrint?: boolean;
|
|
2838
3589
|
/** 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. */
|
|
2839
3590
|
quotaUser?: string;
|
|
2840
|
-
/**
|
|
2841
|
-
|
|
3591
|
+
/** If set, the request will return all reachable Notes and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
3592
|
+
returnPartialSuccess?: boolean;
|
|
2842
3593
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2843
3594
|
upload_protocol?: string;
|
|
2844
3595
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2845
3596
|
uploadType?: string;
|
|
2846
|
-
}
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
/** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
2850
|
-
testIamPermissions(
|
|
2851
|
-
request: {
|
|
3597
|
+
}): Request<ListNotesResponse>;
|
|
3598
|
+
/** Updates the specified note. */
|
|
3599
|
+
patch(request: {
|
|
2852
3600
|
/** V1 error format. */
|
|
2853
3601
|
'$.xgafv'?: '1' | '2';
|
|
2854
3602
|
/** OAuth access token. */
|
|
@@ -2861,55 +3609,153 @@ declare namespace gapi.client {
|
|
|
2861
3609
|
fields?: string;
|
|
2862
3610
|
/** 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. */
|
|
2863
3611
|
key?: string;
|
|
3612
|
+
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
3613
|
+
name: string;
|
|
2864
3614
|
/** OAuth 2.0 token for the current user. */
|
|
2865
3615
|
oauth_token?: string;
|
|
2866
3616
|
/** Returns response with indentations and line breaks. */
|
|
2867
3617
|
prettyPrint?: boolean;
|
|
2868
3618
|
/** 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. */
|
|
2869
3619
|
quotaUser?: string;
|
|
2870
|
-
/**
|
|
2871
|
-
|
|
3620
|
+
/** The fields to update. */
|
|
3621
|
+
updateMask?: string;
|
|
2872
3622
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2873
3623
|
upload_protocol?: string;
|
|
2874
3624
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2875
3625
|
uploadType?: string;
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
3626
|
+
/** Request body */
|
|
3627
|
+
resource: Note;
|
|
3628
|
+
}): Request<Note>;
|
|
3629
|
+
patch(
|
|
3630
|
+
request: {
|
|
3631
|
+
/** V1 error format. */
|
|
3632
|
+
'$.xgafv'?: '1' | '2';
|
|
3633
|
+
/** OAuth access token. */
|
|
3634
|
+
access_token?: string;
|
|
3635
|
+
/** Data format for response. */
|
|
3636
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3637
|
+
/** JSONP */
|
|
3638
|
+
callback?: string;
|
|
3639
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3640
|
+
fields?: string;
|
|
3641
|
+
/** 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. */
|
|
3642
|
+
key?: string;
|
|
3643
|
+
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
3644
|
+
name: string;
|
|
3645
|
+
/** OAuth 2.0 token for the current user. */
|
|
3646
|
+
oauth_token?: string;
|
|
3647
|
+
/** Returns response with indentations and line breaks. */
|
|
3648
|
+
prettyPrint?: boolean;
|
|
3649
|
+
/** 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. */
|
|
3650
|
+
quotaUser?: string;
|
|
3651
|
+
/** The fields to update. */
|
|
3652
|
+
updateMask?: string;
|
|
3653
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3654
|
+
upload_protocol?: string;
|
|
3655
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3656
|
+
uploadType?: string;
|
|
3657
|
+
},
|
|
3658
|
+
body: Note,
|
|
3659
|
+
): Request<Note>;
|
|
3660
|
+
/** Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3661
|
+
setIamPolicy(
|
|
3662
|
+
request: {
|
|
3663
|
+
/** V1 error format. */
|
|
3664
|
+
'$.xgafv'?: '1' | '2';
|
|
3665
|
+
/** OAuth access token. */
|
|
3666
|
+
access_token?: string;
|
|
3667
|
+
/** Data format for response. */
|
|
3668
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3669
|
+
/** JSONP */
|
|
3670
|
+
callback?: string;
|
|
3671
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3672
|
+
fields?: string;
|
|
3673
|
+
/** 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. */
|
|
3674
|
+
key?: string;
|
|
3675
|
+
/** OAuth 2.0 token for the current user. */
|
|
3676
|
+
oauth_token?: string;
|
|
3677
|
+
/** Returns response with indentations and line breaks. */
|
|
3678
|
+
prettyPrint?: boolean;
|
|
3679
|
+
/** 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. */
|
|
3680
|
+
quotaUser?: string;
|
|
3681
|
+
/** 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 field. */
|
|
3682
|
+
resource: string;
|
|
3683
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3684
|
+
upload_protocol?: string;
|
|
3685
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3686
|
+
uploadType?: string;
|
|
3687
|
+
},
|
|
3688
|
+
body: SetIamPolicyRequest,
|
|
3689
|
+
): Request<Policy>;
|
|
3690
|
+
/** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3691
|
+
testIamPermissions(
|
|
3692
|
+
request: {
|
|
3693
|
+
/** V1 error format. */
|
|
3694
|
+
'$.xgafv'?: '1' | '2';
|
|
3695
|
+
/** OAuth access token. */
|
|
3696
|
+
access_token?: string;
|
|
3697
|
+
/** Data format for response. */
|
|
3698
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3699
|
+
/** JSONP */
|
|
3700
|
+
callback?: string;
|
|
3701
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3702
|
+
fields?: string;
|
|
3703
|
+
/** 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. */
|
|
3704
|
+
key?: string;
|
|
3705
|
+
/** OAuth 2.0 token for the current user. */
|
|
3706
|
+
oauth_token?: string;
|
|
3707
|
+
/** Returns response with indentations and line breaks. */
|
|
3708
|
+
prettyPrint?: boolean;
|
|
3709
|
+
/** 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. */
|
|
3710
|
+
quotaUser?: string;
|
|
3711
|
+
/** 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 this field. */
|
|
3712
|
+
resource: string;
|
|
3713
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3714
|
+
upload_protocol?: string;
|
|
3715
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3716
|
+
uploadType?: string;
|
|
3717
|
+
},
|
|
3718
|
+
body: TestIamPermissionsRequest,
|
|
3719
|
+
): Request<TestIamPermissionsResponse>;
|
|
3720
|
+
occurrences: {
|
|
3721
|
+
/** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
|
|
3722
|
+
list(request?: {
|
|
3723
|
+
/** V1 error format. */
|
|
3724
|
+
'$.xgafv'?: '1' | '2';
|
|
3725
|
+
/** OAuth access token. */
|
|
3726
|
+
access_token?: string;
|
|
3727
|
+
/** Data format for response. */
|
|
3728
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3729
|
+
/** JSONP */
|
|
3730
|
+
callback?: string;
|
|
3731
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3732
|
+
fields?: string;
|
|
3733
|
+
/** The filter expression. */
|
|
3734
|
+
filter?: string;
|
|
3735
|
+
/** 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. */
|
|
3736
|
+
key?: string;
|
|
3737
|
+
/** Required. The name of the note to list occurrences for in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
3738
|
+
name: string;
|
|
3739
|
+
/** OAuth 2.0 token for the current user. */
|
|
3740
|
+
oauth_token?: string;
|
|
3741
|
+
/** Number of occurrences to return in the list. */
|
|
3742
|
+
pageSize?: number;
|
|
3743
|
+
/** Token to provide to skip to a particular spot in the list. */
|
|
3744
|
+
pageToken?: string;
|
|
3745
|
+
/** Returns response with indentations and line breaks. */
|
|
3746
|
+
prettyPrint?: boolean;
|
|
3747
|
+
/** 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. */
|
|
3748
|
+
quotaUser?: string;
|
|
3749
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3750
|
+
upload_protocol?: string;
|
|
3751
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3752
|
+
uploadType?: string;
|
|
3753
|
+
}): Request<ListNoteOccurrencesResponse>;
|
|
3754
|
+
};
|
|
3755
|
+
};
|
|
3756
|
+
occurrences: {
|
|
3757
|
+
/** Creates new occurrences in batch. */
|
|
3758
|
+
batchCreate(request: {
|
|
2913
3759
|
/** V1 error format. */
|
|
2914
3760
|
'$.xgafv'?: '1' | '2';
|
|
2915
3761
|
/** OAuth access token. */
|
|
@@ -2934,40 +3780,40 @@ declare namespace gapi.client {
|
|
|
2934
3780
|
upload_protocol?: string;
|
|
2935
3781
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2936
3782
|
uploadType?: string;
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
request: {
|
|
3783
|
+
/** Request body */
|
|
3784
|
+
resource: BatchCreateOccurrencesRequest;
|
|
3785
|
+
}): Request<BatchCreateOccurrencesResponse>;
|
|
3786
|
+
batchCreate(
|
|
3787
|
+
request: {
|
|
3788
|
+
/** V1 error format. */
|
|
3789
|
+
'$.xgafv'?: '1' | '2';
|
|
3790
|
+
/** OAuth access token. */
|
|
3791
|
+
access_token?: string;
|
|
3792
|
+
/** Data format for response. */
|
|
3793
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3794
|
+
/** JSONP */
|
|
3795
|
+
callback?: string;
|
|
3796
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3797
|
+
fields?: string;
|
|
3798
|
+
/** 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. */
|
|
3799
|
+
key?: string;
|
|
3800
|
+
/** OAuth 2.0 token for the current user. */
|
|
3801
|
+
oauth_token?: string;
|
|
3802
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
|
|
3803
|
+
parent: string;
|
|
3804
|
+
/** Returns response with indentations and line breaks. */
|
|
3805
|
+
prettyPrint?: boolean;
|
|
3806
|
+
/** 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. */
|
|
3807
|
+
quotaUser?: string;
|
|
3808
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3809
|
+
upload_protocol?: string;
|
|
3810
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3811
|
+
uploadType?: string;
|
|
3812
|
+
},
|
|
3813
|
+
body: BatchCreateOccurrencesRequest,
|
|
3814
|
+
): Request<BatchCreateOccurrencesResponse>;
|
|
3815
|
+
/** Creates a new occurrence. */
|
|
3816
|
+
create(request: {
|
|
2971
3817
|
/** V1 error format. */
|
|
2972
3818
|
'$.xgafv'?: '1' | '2';
|
|
2973
3819
|
/** OAuth access token. */
|
|
@@ -2992,219 +3838,40 @@ declare namespace gapi.client {
|
|
|
2992
3838
|
upload_protocol?: string;
|
|
2993
3839
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2994
3840
|
uploadType?: string;
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
/**
|
|
3028
|
-
|
|
3029
|
-
/** OAuth access token. */
|
|
3030
|
-
access_token?: string;
|
|
3031
|
-
/** Data format for response. */
|
|
3032
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3033
|
-
/** JSONP */
|
|
3034
|
-
callback?: string;
|
|
3035
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3036
|
-
fields?: string;
|
|
3037
|
-
/** 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. */
|
|
3038
|
-
key?: string;
|
|
3039
|
-
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3040
|
-
name: string;
|
|
3041
|
-
/** OAuth 2.0 token for the current user. */
|
|
3042
|
-
oauth_token?: string;
|
|
3043
|
-
/** Returns response with indentations and line breaks. */
|
|
3044
|
-
prettyPrint?: boolean;
|
|
3045
|
-
/** 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. */
|
|
3046
|
-
quotaUser?: string;
|
|
3047
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3048
|
-
upload_protocol?: string;
|
|
3049
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3050
|
-
uploadType?: string;
|
|
3051
|
-
}): Request<Occurrence>;
|
|
3052
|
-
/** Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3053
|
-
getIamPolicy(
|
|
3054
|
-
request: {
|
|
3055
|
-
/** V1 error format. */
|
|
3056
|
-
'$.xgafv'?: '1' | '2';
|
|
3057
|
-
/** OAuth access token. */
|
|
3058
|
-
access_token?: string;
|
|
3059
|
-
/** Data format for response. */
|
|
3060
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3061
|
-
/** JSONP */
|
|
3062
|
-
callback?: string;
|
|
3063
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3064
|
-
fields?: string;
|
|
3065
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3066
|
-
key?: string;
|
|
3067
|
-
/** OAuth 2.0 token for the current user. */
|
|
3068
|
-
oauth_token?: string;
|
|
3069
|
-
/** Returns response with indentations and line breaks. */
|
|
3070
|
-
prettyPrint?: boolean;
|
|
3071
|
-
/** 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. */
|
|
3072
|
-
quotaUser?: string;
|
|
3073
|
-
/** 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 field. */
|
|
3074
|
-
resource: string;
|
|
3075
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3076
|
-
upload_protocol?: string;
|
|
3077
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3078
|
-
uploadType?: string;
|
|
3079
|
-
},
|
|
3080
|
-
body: GetIamPolicyRequest,
|
|
3081
|
-
): Request<Policy>;
|
|
3082
|
-
/** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
|
|
3083
|
-
getNotes(request?: {
|
|
3084
|
-
/** V1 error format. */
|
|
3085
|
-
'$.xgafv'?: '1' | '2';
|
|
3086
|
-
/** OAuth access token. */
|
|
3087
|
-
access_token?: string;
|
|
3088
|
-
/** Data format for response. */
|
|
3089
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3090
|
-
/** JSONP */
|
|
3091
|
-
callback?: string;
|
|
3092
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3093
|
-
fields?: string;
|
|
3094
|
-
/** 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. */
|
|
3095
|
-
key?: string;
|
|
3096
|
-
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3097
|
-
name: string;
|
|
3098
|
-
/** OAuth 2.0 token for the current user. */
|
|
3099
|
-
oauth_token?: string;
|
|
3100
|
-
/** Returns response with indentations and line breaks. */
|
|
3101
|
-
prettyPrint?: boolean;
|
|
3102
|
-
/** 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. */
|
|
3103
|
-
quotaUser?: string;
|
|
3104
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3105
|
-
upload_protocol?: string;
|
|
3106
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3107
|
-
uploadType?: string;
|
|
3108
|
-
}): Request<Note>;
|
|
3109
|
-
/** Gets a summary of the number and severity of occurrences. */
|
|
3110
|
-
getVulnerabilitySummary(request?: {
|
|
3111
|
-
/** V1 error format. */
|
|
3112
|
-
'$.xgafv'?: '1' | '2';
|
|
3113
|
-
/** OAuth access token. */
|
|
3114
|
-
access_token?: string;
|
|
3115
|
-
/** Data format for response. */
|
|
3116
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3117
|
-
/** JSONP */
|
|
3118
|
-
callback?: string;
|
|
3119
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3120
|
-
fields?: string;
|
|
3121
|
-
/** The filter expression. */
|
|
3122
|
-
filter?: string;
|
|
3123
|
-
/** 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. */
|
|
3124
|
-
key?: string;
|
|
3125
|
-
/** OAuth 2.0 token for the current user. */
|
|
3126
|
-
oauth_token?: string;
|
|
3127
|
-
/** Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`. */
|
|
3128
|
-
parent: string;
|
|
3129
|
-
/** Returns response with indentations and line breaks. */
|
|
3130
|
-
prettyPrint?: boolean;
|
|
3131
|
-
/** 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. */
|
|
3132
|
-
quotaUser?: string;
|
|
3133
|
-
/** If set, the request will return all reachable occurrence summaries and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
3134
|
-
returnPartialSuccess?: boolean;
|
|
3135
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3136
|
-
upload_protocol?: string;
|
|
3137
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3138
|
-
uploadType?: string;
|
|
3139
|
-
}): Request<VulnerabilityOccurrencesSummary>;
|
|
3140
|
-
/** Lists occurrences for the specified project. */
|
|
3141
|
-
list(request?: {
|
|
3142
|
-
/** V1 error format. */
|
|
3143
|
-
'$.xgafv'?: '1' | '2';
|
|
3144
|
-
/** OAuth access token. */
|
|
3145
|
-
access_token?: string;
|
|
3146
|
-
/** Data format for response. */
|
|
3147
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3148
|
-
/** JSONP */
|
|
3149
|
-
callback?: string;
|
|
3150
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3151
|
-
fields?: string;
|
|
3152
|
-
/** The filter expression. */
|
|
3153
|
-
filter?: string;
|
|
3154
|
-
/** 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. */
|
|
3155
|
-
key?: string;
|
|
3156
|
-
/** OAuth 2.0 token for the current user. */
|
|
3157
|
-
oauth_token?: string;
|
|
3158
|
-
/** 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. */
|
|
3159
|
-
pageSize?: number;
|
|
3160
|
-
/** Token to provide to skip to a particular spot in the list. */
|
|
3161
|
-
pageToken?: string;
|
|
3162
|
-
/** Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`. */
|
|
3163
|
-
parent: string;
|
|
3164
|
-
/** Returns response with indentations and line breaks. */
|
|
3165
|
-
prettyPrint?: boolean;
|
|
3166
|
-
/** 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. */
|
|
3167
|
-
quotaUser?: string;
|
|
3168
|
-
/** If set, the request will return all reachable Occurrences and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
3169
|
-
returnPartialSuccess?: boolean;
|
|
3170
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3171
|
-
upload_protocol?: string;
|
|
3172
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3173
|
-
uploadType?: string;
|
|
3174
|
-
}): Request<ListOccurrencesResponse>;
|
|
3175
|
-
/** Updates the specified occurrence. */
|
|
3176
|
-
patch(request: {
|
|
3177
|
-
/** V1 error format. */
|
|
3178
|
-
'$.xgafv'?: '1' | '2';
|
|
3179
|
-
/** OAuth access token. */
|
|
3180
|
-
access_token?: string;
|
|
3181
|
-
/** Data format for response. */
|
|
3182
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3183
|
-
/** JSONP */
|
|
3184
|
-
callback?: string;
|
|
3185
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3186
|
-
fields?: string;
|
|
3187
|
-
/** 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. */
|
|
3188
|
-
key?: string;
|
|
3189
|
-
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3190
|
-
name: string;
|
|
3191
|
-
/** OAuth 2.0 token for the current user. */
|
|
3192
|
-
oauth_token?: string;
|
|
3193
|
-
/** Returns response with indentations and line breaks. */
|
|
3194
|
-
prettyPrint?: boolean;
|
|
3195
|
-
/** 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. */
|
|
3196
|
-
quotaUser?: string;
|
|
3197
|
-
/** The fields to update. */
|
|
3198
|
-
updateMask?: string;
|
|
3199
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3200
|
-
upload_protocol?: string;
|
|
3201
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3202
|
-
uploadType?: string;
|
|
3203
|
-
/** Request body */
|
|
3204
|
-
resource: Occurrence;
|
|
3205
|
-
}): Request<Occurrence>;
|
|
3206
|
-
patch(
|
|
3207
|
-
request: {
|
|
3841
|
+
/** Request body */
|
|
3842
|
+
resource: Occurrence;
|
|
3843
|
+
}): Request<Occurrence>;
|
|
3844
|
+
create(
|
|
3845
|
+
request: {
|
|
3846
|
+
/** V1 error format. */
|
|
3847
|
+
'$.xgafv'?: '1' | '2';
|
|
3848
|
+
/** OAuth access token. */
|
|
3849
|
+
access_token?: string;
|
|
3850
|
+
/** Data format for response. */
|
|
3851
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3852
|
+
/** JSONP */
|
|
3853
|
+
callback?: string;
|
|
3854
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3855
|
+
fields?: string;
|
|
3856
|
+
/** 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. */
|
|
3857
|
+
key?: string;
|
|
3858
|
+
/** OAuth 2.0 token for the current user. */
|
|
3859
|
+
oauth_token?: string;
|
|
3860
|
+
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. */
|
|
3861
|
+
parent: string;
|
|
3862
|
+
/** Returns response with indentations and line breaks. */
|
|
3863
|
+
prettyPrint?: boolean;
|
|
3864
|
+
/** 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. */
|
|
3865
|
+
quotaUser?: string;
|
|
3866
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3867
|
+
upload_protocol?: string;
|
|
3868
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3869
|
+
uploadType?: string;
|
|
3870
|
+
},
|
|
3871
|
+
body: Occurrence,
|
|
3872
|
+
): Request<Occurrence>;
|
|
3873
|
+
/** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
|
|
3874
|
+
delete(request?: {
|
|
3208
3875
|
/** V1 error format. */
|
|
3209
3876
|
'$.xgafv'?: '1' | '2';
|
|
3210
3877
|
/** OAuth access token. */
|
|
@@ -3225,108 +3892,13 @@ declare namespace gapi.client {
|
|
|
3225
3892
|
prettyPrint?: boolean;
|
|
3226
3893
|
/** 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. */
|
|
3227
3894
|
quotaUser?: string;
|
|
3228
|
-
/** The fields to update. */
|
|
3229
|
-
updateMask?: string;
|
|
3230
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3231
|
-
upload_protocol?: string;
|
|
3232
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3233
|
-
uploadType?: string;
|
|
3234
|
-
},
|
|
3235
|
-
body: Occurrence,
|
|
3236
|
-
): Request<Occurrence>;
|
|
3237
|
-
/** Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3238
|
-
setIamPolicy(
|
|
3239
|
-
request: {
|
|
3240
|
-
/** V1 error format. */
|
|
3241
|
-
'$.xgafv'?: '1' | '2';
|
|
3242
|
-
/** OAuth access token. */
|
|
3243
|
-
access_token?: string;
|
|
3244
|
-
/** Data format for response. */
|
|
3245
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3246
|
-
/** JSONP */
|
|
3247
|
-
callback?: string;
|
|
3248
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3249
|
-
fields?: string;
|
|
3250
|
-
/** 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. */
|
|
3251
|
-
key?: string;
|
|
3252
|
-
/** OAuth 2.0 token for the current user. */
|
|
3253
|
-
oauth_token?: string;
|
|
3254
|
-
/** Returns response with indentations and line breaks. */
|
|
3255
|
-
prettyPrint?: boolean;
|
|
3256
|
-
/** 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. */
|
|
3257
|
-
quotaUser?: string;
|
|
3258
|
-
/** 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 field. */
|
|
3259
|
-
resource: string;
|
|
3260
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3261
|
-
upload_protocol?: string;
|
|
3262
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3263
|
-
uploadType?: string;
|
|
3264
|
-
},
|
|
3265
|
-
body: SetIamPolicyRequest,
|
|
3266
|
-
): Request<Policy>;
|
|
3267
|
-
/** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3268
|
-
testIamPermissions(
|
|
3269
|
-
request: {
|
|
3270
|
-
/** V1 error format. */
|
|
3271
|
-
'$.xgafv'?: '1' | '2';
|
|
3272
|
-
/** OAuth access token. */
|
|
3273
|
-
access_token?: string;
|
|
3274
|
-
/** Data format for response. */
|
|
3275
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3276
|
-
/** JSONP */
|
|
3277
|
-
callback?: string;
|
|
3278
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3279
|
-
fields?: string;
|
|
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. */
|
|
3281
|
-
key?: string;
|
|
3282
|
-
/** OAuth 2.0 token for the current user. */
|
|
3283
|
-
oauth_token?: string;
|
|
3284
|
-
/** Returns response with indentations and line breaks. */
|
|
3285
|
-
prettyPrint?: boolean;
|
|
3286
|
-
/** 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. */
|
|
3287
|
-
quotaUser?: string;
|
|
3288
|
-
/** 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 this field. */
|
|
3289
|
-
resource: string;
|
|
3290
3895
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3291
3896
|
upload_protocol?: string;
|
|
3292
3897
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3293
3898
|
uploadType?: string;
|
|
3294
|
-
}
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
}
|
|
3298
|
-
interface ResourcesResource {
|
|
3299
|
-
/** Generates an SBOM for the given resource. */
|
|
3300
|
-
exportSBOM(request: {
|
|
3301
|
-
/** V1 error format. */
|
|
3302
|
-
'$.xgafv'?: '1' | '2';
|
|
3303
|
-
/** OAuth access token. */
|
|
3304
|
-
access_token?: string;
|
|
3305
|
-
/** Data format for response. */
|
|
3306
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3307
|
-
/** JSONP */
|
|
3308
|
-
callback?: string;
|
|
3309
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3310
|
-
fields?: string;
|
|
3311
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3312
|
-
key?: string;
|
|
3313
|
-
/** Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
|
|
3314
|
-
name: string;
|
|
3315
|
-
/** OAuth 2.0 token for the current user. */
|
|
3316
|
-
oauth_token?: string;
|
|
3317
|
-
/** Returns response with indentations and line breaks. */
|
|
3318
|
-
prettyPrint?: boolean;
|
|
3319
|
-
/** 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. */
|
|
3320
|
-
quotaUser?: string;
|
|
3321
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3322
|
-
upload_protocol?: string;
|
|
3323
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3324
|
-
uploadType?: string;
|
|
3325
|
-
/** Request body */
|
|
3326
|
-
resource: ExportSBOMRequest;
|
|
3327
|
-
}): Request<ExportSBOMResponse>;
|
|
3328
|
-
exportSBOM(
|
|
3329
|
-
request: {
|
|
3899
|
+
}): Request<{}>;
|
|
3900
|
+
/** Gets the specified occurrence. */
|
|
3901
|
+
get(request?: {
|
|
3330
3902
|
/** V1 error format. */
|
|
3331
3903
|
'$.xgafv'?: '1' | '2';
|
|
3332
3904
|
/** OAuth access token. */
|
|
@@ -3339,7 +3911,7 @@ declare namespace gapi.client {
|
|
|
3339
3911
|
fields?: string;
|
|
3340
3912
|
/** 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. */
|
|
3341
3913
|
key?: string;
|
|
3342
|
-
/** Required. The name of the
|
|
3914
|
+
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3343
3915
|
name: string;
|
|
3344
3916
|
/** OAuth 2.0 token for the current user. */
|
|
3345
3917
|
oauth_token?: string;
|
|
@@ -3351,82 +3923,39 @@ declare namespace gapi.client {
|
|
|
3351
3923
|
upload_protocol?: string;
|
|
3352
3924
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3353
3925
|
uploadType?: string;
|
|
3354
|
-
}
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
pageToken?: string;
|
|
3388
|
-
/** Returns response with indentations and line breaks. */
|
|
3389
|
-
prettyPrint?: boolean;
|
|
3390
|
-
/** 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. */
|
|
3391
|
-
quotaUser?: string;
|
|
3392
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3393
|
-
upload_protocol?: string;
|
|
3394
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3395
|
-
uploadType?: string;
|
|
3396
|
-
}): Request<ListNoteOccurrencesResponse>;
|
|
3397
|
-
}
|
|
3398
|
-
interface NotesResource {
|
|
3399
|
-
/** Creates new notes in batch. */
|
|
3400
|
-
batchCreate(request: {
|
|
3401
|
-
/** V1 error format. */
|
|
3402
|
-
'$.xgafv'?: '1' | '2';
|
|
3403
|
-
/** OAuth access token. */
|
|
3404
|
-
access_token?: string;
|
|
3405
|
-
/** Data format for response. */
|
|
3406
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3407
|
-
/** JSONP */
|
|
3408
|
-
callback?: string;
|
|
3409
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3410
|
-
fields?: string;
|
|
3411
|
-
/** 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. */
|
|
3412
|
-
key?: string;
|
|
3413
|
-
/** OAuth 2.0 token for the current user. */
|
|
3414
|
-
oauth_token?: string;
|
|
3415
|
-
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
|
|
3416
|
-
parent: string;
|
|
3417
|
-
/** Returns response with indentations and line breaks. */
|
|
3418
|
-
prettyPrint?: boolean;
|
|
3419
|
-
/** 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. */
|
|
3420
|
-
quotaUser?: string;
|
|
3421
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3422
|
-
upload_protocol?: string;
|
|
3423
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3424
|
-
uploadType?: string;
|
|
3425
|
-
/** Request body */
|
|
3426
|
-
resource: BatchCreateNotesRequest;
|
|
3427
|
-
}): Request<BatchCreateNotesResponse>;
|
|
3428
|
-
batchCreate(
|
|
3429
|
-
request: {
|
|
3926
|
+
}): Request<Occurrence>;
|
|
3927
|
+
/** Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3928
|
+
getIamPolicy(
|
|
3929
|
+
request: {
|
|
3930
|
+
/** V1 error format. */
|
|
3931
|
+
'$.xgafv'?: '1' | '2';
|
|
3932
|
+
/** OAuth access token. */
|
|
3933
|
+
access_token?: string;
|
|
3934
|
+
/** Data format for response. */
|
|
3935
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3936
|
+
/** JSONP */
|
|
3937
|
+
callback?: string;
|
|
3938
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3939
|
+
fields?: string;
|
|
3940
|
+
/** 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. */
|
|
3941
|
+
key?: string;
|
|
3942
|
+
/** OAuth 2.0 token for the current user. */
|
|
3943
|
+
oauth_token?: string;
|
|
3944
|
+
/** Returns response with indentations and line breaks. */
|
|
3945
|
+
prettyPrint?: boolean;
|
|
3946
|
+
/** 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. */
|
|
3947
|
+
quotaUser?: string;
|
|
3948
|
+
/** 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 field. */
|
|
3949
|
+
resource: string;
|
|
3950
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3951
|
+
upload_protocol?: string;
|
|
3952
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3953
|
+
uploadType?: string;
|
|
3954
|
+
},
|
|
3955
|
+
body: GetIamPolicyRequest,
|
|
3956
|
+
): Request<Policy>;
|
|
3957
|
+
/** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
|
|
3958
|
+
getNotes(request?: {
|
|
3430
3959
|
/** V1 error format. */
|
|
3431
3960
|
'$.xgafv'?: '1' | '2';
|
|
3432
3961
|
/** OAuth access token. */
|
|
@@ -3439,248 +3968,7 @@ declare namespace gapi.client {
|
|
|
3439
3968
|
fields?: string;
|
|
3440
3969
|
/** 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. */
|
|
3441
3970
|
key?: string;
|
|
3442
|
-
/**
|
|
3443
|
-
oauth_token?: string;
|
|
3444
|
-
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
|
|
3445
|
-
parent: string;
|
|
3446
|
-
/** Returns response with indentations and line breaks. */
|
|
3447
|
-
prettyPrint?: boolean;
|
|
3448
|
-
/** 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. */
|
|
3449
|
-
quotaUser?: string;
|
|
3450
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3451
|
-
upload_protocol?: string;
|
|
3452
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3453
|
-
uploadType?: string;
|
|
3454
|
-
},
|
|
3455
|
-
body: BatchCreateNotesRequest,
|
|
3456
|
-
): Request<BatchCreateNotesResponse>;
|
|
3457
|
-
/** Creates a new note. */
|
|
3458
|
-
create(request: {
|
|
3459
|
-
/** V1 error format. */
|
|
3460
|
-
'$.xgafv'?: '1' | '2';
|
|
3461
|
-
/** OAuth access token. */
|
|
3462
|
-
access_token?: string;
|
|
3463
|
-
/** Data format for response. */
|
|
3464
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3465
|
-
/** JSONP */
|
|
3466
|
-
callback?: string;
|
|
3467
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3468
|
-
fields?: string;
|
|
3469
|
-
/** 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. */
|
|
3470
|
-
key?: string;
|
|
3471
|
-
/** Required. The ID to use for this note. */
|
|
3472
|
-
noteId?: string;
|
|
3473
|
-
/** OAuth 2.0 token for the current user. */
|
|
3474
|
-
oauth_token?: string;
|
|
3475
|
-
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
|
|
3476
|
-
parent: string;
|
|
3477
|
-
/** Returns response with indentations and line breaks. */
|
|
3478
|
-
prettyPrint?: boolean;
|
|
3479
|
-
/** 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. */
|
|
3480
|
-
quotaUser?: string;
|
|
3481
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3482
|
-
upload_protocol?: string;
|
|
3483
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3484
|
-
uploadType?: string;
|
|
3485
|
-
/** Request body */
|
|
3486
|
-
resource: Note;
|
|
3487
|
-
}): Request<Note>;
|
|
3488
|
-
create(
|
|
3489
|
-
request: {
|
|
3490
|
-
/** V1 error format. */
|
|
3491
|
-
'$.xgafv'?: '1' | '2';
|
|
3492
|
-
/** OAuth access token. */
|
|
3493
|
-
access_token?: string;
|
|
3494
|
-
/** Data format for response. */
|
|
3495
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3496
|
-
/** JSONP */
|
|
3497
|
-
callback?: string;
|
|
3498
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3499
|
-
fields?: string;
|
|
3500
|
-
/** 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. */
|
|
3501
|
-
key?: string;
|
|
3502
|
-
/** Required. The ID to use for this note. */
|
|
3503
|
-
noteId?: string;
|
|
3504
|
-
/** OAuth 2.0 token for the current user. */
|
|
3505
|
-
oauth_token?: string;
|
|
3506
|
-
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
|
|
3507
|
-
parent: string;
|
|
3508
|
-
/** Returns response with indentations and line breaks. */
|
|
3509
|
-
prettyPrint?: boolean;
|
|
3510
|
-
/** 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. */
|
|
3511
|
-
quotaUser?: string;
|
|
3512
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3513
|
-
upload_protocol?: string;
|
|
3514
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3515
|
-
uploadType?: string;
|
|
3516
|
-
},
|
|
3517
|
-
body: Note,
|
|
3518
|
-
): Request<Note>;
|
|
3519
|
-
/** Deletes the specified note. */
|
|
3520
|
-
delete(request?: {
|
|
3521
|
-
/** V1 error format. */
|
|
3522
|
-
'$.xgafv'?: '1' | '2';
|
|
3523
|
-
/** OAuth access token. */
|
|
3524
|
-
access_token?: string;
|
|
3525
|
-
/** Data format for response. */
|
|
3526
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3527
|
-
/** JSONP */
|
|
3528
|
-
callback?: string;
|
|
3529
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3530
|
-
fields?: string;
|
|
3531
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3532
|
-
key?: string;
|
|
3533
|
-
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
3534
|
-
name: string;
|
|
3535
|
-
/** OAuth 2.0 token for the current user. */
|
|
3536
|
-
oauth_token?: string;
|
|
3537
|
-
/** Returns response with indentations and line breaks. */
|
|
3538
|
-
prettyPrint?: boolean;
|
|
3539
|
-
/** 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. */
|
|
3540
|
-
quotaUser?: string;
|
|
3541
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3542
|
-
upload_protocol?: string;
|
|
3543
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3544
|
-
uploadType?: string;
|
|
3545
|
-
}): Request<{}>;
|
|
3546
|
-
/** Gets the specified note. */
|
|
3547
|
-
get(request?: {
|
|
3548
|
-
/** V1 error format. */
|
|
3549
|
-
'$.xgafv'?: '1' | '2';
|
|
3550
|
-
/** OAuth access token. */
|
|
3551
|
-
access_token?: string;
|
|
3552
|
-
/** Data format for response. */
|
|
3553
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3554
|
-
/** JSONP */
|
|
3555
|
-
callback?: string;
|
|
3556
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3557
|
-
fields?: string;
|
|
3558
|
-
/** 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. */
|
|
3559
|
-
key?: string;
|
|
3560
|
-
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
3561
|
-
name: string;
|
|
3562
|
-
/** OAuth 2.0 token for the current user. */
|
|
3563
|
-
oauth_token?: string;
|
|
3564
|
-
/** Returns response with indentations and line breaks. */
|
|
3565
|
-
prettyPrint?: boolean;
|
|
3566
|
-
/** 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. */
|
|
3567
|
-
quotaUser?: string;
|
|
3568
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3569
|
-
upload_protocol?: string;
|
|
3570
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3571
|
-
uploadType?: string;
|
|
3572
|
-
}): Request<Note>;
|
|
3573
|
-
/** Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3574
|
-
getIamPolicy(
|
|
3575
|
-
request: {
|
|
3576
|
-
/** V1 error format. */
|
|
3577
|
-
'$.xgafv'?: '1' | '2';
|
|
3578
|
-
/** OAuth access token. */
|
|
3579
|
-
access_token?: string;
|
|
3580
|
-
/** Data format for response. */
|
|
3581
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3582
|
-
/** JSONP */
|
|
3583
|
-
callback?: string;
|
|
3584
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3585
|
-
fields?: string;
|
|
3586
|
-
/** 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. */
|
|
3587
|
-
key?: string;
|
|
3588
|
-
/** OAuth 2.0 token for the current user. */
|
|
3589
|
-
oauth_token?: string;
|
|
3590
|
-
/** Returns response with indentations and line breaks. */
|
|
3591
|
-
prettyPrint?: boolean;
|
|
3592
|
-
/** 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. */
|
|
3593
|
-
quotaUser?: string;
|
|
3594
|
-
/** 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 field. */
|
|
3595
|
-
resource: string;
|
|
3596
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3597
|
-
upload_protocol?: string;
|
|
3598
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3599
|
-
uploadType?: string;
|
|
3600
|
-
},
|
|
3601
|
-
body: GetIamPolicyRequest,
|
|
3602
|
-
): Request<Policy>;
|
|
3603
|
-
/** Lists notes for the specified project. */
|
|
3604
|
-
list(request?: {
|
|
3605
|
-
/** V1 error format. */
|
|
3606
|
-
'$.xgafv'?: '1' | '2';
|
|
3607
|
-
/** OAuth access token. */
|
|
3608
|
-
access_token?: string;
|
|
3609
|
-
/** Data format for response. */
|
|
3610
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3611
|
-
/** JSONP */
|
|
3612
|
-
callback?: string;
|
|
3613
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3614
|
-
fields?: string;
|
|
3615
|
-
/** The filter expression. */
|
|
3616
|
-
filter?: string;
|
|
3617
|
-
/** 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. */
|
|
3618
|
-
key?: string;
|
|
3619
|
-
/** OAuth 2.0 token for the current user. */
|
|
3620
|
-
oauth_token?: string;
|
|
3621
|
-
/** 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. */
|
|
3622
|
-
pageSize?: number;
|
|
3623
|
-
/** Token to provide to skip to a particular spot in the list. */
|
|
3624
|
-
pageToken?: string;
|
|
3625
|
-
/** Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. */
|
|
3626
|
-
parent: string;
|
|
3627
|
-
/** Returns response with indentations and line breaks. */
|
|
3628
|
-
prettyPrint?: boolean;
|
|
3629
|
-
/** 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. */
|
|
3630
|
-
quotaUser?: string;
|
|
3631
|
-
/** If set, the request will return all reachable Notes and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
3632
|
-
returnPartialSuccess?: boolean;
|
|
3633
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3634
|
-
upload_protocol?: string;
|
|
3635
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3636
|
-
uploadType?: string;
|
|
3637
|
-
}): Request<ListNotesResponse>;
|
|
3638
|
-
/** Updates the specified note. */
|
|
3639
|
-
patch(request: {
|
|
3640
|
-
/** V1 error format. */
|
|
3641
|
-
'$.xgafv'?: '1' | '2';
|
|
3642
|
-
/** OAuth access token. */
|
|
3643
|
-
access_token?: string;
|
|
3644
|
-
/** Data format for response. */
|
|
3645
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3646
|
-
/** JSONP */
|
|
3647
|
-
callback?: string;
|
|
3648
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3649
|
-
fields?: string;
|
|
3650
|
-
/** 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. */
|
|
3651
|
-
key?: string;
|
|
3652
|
-
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
3653
|
-
name: string;
|
|
3654
|
-
/** OAuth 2.0 token for the current user. */
|
|
3655
|
-
oauth_token?: string;
|
|
3656
|
-
/** Returns response with indentations and line breaks. */
|
|
3657
|
-
prettyPrint?: boolean;
|
|
3658
|
-
/** 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. */
|
|
3659
|
-
quotaUser?: string;
|
|
3660
|
-
/** The fields to update. */
|
|
3661
|
-
updateMask?: string;
|
|
3662
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3663
|
-
upload_protocol?: string;
|
|
3664
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3665
|
-
uploadType?: string;
|
|
3666
|
-
/** Request body */
|
|
3667
|
-
resource: Note;
|
|
3668
|
-
}): Request<Note>;
|
|
3669
|
-
patch(
|
|
3670
|
-
request: {
|
|
3671
|
-
/** V1 error format. */
|
|
3672
|
-
'$.xgafv'?: '1' | '2';
|
|
3673
|
-
/** OAuth access token. */
|
|
3674
|
-
access_token?: string;
|
|
3675
|
-
/** Data format for response. */
|
|
3676
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3677
|
-
/** JSONP */
|
|
3678
|
-
callback?: string;
|
|
3679
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3680
|
-
fields?: string;
|
|
3681
|
-
/** 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. */
|
|
3682
|
-
key?: string;
|
|
3683
|
-
/** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
3971
|
+
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3684
3972
|
name: string;
|
|
3685
3973
|
/** OAuth 2.0 token for the current user. */
|
|
3686
3974
|
oauth_token?: string;
|
|
@@ -3688,18 +3976,13 @@ declare namespace gapi.client {
|
|
|
3688
3976
|
prettyPrint?: boolean;
|
|
3689
3977
|
/** 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. */
|
|
3690
3978
|
quotaUser?: string;
|
|
3691
|
-
/** The fields to update. */
|
|
3692
|
-
updateMask?: string;
|
|
3693
3979
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3694
3980
|
upload_protocol?: string;
|
|
3695
3981
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3696
3982
|
uploadType?: string;
|
|
3697
|
-
}
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
/** Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3701
|
-
setIamPolicy(
|
|
3702
|
-
request: {
|
|
3983
|
+
}): Request<Note>;
|
|
3984
|
+
/** Gets a summary of the number and severity of occurrences. */
|
|
3985
|
+
getVulnerabilitySummary(request?: {
|
|
3703
3986
|
/** V1 error format. */
|
|
3704
3987
|
'$.xgafv'?: '1' | '2';
|
|
3705
3988
|
/** OAuth access token. */
|
|
@@ -3710,145 +3993,27 @@ declare namespace gapi.client {
|
|
|
3710
3993
|
callback?: string;
|
|
3711
3994
|
/** Selector specifying which fields to include in a partial response. */
|
|
3712
3995
|
fields?: string;
|
|
3996
|
+
/** The filter expression. */
|
|
3997
|
+
filter?: string;
|
|
3713
3998
|
/** 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. */
|
|
3714
3999
|
key?: string;
|
|
3715
4000
|
/** OAuth 2.0 token for the current user. */
|
|
3716
4001
|
oauth_token?: string;
|
|
3717
|
-
/**
|
|
3718
|
-
prettyPrint?: boolean;
|
|
3719
|
-
/** 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. */
|
|
3720
|
-
quotaUser?: string;
|
|
3721
|
-
/** 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 field. */
|
|
3722
|
-
resource: string;
|
|
3723
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3724
|
-
upload_protocol?: string;
|
|
3725
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3726
|
-
uploadType?: string;
|
|
3727
|
-
},
|
|
3728
|
-
body: SetIamPolicyRequest,
|
|
3729
|
-
): Request<Policy>;
|
|
3730
|
-
/** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3731
|
-
testIamPermissions(
|
|
3732
|
-
request: {
|
|
3733
|
-
/** V1 error format. */
|
|
3734
|
-
'$.xgafv'?: '1' | '2';
|
|
3735
|
-
/** OAuth access token. */
|
|
3736
|
-
access_token?: string;
|
|
3737
|
-
/** Data format for response. */
|
|
3738
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3739
|
-
/** JSONP */
|
|
3740
|
-
callback?: string;
|
|
3741
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3742
|
-
fields?: string;
|
|
3743
|
-
/** 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. */
|
|
3744
|
-
key?: string;
|
|
3745
|
-
/** OAuth 2.0 token for the current user. */
|
|
3746
|
-
oauth_token?: string;
|
|
3747
|
-
/** Returns response with indentations and line breaks. */
|
|
3748
|
-
prettyPrint?: boolean;
|
|
3749
|
-
/** 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. */
|
|
3750
|
-
quotaUser?: string;
|
|
3751
|
-
/** 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 this field. */
|
|
3752
|
-
resource: string;
|
|
3753
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3754
|
-
upload_protocol?: string;
|
|
3755
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3756
|
-
uploadType?: string;
|
|
3757
|
-
},
|
|
3758
|
-
body: TestIamPermissionsRequest,
|
|
3759
|
-
): Request<TestIamPermissionsResponse>;
|
|
3760
|
-
occurrences: OccurrencesResource;
|
|
3761
|
-
}
|
|
3762
|
-
interface OccurrencesResource {
|
|
3763
|
-
/** Creates new occurrences in batch. */
|
|
3764
|
-
batchCreate(request: {
|
|
3765
|
-
/** V1 error format. */
|
|
3766
|
-
'$.xgafv'?: '1' | '2';
|
|
3767
|
-
/** OAuth access token. */
|
|
3768
|
-
access_token?: string;
|
|
3769
|
-
/** Data format for response. */
|
|
3770
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3771
|
-
/** JSONP */
|
|
3772
|
-
callback?: string;
|
|
3773
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3774
|
-
fields?: string;
|
|
3775
|
-
/** 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. */
|
|
3776
|
-
key?: string;
|
|
3777
|
-
/** OAuth 2.0 token for the current user. */
|
|
3778
|
-
oauth_token?: string;
|
|
3779
|
-
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
|
|
3780
|
-
parent: string;
|
|
3781
|
-
/** Returns response with indentations and line breaks. */
|
|
3782
|
-
prettyPrint?: boolean;
|
|
3783
|
-
/** 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. */
|
|
3784
|
-
quotaUser?: string;
|
|
3785
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3786
|
-
upload_protocol?: string;
|
|
3787
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3788
|
-
uploadType?: string;
|
|
3789
|
-
/** Request body */
|
|
3790
|
-
resource: BatchCreateOccurrencesRequest;
|
|
3791
|
-
}): Request<BatchCreateOccurrencesResponse>;
|
|
3792
|
-
batchCreate(
|
|
3793
|
-
request: {
|
|
3794
|
-
/** V1 error format. */
|
|
3795
|
-
'$.xgafv'?: '1' | '2';
|
|
3796
|
-
/** OAuth access token. */
|
|
3797
|
-
access_token?: string;
|
|
3798
|
-
/** Data format for response. */
|
|
3799
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3800
|
-
/** JSONP */
|
|
3801
|
-
callback?: string;
|
|
3802
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3803
|
-
fields?: string;
|
|
3804
|
-
/** 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. */
|
|
3805
|
-
key?: string;
|
|
3806
|
-
/** OAuth 2.0 token for the current user. */
|
|
3807
|
-
oauth_token?: string;
|
|
3808
|
-
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
|
|
4002
|
+
/** Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`. */
|
|
3809
4003
|
parent: string;
|
|
3810
4004
|
/** Returns response with indentations and line breaks. */
|
|
3811
4005
|
prettyPrint?: boolean;
|
|
3812
4006
|
/** 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. */
|
|
3813
4007
|
quotaUser?: string;
|
|
4008
|
+
/** If set, the request will return all reachable occurrence summaries and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
4009
|
+
returnPartialSuccess?: boolean;
|
|
3814
4010
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3815
4011
|
upload_protocol?: string;
|
|
3816
4012
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3817
4013
|
uploadType?: string;
|
|
3818
|
-
}
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
/** Creates a new occurrence. */
|
|
3822
|
-
create(request: {
|
|
3823
|
-
/** V1 error format. */
|
|
3824
|
-
'$.xgafv'?: '1' | '2';
|
|
3825
|
-
/** OAuth access token. */
|
|
3826
|
-
access_token?: string;
|
|
3827
|
-
/** Data format for response. */
|
|
3828
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3829
|
-
/** JSONP */
|
|
3830
|
-
callback?: string;
|
|
3831
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3832
|
-
fields?: string;
|
|
3833
|
-
/** 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. */
|
|
3834
|
-
key?: string;
|
|
3835
|
-
/** OAuth 2.0 token for the current user. */
|
|
3836
|
-
oauth_token?: string;
|
|
3837
|
-
/** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. */
|
|
3838
|
-
parent: string;
|
|
3839
|
-
/** Returns response with indentations and line breaks. */
|
|
3840
|
-
prettyPrint?: boolean;
|
|
3841
|
-
/** 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. */
|
|
3842
|
-
quotaUser?: string;
|
|
3843
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3844
|
-
upload_protocol?: string;
|
|
3845
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3846
|
-
uploadType?: string;
|
|
3847
|
-
/** Request body */
|
|
3848
|
-
resource: Occurrence;
|
|
3849
|
-
}): Request<Occurrence>;
|
|
3850
|
-
create(
|
|
3851
|
-
request: {
|
|
4014
|
+
}): Request<VulnerabilityOccurrencesSummary>;
|
|
4015
|
+
/** Lists occurrences for the specified project. */
|
|
4016
|
+
list(request?: {
|
|
3852
4017
|
/** V1 error format. */
|
|
3853
4018
|
'$.xgafv'?: '1' | '2';
|
|
3854
4019
|
/** OAuth access token. */
|
|
@@ -3859,233 +4024,31 @@ declare namespace gapi.client {
|
|
|
3859
4024
|
callback?: string;
|
|
3860
4025
|
/** Selector specifying which fields to include in a partial response. */
|
|
3861
4026
|
fields?: string;
|
|
4027
|
+
/** The filter expression. */
|
|
4028
|
+
filter?: string;
|
|
3862
4029
|
/** 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. */
|
|
3863
4030
|
key?: string;
|
|
3864
4031
|
/** OAuth 2.0 token for the current user. */
|
|
3865
4032
|
oauth_token?: string;
|
|
3866
|
-
/**
|
|
4033
|
+
/** 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. */
|
|
4034
|
+
pageSize?: number;
|
|
4035
|
+
/** Token to provide to skip to a particular spot in the list. */
|
|
4036
|
+
pageToken?: string;
|
|
4037
|
+
/** Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`. */
|
|
3867
4038
|
parent: string;
|
|
3868
4039
|
/** Returns response with indentations and line breaks. */
|
|
3869
4040
|
prettyPrint?: boolean;
|
|
3870
4041
|
/** 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. */
|
|
3871
4042
|
quotaUser?: string;
|
|
4043
|
+
/** If set, the request will return all reachable Occurrences and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
4044
|
+
returnPartialSuccess?: boolean;
|
|
3872
4045
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3873
4046
|
upload_protocol?: string;
|
|
3874
4047
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3875
4048
|
uploadType?: string;
|
|
3876
|
-
}
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
/** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
|
|
3880
|
-
delete(request?: {
|
|
3881
|
-
/** V1 error format. */
|
|
3882
|
-
'$.xgafv'?: '1' | '2';
|
|
3883
|
-
/** OAuth access token. */
|
|
3884
|
-
access_token?: string;
|
|
3885
|
-
/** Data format for response. */
|
|
3886
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3887
|
-
/** JSONP */
|
|
3888
|
-
callback?: string;
|
|
3889
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3890
|
-
fields?: string;
|
|
3891
|
-
/** 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. */
|
|
3892
|
-
key?: string;
|
|
3893
|
-
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3894
|
-
name: string;
|
|
3895
|
-
/** OAuth 2.0 token for the current user. */
|
|
3896
|
-
oauth_token?: string;
|
|
3897
|
-
/** Returns response with indentations and line breaks. */
|
|
3898
|
-
prettyPrint?: boolean;
|
|
3899
|
-
/** 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. */
|
|
3900
|
-
quotaUser?: string;
|
|
3901
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3902
|
-
upload_protocol?: string;
|
|
3903
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3904
|
-
uploadType?: string;
|
|
3905
|
-
}): Request<{}>;
|
|
3906
|
-
/** Gets the specified occurrence. */
|
|
3907
|
-
get(request?: {
|
|
3908
|
-
/** V1 error format. */
|
|
3909
|
-
'$.xgafv'?: '1' | '2';
|
|
3910
|
-
/** OAuth access token. */
|
|
3911
|
-
access_token?: string;
|
|
3912
|
-
/** Data format for response. */
|
|
3913
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3914
|
-
/** JSONP */
|
|
3915
|
-
callback?: string;
|
|
3916
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3917
|
-
fields?: string;
|
|
3918
|
-
/** 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. */
|
|
3919
|
-
key?: string;
|
|
3920
|
-
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3921
|
-
name: string;
|
|
3922
|
-
/** OAuth 2.0 token for the current user. */
|
|
3923
|
-
oauth_token?: string;
|
|
3924
|
-
/** Returns response with indentations and line breaks. */
|
|
3925
|
-
prettyPrint?: boolean;
|
|
3926
|
-
/** 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. */
|
|
3927
|
-
quotaUser?: string;
|
|
3928
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3929
|
-
upload_protocol?: string;
|
|
3930
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3931
|
-
uploadType?: string;
|
|
3932
|
-
}): Request<Occurrence>;
|
|
3933
|
-
/** Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
3934
|
-
getIamPolicy(
|
|
3935
|
-
request: {
|
|
3936
|
-
/** V1 error format. */
|
|
3937
|
-
'$.xgafv'?: '1' | '2';
|
|
3938
|
-
/** OAuth access token. */
|
|
3939
|
-
access_token?: string;
|
|
3940
|
-
/** Data format for response. */
|
|
3941
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3942
|
-
/** JSONP */
|
|
3943
|
-
callback?: string;
|
|
3944
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3945
|
-
fields?: string;
|
|
3946
|
-
/** 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. */
|
|
3947
|
-
key?: string;
|
|
3948
|
-
/** OAuth 2.0 token for the current user. */
|
|
3949
|
-
oauth_token?: string;
|
|
3950
|
-
/** Returns response with indentations and line breaks. */
|
|
3951
|
-
prettyPrint?: boolean;
|
|
3952
|
-
/** 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. */
|
|
3953
|
-
quotaUser?: string;
|
|
3954
|
-
/** 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 field. */
|
|
3955
|
-
resource: string;
|
|
3956
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3957
|
-
upload_protocol?: string;
|
|
3958
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3959
|
-
uploadType?: string;
|
|
3960
|
-
},
|
|
3961
|
-
body: GetIamPolicyRequest,
|
|
3962
|
-
): Request<Policy>;
|
|
3963
|
-
/** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
|
|
3964
|
-
getNotes(request?: {
|
|
3965
|
-
/** V1 error format. */
|
|
3966
|
-
'$.xgafv'?: '1' | '2';
|
|
3967
|
-
/** OAuth access token. */
|
|
3968
|
-
access_token?: string;
|
|
3969
|
-
/** Data format for response. */
|
|
3970
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3971
|
-
/** JSONP */
|
|
3972
|
-
callback?: string;
|
|
3973
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3974
|
-
fields?: string;
|
|
3975
|
-
/** 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. */
|
|
3976
|
-
key?: string;
|
|
3977
|
-
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
3978
|
-
name: string;
|
|
3979
|
-
/** OAuth 2.0 token for the current user. */
|
|
3980
|
-
oauth_token?: string;
|
|
3981
|
-
/** Returns response with indentations and line breaks. */
|
|
3982
|
-
prettyPrint?: boolean;
|
|
3983
|
-
/** 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. */
|
|
3984
|
-
quotaUser?: string;
|
|
3985
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3986
|
-
upload_protocol?: string;
|
|
3987
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3988
|
-
uploadType?: string;
|
|
3989
|
-
}): Request<Note>;
|
|
3990
|
-
/** Gets a summary of the number and severity of occurrences. */
|
|
3991
|
-
getVulnerabilitySummary(request?: {
|
|
3992
|
-
/** V1 error format. */
|
|
3993
|
-
'$.xgafv'?: '1' | '2';
|
|
3994
|
-
/** OAuth access token. */
|
|
3995
|
-
access_token?: string;
|
|
3996
|
-
/** Data format for response. */
|
|
3997
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3998
|
-
/** JSONP */
|
|
3999
|
-
callback?: string;
|
|
4000
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4001
|
-
fields?: string;
|
|
4002
|
-
/** The filter expression. */
|
|
4003
|
-
filter?: string;
|
|
4004
|
-
/** 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. */
|
|
4005
|
-
key?: string;
|
|
4006
|
-
/** OAuth 2.0 token for the current user. */
|
|
4007
|
-
oauth_token?: string;
|
|
4008
|
-
/** Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`. */
|
|
4009
|
-
parent: string;
|
|
4010
|
-
/** Returns response with indentations and line breaks. */
|
|
4011
|
-
prettyPrint?: boolean;
|
|
4012
|
-
/** 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. */
|
|
4013
|
-
quotaUser?: string;
|
|
4014
|
-
/** If set, the request will return all reachable occurrence summaries and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
4015
|
-
returnPartialSuccess?: boolean;
|
|
4016
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4017
|
-
upload_protocol?: string;
|
|
4018
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4019
|
-
uploadType?: string;
|
|
4020
|
-
}): Request<VulnerabilityOccurrencesSummary>;
|
|
4021
|
-
/** Lists occurrences for the specified project. */
|
|
4022
|
-
list(request?: {
|
|
4023
|
-
/** V1 error format. */
|
|
4024
|
-
'$.xgafv'?: '1' | '2';
|
|
4025
|
-
/** OAuth access token. */
|
|
4026
|
-
access_token?: string;
|
|
4027
|
-
/** Data format for response. */
|
|
4028
|
-
alt?: 'json' | 'media' | 'proto';
|
|
4029
|
-
/** JSONP */
|
|
4030
|
-
callback?: string;
|
|
4031
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4032
|
-
fields?: string;
|
|
4033
|
-
/** The filter expression. */
|
|
4034
|
-
filter?: string;
|
|
4035
|
-
/** 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. */
|
|
4036
|
-
key?: string;
|
|
4037
|
-
/** OAuth 2.0 token for the current user. */
|
|
4038
|
-
oauth_token?: string;
|
|
4039
|
-
/** 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. */
|
|
4040
|
-
pageSize?: number;
|
|
4041
|
-
/** Token to provide to skip to a particular spot in the list. */
|
|
4042
|
-
pageToken?: string;
|
|
4043
|
-
/** Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`. */
|
|
4044
|
-
parent: string;
|
|
4045
|
-
/** Returns response with indentations and line breaks. */
|
|
4046
|
-
prettyPrint?: boolean;
|
|
4047
|
-
/** 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. */
|
|
4048
|
-
quotaUser?: string;
|
|
4049
|
-
/** If set, the request will return all reachable Occurrences and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. */
|
|
4050
|
-
returnPartialSuccess?: boolean;
|
|
4051
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4052
|
-
upload_protocol?: string;
|
|
4053
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4054
|
-
uploadType?: string;
|
|
4055
|
-
}): Request<ListOccurrencesResponse>;
|
|
4056
|
-
/** Updates the specified occurrence. */
|
|
4057
|
-
patch(request: {
|
|
4058
|
-
/** V1 error format. */
|
|
4059
|
-
'$.xgafv'?: '1' | '2';
|
|
4060
|
-
/** OAuth access token. */
|
|
4061
|
-
access_token?: string;
|
|
4062
|
-
/** Data format for response. */
|
|
4063
|
-
alt?: 'json' | 'media' | 'proto';
|
|
4064
|
-
/** JSONP */
|
|
4065
|
-
callback?: string;
|
|
4066
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4067
|
-
fields?: string;
|
|
4068
|
-
/** 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. */
|
|
4069
|
-
key?: string;
|
|
4070
|
-
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
4071
|
-
name: string;
|
|
4072
|
-
/** OAuth 2.0 token for the current user. */
|
|
4073
|
-
oauth_token?: string;
|
|
4074
|
-
/** Returns response with indentations and line breaks. */
|
|
4075
|
-
prettyPrint?: boolean;
|
|
4076
|
-
/** 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. */
|
|
4077
|
-
quotaUser?: string;
|
|
4078
|
-
/** The fields to update. */
|
|
4079
|
-
updateMask?: string;
|
|
4080
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4081
|
-
upload_protocol?: string;
|
|
4082
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4083
|
-
uploadType?: string;
|
|
4084
|
-
/** Request body */
|
|
4085
|
-
resource: Occurrence;
|
|
4086
|
-
}): Request<Occurrence>;
|
|
4087
|
-
patch(
|
|
4088
|
-
request: {
|
|
4049
|
+
}): Request<ListOccurrencesResponse>;
|
|
4050
|
+
/** Updates the specified occurrence. */
|
|
4051
|
+
patch(request: {
|
|
4089
4052
|
/** V1 error format. */
|
|
4090
4053
|
'$.xgafv'?: '1' | '2';
|
|
4091
4054
|
/** OAuth access token. */
|
|
@@ -4112,102 +4075,104 @@ declare namespace gapi.client {
|
|
|
4112
4075
|
upload_protocol?: string;
|
|
4113
4076
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4114
4077
|
uploadType?: string;
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4078
|
+
/** Request body */
|
|
4079
|
+
resource: Occurrence;
|
|
4080
|
+
}): Request<Occurrence>;
|
|
4081
|
+
patch(
|
|
4082
|
+
request: {
|
|
4083
|
+
/** V1 error format. */
|
|
4084
|
+
'$.xgafv'?: '1' | '2';
|
|
4085
|
+
/** OAuth access token. */
|
|
4086
|
+
access_token?: string;
|
|
4087
|
+
/** Data format for response. */
|
|
4088
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4089
|
+
/** JSONP */
|
|
4090
|
+
callback?: string;
|
|
4091
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4092
|
+
fields?: string;
|
|
4093
|
+
/** 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. */
|
|
4094
|
+
key?: string;
|
|
4095
|
+
/** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
4096
|
+
name: string;
|
|
4097
|
+
/** OAuth 2.0 token for the current user. */
|
|
4098
|
+
oauth_token?: string;
|
|
4099
|
+
/** Returns response with indentations and line breaks. */
|
|
4100
|
+
prettyPrint?: boolean;
|
|
4101
|
+
/** 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. */
|
|
4102
|
+
quotaUser?: string;
|
|
4103
|
+
/** The fields to update. */
|
|
4104
|
+
updateMask?: string;
|
|
4105
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4106
|
+
upload_protocol?: string;
|
|
4107
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4108
|
+
uploadType?: string;
|
|
4109
|
+
},
|
|
4110
|
+
body: Occurrence,
|
|
4111
|
+
): Request<Occurrence>;
|
|
4112
|
+
/** Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
4113
|
+
setIamPolicy(
|
|
4114
|
+
request: {
|
|
4115
|
+
/** V1 error format. */
|
|
4116
|
+
'$.xgafv'?: '1' | '2';
|
|
4117
|
+
/** OAuth access token. */
|
|
4118
|
+
access_token?: string;
|
|
4119
|
+
/** Data format for response. */
|
|
4120
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4121
|
+
/** JSONP */
|
|
4122
|
+
callback?: string;
|
|
4123
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4124
|
+
fields?: string;
|
|
4125
|
+
/** 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. */
|
|
4126
|
+
key?: string;
|
|
4127
|
+
/** OAuth 2.0 token for the current user. */
|
|
4128
|
+
oauth_token?: string;
|
|
4129
|
+
/** Returns response with indentations and line breaks. */
|
|
4130
|
+
prettyPrint?: boolean;
|
|
4131
|
+
/** 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. */
|
|
4132
|
+
quotaUser?: string;
|
|
4133
|
+
/** 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 field. */
|
|
4134
|
+
resource: string;
|
|
4135
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4136
|
+
upload_protocol?: string;
|
|
4137
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4138
|
+
uploadType?: string;
|
|
4139
|
+
},
|
|
4140
|
+
body: SetIamPolicyRequest,
|
|
4141
|
+
): Request<Policy>;
|
|
4142
|
+
/** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
|
|
4143
|
+
testIamPermissions(
|
|
4144
|
+
request: {
|
|
4145
|
+
/** V1 error format. */
|
|
4146
|
+
'$.xgafv'?: '1' | '2';
|
|
4147
|
+
/** OAuth access token. */
|
|
4148
|
+
access_token?: string;
|
|
4149
|
+
/** Data format for response. */
|
|
4150
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4151
|
+
/** JSONP */
|
|
4152
|
+
callback?: string;
|
|
4153
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4154
|
+
fields?: string;
|
|
4155
|
+
/** 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. */
|
|
4156
|
+
key?: string;
|
|
4157
|
+
/** OAuth 2.0 token for the current user. */
|
|
4158
|
+
oauth_token?: string;
|
|
4159
|
+
/** Returns response with indentations and line breaks. */
|
|
4160
|
+
prettyPrint?: boolean;
|
|
4161
|
+
/** 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. */
|
|
4162
|
+
quotaUser?: string;
|
|
4163
|
+
/** 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 this field. */
|
|
4164
|
+
resource: string;
|
|
4165
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4166
|
+
upload_protocol?: string;
|
|
4167
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4168
|
+
uploadType?: string;
|
|
4169
|
+
},
|
|
4170
|
+
body: TestIamPermissionsRequest,
|
|
4171
|
+
): Request<TestIamPermissionsResponse>;
|
|
4172
|
+
};
|
|
4173
|
+
resources: {
|
|
4174
|
+
/** Generates an SBOM for the given resource. */
|
|
4175
|
+
exportSBOM(request: {
|
|
4211
4176
|
/** V1 error format. */
|
|
4212
4177
|
'$.xgafv'?: '1' | '2';
|
|
4213
4178
|
/** OAuth access token. */
|
|
@@ -4232,17 +4197,39 @@ declare namespace gapi.client {
|
|
|
4232
4197
|
upload_protocol?: string;
|
|
4233
4198
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4234
4199
|
uploadType?: string;
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4200
|
+
/** Request body */
|
|
4201
|
+
resource: ExportSBOMRequest;
|
|
4202
|
+
}): Request<ExportSBOMResponse>;
|
|
4203
|
+
exportSBOM(
|
|
4204
|
+
request: {
|
|
4205
|
+
/** V1 error format. */
|
|
4206
|
+
'$.xgafv'?: '1' | '2';
|
|
4207
|
+
/** OAuth access token. */
|
|
4208
|
+
access_token?: string;
|
|
4209
|
+
/** Data format for response. */
|
|
4210
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4211
|
+
/** JSONP */
|
|
4212
|
+
callback?: string;
|
|
4213
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4214
|
+
fields?: string;
|
|
4215
|
+
/** 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. */
|
|
4216
|
+
key?: string;
|
|
4217
|
+
/** Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
|
|
4218
|
+
name: string;
|
|
4219
|
+
/** OAuth 2.0 token for the current user. */
|
|
4220
|
+
oauth_token?: string;
|
|
4221
|
+
/** Returns response with indentations and line breaks. */
|
|
4222
|
+
prettyPrint?: boolean;
|
|
4223
|
+
/** 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. */
|
|
4224
|
+
quotaUser?: string;
|
|
4225
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4226
|
+
upload_protocol?: string;
|
|
4227
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4228
|
+
uploadType?: string;
|
|
4229
|
+
},
|
|
4230
|
+
body: ExportSBOMRequest,
|
|
4231
|
+
): Request<ExportSBOMResponse>;
|
|
4232
|
+
};
|
|
4233
|
+
};
|
|
4247
4234
|
}
|
|
4248
4235
|
}
|