@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20240220 → 0.0.20240301

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 (2) hide show
  1. package/index.d.ts +284 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://containeranalysis.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240220
12
+ // Revision: 20240301
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -242,6 +242,7 @@ declare namespace gapi.client {
242
242
  cisBenchmark?: CisBenchmark;
243
243
  /** A description about this compliance check. */
244
244
  description?: string;
245
+ impact?: string;
245
246
  /** A rationale for the existence of this compliance check. */
246
247
  rationale?: string;
247
248
  /** A description of remediation steps if the compliance check fails. */
@@ -1621,6 +1622,287 @@ declare namespace gapi.client {
1621
1622
  uploadType?: string;
1622
1623
  }): Request<ListNoteOccurrencesResponse>;
1623
1624
  }
1625
+ interface NotesResource {
1626
+ /** Gets the specified note. */
1627
+ get(request?: {
1628
+ /** V1 error format. */
1629
+ '$.xgafv'?: string;
1630
+ /** OAuth access token. */
1631
+ access_token?: string;
1632
+ /** Data format for response. */
1633
+ alt?: string;
1634
+ /** JSONP */
1635
+ callback?: string;
1636
+ /** Selector specifying which fields to include in a partial response. */
1637
+ fields?: string;
1638
+ /** 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. */
1639
+ key?: string;
1640
+ /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1641
+ name: string;
1642
+ /** OAuth 2.0 token for the current user. */
1643
+ oauth_token?: string;
1644
+ /** Returns response with indentations and line breaks. */
1645
+ prettyPrint?: boolean;
1646
+ /** 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. */
1647
+ quotaUser?: string;
1648
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1649
+ upload_protocol?: string;
1650
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1651
+ uploadType?: string;
1652
+ }): Request<Note>;
1653
+ /** Lists notes for the specified project. */
1654
+ list(request?: {
1655
+ /** V1 error format. */
1656
+ '$.xgafv'?: string;
1657
+ /** OAuth access token. */
1658
+ access_token?: string;
1659
+ /** Data format for response. */
1660
+ alt?: string;
1661
+ /** JSONP */
1662
+ callback?: string;
1663
+ /** Selector specifying which fields to include in a partial response. */
1664
+ fields?: string;
1665
+ /** The filter expression. */
1666
+ filter?: string;
1667
+ /** 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. */
1668
+ key?: string;
1669
+ /** OAuth 2.0 token for the current user. */
1670
+ oauth_token?: string;
1671
+ /** 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. */
1672
+ pageSize?: number;
1673
+ /** Token to provide to skip to a particular spot in the list. */
1674
+ pageToken?: string;
1675
+ /** Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. */
1676
+ parent: string;
1677
+ /** Returns response with indentations and line breaks. */
1678
+ prettyPrint?: boolean;
1679
+ /** 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. */
1680
+ quotaUser?: string;
1681
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1682
+ upload_protocol?: string;
1683
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1684
+ uploadType?: string;
1685
+ }): Request<ListNotesResponse>;
1686
+ occurrences: OccurrencesResource;
1687
+ }
1688
+ interface OccurrencesResource {
1689
+ /** Gets the specified occurrence. */
1690
+ get(request?: {
1691
+ /** V1 error format. */
1692
+ '$.xgafv'?: string;
1693
+ /** OAuth access token. */
1694
+ access_token?: string;
1695
+ /** Data format for response. */
1696
+ alt?: string;
1697
+ /** JSONP */
1698
+ callback?: string;
1699
+ /** Selector specifying which fields to include in a partial response. */
1700
+ fields?: string;
1701
+ /** 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. */
1702
+ key?: string;
1703
+ /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
1704
+ name: string;
1705
+ /** OAuth 2.0 token for the current user. */
1706
+ oauth_token?: string;
1707
+ /** Returns response with indentations and line breaks. */
1708
+ prettyPrint?: boolean;
1709
+ /** 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. */
1710
+ quotaUser?: string;
1711
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1712
+ upload_protocol?: string;
1713
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1714
+ uploadType?: string;
1715
+ }): Request<Occurrence>;
1716
+ /** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
1717
+ getNotes(request?: {
1718
+ /** V1 error format. */
1719
+ '$.xgafv'?: string;
1720
+ /** OAuth access token. */
1721
+ access_token?: string;
1722
+ /** Data format for response. */
1723
+ alt?: string;
1724
+ /** JSONP */
1725
+ callback?: string;
1726
+ /** Selector specifying which fields to include in a partial response. */
1727
+ fields?: string;
1728
+ /** 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. */
1729
+ key?: string;
1730
+ /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
1731
+ name: string;
1732
+ /** OAuth 2.0 token for the current user. */
1733
+ oauth_token?: string;
1734
+ /** Returns response with indentations and line breaks. */
1735
+ prettyPrint?: boolean;
1736
+ /** 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. */
1737
+ quotaUser?: string;
1738
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1739
+ upload_protocol?: string;
1740
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1741
+ uploadType?: string;
1742
+ }): Request<Note>;
1743
+ /** Gets a summary of the number and severity of occurrences. */
1744
+ getVulnerabilitySummary(request?: {
1745
+ /** V1 error format. */
1746
+ '$.xgafv'?: string;
1747
+ /** OAuth access token. */
1748
+ access_token?: string;
1749
+ /** Data format for response. */
1750
+ alt?: string;
1751
+ /** JSONP */
1752
+ callback?: string;
1753
+ /** Selector specifying which fields to include in a partial response. */
1754
+ fields?: string;
1755
+ /** The filter expression. */
1756
+ filter?: string;
1757
+ /** 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. */
1758
+ key?: string;
1759
+ /** OAuth 2.0 token for the current user. */
1760
+ oauth_token?: string;
1761
+ /** Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`. */
1762
+ parent: string;
1763
+ /** Returns response with indentations and line breaks. */
1764
+ prettyPrint?: boolean;
1765
+ /** 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. */
1766
+ quotaUser?: string;
1767
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1768
+ upload_protocol?: string;
1769
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1770
+ uploadType?: string;
1771
+ }): Request<VulnerabilityOccurrencesSummary>;
1772
+ /** Lists occurrences for the specified project. */
1773
+ list(request?: {
1774
+ /** V1 error format. */
1775
+ '$.xgafv'?: string;
1776
+ /** OAuth access token. */
1777
+ access_token?: string;
1778
+ /** Data format for response. */
1779
+ alt?: string;
1780
+ /** JSONP */
1781
+ callback?: string;
1782
+ /** Selector specifying which fields to include in a partial response. */
1783
+ fields?: string;
1784
+ /** The filter expression. */
1785
+ filter?: string;
1786
+ /** 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. */
1787
+ key?: string;
1788
+ /** OAuth 2.0 token for the current user. */
1789
+ oauth_token?: string;
1790
+ /** 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. */
1791
+ pageSize?: number;
1792
+ /** Token to provide to skip to a particular spot in the list. */
1793
+ pageToken?: string;
1794
+ /** Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`. */
1795
+ parent: string;
1796
+ /** Returns response with indentations and line breaks. */
1797
+ prettyPrint?: boolean;
1798
+ /** 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. */
1799
+ quotaUser?: string;
1800
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1801
+ upload_protocol?: string;
1802
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1803
+ uploadType?: string;
1804
+ }): Request<ListOccurrencesResponse>;
1805
+ }
1806
+ interface ResourcesResource {
1807
+ /** Generates an SBOM for the given resource. */
1808
+ exportSBOM(request: {
1809
+ /** V1 error format. */
1810
+ '$.xgafv'?: string;
1811
+ /** OAuth access token. */
1812
+ access_token?: string;
1813
+ /** Data format for response. */
1814
+ alt?: string;
1815
+ /** JSONP */
1816
+ callback?: string;
1817
+ /** Selector specifying which fields to include in a partial response. */
1818
+ fields?: string;
1819
+ /** 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. */
1820
+ key?: string;
1821
+ /** Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
1822
+ name: string;
1823
+ /** OAuth 2.0 token for the current user. */
1824
+ oauth_token?: string;
1825
+ /** Returns response with indentations and line breaks. */
1826
+ prettyPrint?: boolean;
1827
+ /** 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. */
1828
+ quotaUser?: string;
1829
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1830
+ upload_protocol?: string;
1831
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1832
+ uploadType?: string;
1833
+ /** Request body */
1834
+ resource: ExportSBOMRequest;
1835
+ }): Request<ExportSBOMResponse>;
1836
+ exportSBOM(
1837
+ request: {
1838
+ /** V1 error format. */
1839
+ '$.xgafv'?: string;
1840
+ /** OAuth access token. */
1841
+ access_token?: string;
1842
+ /** Data format for response. */
1843
+ alt?: string;
1844
+ /** JSONP */
1845
+ callback?: string;
1846
+ /** Selector specifying which fields to include in a partial response. */
1847
+ fields?: string;
1848
+ /** 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. */
1849
+ key?: string;
1850
+ /** Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. */
1851
+ name: string;
1852
+ /** OAuth 2.0 token for the current user. */
1853
+ oauth_token?: string;
1854
+ /** Returns response with indentations and line breaks. */
1855
+ prettyPrint?: boolean;
1856
+ /** 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. */
1857
+ quotaUser?: string;
1858
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1859
+ upload_protocol?: string;
1860
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1861
+ uploadType?: string;
1862
+ },
1863
+ body: ExportSBOMRequest
1864
+ ): Request<ExportSBOMResponse>;
1865
+ }
1866
+ interface LocationsResource {
1867
+ notes: NotesResource;
1868
+ occurrences: OccurrencesResource;
1869
+ resources: ResourcesResource;
1870
+ }
1871
+ interface OccurrencesResource {
1872
+ /** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
1873
+ list(request?: {
1874
+ /** V1 error format. */
1875
+ '$.xgafv'?: string;
1876
+ /** OAuth access token. */
1877
+ access_token?: string;
1878
+ /** Data format for response. */
1879
+ alt?: string;
1880
+ /** JSONP */
1881
+ callback?: string;
1882
+ /** Selector specifying which fields to include in a partial response. */
1883
+ fields?: string;
1884
+ /** The filter expression. */
1885
+ filter?: string;
1886
+ /** 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. */
1887
+ key?: string;
1888
+ /** Required. The name of the note to list occurrences for in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1889
+ name: string;
1890
+ /** OAuth 2.0 token for the current user. */
1891
+ oauth_token?: string;
1892
+ /** Number of occurrences to return in the list. */
1893
+ pageSize?: number;
1894
+ /** Token to provide to skip to a particular spot in the list. */
1895
+ pageToken?: string;
1896
+ /** Returns response with indentations and line breaks. */
1897
+ prettyPrint?: boolean;
1898
+ /** 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. */
1899
+ quotaUser?: string;
1900
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1901
+ upload_protocol?: string;
1902
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1903
+ uploadType?: string;
1904
+ }): Request<ListNoteOccurrencesResponse>;
1905
+ }
1624
1906
  interface NotesResource {
1625
1907
  /** Creates new notes in batch. */
1626
1908
  batchCreate(request: {
@@ -2457,6 +2739,7 @@ declare namespace gapi.client {
2457
2739
  ): Request<ExportSBOMResponse>;
2458
2740
  }
2459
2741
  interface ProjectsResource {
2742
+ locations: LocationsResource;
2460
2743
  notes: NotesResource;
2461
2744
  occurrences: OccurrencesResource;
2462
2745
  resources: ResourcesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1",
3
- "version": "0.0.20240220",
3
+ "version": "0.0.20240301",
4
4
  "description": "TypeScript typings for Container Analysis API v1",
5
5
  "repository": {
6
6
  "type": "git",