@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20240719 → 0.0.20240802

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 +415 -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: 20240719
12
+ // Revision: 20240802
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1645,6 +1645,153 @@ declare namespace gapi.client {
1645
1645
  }): Request<ListNoteOccurrencesResponse>;
1646
1646
  }
1647
1647
  interface NotesResource {
1648
+ /** Creates new notes in batch. */
1649
+ batchCreate(request: {
1650
+ /** V1 error format. */
1651
+ '$.xgafv'?: string;
1652
+ /** OAuth access token. */
1653
+ access_token?: string;
1654
+ /** Data format for response. */
1655
+ alt?: string;
1656
+ /** JSONP */
1657
+ callback?: string;
1658
+ /** Selector specifying which fields to include in a partial response. */
1659
+ fields?: string;
1660
+ /** 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. */
1661
+ key?: string;
1662
+ /** OAuth 2.0 token for the current user. */
1663
+ oauth_token?: string;
1664
+ /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
1665
+ parent: string;
1666
+ /** Returns response with indentations and line breaks. */
1667
+ prettyPrint?: boolean;
1668
+ /** 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. */
1669
+ quotaUser?: string;
1670
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1671
+ upload_protocol?: string;
1672
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1673
+ uploadType?: string;
1674
+ /** Request body */
1675
+ resource: BatchCreateNotesRequest;
1676
+ }): Request<BatchCreateNotesResponse>;
1677
+ batchCreate(
1678
+ request: {
1679
+ /** V1 error format. */
1680
+ '$.xgafv'?: string;
1681
+ /** OAuth access token. */
1682
+ access_token?: string;
1683
+ /** Data format for response. */
1684
+ alt?: string;
1685
+ /** JSONP */
1686
+ callback?: string;
1687
+ /** Selector specifying which fields to include in a partial response. */
1688
+ fields?: string;
1689
+ /** 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. */
1690
+ key?: string;
1691
+ /** OAuth 2.0 token for the current user. */
1692
+ oauth_token?: string;
1693
+ /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. */
1694
+ parent: string;
1695
+ /** Returns response with indentations and line breaks. */
1696
+ prettyPrint?: boolean;
1697
+ /** 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. */
1698
+ quotaUser?: string;
1699
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1700
+ upload_protocol?: string;
1701
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1702
+ uploadType?: string;
1703
+ },
1704
+ body: BatchCreateNotesRequest
1705
+ ): Request<BatchCreateNotesResponse>;
1706
+ /** Creates a new note. */
1707
+ create(request: {
1708
+ /** V1 error format. */
1709
+ '$.xgafv'?: string;
1710
+ /** OAuth access token. */
1711
+ access_token?: string;
1712
+ /** Data format for response. */
1713
+ alt?: string;
1714
+ /** JSONP */
1715
+ callback?: string;
1716
+ /** Selector specifying which fields to include in a partial response. */
1717
+ fields?: string;
1718
+ /** 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. */
1719
+ key?: string;
1720
+ /** Required. The ID to use for this note. */
1721
+ noteId?: string;
1722
+ /** OAuth 2.0 token for the current user. */
1723
+ oauth_token?: string;
1724
+ /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
1725
+ parent: string;
1726
+ /** Returns response with indentations and line breaks. */
1727
+ prettyPrint?: boolean;
1728
+ /** 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. */
1729
+ quotaUser?: string;
1730
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1731
+ upload_protocol?: string;
1732
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1733
+ uploadType?: string;
1734
+ /** Request body */
1735
+ resource: Note;
1736
+ }): Request<Note>;
1737
+ create(
1738
+ request: {
1739
+ /** V1 error format. */
1740
+ '$.xgafv'?: string;
1741
+ /** OAuth access token. */
1742
+ access_token?: string;
1743
+ /** Data format for response. */
1744
+ alt?: string;
1745
+ /** JSONP */
1746
+ callback?: string;
1747
+ /** Selector specifying which fields to include in a partial response. */
1748
+ fields?: string;
1749
+ /** 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. */
1750
+ key?: string;
1751
+ /** Required. The ID to use for this note. */
1752
+ noteId?: string;
1753
+ /** OAuth 2.0 token for the current user. */
1754
+ oauth_token?: string;
1755
+ /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. */
1756
+ parent: string;
1757
+ /** Returns response with indentations and line breaks. */
1758
+ prettyPrint?: boolean;
1759
+ /** 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. */
1760
+ quotaUser?: string;
1761
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1762
+ upload_protocol?: string;
1763
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1764
+ uploadType?: string;
1765
+ },
1766
+ body: Note
1767
+ ): Request<Note>;
1768
+ /** Deletes the specified note. */
1769
+ delete(request?: {
1770
+ /** V1 error format. */
1771
+ '$.xgafv'?: string;
1772
+ /** OAuth access token. */
1773
+ access_token?: string;
1774
+ /** Data format for response. */
1775
+ alt?: string;
1776
+ /** JSONP */
1777
+ callback?: string;
1778
+ /** Selector specifying which fields to include in a partial response. */
1779
+ fields?: string;
1780
+ /** 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. */
1781
+ key?: string;
1782
+ /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1783
+ name: string;
1784
+ /** OAuth 2.0 token for the current user. */
1785
+ oauth_token?: string;
1786
+ /** Returns response with indentations and line breaks. */
1787
+ prettyPrint?: boolean;
1788
+ /** 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. */
1789
+ quotaUser?: string;
1790
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1791
+ upload_protocol?: string;
1792
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1793
+ uploadType?: string;
1794
+ }): Request<{}>;
1648
1795
  /** Gets the specified note. */
1649
1796
  get(request?: {
1650
1797
  /** V1 error format. */
@@ -1705,9 +1852,214 @@ declare namespace gapi.client {
1705
1852
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1706
1853
  uploadType?: string;
1707
1854
  }): Request<ListNotesResponse>;
1855
+ /** Updates the specified note. */
1856
+ patch(request: {
1857
+ /** V1 error format. */
1858
+ '$.xgafv'?: string;
1859
+ /** OAuth access token. */
1860
+ access_token?: string;
1861
+ /** Data format for response. */
1862
+ alt?: string;
1863
+ /** JSONP */
1864
+ callback?: string;
1865
+ /** Selector specifying which fields to include in a partial response. */
1866
+ fields?: string;
1867
+ /** 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. */
1868
+ key?: string;
1869
+ /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1870
+ name: string;
1871
+ /** OAuth 2.0 token for the current user. */
1872
+ oauth_token?: string;
1873
+ /** Returns response with indentations and line breaks. */
1874
+ prettyPrint?: boolean;
1875
+ /** 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. */
1876
+ quotaUser?: string;
1877
+ /** The fields to update. */
1878
+ updateMask?: string;
1879
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1880
+ upload_protocol?: string;
1881
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1882
+ uploadType?: string;
1883
+ /** Request body */
1884
+ resource: Note;
1885
+ }): Request<Note>;
1886
+ patch(
1887
+ request: {
1888
+ /** V1 error format. */
1889
+ '$.xgafv'?: string;
1890
+ /** OAuth access token. */
1891
+ access_token?: string;
1892
+ /** Data format for response. */
1893
+ alt?: string;
1894
+ /** JSONP */
1895
+ callback?: string;
1896
+ /** Selector specifying which fields to include in a partial response. */
1897
+ fields?: string;
1898
+ /** 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. */
1899
+ key?: string;
1900
+ /** Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
1901
+ name: string;
1902
+ /** OAuth 2.0 token for the current user. */
1903
+ oauth_token?: string;
1904
+ /** Returns response with indentations and line breaks. */
1905
+ prettyPrint?: boolean;
1906
+ /** 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. */
1907
+ quotaUser?: string;
1908
+ /** The fields to update. */
1909
+ updateMask?: string;
1910
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1911
+ upload_protocol?: string;
1912
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1913
+ uploadType?: string;
1914
+ },
1915
+ body: Note
1916
+ ): Request<Note>;
1708
1917
  occurrences: OccurrencesResource;
1709
1918
  }
1710
1919
  interface OccurrencesResource {
1920
+ /** Creates new occurrences in batch. */
1921
+ batchCreate(request: {
1922
+ /** V1 error format. */
1923
+ '$.xgafv'?: string;
1924
+ /** OAuth access token. */
1925
+ access_token?: string;
1926
+ /** Data format for response. */
1927
+ alt?: string;
1928
+ /** JSONP */
1929
+ callback?: string;
1930
+ /** Selector specifying which fields to include in a partial response. */
1931
+ fields?: string;
1932
+ /** 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. */
1933
+ key?: string;
1934
+ /** OAuth 2.0 token for the current user. */
1935
+ oauth_token?: string;
1936
+ /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
1937
+ parent: string;
1938
+ /** Returns response with indentations and line breaks. */
1939
+ prettyPrint?: boolean;
1940
+ /** 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. */
1941
+ quotaUser?: string;
1942
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1943
+ upload_protocol?: string;
1944
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1945
+ uploadType?: string;
1946
+ /** Request body */
1947
+ resource: BatchCreateOccurrencesRequest;
1948
+ }): Request<BatchCreateOccurrencesResponse>;
1949
+ batchCreate(
1950
+ request: {
1951
+ /** V1 error format. */
1952
+ '$.xgafv'?: string;
1953
+ /** OAuth access token. */
1954
+ access_token?: string;
1955
+ /** Data format for response. */
1956
+ alt?: string;
1957
+ /** JSONP */
1958
+ callback?: string;
1959
+ /** Selector specifying which fields to include in a partial response. */
1960
+ fields?: string;
1961
+ /** 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. */
1962
+ key?: string;
1963
+ /** OAuth 2.0 token for the current user. */
1964
+ oauth_token?: string;
1965
+ /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. */
1966
+ parent: string;
1967
+ /** Returns response with indentations and line breaks. */
1968
+ prettyPrint?: boolean;
1969
+ /** 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. */
1970
+ quotaUser?: string;
1971
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1972
+ upload_protocol?: string;
1973
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1974
+ uploadType?: string;
1975
+ },
1976
+ body: BatchCreateOccurrencesRequest
1977
+ ): Request<BatchCreateOccurrencesResponse>;
1978
+ /** Creates a new occurrence. */
1979
+ create(request: {
1980
+ /** V1 error format. */
1981
+ '$.xgafv'?: string;
1982
+ /** OAuth access token. */
1983
+ access_token?: string;
1984
+ /** Data format for response. */
1985
+ alt?: string;
1986
+ /** JSONP */
1987
+ callback?: string;
1988
+ /** Selector specifying which fields to include in a partial response. */
1989
+ fields?: string;
1990
+ /** 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. */
1991
+ key?: string;
1992
+ /** OAuth 2.0 token for the current user. */
1993
+ oauth_token?: string;
1994
+ /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. */
1995
+ parent: string;
1996
+ /** Returns response with indentations and line breaks. */
1997
+ prettyPrint?: boolean;
1998
+ /** 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. */
1999
+ quotaUser?: string;
2000
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2001
+ upload_protocol?: string;
2002
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2003
+ uploadType?: string;
2004
+ /** Request body */
2005
+ resource: Occurrence;
2006
+ }): Request<Occurrence>;
2007
+ create(
2008
+ request: {
2009
+ /** V1 error format. */
2010
+ '$.xgafv'?: string;
2011
+ /** OAuth access token. */
2012
+ access_token?: string;
2013
+ /** Data format for response. */
2014
+ alt?: string;
2015
+ /** JSONP */
2016
+ callback?: string;
2017
+ /** Selector specifying which fields to include in a partial response. */
2018
+ fields?: string;
2019
+ /** 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. */
2020
+ key?: string;
2021
+ /** OAuth 2.0 token for the current user. */
2022
+ oauth_token?: string;
2023
+ /** Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. */
2024
+ parent: string;
2025
+ /** Returns response with indentations and line breaks. */
2026
+ prettyPrint?: boolean;
2027
+ /** 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. */
2028
+ quotaUser?: string;
2029
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2030
+ upload_protocol?: string;
2031
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2032
+ uploadType?: string;
2033
+ },
2034
+ body: Occurrence
2035
+ ): Request<Occurrence>;
2036
+ /** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
2037
+ delete(request?: {
2038
+ /** V1 error format. */
2039
+ '$.xgafv'?: string;
2040
+ /** OAuth access token. */
2041
+ access_token?: string;
2042
+ /** Data format for response. */
2043
+ alt?: string;
2044
+ /** JSONP */
2045
+ callback?: string;
2046
+ /** Selector specifying which fields to include in a partial response. */
2047
+ fields?: string;
2048
+ /** 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. */
2049
+ key?: string;
2050
+ /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2051
+ name: string;
2052
+ /** OAuth 2.0 token for the current user. */
2053
+ oauth_token?: string;
2054
+ /** Returns response with indentations and line breaks. */
2055
+ prettyPrint?: boolean;
2056
+ /** 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. */
2057
+ quotaUser?: string;
2058
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2059
+ upload_protocol?: string;
2060
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2061
+ uploadType?: string;
2062
+ }): Request<{}>;
1711
2063
  /** Gets the specified occurrence. */
