@maxim_mazurok/gapi.client.dataproc-v1 0.0.20250224 → 0.0.20250306

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 +223 -161
  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: 20250224
12
+ // Revision: 20250306
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -38,6 +38,14 @@ declare namespace gapi.client {
38
38
  /** Output only. Data corresponding to a spark job. */
39
39
  jobData?: JobData;
40
40
  }
41
+ interface AccessSessionSparkApplicationNativeBuildInfoResponse {
42
+ /** Native SQL Execution Data */
43
+ executionData?: NativeBuildInfoUiData;
44
+ }
45
+ interface AccessSessionSparkApplicationNativeSqlQueryResponse {
46
+ /** Native SQL Execution Data */
47
+ executionData?: NativeSqlExecutionUiData;
48
+ }
41
49
  interface AccessSessionSparkApplicationResponse {
42
50
  /** Output only. High level information corresponding to an application. */
43
51
  application?: ApplicationInfo;
@@ -66,6 +74,14 @@ declare namespace gapi.client {
66
74
  /** Output only. Data corresponding to a spark job. */
67
75
  jobData?: JobData;
68
76
  }
77
+ interface AccessSparkApplicationNativeBuildInfoResponse {
78
+ /** Native Build Info Data */
79
+ buildInfo?: NativeBuildInfoUiData;
80
+ }
81
+ interface AccessSparkApplicationNativeSqlQueryResponse {
82
+ /** Native SQL Execution Data */
83
+ executionData?: NativeSqlExecutionUiData;
84
+ }
69
85
  interface AccessSparkApplicationResponse {
70
86
  /** Output only. High level information corresponding to an application. */
71
87
  application?: ApplicationInfo;
@@ -148,6 +164,10 @@ declare namespace gapi.client {
148
164
  numCompletedJobs?: number;
149
165
  numCompletedStages?: number;
150
166
  }
167
+ interface AuthenticationConfig {
168
+ /** Optional. Authentication type for the user workload running in containers. */
169
+ userWorkloadAuthenticationType?: string;
170
+ }
151
171
  interface AutoscalingConfig {
152
172
  /** Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id] projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be in the same project and Dataproc region. */
153
173
  policyUri?: string;
@@ -386,10 +406,6 @@ declare namespace gapi.client {
386
406
  /** Output only. Additional state information that includes status reported by the agent. */
387
407
  substate?: string;
388
408
  }
389
- interface ClusterToRepair {
390
- /** Required. Repair action to take on the cluster resource. */
391
- clusterRepairAction?: string;
392
- }
393
409
  interface ConfidentialInstanceConfig {
394
410
  /** Optional. Defines whether the instance should have confidential compute enabled. */
395
411
  enableConfidentialCompute?: boolean;
@@ -477,6 +493,8 @@ declare namespace gapi.client {
477
493
  peripheralsConfig?: PeripheralsConfig;
478
494
  }
479
495
  interface ExecutionConfig {
496
+ /** Optional. Authentication configuration used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s). */
497
+ authenticationConfig?: AuthenticationConfig;
480
498
  /** Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both ttl and idle_ttl are specified for an interactive session, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first. */
481
499
  idleTtl?: string;
482
500
  /** Optional. The Cloud KMS key to use for encryption. */
@@ -624,7 +642,7 @@ declare namespace gapi.client {
624
642
  privateIpv6GoogleAccess?: string;
625
643
  /** Optional. Reservation Affinity for consuming Zonal reservation. */
626
644
  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)). */
645
+ /** Optional. Resource manager tags (https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing) to add to all instances (see Use secure tags in Dataproc (https://cloud.google.com/dataproc/docs/guides/attach-secure-tags)). */
628
646
  resourceManagerTags?: {[P in string]: string};
629
647
  /** 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. */
630
648
  serviceAccount?: string;
@@ -1108,7 +1126,7 @@ declare namespace gapi.client {
1108
1126
  dataprocMetastoreService?: string;
1109
1127
  }
1110
1128
  interface Metric {
1111
- /** Optional. Specify one or more Custom metrics (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) to collect for the metric course (for the SPARK metric source (any Spark metric (https://spark.apache.org/docs/latest/monitoring.html#metrics) can be specified).Provide metrics in the following format: METRIC_SOURCE: INSTANCE:GROUP:METRIC Use camelcase as appropriate.Examples: yarn:ResourceManager:QueueMetrics:AppsCompleted spark:driver:DAGScheduler:job.allJobs sparkHistoryServer:JVM:Memory:NonHeapMemoryUsage.committed hiveserver2:JVM:Memory:NonHeapMemoryUsage.used Notes: Only the specified overridden metrics are collected for the metric source. For example, if one or more spark:executive metrics are listed as metric overrides, other SPARK metrics are not collected. The collection of the metrics for other enabled custom metric sources is unaffected. For example, if both SPARK andd YARN metric sources are enabled, and overrides are provided for Spark metrics only, all YARN metrics are collected. */
1129
+ /** Optional. Specify one or more Custom metrics (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) to collect for the metric course (for the SPARK metric source (any Spark metric (https://spark.apache.org/docs/latest/monitoring.html#metrics) can be specified).Provide metrics in the following format: METRIC_SOURCE: INSTANCE:GROUP:METRIC Use camelcase as appropriate.Examples: yarn:ResourceManager:QueueMetrics:AppsCompleted spark:driver:DAGScheduler:job.allJobs sparkHistoryServer:JVM:Memory:NonHeapMemoryUsage.committed hiveserver2:JVM:Memory:NonHeapMemoryUsage.used Notes: Only the specified overridden metrics are collected for the metric source. For example, if one or more spark:executive metrics are listed as metric overrides, other SPARK metrics are not collected. The collection of the metrics for other enabled custom metric sources is unaffected. For example, if both SPARK and YARN metric sources are enabled, and overrides are provided for Spark metrics only, all YARN metrics are collected. */
1112
1130
  metricOverrides?: string[];
1113
1131
  /** Required. A standard set of metrics is collected unless metricOverrides are specified for the metric source (see Custom metrics (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) for more information). */
1114
1132
  metricSource?: string;
@@ -1177,14 +1195,6 @@ declare namespace gapi.client {
1177
1195
  /** 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. */
1178
1196
  executionTimeout?: string;
1179
1197
  }
1180
- interface NodePool {
1181
- /** 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. */
1182
- id?: string;
1183
- /** Name of instances to be repaired. These instances must belong to specified node pool. */
1184
- instanceNames?: string[];
1185
- /** Required. Repair action to take on specified resources of the node pool. */
1186
- repairAction?: string;
1187
- }
1188
1198
  interface Operation {
1189
1199
  /** 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. */
1190
1200
  done?: boolean;
@@ -1412,28 +1422,6 @@ declare namespace gapi.client {
1412
1422
  /** 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). */
1413
1423
  regexes?: string[];
1414
1424
  }
1415
- interface RepairClusterRequest {
1416
- /** Optional. Cluster to be repaired */
1417
- cluster?: ClusterToRepair;
1418
- /** Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist. */
1419
- clusterUuid?: string;
1420
- /** 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+. */
1421
- gracefulDecommissionTimeout?: string;
1422
- /** 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. */
1423
- nodePools?: NodePool[];
1424
- /** Optional. operation id of the parent operation sending the repair request */
1425
- parentOperationId?: string;
1426
- /** 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. */
1427
- requestId?: string;
1428
- }
1429
- interface RepairNodeGroupRequest {
1430
- /** Required. Name of instances to be repaired. These instances must belong to specified node pool. */
1431
- instanceNames?: string[];
1432
- /** Required. Repair action to take on specified resources of the node pool. */
1433
- repairAction?: string;
1434
- /** 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. */
1435
- requestId?: string;
1436
- }
1437
1425
  interface RepositoryConfig {
1438
1426
  /** Optional. Configuration for PyPi repository. */
1439
1427
  pypiRepositoryConfig?: PyPiRepositoryConfig;
@@ -1509,6 +1497,12 @@ declare namespace gapi.client {
1509
1497
  /** Output only. Data corresponding to a spark job. */
1510
1498
  sparkApplicationJobs?: JobData[];
1511
1499
  }
1500
+ interface SearchSessionSparkApplicationNativeSqlQueriesResponse {
1501
+ /** This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationSqlQueriesRequest. */
1502
+ nextPageToken?: string;
1503
+ /** Output only. Native SQL Execution Data */
1504
+ sparkApplicationNativeSqlQueries?: NativeSqlExecutionUiData[];
1505
+ }
1512
1506
  interface SearchSessionSparkApplicationSqlQueriesResponse {
1513
1507
  /** This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationSqlQueriesRequest. */
1514
1508
  nextPageToken?: string;
@@ -1557,6 +1551,12 @@ declare namespace gapi.client {
1557
1551
  /** Output only. Data corresponding to a spark job. */
1558
1552
  sparkApplicationJobs?: JobData[];
1559
1553
  }
1554
+ interface SearchSparkApplicationNativeSqlQueriesResponse {
1555
+ /** This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationNativeSqlQueriesRequest. */
1556
+ nextPageToken?: string;
1557
+ /** Output only. Native SQL Execution Data */
1558
+ sparkApplicationNativeSqlQueries?: NativeSqlExecutionUiData[];
1559
+ }
1560
1560
  interface SearchSparkApplicationSqlQueriesResponse {
1561
1561
  /** This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationSqlQueriesRequest. */
1562
1562
  nextPageToken?: string;
@@ -2816,6 +2816,66 @@ declare namespace gapi.client {
2816
2816
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2817
2817
  uploadType?: string;
2818
2818
  }): Request<AccessSparkApplicationJobResponse>;
2819
+ /** Obtain build data for Native Job */
2820
+ accessNativeBuildInfo(request?: {
2821
+ /** V1 error format. */
2822
+ '$.xgafv'?: string;
2823
+ /** OAuth access token. */
2824
+ access_token?: string;
2825
+ /** Data format for response. */
2826
+ alt?: string;
2827
+ /** JSONP */
2828
+ callback?: string;
2829
+ /** Selector specifying which fields to include in a partial response. */
2830
+ fields?: string;
2831
+ /** 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. */
2832
+ key?: string;
2833
+ /** Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID" */
2834
+ name: string;
2835
+ /** OAuth 2.0 token for the current user. */
2836
+ oauth_token?: string;
2837
+ /** Required. Parent (Batch) resource reference. */
2838
+ parent?: string;
2839
+ /** Returns response with indentations and line breaks. */
2840
+ prettyPrint?: boolean;
2841
+ /** 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. */
2842
+ quotaUser?: string;
2843
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2844
+ upload_protocol?: string;
2845
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2846
+ uploadType?: string;
2847
+ }): Request<AccessSparkApplicationNativeBuildInfoResponse>;
2848
+ /** Obtain data corresponding to a particular Native SQL Query for a Spark Application. */
2849
+ accessNativeSqlQuery(request?: {
2850
+ /** V1 error format. */
2851
+ '$.xgafv'?: string;
2852
+ /** OAuth access token. */
2853
+ access_token?: string;
2854
+ /** Data format for response. */
2855
+ alt?: string;
2856
+ /** JSONP */
2857
+ callback?: string;
2858
+ /** Required. Execution ID */
2859
+ executionId?: string;
2860
+ /** Selector specifying which fields to include in a partial response. */
2861
+ fields?: string;
2862
+ /** 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. */
2863
+ key?: string;
2864
+ /** Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID" */
2865
+ name: string;
2866
+ /** OAuth 2.0 token for the current user. */
2867
+ oauth_token?: string;
2868
+ /** Required. Parent (Batch) resource reference. */
2869
+ parent?: string;
2870
+ /** Returns response with indentations and line breaks. */
2871
+ prettyPrint?: boolean;
2872
+ /** 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. */
2873
+ quotaUser?: string;
2874
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2875
+ upload_protocol?: string;
2876
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2877
+ uploadType?: string;
2878
+ }): Request<AccessSparkApplicationNativeSqlQueryResponse>;
2819
2879
  /** Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000. */
2820
2880
  accessSqlPlan(request?: {
2821
2881
  /** V1 error format. */
@@ -3096,6 +3156,39 @@ declare namespace gapi.client {
3096
3156
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3097
3157
  uploadType?: string;
3098
3158
  }): Request<SearchSparkApplicationJobsResponse>;
3159
+ /** Obtain data corresponding to Native SQL Queries for a Spark Application. */
3160
+ searchNativeSqlQueries(request?: {
3161
+ /** V1 error format. */
3162
+ '$.xgafv'?: string;
3163
+ /** OAuth access token. */
3164
+ access_token?: string;
3165
+ /** Data format for response. */
3166
+ alt?: string;
3167
+ /** JSONP */
3168
+ callback?: string;
3169
+ /** Selector specifying which fields to include in a partial response. */
3170
+ fields?: string;
3171
+ /** 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. */
3172
+ key?: string;
3173
+ /** Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID" */
3174
+ name: string;
3175
+ /** OAuth 2.0 token for the current user. */
3176
+ oauth_token?: string;
3177
+ /** Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100. */
3178
+ pageSize?: number;
3179
+ /** Optional. A page token received from a previous SearchSparkApplicationNativeSqlQueries call. Provide this token to retrieve the subsequent page. */
3180
+ pageToken?: string;
3181
+ /** Required. Parent (Batch) resource reference. */
3182
+ parent?: string;
3183
+ /** Returns response with indentations and line breaks. */
3184
+ prettyPrint?: boolean;
3185
+ /** 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. */
3186
+ quotaUser?: string;
3187
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3188
+ upload_protocol?: string;
3189
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3190
+ uploadType?: string;
3191
+ }): Request<SearchSparkApplicationNativeSqlQueriesResponse>;
3099
3192
  /** Obtain data corresponding to SQL Queries for a Spark Application. */
3100
3193
  searchSqlQueries(request?: {
3101
3194
  /** V1 error format. */
@@ -3849,6 +3942,66 @@ declare namespace gapi.client {
3849
3942
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3850
3943
  uploadType?: string;
3851
3944
  }): Request<AccessSessionSparkApplicationJobResponse>;
3945
+ /** Obtain data corresponding to Native Build Information for a Spark Application. */
3946
+ accessNativeBuildInfo(request?: {
3947
+ /** V1 error format. */
3948
+ '$.xgafv'?: string;
3949
+ /** OAuth access token. */
3950
+ access_token?: string;
3951
+ /** Data format for response. */
3952
+ alt?: string;
3953
+ /** JSONP */
3954
+ callback?: string;
3955
+ /** Selector specifying which fields to include in a partial response. */
3956
+ fields?: string;
3957
+ /** 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. */
3958
+ key?: string;
3959
+ /** Required. The fully qualified name of the session to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID" */
3960
+ name: string;
3961
+ /** OAuth 2.0 token for the current user. */
3962
+ oauth_token?: string;
3963
+ /** Required. Parent (Session) resource reference. */
3964
+ parent?: string;
3965
+ /** Returns response with indentations and line breaks. */
3966
+ prettyPrint?: boolean;
3967
+ /** 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. */
3968
+ quotaUser?: string;
3969
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3970
+ upload_protocol?: string;
3971
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3972
+ uploadType?: string;
3973
+ }): Request<AccessSessionSparkApplicationNativeBuildInfoResponse>;
3974
+ /** Obtain data corresponding to a particular Native SQL Query for a Spark Application. */
3975
+ accessNativeSqlQuery(request?: {
3976
+ /** V1 error format. */
3977
+ '$.xgafv'?: string;
3978
+ /** OAuth access token. */
3979
+ access_token?: string;
3980
+ /** Data format for response. */
3981
+ alt?: string;
3982
+ /** JSONP */
3983
+ callback?: string;
3984
+ /** Required. Execution ID */
3985
+ executionId?: string;
3986
+ /** Selector specifying which fields to include in a partial response. */
3987
+ fields?: string;
3988
+ /** 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. */
3989
+ key?: string;
3990
+ /** Required. The fully qualified name of the session to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID" */
3991
+ name: string;
3992
+ /** OAuth 2.0 token for the current user. */
3993
+ oauth_token?: string;
3994
+ /** Required. Parent (Session) resource reference. */
3995
+ parent?: string;
3996
+ /** Returns response with indentations and line breaks. */
3997
+ prettyPrint?: boolean;
3998
+ /** 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. */
3999
+ quotaUser?: string;
4000
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4001
+ upload_protocol?: string;
4002
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4003
+ uploadType?: string;
4004
+ }): Request<AccessSessionSparkApplicationNativeSqlQueryResponse>;
3852
4005
  /** Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000. */
3853
4006
  accessSqlPlan(request?: {
3854
4007
  /** V1 error format. */
@@ -4129,6 +4282,39 @@ declare namespace gapi.client {
4129
4282
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4130
4283
  uploadType?: string;
4131
4284
  }): Request<SearchSessionSparkApplicationJobsResponse>;
4285
+ /** Obtain data corresponding to Native SQL Queries for a Spark Application. */
4286
+ searchNativeSqlQueries(request?: {
4287
+ /** V1 error format. */
4288
+ '$.xgafv'?: string;
4289
+ /** OAuth access token. */
4290
+ access_token?: string;
4291
+ /** Data format for response. */
4292
+ alt?: string;
4293
+ /** JSONP */
4294
+ callback?: string;
4295
+ /** Selector specifying which fields to include in a partial response. */
4296
+ fields?: string;
4297
+ /** 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. */
4298
+ key?: string;
4299
+ /** Required. The fully qualified name of the session to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID" */
4300
+ name: string;
4301
+ /** OAuth 2.0 token for the current user. */
4302
+ oauth_token?: string;
4303
+ /** Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100. */
4304
+ pageSize?: number;
4305
+ /** Optional. A page token received from a previous SearchSessionSparkApplicationSqlQueries call. Provide this token to retrieve the subsequent page. */
4306
+ pageToken?: string;
4307
+ /** Required. Parent (Session) resource reference. */
4308
+ parent?: string;
4309
+ /** Returns response with indentations and line breaks. */
4310
+ prettyPrint?: boolean;
4311
+ /** 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. */
4312
+ quotaUser?: string;
4313
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4314
+ upload_protocol?: string;
4315
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4316
+ uploadType?: string;
4317
+ }): Request<SearchSessionSparkApplicationNativeSqlQueriesResponse>;
4132
4318
  /** Obtain data corresponding to SQL Queries for a Spark Application. */
4133
4319
  searchSqlQueries(request?: {
4134
4320
  /** V1 error format. */
@@ -5697,64 +5883,6 @@ declare namespace gapi.client {
5697
5883
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5698
5884
  uploadType?: string;
5699
5885
  }): Request<NodeGroup>;
5700
- /** Repair nodes in a node group. */
5701
- repair(request: {
5702
- /** V1 error format. */
5703
- '$.xgafv'?: string;
5704
- /** OAuth access token. */
5705
- access_token?: string;
5706
- /** Data format for response. */
5707
- alt?: string;
5708
- /** JSONP */
5709
- callback?: string;
5710
- /** Selector specifying which fields to include in a partial response. */
5711
- fields?: string;
5712
- /** 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. */
5713
- key?: string;
5714
- /** Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} */
5715
- name: string;
5716
- /** OAuth 2.0 token for the current user. */
5717
- oauth_token?: string;
5718
- /** Returns response with indentations and line breaks. */
5719
- prettyPrint?: boolean;
5720
- /** 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. */
5721
- quotaUser?: string;
5722
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5723
- upload_protocol?: string;
5724
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5725
- uploadType?: string;
5726
- /** Request body */
5727
- resource: RepairNodeGroupRequest;
5728
- }): Request<Operation>;
5729
- repair(
5730
- request: {
5731
- /** V1 error format. */
5732
- '$.xgafv'?: string;
5733
- /** OAuth access token. */
5734
- access_token?: string;
5735
- /** Data format for response. */
5736
- alt?: string;
5737
- /** JSONP */
5738
- callback?: string;
5739
- /** Selector specifying which fields to include in a partial response. */
5740
- fields?: string;
5741
- /** 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. */
5742
- key?: string;
5743
- /** Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} */
5744
- name: string;
5745
- /** OAuth 2.0 token for the current user. */
5746
- oauth_token?: string;
5747
- /** Returns response with indentations and line breaks. */
5748
- prettyPrint?: boolean;
5749
- /** 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. */
5750
- quotaUser?: string;
5751
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5752
- upload_protocol?: string;
5753
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5754
- uploadType?: string;
5755
- },
5756
- body: RepairNodeGroupRequest,
5757
- ): Request<Operation>;
5758
5886
  /** 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). */
5759
5887
  resize(request: {
5760
5888
  /** V1 error format. */
@@ -6228,72 +6356,6 @@ declare namespace gapi.client {
6228
6356
  },
6229
6357
  body: Cluster,
6230
6358
  ): Request<Operation>;
6231
- /** Repairs a cluster. */
6232
- repair(request: {
6233
- /** V1 error format. */
6234
- '$.xgafv'?: string;
6235
- /** OAuth access token. */
6236
- access_token?: string;
6237
- /** Data format for response. */
6238
- alt?: string;
6239
- /** JSONP */
6240
- callback?: string;
6241
- /** Required. The cluster name. */
6242
- clusterName: string;
6243
- /** Selector specifying which fields to include in a partial response. */
6244
- fields?: string;
6245
- /** 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. */
6246
- key?: string;
6247
- /** OAuth 2.0 token for the current user. */
6248
- oauth_token?: string;
6249
- /** Returns response with indentations and line breaks. */
6250
- prettyPrint?: boolean;
6251
- /** Required. The ID of the Google Cloud Platform project the cluster belongs to. */
6252
- projectId: string;
6253
- /** 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. */
6254
- quotaUser?: string;
6255
- /** Required. The Dataproc region in which to handle the request. */
6256
- region: string;
6257
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6258
- upload_protocol?: string;
6259
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6260
- uploadType?: string;
6261
- /** Request body */
6262
- resource: RepairClusterRequest;
6263
- }): Request<Operation>;
6264
- repair(
6265
- request: {
6266
- /** V1 error format. */
6267
- '$.xgafv'?: string;
6268
- /** OAuth access token. */
6269
- access_token?: string;
6270
- /** Data format for response. */
6271
- alt?: string;
6272
- /** JSONP */
6273
- callback?: string;
6274
- /** Required. The cluster name. */
6275
- clusterName: string;
6276
- /** Selector specifying which fields to include in a partial response. */
6277
- fields?: string;
6278
- /** 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. */
6279
- key?: string;
6280
- /** OAuth 2.0 token for the current user. */
6281
- oauth_token?: string;
6282
- /** Returns response with indentations and line breaks. */
6283
- prettyPrint?: boolean;
6284
- /** Required. The ID of the Google Cloud Platform project the cluster belongs to. */
6285
- projectId: string;
6286
- /** 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. */
6287
- quotaUser?: string;
6288
- /** Required. The Dataproc region in which to handle the request. */
6289
- region: string;
6290
- /** Upload protocol for media (e.g. "raw", "multipart"). */
6291
- upload_protocol?: string;
6292
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6293
- uploadType?: string;
6294
- },
6295
- body: RepairClusterRequest,
6296
- ): Request<Operation>;
6297
6359
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
6298
6360
  setIamPolicy(
6299
6361
  request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataproc-v1",
3
- "version": "0.0.20250224",
3
+ "version": "0.0.20250306",
4
4
  "description": "TypeScript typings for Cloud Dataproc API v1",
5
5
  "repository": {
6
6
  "type": "git",