@maxim_mazurok/gapi.client.dataproc-v1 0.0.20240303 → 0.0.20240316

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 +63 -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://dataproc.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240303
12
+ // Revision: 20240316
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -30,6 +30,10 @@ declare namespace gapi.client {
30
30
  /** Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80. */
31
31
  acceleratorTypeUri?: string;
32
32
  }
33
+ interface AnalyzeBatchRequest {
34
+ /** Optional. A unique ID used to identify the request. If the service receives two AnalyzeBatchRequest (http://cloud/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.AnalyzeBatchRequest)s with the same request_id, the second request is ignored and the Operation that corresponds to the first request created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
35
+ requestId?: string;
36
+ }
33
37
  interface AnalyzeOperationMetadata {
34
38
  /** Output only. name of the workload being analyzed. */
35
39
  analyzedWorkloadName?: string;
@@ -1780,6 +1784,64 @@ declare namespace gapi.client {
1780
1784
  ): Request<AutoscalingPolicy>;
1781
1785
  }
1782
1786
  interface BatchesResource {
1787
+ /** Analyze a Batch for possible recommendations and insights. */
1788
+ analyze(request: {
1789
+ /** V1 error format. */
1790
+ '$.xgafv'?: string;
1791
+ /** OAuth access token. */
1792
+ access_token?: string;
1793
+ /** Data format for response. */
1794
+ alt?: string;
1795
+ /** JSONP */
1796
+ callback?: string;
1797
+ /** Selector specifying which fields to include in a partial response. */
1798
+ fields?: string;
1799
+ /** 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. */
1800
+ key?: string;
1801
+ /** Required. The fully qualified name of the batch to analyze in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID" */
1802
+ name: string;
1803
+ /** OAuth 2.0 token for the current user. */
1804
+ oauth_token?: string;
1805
+ /** Returns response with indentations and line breaks. */
1806
+ prettyPrint?: boolean;
1807
+ /** 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. */
1808
+ quotaUser?: string;
1809
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1810
+ upload_protocol?: string;
1811
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1812
+ uploadType?: string;
1813
+ /** Request body */
1814
+ resource: AnalyzeBatchRequest;
1815
+ }): Request<Operation>;
1816
+ analyze(
1817
+ request: {
1818
+ /** V1 error format. */
1819
+ '$.xgafv'?: string;
1820
+ /** OAuth access token. */
1821
+ access_token?: string;
1822
+ /** Data format for response. */
1823
+ alt?: string;
1824
+ /** JSONP */
1825
+ callback?: string;
1826
+ /** Selector specifying which fields to include in a partial response. */
1827
+ fields?: string;
1828
+ /** 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. */
1829
+ key?: string;
1830
+ /** Required. The fully qualified name of the batch to analyze in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID" */
1831
+ name: string;
1832
+ /** OAuth 2.0 token for the current user. */
1833
+ oauth_token?: string;
1834
+ /** Returns response with indentations and line breaks. */
1835
+ prettyPrint?: boolean;
1836
+ /** 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. */
1837
+ quotaUser?: string;
1838
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1839
+ upload_protocol?: string;
1840
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1841
+ uploadType?: string;
1842
+ },
1843
+ body: AnalyzeBatchRequest
1844
+ ): Request<Operation>;
1783
1845
  /** Creates a batch workload that executes asynchronously. */
1784
1846
  create(request: {
1785
1847
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataproc-v1",
3
- "version": "0.0.20240303",
3
+ "version": "0.0.20240316",
4
4
  "description": "TypeScript typings for Cloud Dataproc API v1",
5
5
  "repository": {
6
6
  "type": "git",