@maxim_mazurok/gapi.client.dataproc-v1 0.0.20250416 → 0.0.20250513

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 +25 -215
  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: 20250416
12
+ // Revision: 20250513
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -38,14 +38,6 @@ 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
- }
49
41
  interface AccessSessionSparkApplicationResponse {
50
42
  /** Output only. High level information corresponding to an application. */
51
43
  application?: ApplicationInfo;
@@ -74,14 +66,6 @@ declare namespace gapi.client {
74
66
  /** Output only. Data corresponding to a spark job. */
75
67
  jobData?: JobData;
76
68
  }
77
- interface AccessSparkApplicationNativeBuildInfoResponse {
78
- /** Native Build Info Data */
79
- buildInfo?: NativeBuildInfoUiData;
80
- }
81
- interface AccessSparkApplicationNativeSqlQueryResponse {
82
- /** Native SQL Execution Data */
83
- executionData?: NativeSqlExecutionUiData;
84
- }
85
69
  interface AccessSparkApplicationResponse {
86
70
  /** Output only. High level information corresponding to an application. */
87
71
  application?: ApplicationInfo;
@@ -174,6 +158,8 @@ declare namespace gapi.client {
174
158
  }
175
159
  interface AutoscalingPolicy {
176
160
  basicAlgorithm?: BasicAutoscalingAlgorithm;
161
+ /** Optional. The type of the clusters for which this autoscaling policy is to be configured. */
162
+ clusterType?: string;
177
163
  /** Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters. */
178
164
  id?: string;
179
165
  /** Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy. */
@@ -315,6 +301,8 @@ declare namespace gapi.client {
315
301
  autoscalingConfig?: AutoscalingConfig;
316
302
  /** Optional. The node group settings. */
317
303
  auxiliaryNodeGroups?: AuxiliaryNodeGroup[];
304
+ /** Optional. The type of the cluster. */
305
+ clusterType?: string;
318
306
  /** Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket. */
319
307
  configBucket?: string;
320
308
  /** Optional. The config for Dataproc metrics. */
@@ -1040,10 +1028,16 @@ declare namespace gapi.client {
1040
1028
  autoDeleteTime?: string;
1041
1029
  /** Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). */
1042
1030
  autoDeleteTtl?: string;
1031
+ /** Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)). */
1032
+ autoStopTime?: string;
1033
+ /** Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). */
1034
+ autoStopTtl?: string;
1043
1035
  /** Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). */
1044
1036
  idleDeleteTtl?: string;
1045
1037
  /** Output only. The time when cluster became idle (most recent job finished) and became eligible for deletion due to idleness (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)). */
1046
1038
  idleStartTime?: string;
1039
+ /** Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). */
1040
+ idleStopTtl?: string;
1047
1041
  }
1048
1042
  interface ListAutoscalingPoliciesResponse {
1049
1043
  /** Output only. This token is included in the response if there are more results to fetch. */
@@ -1322,6 +1316,10 @@ declare namespace gapi.client {
1322
1316
  removeTime?: string;
1323
1317
  totalCores?: number;
1324
1318
  }
1319
+ interface PropertiesInfo {
1320
+ /** Output only. Properties set by autotuning engine. */
1321
+ autotuningProperties?: {[P in string]: ValueInfo};
1322
+ }
1325
1323
  interface ProvisioningModelMix {
1326
1324
  /** Optional. The base capacity that will always use Standard VMs to avoid risk of more preemption than the minimum capacity you need. Dataproc will create only standard VMs until it reaches standard_capacity_base, then it will start using standard_capacity_percent_above_base to mix Spot with Standard VMs. eg. If 15 instances are requested and standard_capacity_base is 5, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances. */
1327
1325
  standardCapacityBase?: number;
@@ -1512,6 +1510,8 @@ declare namespace gapi.client {
1512
1510
  endpoints?: {[P in string]: string};
1513
1511
  /** Output only. A URI pointing to the location of the stdout and stderr of the workload. */
1514
1512
  outputUri?: string;
1513
+ /** Optional. Properties of the workload organized by origin. */
1514
+ propertiesInfo?: PropertiesInfo;
1515
1515
  }
1516
1516
  interface SearchSessionSparkApplicationExecutorsResponse {
1517
1517
  /** 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 SearchSessionSparkApplicationExecutorsRequest. */
@@ -1531,12 +1531,6 @@ declare namespace gapi.client {
1531
1531
  /** Output only. Data corresponding to a spark job. */
1532
1532
  sparkApplicationJobs?: JobData[];
1533
1533
  }
1534
- interface SearchSessionSparkApplicationNativeSqlQueriesResponse {
1535
- /** 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. */
1536
- nextPageToken?: string;
1537
- /** Output only. Native SQL Execution Data */
1538
- sparkApplicationNativeSqlQueries?: NativeSqlExecutionUiData[];
1539
- }
1540
1534
  interface SearchSessionSparkApplicationSqlQueriesResponse {
1541
1535
  /** 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. */
1542
1536
  nextPageToken?: string;
@@ -1585,12 +1579,6 @@ declare namespace gapi.client {
1585
1579
  /** Output only. Data corresponding to a spark job. */
1586
1580
  sparkApplicationJobs?: JobData[];
1587
1581
  }
1588
- interface SearchSparkApplicationNativeSqlQueriesResponse {
1589
- /** 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. */
1590
- nextPageToken?: string;
1591
- /** Output only. Native SQL Execution Data */
1592
- sparkApplicationNativeSqlQueries?: NativeSqlExecutionUiData[];
1593
- }
1594
1582
  interface SearchSparkApplicationSqlQueriesResponse {
1595
1583
  /** 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. */
1596
1584
  nextPageToken?: string;
@@ -2363,6 +2351,14 @@ declare namespace gapi.client {
2363
2351
  /** Optional. The timestamp of the usage snapshot. */
2364
2352
  snapshotTime?: string;
2365
2353
  }
2354
+ interface ValueInfo {
2355
+ /** Annotation, comment or explanation why the property was set. */
2356
+ annotation?: string;
2357
+ /** Optional. Value which was replaced by the corresponding component. */
2358
+ overriddenValue?: string;
2359
+ /** Property value. */
2360
+ value?: string;
2361
+ }
2366
2362
  interface ValueValidation {
2367
2363
  /** Required. List of allowed values for the parameter. */
2368
2364
  values?: string[];
@@ -2856,66 +2852,6 @@ declare namespace gapi.client {
2856
2852
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2857
2853
  uploadType?: string;
2858
2854
  }): Request<AccessSparkApplicationJobResponse>;
2859
- /** Obtain build data for Native Job */
2860
- accessNativeBuildInfo(request?: {
2861
- /** V1 error format. */
2862
- '$.xgafv'?: string;
2863
- /** OAuth access token. */
2864
- access_token?: string;
2865
- /** Data format for response. */
2866
- alt?: string;
2867
- /** JSONP */
2868
- callback?: string;
2869
- /** Selector specifying which fields to include in a partial response. */
2870
- fields?: string;
2871
- /** 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. */
2872
- key?: string;
2873
- /** 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" */
2874
- name: string;
2875
- /** OAuth 2.0 token for the current user. */
2876
- oauth_token?: string;
2877
- /** Required. Parent (Batch) resource reference. */
2878
- parent?: string;
2879
- /** Returns response with indentations and line breaks. */
2880
- prettyPrint?: boolean;
2881
- /** 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. */
2882
- quotaUser?: string;
2883
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2884
- upload_protocol?: string;
2885
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2886
- uploadType?: string;
2887
- }): Request<AccessSparkApplicationNativeBuildInfoResponse>;
2888
- /** Obtain data corresponding to a particular Native SQL Query for a Spark Application. */
2889
- accessNativeSqlQuery(request?: {
2890
- /** V1 error format. */
2891
- '$.xgafv'?: string;
2892
- /** OAuth access token. */
2893
- access_token?: string;
2894
- /** Data format for response. */
2895
- alt?: string;
2896
- /** JSONP */
2897
- callback?: string;
2898
- /** Required. Execution ID */
2899
- executionId?: string;
2900
- /** Selector specifying which fields to include in a partial response. */
2901
- fields?: string;
2902
- /** 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. */
2903
- key?: string;
2904
- /** 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" */
2905
- name: string;
2906
- /** OAuth 2.0 token for the current user. */
2907
- oauth_token?: string;
2908
- /** Required. Parent (Batch) resource reference. */
2909
- parent?: string;
2910
- /** Returns response with indentations and line breaks. */
2911
- prettyPrint?: boolean;
2912
- /** 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. */
2913
- quotaUser?: string;
2914
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2915
- upload_protocol?: string;
2916
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2917
- uploadType?: string;
2918
- }): Request<AccessSparkApplicationNativeSqlQueryResponse>;
2919
2855
  /** Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000. */
2920
2856
  accessSqlPlan(request?: {
2921
2857
  /** V1 error format. */
@@ -3196,39 +3132,6 @@ declare namespace gapi.client {
3196
3132
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3197
3133
  uploadType?: string;
3198
3134
  }): Request<SearchSparkApplicationJobsResponse>;
3199
- /** Obtain data corresponding to Native SQL Queries for a Spark Application. */
3200
- searchNativeSqlQueries(request?: {
3201
- /** V1 error format. */
3202
- '$.xgafv'?: string;
3203
- /** OAuth access token. */
3204
- access_token?: string;
3205
- /** Data format for response. */
3206
- alt?: string;
3207
- /** JSONP */
3208
- callback?: string;
3209
- /** Selector specifying which fields to include in a partial response. */
3210
- fields?: string;
3211
- /** 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. */
3212
- key?: string;
3213
- /** 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" */
3214
- name: string;
3215
- /** OAuth 2.0 token for the current user. */
3216
- oauth_token?: string;
3217
- /** 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. */
3218
- pageSize?: number;
3219
- /** Optional. A page token received from a previous SearchSparkApplicationNativeSqlQueries call. Provide this token to retrieve the subsequent page. */
3220
- pageToken?: string;
3221
- /** Required. Parent (Batch) resource reference. */
3222
- parent?: string;
3223
- /** Returns response with indentations and line breaks. */
3224
- prettyPrint?: boolean;
3225
- /** 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. */
3226
- quotaUser?: string;
3227
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3228
- upload_protocol?: string;
3229
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3230
- uploadType?: string;
3231
- }): Request<SearchSparkApplicationNativeSqlQueriesResponse>;
3232
3135
  /** Obtain data corresponding to SQL Queries for a Spark Application. */
3233
3136
  searchSqlQueries(request?: {
3234
3137
  /** V1 error format. */
@@ -3982,66 +3885,6 @@ declare namespace gapi.client {
3982
3885
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3983
3886
  uploadType?: string;
3984
3887
  }): Request<AccessSessionSparkApplicationJobResponse>;
3985
- /** Obtain data corresponding to Native Build Information for a Spark Application. */
3986
- accessNativeBuildInfo(request?: {
3987
- /** V1 error format. */
3988
- '$.xgafv'?: string;
3989
- /** OAuth access token. */
3990
- access_token?: string;
3991
- /** Data format for response. */
3992
- alt?: string;
3993
- /** JSONP */
3994
- callback?: string;
3995
- /** Selector specifying which fields to include in a partial response. */
3996
- fields?: string;
3997
- /** 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. */
3998
- key?: string;
3999
- /** 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" */
4000
- name: string;
4001
- /** OAuth 2.0 token for the current user. */
4002
- oauth_token?: string;
4003
- /** Required. Parent (Session) resource reference. */
4004
- parent?: string;
4005
- /** Returns response with indentations and line breaks. */
4006
- prettyPrint?: boolean;
4007
- /** 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. */
4008
- quotaUser?: string;
4009
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4010
- upload_protocol?: string;
4011
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4012
- uploadType?: string;
4013
- }): Request<AccessSessionSparkApplicationNativeBuildInfoResponse>;
4014
- /** Obtain data corresponding to a particular Native SQL Query for a Spark Application. */
4015
- accessNativeSqlQuery(request?: {
4016
- /** V1 error format. */
4017
- '$.xgafv'?: string;
4018
- /** OAuth access token. */
4019
- access_token?: string;
4020
- /** Data format for response. */
4021
- alt?: string;
4022
- /** JSONP */
4023
- callback?: string;
4024
- /** Required. Execution ID */
4025
- executionId?: string;
4026
- /** Selector specifying which fields to include in a partial response. */
4027
- fields?: string;
4028
- /** 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. */
4029
- key?: string;
4030
- /** 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" */
4031
- name: string;
4032
- /** OAuth 2.0 token for the current user. */
4033
- oauth_token?: string;
4034
- /** Required. Parent (Session) resource reference. */
4035
- parent?: string;
4036
- /** Returns response with indentations and line breaks. */
4037
- prettyPrint?: boolean;
4038
- /** 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. */
4039
- quotaUser?: string;
4040
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4041
- upload_protocol?: string;
4042
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4043
- uploadType?: string;
4044
- }): Request<AccessSessionSparkApplicationNativeSqlQueryResponse>;
4045
3888
  /** Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000. */
4046
3889
  accessSqlPlan(request?: {
4047
3890
  /** V1 error format. */
@@ -4322,39 +4165,6 @@ declare namespace gapi.client {
4322
4165
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4323
4166
  uploadType?: string;
4324
4167
  }): Request<SearchSessionSparkApplicationJobsResponse>;
4325
- /** Obtain data corresponding to Native SQL Queries for a Spark Application. */
4326
- searchNativeSqlQueries(request?: {
4327
- /** V1 error format. */
4328
- '$.xgafv'?: string;
4329
- /** OAuth access token. */
4330
- access_token?: string;
4331
- /** Data format for response. */
4332
- alt?: string;
4333
- /** JSONP */
4334
- callback?: string;
4335
- /** Selector specifying which fields to include in a partial response. */
4336
- fields?: string;
4337
- /** 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. */
4338
- key?: string;
4339
- /** 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" */
4340
- name: string;
4341
- /** OAuth 2.0 token for the current user. */
4342
- oauth_token?: string;
4343
- /** 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. */
4344
- pageSize?: number;
4345
- /** Optional. A page token received from a previous SearchSessionSparkApplicationSqlQueries call. Provide this token to retrieve the subsequent page. */
4346
- pageToken?: string;
4347
- /** Required. Parent (Session) resource reference. */
4348
- parent?: string;
4349
- /** Returns response with indentations and line breaks. */
4350
- prettyPrint?: boolean;
4351
- /** 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. */
4352
- quotaUser?: string;
4353
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4354
- upload_protocol?: string;
4355
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4356
- uploadType?: string;
4357
- }): Request<SearchSessionSparkApplicationNativeSqlQueriesResponse>;
4358
4168
  /** Obtain data corresponding to SQL Queries for a Spark Application. */
4359
4169
  searchSqlQueries(request?: {
4360
4170
  /** 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.20250416",
3
+ "version": "0.0.20250513",
4
4
  "description": "TypeScript typings for Cloud Dataproc API v1",
5
5
  "repository": {
6
6
  "type": "git",