1712
2064
  get(request?: {
1713
2065
  /** V1 error format. */
@@ -1824,6 +2176,68 @@ declare namespace gapi.client {
1824
2176
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1825
2177
  uploadType?: string;
1826
2178
  }): Request<ListOccurrencesResponse>;
2179
+ /** Updates the specified occurrence. */
2180
+ patch(request: {
2181
+ /** V1 error format. */
2182
+ '$.xgafv'?: string;
2183
+ /** OAuth access token. */
2184
+ access_token?: string;
2185
+ /** Data format for response. */
2186
+ alt?: string;
2187
+ /** JSONP */
2188
+ callback?: string;
2189
+ /** Selector specifying which fields to include in a partial response. */
2190
+ fields?: string;
2191
+ /** 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. */
2192
+ key?: string;
2193
+ /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2194
+ name: string;
2195
+ /** OAuth 2.0 token for the current user. */
2196
+ oauth_token?: string;
2197
+ /** Returns response with indentations and line breaks. */
2198
+ prettyPrint?: boolean;
2199
+ /** 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. */
2200
+ quotaUser?: string;
2201
+ /** The fields to update. */
2202
+ updateMask?: string;
2203
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2204
+ upload_protocol?: string;
2205
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2206
+ uploadType?: string;
2207
+ /** Request body */
2208
+ resource: Occurrence;
2209
+ }): Request<Occurrence>;
2210
+ patch(
2211
+ request: {
2212
+ /** V1 error format. */
2213
+ '$.xgafv'?: string;
2214
+ /** OAuth access token. */
2215
+ access_token?: string;
2216
+ /** Data format for response. */
2217
+ alt?: string;
2218
+ /** JSONP */
2219
+ callback?: string;
2220
+ /** Selector specifying which fields to include in a partial response. */
2221
+ fields?: string;
2222
+ /** 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. */
2223
+ key?: string;
2224
+ /** Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
2225
+ name: string;
2226
+ /** OAuth 2.0 token for the current user. */
2227
+ oauth_token?: string;
2228
+ /** Returns response with indentations and line breaks. */
2229
+ prettyPrint?: boolean;
2230
+ /** 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. */
2231
+ quotaUser?: string;
2232
+ /** The fields to update. */
2233
+ updateMask?: string;
2234
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2235
+ upload_protocol?: string;
2236
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2237
+ uploadType?: string;
2238
+ },
2239
+ body: Occurrence
2240
+ ): Request<Occurrence>;
1827
2241
  }
1828
2242
  interface ResourcesResource {
1829
2243
  /** Generates an SBOM for the given resource. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1",
3
- "version": "0.0.20240719",
3
+ "version": "0.0.20240802",
4
4
  "description": "TypeScript typings for Container Analysis API v1",
5
5
  "repository": {
6
6
  "type": "git",