@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20250124 → 0.0.20250129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +29 -29
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://containeranalysis.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250124
12
+ // Revision: 20250129
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Container Analysis API v1 */
18
18
  function load(
19
- urlOrObject: 'https://containeranalysis.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://containeranalysis.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'containeranalysis', version: 'v1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'containeranalysis',
26
26
  version: 'v1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace containeranalysis {
@@ -1729,7 +1729,7 @@ declare namespace gapi.client {
1729
1729
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1730
1730
  uploadType?: string;
1731
1731
  },
1732
- body: BatchCreateNotesRequest
1732
+ body: BatchCreateNotesRequest,
1733
1733
  ): Request<BatchCreateNotesResponse>;
1734
1734
  /** Creates a new note. */
1735
1735
  create(request: {
@@ -1791,7 +1791,7 @@ declare namespace gapi.client {
1791
1791
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1792
1792
  uploadType?: string;
1793
1793
  },
1794
- body: Note
1794
+ body: Note,
1795
1795
  ): Request<Note>;
1796
1796
  /** Deletes the specified note. */
1797
1797
  delete(request?: {
@@ -1875,7 +1875,7 @@ declare namespace gapi.client {
1875
1875
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1876
1876
  uploadType?: string;
1877
1877
  },
1878
- body: GetIamPolicyRequest
1878
+ body: GetIamPolicyRequest,
1879
1879
  ): Request<Policy>;
1880
1880
  /** Lists notes for the specified project. */
1881
1881
  list(request?: {
@@ -1970,7 +1970,7 @@ declare namespace gapi.client {
1970
1970
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1971
1971
  uploadType?: string;
1972
1972
  },
1973
- body: Note
1973
+ body: Note,
1974
1974
  ): Request<Note>;
1975
1975
  /** 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. */
1976
1976
  setIamPolicy(
@@ -2000,7 +2000,7 @@ declare namespace gapi.client {
2000
2000
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2001
2001
  uploadType?: string;
2002
2002
  },
2003
- body: SetIamPolicyRequest
2003
+ body: SetIamPolicyRequest,
2004
2004
  ): Request<Policy>;
2005
2005
  /** 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. */
2006
2006
  testIamPermissions(
@@ -2030,7 +2030,7 @@ declare namespace gapi.client {
2030
2030
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2031
2031
  uploadType?: string;
2032
2032
  },
2033
- body: TestIamPermissionsRequest
2033
+ body: TestIamPermissionsRequest,
2034
2034
  ): Request<TestIamPermissionsResponse>;
2035
2035
  occurrences: OccurrencesResource;
2036
2036
  }
@@ -2091,7 +2091,7 @@ declare namespace gapi.client {
2091
2091
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2092
2092
  uploadType?: string;
2093
2093
  },
2094
- body: BatchCreateOccurrencesRequest
2094
+ body: BatchCreateOccurrencesRequest,
2095
2095
  ): Request<BatchCreateOccurrencesResponse>;
2096
2096
  /** Creates a new occurrence. */
2097
2097
  create(request: {
@@ -2149,7 +2149,7 @@ declare namespace gapi.client {
2149
2149
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2150
2150
  uploadType?: string;
2151
2151
  },
2152
- body: Occurrence
2152
+ body: Occurrence,
2153
2153
  ): Request<Occurrence>;
2154
2154
  /** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
2155
2155
  delete(request?: {
@@ -2233,7 +2233,7 @@ declare namespace gapi.client {
2233
2233
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2234
2234
  uploadType?: string;
2235
2235
  },
2236
- body: GetIamPolicyRequest
2236
+ body: GetIamPolicyRequest,
2237
2237
  ): Request<Policy>;
2238
2238
  /** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
2239
2239
  getNotes(request?: {
@@ -2384,7 +2384,7 @@ declare namespace gapi.client {
2384
2384
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2385
2385
  uploadType?: string;
2386
2386
  },
2387
- body: Occurrence
2387
+ body: Occurrence,
2388
2388
  ): Request<Occurrence>;
2389
2389
  /** 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. */
2390
2390
  setIamPolicy(
@@ -2414,7 +2414,7 @@ declare namespace gapi.client {
2414
2414
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2415
2415
  uploadType?: string;
2416
2416
  },
2417
- body: SetIamPolicyRequest
2417
+ body: SetIamPolicyRequest,
2418
2418
  ): Request<Policy>;
2419
2419
  /** 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. */
2420
2420
  testIamPermissions(
@@ -2444,7 +2444,7 @@ declare namespace gapi.client {
2444
2444
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2445
2445
  uploadType?: string;
2446
2446
  },
2447
- body: TestIamPermissionsRequest
2447
+ body: TestIamPermissionsRequest,
2448
2448
  ): Request<TestIamPermissionsResponse>;
2449
2449
  }
2450
2450
  interface ResourcesResource {
@@ -2504,7 +2504,7 @@ declare namespace gapi.client {
2504
2504
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2505
2505
  uploadType?: string;
2506
2506
  },
2507
- body: ExportSBOMRequest
2507
+ body: ExportSBOMRequest,
2508
2508
  ): Request<ExportSBOMResponse>;
2509
2509
  }
