@maxim_mazurok/gapi.client.dataproc-v1 0.0.20250311 → 0.0.20250315

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 +165 -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: 20250311
12
+ // Revision: 20250315
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -406,6 +406,10 @@ declare namespace gapi.client {
406
406
  /** Output only. Additional state information that includes status reported by the agent. */
407
407
  substate?: string;
408
408
  }
409
+ interface ClusterToRepair {
410
+ /** Required. Repair action to take on the cluster resource. */
411
+ clusterRepairAction?: string;
412
+ }
409
413
  interface ConfidentialInstanceConfig {
410
414
  /** Optional. Defines whether the instance should have confidential compute enabled. */
411
415
  enableConfidentialCompute?: boolean;
@@ -1195,6 +1199,14 @@ declare namespace gapi.client {
1195
1199
  /** Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period. */
1196
1200
  executionTimeout?: string;
1197
1201
  }
1202
+ interface NodePool {
1203
+ /** Required. A unique id of the node pool. Primary and Secondary workers can be specified using special reserved ids PRIMARY_WORKER_POOL and SECONDARY_WORKER_POOL respectively. Aux node pools can be referenced using corresponding pool id. */
1204
+ id?: string;
1205
+ /** Name of instances to be repaired. These instances must belong to specified node pool. */
1206
+ instanceNames?: string[];
1207
+ /** Required. Repair action to take on specified resources of the node pool. */
1208
+ repairAction?: string;
1209
+ }
1198
1210
  interface Operation {
1199
1211
  /** If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. */
1200
1212
  done?: boolean;
@@ -1422,6 +1434,28 @@ declare namespace gapi.client {
1422
1434
  /** Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient). */
1423
1435
  regexes?: string[];
1424
1436
  }
1437
+ interface RepairClusterRequest {
1438
+ /** Optional. Cluster to be repaired */
1439
+ cluster?: ClusterToRepair;
1440
+ /** Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist. */
1441
+ clusterUuid?: string;
1442
+ /** Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning facilitates the removal of cluster nodes without interrupting jobs in progress. The timeout specifies the amount of time to wait for jobs finish before forcefully removing nodes. The default timeout is 0 for forceful decommissioning, and the maximum timeout period is 1 day. (see JSON Mapping—Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).graceful_decommission_timeout is supported in Dataproc image versions 1.2+. */
1443
+ gracefulDecommissionTimeout?: string;
1444
+ /** Optional. Node pools and corresponding repair action to be taken. All node pools should be unique in this request. i.e. Multiple entries for the same node pool id are not allowed. */
1445
+ nodePools?: NodePool[];
1446
+ /** Optional. operation id of the parent operation sending the repair request */
1447
+ parentOperationId?: string;
1448
+ /** Optional. A unique ID used to identify the request. If the server receives two RepairClusterRequests with the same ID, the second request is ignored, and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
1449
+ requestId?: string;
1450
+ }
1451
+ interface RepairNodeGroupRequest {
1452
+ /** Required. Name of instances to be repaired. These instances must belong to specified node pool. */
1453
+ instanceNames?: string[];
1454
+ /** Required. Repair action to take on specified resources of the node pool. */
1455
+ repairAction?: string;
1456
+ /** Optional. A unique ID used to identify the request. If the server receives two RepairNodeGroupRequest with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. */
1457
+ requestId?: string;
1458
+ }
1425
1459
  interface RepositoryConfig {
1426
1460
  /** Optional. Configuration for PyPi repository. */
1427
1461
  pypiRepositoryConfig?: PyPiRepositoryConfig;
@@ -2304,8 +2338,12 @@ declare namespace gapi.client {
2304
2338
  milliAcceleratorSeconds?: string;
2305
2339
  /** Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). */
2306
2340
  milliDcuSeconds?: string;
2341
+ /** Optional. Slot usage in (milliSlot x seconds). */
2342
+ milliSlotSeconds?: string;
2307
2343
  /** Optional. Shuffle storage usage in (GB x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). */
2308
2344
  shuffleStorageGbSeconds?: string;
2345
+ /** Optional. The timestamp of the usage metrics. */
2346
+ updateTime?: string;
2309
2347
  }
2310
2348
  interface UsageSnapshot {
2311
2349
  /** Optional. Accelerator type being used, if any */
@@ -2316,6 +2354,8 @@ declare namespace gapi.client {
2316
2354
  milliDcu?: string;
2317
2355
  /** Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). */
2318
2356
  milliDcuPremium?: string;
2357
+ /** Optional. Milli (one-thousandth) Slot usage of the workload. */
2358
+ milliSlot?: string;
2319
2359
  /** Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)) */
2320
2360
  shuffleStorageGb?: string;
2321
2361
  /** Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)) */
@@ -5883,6 +5923,64 @@ declare namespace gapi.client {
5883
5923
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5884
5924
  uploadType?: string;
5885
5925
  }): Request<NodeGroup>;
5926
+ /** Repair nodes in a node group. */
5927
+ repair(request: {
5928
+ /** V1 error format. */
5929
+ '$.xgafv'?: string;
5930
+ /** OAuth access token. */
5931
+ access_token?: string;
5932
+ /** Data format for response. */
5933
+ alt?: string;
5934
+ /** JSONP */
5935
+ callback?: string;
5936
+ /** Selector specifying which fields to include in a partial response. */
5937
+ fields?: string;
5938
+ /** 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. */
5939
+ key?: string;
5940
+ /** Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} */
5941
+ name: string;
5942
+ /** OAuth 2.0 token for the current user. */
5943
+ oauth_token?: string;
5944
+ /** Returns response with indentations and line breaks. */
5945
+ prettyPrint?: boolean;
5946
+ /** 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. */
5947
+ quotaUser?: string;
5948
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5949
+ upload_protocol?: string;
5950
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5951
+ uploadType?: string;
5952
+ /** Request body */
5953
+ resource: RepairNodeGroupRequest;
5954
+ }): Request<Operation>;
5955
+ repair(
5956
+ request: {
5957
+ /** V1 error format. */
5958
+ '$.xgafv'?: string;
5959
+ /** OAuth access token. */
5960
+ access_token?: string;
5961
+ /** Data format for response. */
5962
+ alt?: string;
5963
+ /** JSONP */
5964
+ callback?: string;
5965
+ /** Selector specifying which fields to include in a partial response. */
5966
+ fields?: string;
5967
+ /** 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. */
5968
+ key?: string;
5969
+ /** Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} */
5970
+ name: string;
5971
+ /** OAuth 2.0 token for the current user. */
5972
+ oauth_token?: string;
5973
+ /** Returns response with indentations and line breaks. */
5974
+ prettyPrint?: boolean;
5975
+ /** 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. */
5976
+ quotaUser?: string;
5977
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5978
+ upload_protocol?: string;
5979
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5980
+ uploadType?: string;
5981
+ },
5982
+ body: RepairNodeGroupRequest,
5983
+ ): Request<Operation>;
5886
5984
  /** Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata). */
5887
5985
  resize(request: {
5888
5986
  /** V1 error format. */
@@ -6356,6 +6454,72 @@ declare namespace gapi.client {
6356
6454
  },
6357
6455
  body: Cluster,
6358
6456
  ): Request<Operation>;
6457
+ /** Repairs a cluster. */
6458
+ repair(request: {
6459
+ /** V1 error format. */
6460
+ '$.xgafv'?: string;
6461
+ /** OAuth access token. */
6462
+ access_token?: string;
6463
+ /** Data format for response. */
6464
+ alt?: string;
6465
+ /** JSONP */
6466
+ callback?: string;
6467
+ /** Required. The cluster name. */
6468
+ clusterName: string;
6469
+ /** Selector specifying which fields to include in a partial response. */
6470
+ fields?: string;
6471
+ /** 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. */
6472
+ key?: string;
6473
+ /** OAuth 2.0 token for the current user. */
6474
+ oauth_token?: string;
6475
+ /** Returns response with indentations and line breaks. */
6476
+ prettyPrint?: boolean;
6477
+ /** Required. The ID of the Google Cloud Platform project the cluster belongs to. */
6478
+ projectId: string;
6479
+ /** 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. */
6480
+ quotaUser?: string;
6481
+ /** Required. The Dataproc region in which to handle the request. */
6482
+ region: string;
6483
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6484
+ upload_protocol?: string;
6485
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6486
+ uploadType?: string;
6487
+ /** Request body */
6488
+ resource: RepairClusterRequest;
6489
+ }): Request<Operation>;
6490
+ repair(
6491
+ request: {
6492
+ /** V1 error format. */
6493
+ '$.xgafv'?: string;
6494
+ /** OAuth access token. */
6495
+ access_token?: string;
6496
+ /** Data format for response. */
6497
+ alt?: string;
6498
+ /** JSONP */
6499
+ callback?: string;
6500
+ /** Required. The cluster name. */
6501
+ clusterName: string;
6502
+ /** Selector specifying which fields to include in a partial response. */
6503
+ fields?: string;
6504
+ /** 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. */
6505
+ key?: string;
6506
+ /** OAuth 2.0 token for the current user. */
6507
+ oauth_token?: string;
6508
+ /** Returns response with indentations and line breaks. */
6509
+ prettyPrint?: boolean;
6510
+ /** Required. The ID of the Google Cloud Platform project the cluster belongs to. */
6511
+ projectId: string;
6512
+ /** 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. */
6513
+ quotaUser?: string;
6514
+ /** Required. The Dataproc region in which to handle the request. */
6515
+ region: string;
6516
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6517
+ upload_protocol?: string;
6518
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6519
+ uploadType?: string;
6520
+ },
6521
+ body: RepairClusterRequest,
6522
+ ): Request<Operation>;
6359
6523
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
6360
6524
  setIamPolicy(
6361
6525
  request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataproc-v1",
3
- "version": "0.0.20250311",
3
+ "version": "0.0.20250315",
4
4
  "description": "TypeScript typings for Cloud Dataproc API v1",
5
5
  "repository": {
6
6
  "type": "git",