@maxim_mazurok/gapi.client.dataproc-v1 0.0.20250122 → 0.0.20250207

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 +95 -57
  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://dataproc.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250122
12
+ // Revision: 20250207
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Dataproc API v1 */
18
18
  function load(
19
- urlOrObject: 'https://dataproc.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://dataproc.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'dataproc', version: 'v1'): Promise<void>;
@@ -263,6 +263,12 @@ declare namespace gapi.client {
263
263
  /** Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles and permissions, see the IAM documentation (https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see here (https://cloud.google.com/iam/docs/understanding-roles). */
264
264
  role?: string;
265
265
  }
266
+ interface BuildInfo {
267
+ /** Optional. Build key. */
268
+ buildKey?: string;
269
+ /** Optional. Build value. */
270
+ buildValue?: string;
271
+ }
266
272
  interface CancelJobRequest {}
267
273
  interface Cluster {
268
274
  /** Required. The cluster name, which must be unique within a project. The name must start with a lowercase letter, and can contain up to 51 lowercase letters, numbers, and hyphens. It cannot end with a hyphen. The name of a deleted cluster can be reused. */
@@ -581,6 +587,12 @@ declare namespace gapi.client {
581
587
  /** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
582
588
  title?: string;
583
589
  }
590
+ interface FallbackReason {
591
+ /** Optional. Fallback node information. */
592
+ fallbackNode?: string;
593
+ /** Optional. Fallback to Spark reason. */
594
+ fallbackReason?: string;
595
+ }
584
596
  interface FlinkJob {
585
597
  /** Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision might occur that causes an incorrect job submission. */
586
598
  args?: string[];
@@ -612,6 +624,8 @@ declare namespace gapi.client {
612
624
  privateIpv6GoogleAccess?: string;
613
625
  /** Optional. Reservation Affinity for consuming Zonal reservation. */
614
626
  reservationAffinity?: ReservationAffinity;
627
+ /** Optional. Resource manager tags to add to all instances (see Resource manager tags resources (https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing)). */
628
+ resourceManagerTags?: {[P in string]: string};
615
629
  /** Optional. The Dataproc service account (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see VM Data Plane identity (https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services.If not specified, the Compute Engine default service account (https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. */
616
630
  serviceAccount?: string;
617
631
  /** Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: https://www.googleapis.com/auth/cloud.useraccounts.readonly https://www.googleapis.com/auth/devstorage.read_write https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided: https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/bigtable.admin.table https://www.googleapis.com/auth/bigtable.data https://www.googleapis.com/auth/devstorage.full_control */
@@ -1105,6 +1119,26 @@ declare namespace gapi.client {
1105
1119
  /** Optional. The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}' */
1106
1120
  targetGkeCluster?: string;
1107
1121
  }
1122
+ interface NativeBuildInfoUiData {
1123
+ /** Optional. Build class of Native. */
1124
+ buildClass?: string;
1125
+ /** Optional. Build related details. */
1126
+ buildInfo?: BuildInfo[];
1127
+ }
1128
+ interface NativeSqlExecutionUiData {
1129
+ /** Optional. Description of the execution. */
1130
+ description?: string;
1131
+ /** Required. Execution ID of the Native SQL Execution. */
1132
+ executionId?: string;
1133
+ /** Optional. Description of the fallback. */
1134
+ fallbackDescription?: string;
1135
+ /** Optional. Fallback node to reason. */
1136
+ fallbackNodeToReason?: FallbackReason[];
1137
+ /** Optional. Number of nodes fallen back to Spark. */
1138
+ numFallbackNodes?: number;
1139
+ /** Optional. Number of nodes in Native. */
1140
+ numNativeNodes?: number;
1141
+ }
1108
1142
  interface NodeGroup {
1109
1143
  /** Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labels. */
1110
1144
  labels?: {[P in string]: string};
@@ -1878,6 +1912,10 @@ declare namespace gapi.client {
1878
1912
  executorStageSummary?: ExecutorStageSummary;
1879
1913
  executorSummary?: ExecutorSummary;
1880
1914
  jobData?: JobData;
1915
+ /** Native Build Info */
1916
+ nativeBuildInfoUiData?: NativeBuildInfoUiData;
1917
+ /** Native SQL Execution Info */
1918
+ nativeSqlExecutionUiData?: NativeSqlExecutionUiData;
1881
1919
  poolData?: PoolData;
1882
1920
  processSummary?: ProcessSummary;
1883
1921
  rddOperationGraph?: RddOperationGraph;
@@ -2452,7 +2490,7 @@ declare namespace gapi.client {
2452
2490
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2453
2491
  uploadType?: string;
2454
2492
  },
2455
- body: AutoscalingPolicy
2493
+ body: AutoscalingPolicy,
2456
2494
  ): Request<AutoscalingPolicy>;
2457
2495
  /** Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters. */
2458
2496
  delete(request?: {
@@ -2536,7 +2574,7 @@ declare namespace gapi.client {
2536
2574
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2537
2575
  uploadType?: string;
2538
2576
  },
2539
- body: GetIamPolicyRequest
2577
+ body: GetIamPolicyRequest,
2540
2578
  ): Request<Policy>;
2541
2579
  /** Lists autoscaling policies in the project. */
2542
2580
  list(request?: {
@@ -2597,7 +2635,7 @@ declare namespace gapi.client {
2597
2635
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2598
2636
  uploadType?: string;
2599
2637
  },
2600
- body: SetIamPolicyRequest
2638
+ body: SetIamPolicyRequest,
2601
2639
  ): Request<Policy>;
2602
2640
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
2603
2641
  testIamPermissions(
@@ -2627,7 +2665,7 @@ declare namespace gapi.client {
2627
2665
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2628
2666
  uploadType?: string;
2629
2667
  },
2630
- body: TestIamPermissionsRequest
2668
+ body: TestIamPermissionsRequest,
2631
2669
  ): Request<TestIamPermissionsResponse>;
2632
2670
  /** Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements. */
2633
2671
  update(request: {
@@ -2685,7 +2723,7 @@ declare namespace gapi.client {
2685
2723
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2686
2724
  uploadType?: string;
2687
2725
  },
2688
- body: AutoscalingPolicy
2726
+ body: AutoscalingPolicy,
2689
2727
  ): Request<AutoscalingPolicy>;
2690
2728
  }
2691
2729
  interface SparkApplicationsResource {
@@ -3386,7 +3424,7 @@ declare namespace gapi.client {
3386
3424
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3387
3425
  uploadType?: string;
3388
3426
  },
3389
- body: WriteSparkApplicationContextRequest
3427
+ body: WriteSparkApplicationContextRequest,
3390
3428
  ): Request<{}>;
3391
3429
  }
3392
3430
  interface BatchesResource {
@@ -3446,7 +3484,7 @@ declare namespace gapi.client {
3446
3484
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3447
3485
  uploadType?: string;
3448
3486
  },
3449
- body: AnalyzeBatchRequest
3487
+ body: AnalyzeBatchRequest,
3450
3488
  ): Request<Operation>;
3451
3489
  /** Creates a batch workload that executes asynchronously. */
3452
3490
  create(request: {
@@ -3512,7 +3550,7 @@ declare namespace gapi.client {
3512
3550
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3513
3551
  uploadType?: string;
3514
3552
  },
3515
- body: Batch
3553
+ body: Batch,
3516
3554
  ): Request<Operation>;
3517
3555
  /** Deletes the batch workload resource. If the batch is not in a CANCELLED, SUCCEEDED or FAILED State, the delete operation fails and the response returns FAILED_PRECONDITION. */
3518
3556
  delete(request?: {
@@ -4419,7 +4457,7 @@ declare namespace gapi.client {
4419
4457
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4420
4458
  uploadType?: string;
4421
4459
  },
4422
- body: WriteSessionSparkApplicationContextRequest
4460
+ body: WriteSessionSparkApplicationContextRequest,
4423
4461
  ): Request<{}>;
4424
4462
  }
4425
4463
  interface SessionsResource {
@@ -4487,7 +4525,7 @@ declare namespace gapi.client {
4487
4525
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4488
4526
  uploadType?: string;
4489
4527
  },
4490
- body: Session
4528
+ body: Session,
4491
4529
  ): Request<Operation>;
4492
4530
  /** Deletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted. */
4493
4531
  delete(request?: {
@@ -4634,7 +4672,7 @@ declare namespace gapi.client {
4634
4672
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4635
4673
  uploadType?: string;
4636
4674
  },
4637
- body: TerminateSessionRequest
4675
+ body: TerminateSessionRequest,
4638
4676
  ): Request<Operation>;
4639
4677
  sparkApplications: SparkApplicationsResource;
4640
4678
  }
@@ -4695,7 +4733,7 @@ declare namespace gapi.client {
4695
4733
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4696
4734
  uploadType?: string;
4697
4735
  },
4698
- body: SessionTemplate
4736
+ body: SessionTemplate,
4699
4737
  ): Request<SessionTemplate>;
4700
4738
  /** Deletes a session template. */
4701
4739
  delete(request?: {
@@ -4840,7 +4878,7 @@ declare namespace gapi.client {
4840
4878
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4841
4879
  uploadType?: string;
4842
4880
  },
4843
- body: SessionTemplate
4881
+ body: SessionTemplate,
4844
4882
  ): Request<SessionTemplate>;
4845
4883
  }
4846
4884
  interface WorkflowTemplatesResource {
@@ -4900,7 +4938,7 @@ declare namespace gapi.client {
4900
4938
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4901
4939
  uploadType?: string;
4902
4940
  },
4903
- body: WorkflowTemplate
4941
+ body: WorkflowTemplate,
4904
4942
  ): Request<WorkflowTemplate>;
4905
4943
  /** Deletes a workflow template. It does not cancel in-progress workflows. */
4906
4944
  delete(request?: {
@@ -4988,7 +5026,7 @@ declare namespace gapi.client {
4988
5026
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4989
5027
  uploadType?: string;
4990
5028
  },
4991
- body: GetIamPolicyRequest
5029
+ body: GetIamPolicyRequest,
4992
5030
  ): Request<Policy>;
4993
5031
  /** Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty. */
4994
5032
  instantiate(request: {
@@ -5046,7 +5084,7 @@ declare namespace gapi.client {
5046
5084
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5047
5085
  uploadType?: string;
5048
5086
  },
5049
- body: InstantiateWorkflowTemplateRequest
5087
+ body: InstantiateWorkflowTemplateRequest,
5050
5088
  ): Request<Operation>;
5051
5089
  /** Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty. */
5052
5090
  instantiateInline(request: {
@@ -5108,7 +5146,7 @@ declare namespace gapi.client {
5108
5146
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5109
5147
  uploadType?: string;
5110
5148
  },
5111
- body: WorkflowTemplate
5149
+ body: WorkflowTemplate,
5112
5150
  ): Request<Operation>;
5113
5151
  /** Lists workflows that match the specified filter in the request. */
5114
5152
  list(request?: {
@@ -5169,7 +5207,7 @@ declare namespace gapi.client {
5169
5207
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5170
5208
  uploadType?: string;
5171
5209
  },
5172
- body: SetIamPolicyRequest
5210
+ body: SetIamPolicyRequest,
5173
5211
  ): Request<Policy>;
5174
5212
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
5175
5213
  testIamPermissions(
@@ -5199,7 +5237,7 @@ declare namespace gapi.client {
5199
5237
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5200
5238
  uploadType?: string;
5201
5239
  },
5202
- body: TestIamPermissionsRequest
5240
+ body: TestIamPermissionsRequest,
5203
5241
  ): Request<TestIamPermissionsResponse>;
5204
5242
  /** Updates (replaces) workflow template. The updated template must contain version that matches the current server version. */
5205
5243
  update(request: {
@@ -5257,7 +5295,7 @@ declare namespace gapi.client {
5257
5295
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5258
5296
  uploadType?: string;
5259
5297
  },
5260
- body: WorkflowTemplate
5298
+ body: WorkflowTemplate,
5261
5299
  ): Request<WorkflowTemplate>;
5262
5300
  }
5263
5301
  interface LocationsResource {
@@ -5325,7 +5363,7 @@ declare namespace gapi.client {
5325
5363
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5326
5364
  uploadType?: string;
5327
5365
  },
5328
- body: AutoscalingPolicy
5366
+ body: AutoscalingPolicy,
5329
5367
  ): Request<AutoscalingPolicy>;
5330
5368
  /** Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters. */
5331
5369
  delete(request?: {
@@ -5409,7 +5447,7 @@ declare namespace gapi.client {
5409
5447
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5410
5448
  uploadType?: string;
5411
5449
  },
5412
- body: GetIamPolicyRequest
5450
+ body: GetIamPolicyRequest,
5413
5451
  ): Request<Policy>;
5414
5452
  /** Lists autoscaling policies in the project. */
5415
5453
  list(request?: {
@@ -5470,7 +5508,7 @@ declare namespace gapi.client {
5470
5508
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5471
5509
  uploadType?: string;
5472
5510
  },
5473
- body: SetIamPolicyRequest
5511
+ body: SetIamPolicyRequest,
5474
5512
  ): Request<Policy>;
5475
5513
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
5476
5514
  testIamPermissions(
@@ -5500,7 +5538,7 @@ declare namespace gapi.client {
5500
5538
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5501
5539
  uploadType?: string;
5502
5540
  },
5503
- body: TestIamPermissionsRequest
5541
+ body: TestIamPermissionsRequest,
5504
5542
  ): Request<TestIamPermissionsResponse>;
5505
5543
  /** Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements. */
5506
5544
  update(request: {
@@ -5558,7 +5596,7 @@ declare namespace gapi.client {
5558
5596
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5559
5597
  uploadType?: string;
5560
5598
  },
5561
- body: AutoscalingPolicy
5599
+ body: AutoscalingPolicy,
5562
5600
  ): Request<AutoscalingPolicy>;
5563
5601
  }
5564
5602
  interface NodeGroupsResource {
@@ -5630,7 +5668,7 @@ declare namespace gapi.client {
5630
5668
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5631
5669
  uploadType?: string;
5632
5670
  },
5633
- body: NodeGroup
5671
+ body: NodeGroup,
5634
5672
  ): Request<Operation>;
5635
5673
  /** Gets the resource representation for a node group in a cluster. */
5636
5674
  get(request?: {
@@ -5715,7 +5753,7 @@ declare namespace gapi.client {
5715
5753
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5716
5754
  uploadType?: string;
5717
5755
  },
5718
- body: RepairNodeGroupRequest
5756
+ body: RepairNodeGroupRequest,
5719
5757
  ): Request<Operation>;
5720
5758
  /** 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). */
5721
5759
  resize(request: {
@@ -5773,7 +5811,7 @@ declare namespace gapi.client {
5773
5811
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5774
5812
  uploadType?: string;
5775
5813
  },
5776
- body: ResizeNodeGroupRequest
5814
+ body: ResizeNodeGroupRequest,
5777
5815
  ): Request<Operation>;
5778
5816
  }
5779
5817
  interface ClustersResource {
@@ -5845,7 +5883,7 @@ declare namespace gapi.client {
5845
5883
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5846
5884
  uploadType?: string;
5847
5885
  },
5848
- body: Cluster
5886
+ body: Cluster,
5849
5887
  ): Request<Operation>;
5850
5888
  /** Deletes a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). */
5851
5889
  delete(request?: {
@@ -5948,7 +5986,7 @@ declare namespace gapi.client {
5948
5986
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5949
5987
  uploadType?: string;
5950
5988
  },
5951
- body: DiagnoseClusterRequest
5989
+ body: DiagnoseClusterRequest,
5952
5990
  ): Request<Operation>;
5953
5991
  /** Gets the resource representation for a cluster in a project. */
5954
5992
  get(request?: {
@@ -6009,7 +6047,7 @@ declare namespace gapi.client {
6009
6047
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6010
6048
  uploadType?: string;
6011
6049
  },
6012
- body: GetIamPolicyRequest
6050
+ body: GetIamPolicyRequest,
6013
6051
  ): Request<Policy>;
6014
6052
  /** Inject encrypted credentials into all of the VMs in a cluster.The target cluster must be a personal auth cluster assigned to the user who is issuing the RPC. */
6015
6053
  injectCredentials(request: {
@@ -6075,7 +6113,7 @@ declare namespace gapi.client {
6075
6113
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6076
6114
  uploadType?: string;
6077
6115
  },
6078
- body: InjectCredentialsRequest
6116
+ body: InjectCredentialsRequest,
6079
6117
  ): Request<Operation>;
6080
6118
  /** Lists all regions/{region}/clusters in a project alphabetically. */
6081
6119
  list(request?: {
@@ -6188,7 +6226,7 @@ declare namespace gapi.client {
6188
6226
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6189
6227
  uploadType?: string;
6190
6228
  },
6191
- body: Cluster
6229
+ body: Cluster,
6192
6230
  ): Request<Operation>;
6193
6231
  /** Repairs a cluster. */
6194
6232
  repair(request: {
@@ -6254,7 +6292,7 @@ declare namespace gapi.client {
6254
6292
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6255
6293
  uploadType?: string;
6256
6294
  },
6257
- body: RepairClusterRequest
6295
+ body: RepairClusterRequest,
6258
6296
  ): Request<Operation>;
6259
6297
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
6260
6298
  setIamPolicy(
@@ -6284,7 +6322,7 @@ declare namespace gapi.client {
6284
6322
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6285
6323
  uploadType?: string;
6286
6324
  },
6287
- body: SetIamPolicyRequest
6325
+ body: SetIamPolicyRequest,
6288
6326
  ): Request<Policy>;
6289
6327
  /** Starts a cluster in a project. */
6290
6328
  start(request: {
@@ -6350,7 +6388,7 @@ declare namespace gapi.client {
6350
6388
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6351
6389
  uploadType?: string;
6352
6390
  },
6353
- body: StartClusterRequest
6391
+ body: StartClusterRequest,
6354
6392
  ): Request<Operation>;
6355
6393
  /** Stops a cluster in a project. */
6356
6394
  stop(request: {
@@ -6416,7 +6454,7 @@ declare namespace gapi.client {
6416
6454
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6417
6455
  uploadType?: string;
6418
6456
  },
6419
- body: StopClusterRequest
6457
+ body: StopClusterRequest,
6420
6458
  ): Request<Operation>;
6421
6459
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
6422
6460
  testIamPermissions(
@@ -6446,7 +6484,7 @@ declare namespace gapi.client {
6446
6484
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6447
6485
  uploadType?: string;
6448
6486
  },
6449
- body: TestIamPermissionsRequest
6487
+ body: TestIamPermissionsRequest,
6450
6488
  ): Request<TestIamPermissionsResponse>;
6451
6489
  nodeGroups: NodeGroupsResource;
6452
6490
  }
@@ -6515,7 +6553,7 @@ declare namespace gapi.client {
6515
6553
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6516
6554
  uploadType?: string;
6517
6555
  },
6518
- body: CancelJobRequest
6556
+ body: CancelJobRequest,
6519
6557
  ): Request<Job>;
6520
6558
  /** Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION. */
6521
6559
  delete(request?: {
@@ -6607,7 +6645,7 @@ declare namespace gapi.client {
6607
6645
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6608
6646
  uploadType?: string;
6609
6647
  },
6610
- body: GetIamPolicyRequest
6648
+ body: GetIamPolicyRequest,
6611
6649
  ): Request<Policy>;
6612
6650
  /** Lists regions/{region}/jobs in a project. */
6613
6651
  list(request?: {
@@ -6716,7 +6754,7 @@ declare namespace gapi.client {
6716
6754
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6717
6755
  uploadType?: string;
6718
6756
  },
6719
- body: Job
6757
+ body: Job,
6720
6758
  ): Request<Job>;
6721
6759
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
6722
6760
  setIamPolicy(
@@ -6746,7 +6784,7 @@ declare namespace gapi.client {
6746
6784
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6747
6785
  uploadType?: string;
6748
6786
  },
6749
- body: SetIamPolicyRequest
6787
+ body: SetIamPolicyRequest,
6750
6788
  ): Request<Policy>;
6751
6789
  /** Submits a job to a cluster. */
6752
6790
  submit(request: {
@@ -6808,7 +6846,7 @@ declare namespace gapi.client {
6808
6846
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6809
6847
  uploadType?: string;
6810
6848
  },
6811
- body: SubmitJobRequest
6849
+ body: SubmitJobRequest,
6812
6850
  ): Request<Job>;
6813
6851
  /** Submits job to a cluster. */
6814
6852
  submitAsOperation(request: {
@@ -6870,7 +6908,7 @@ declare namespace gapi.client {
6870
6908
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6871
6909
  uploadType?: string;
6872
6910
  },
6873
- body: SubmitJobRequest
6911
+ body: SubmitJobRequest,
6874
6912
  ): Request<Operation>;
6875
6913
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
6876
6914
  testIamPermissions(
@@ -6900,7 +6938,7 @@ declare namespace gapi.client {
6900
6938
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6901
6939
  uploadType?: string;
6902
6940
  },
6903
- body: TestIamPermissionsRequest
6941
+ body: TestIamPermissionsRequest,
6904
6942
  ): Request<TestIamPermissionsResponse>;
6905
6943
  }
6906
6944
  interface OperationsResource {
@@ -7013,7 +7051,7 @@ declare namespace gapi.client {
7013
7051
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7014
7052
  uploadType?: string;
7015
7053
  },
7016
- body: GetIamPolicyRequest
7054
+ body: GetIamPolicyRequest,
7017
7055
  ): Request<Policy>;
7018
7056
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
7019
7057
  list(request?: {
@@ -7076,7 +7114,7 @@ declare namespace gapi.client {
7076
7114
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7077
7115
  uploadType?: string;
7078
7116
  },
7079
- body: SetIamPolicyRequest
7117
+ body: SetIamPolicyRequest,
7080
7118
  ): Request<Policy>;
7081
7119
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
7082
7120
  testIamPermissions(
@@ -7106,7 +7144,7 @@ declare namespace gapi.client {
7106
7144
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7107
7145
  uploadType?: string;
7108
7146
  },
7109
- body: TestIamPermissionsRequest
7147
+ body: TestIamPermissionsRequest,
7110
7148
  ): Request<TestIamPermissionsResponse>;
7111
7149
  }
7112
7150
  interface WorkflowTemplatesResource {
@@ -7166,7 +7204,7 @@ declare namespace gapi.client {
7166
7204
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7167
7205
  uploadType?: string;
7168
7206
  },
7169
- body: WorkflowTemplate
7207
+ body: WorkflowTemplate,
7170
7208
  ): Request<WorkflowTemplate>;
7171
7209
  /** Deletes a workflow template. It does not cancel in-progress workflows. */
7172
7210
  delete(request?: {
@@ -7254,7 +7292,7 @@ declare namespace gapi.client {
7254
7292
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7255
7293
  uploadType?: string;
7256
7294
  },
7257
- body: GetIamPolicyRequest
7295
+ body: GetIamPolicyRequest,
7258
7296
  ): Request<Policy>;
7259
7297
  /** Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty. */
7260
7298
  instantiate(request: {
@@ -7312,7 +7350,7 @@ declare namespace gapi.client {
7312
7350
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7313
7351
  uploadType?: string;
7314
7352
  },
7315
- body: InstantiateWorkflowTemplateRequest
7353
+ body: InstantiateWorkflowTemplateRequest,
7316
7354
  ): Request<Operation>;
7317
7355
  /** Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty. */
7318
7356
  instantiateInline(request: {
@@ -7374,7 +7412,7 @@ declare namespace gapi.client {
7374
7412
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7375
7413
  uploadType?: string;
7376
7414
  },
7377
- body: WorkflowTemplate
7415
+ body: WorkflowTemplate,
7378
7416
  ): Request<Operation>;
7379
7417
  /** Lists workflows that match the specified filter in the request. */
7380
7418
  list(request?: {
@@ -7435,7 +7473,7 @@ declare namespace gapi.client {
7435
7473
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7436
7474
  uploadType?: string;
7437
7475
  },
7438
- body: SetIamPolicyRequest
7476
+ body: SetIamPolicyRequest,
7439
7477
  ): Request<Policy>;
7440
7478
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
7441
7479
  testIamPermissions(
@@ -7465,7 +7503,7 @@ declare namespace gapi.client {
7465
7503
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7466
7504
  uploadType?: string;
7467
7505
  },
7468
- body: TestIamPermissionsRequest
7506
+ body: TestIamPermissionsRequest,
7469
7507
  ): Request<TestIamPermissionsResponse>;
7470
7508
  /** Updates (replaces) workflow template. The updated template must contain version that matches the current server version. */
7471
7509
  update(request: {
@@ -7523,7 +7561,7 @@ declare namespace gapi.client {
7523
7561
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7524
7562
  uploadType?: string;
7525
7563
  },
7526
- body: WorkflowTemplate
7564
+ body: WorkflowTemplate,
7527
7565
  ): Request<WorkflowTemplate>;
7528
7566
  }
7529
7567
  interface RegionsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataproc-v1",
3
- "version": "0.0.20250122",
3
+ "version": "0.0.20250207",
4
4
  "description": "TypeScript typings for Cloud Dataproc 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.dataproc
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