2510
2510
  interface LocationsResource {
@@ -2604,7 +2604,7 @@ declare namespace gapi.client {
2604
2604
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2605
2605
  uploadType?: string;
2606
2606
  },
2607
- body: BatchCreateNotesRequest
2607
+ body: BatchCreateNotesRequest,
2608
2608
  ): Request<BatchCreateNotesResponse>;
2609
2609
  /** Creates a new note. */
2610
2610
  create(request: {
@@ -2666,7 +2666,7 @@ declare namespace gapi.client {
2666
2666
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2667
2667
  uploadType?: string;
2668
2668
  },
2669
- body: Note
2669
+ body: Note,
2670
2670
  ): Request<Note>;
2671
2671
  /** Deletes the specified note. */
2672
2672
  delete(request?: {
@@ -2750,7 +2750,7 @@ declare namespace gapi.client {
2750
2750
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2751
2751
  uploadType?: string;
2752
2752
  },
2753
- body: GetIamPolicyRequest
2753
+ body: GetIamPolicyRequest,
2754
2754
  ): Request<Policy>;
2755
2755
  /** Lists notes for the specified project. */
2756
2756
  list(request?: {
@@ -2845,7 +2845,7 @@ declare namespace gapi.client {
2845
2845
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2846
2846
  uploadType?: string;
2847
2847
  },
2848
- body: Note
2848
+ body: Note,
2849
2849
  ): Request<Note>;
2850
2850
  /** 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. */
2851
2851
  setIamPolicy(
@@ -2875,7 +2875,7 @@ declare namespace gapi.client {
2875
2875
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2876
2876
  uploadType?: string;
2877
2877
  },
2878
- body: SetIamPolicyRequest
2878
+ body: SetIamPolicyRequest,
2879
2879
  ): Request<Policy>;
2880
2880
  /** 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. */
2881
2881
  testIamPermissions(
@@ -2905,7 +2905,7 @@ declare namespace gapi.client {
2905
2905
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2906
2906
  uploadType?: string;
2907
2907
  },
2908
- body: TestIamPermissionsRequest
2908
+ body: TestIamPermissionsRequest,
2909
2909
  ): Request<TestIamPermissionsResponse>;
2910
2910
  occurrences: OccurrencesResource;
2911
2911
  }
@@ -2966,7 +2966,7 @@ declare namespace gapi.client {
2966
2966
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2967
2967
  uploadType?: string;
2968
2968
  },
2969
- body: BatchCreateOccurrencesRequest
2969
+ body: BatchCreateOccurrencesRequest,
2970
2970
  ): Request<BatchCreateOccurrencesResponse>;
2971
2971
  /** Creates a new occurrence. */
2972
2972
  create(request: {
@@ -3024,7 +3024,7 @@ declare namespace gapi.client {
3024
3024
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3025
3025
  uploadType?: string;
3026
3026
  },
3027
- body: Occurrence
3027
+ body: Occurrence,
3028
3028
  ): Request<Occurrence>;
3029
3029
  /** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
3030
3030
  delete(request?: {
@@ -3108,7 +3108,7 @@ declare namespace gapi.client {
3108
3108
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3109
3109
  uploadType?: string;
3110
3110
  },
3111
- body: GetIamPolicyRequest
3111
+ body: GetIamPolicyRequest,
3112
3112
  ): Request<Policy>;
3113
3113
  /** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
3114
3114
  getNotes(request?: {
@@ -3259,7 +3259,7 @@ declare namespace gapi.client {
3259
3259
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3260
3260
  uploadType?: string;
3261
3261
  },
3262
- body: Occurrence
3262
+ body: Occurrence,
3263
3263
  ): Request<Occurrence>;
3264
3264
  /** 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. */
3265
3265
  setIamPolicy(
@@ -3289,7 +3289,7 @@ declare namespace gapi.client {
3289
3289
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3290
3290
  uploadType?: string;
3291
3291
  },
3292
- body: SetIamPolicyRequest
3292
+ body: SetIamPolicyRequest,
3293
3293
  ): Request<Policy>;
3294
3294
  /** 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. */
3295
3295
  testIamPermissions(
@@ -3319,7 +3319,7 @@ declare namespace gapi.client {
3319
3319
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3320
3320
  uploadType?: string;
3321
3321
  },
3322
- body: TestIamPermissionsRequest
3322
+ body: TestIamPermissionsRequest,
3323
3323
  ): Request<TestIamPermissionsResponse>;
3324
3324
  }
3325
3325
  interface ResourcesResource {
@@ -3379,7 +3379,7 @@ declare namespace gapi.client {
3379
3379
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3380
3380
  uploadType?: string;
3381
3381
  },
3382
- body: ExportSBOMRequest
3382
+ body: ExportSBOMRequest,
3383
3383
  ): Request<ExportSBOMResponse>;
3384
3384
  }
3385
3385
  interface ProjectsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1",
3
- "version": "0.0.20250124",
3
+ "version": "0.0.20250129",
4
4
  "description": "TypeScript typings for Container Analysis API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.containeranalysis
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68