google-apis-dataproc_v1 0.74.0 → 0.76.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db081c4eb1f89f8000d38c64c041a22938a88eae65fd980dd5a06418c354dd80
4
- data.tar.gz: 2a07f0c759cc7d751b2025e530ca52ba80f8463a980ba0cd2e5fa924f1496399
3
+ metadata.gz: 9d33df543b130db30b7bf16e94766a16a17708c90e95033ba64126b5c12fc1b3
4
+ data.tar.gz: 6a0e24b6725ea0c8aa5170e0aee073ab75e2f1307bdee2c1d089f69550c3269e
5
5
  SHA512:
6
- metadata.gz: 2364190f6d5f8d46d23e88a7a40538a2426696e450dac722d345d312b9fe5cf1fcc7baeb2a1e73cc652d2891c3171ffc0e60d50455be616ad2858c9d44d37343
7
- data.tar.gz: e8eb6ab2c158f5ea941cf034245ce1c9c5acb93ae80a011cad6c23847961b21ec3a2e45af5428b0fcb27aa1a0590d5912765f44aca06fb01c16eeac709cd2969
6
+ metadata.gz: a4b2ba78ab194a747e55164e9f6bc835890358be52b2490e6c1435dcf58f47f6e585048fb9a10ac5cb8e4a086a910b80220f82084069743da5886c50c7c78bf7
7
+ data.tar.gz: 4fdb7f14f109f4d383a7430138fce688bd5f65e9f203a1f9f560f76a8f4119fc058fc1dcbed23d8ac7cd31f249ce423d68a9f195f2b14c1d613061fbf4794ddf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.76.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250315
6
+
7
+ ### v0.75.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250207
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.74.0 (2024-11-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20241025
@@ -96,6 +96,44 @@ module Google
96
96
  end
97
97
  end
98
98
 
99
+ # Details of a native build info for a Spark Application
100
+ class AccessSessionSparkApplicationNativeBuildInfoResponse
101
+ include Google::Apis::Core::Hashable
102
+
103
+ # Native SQL Execution Data
104
+ # Corresponds to the JSON property `executionData`
105
+ # @return [Google::Apis::DataprocV1::NativeBuildInfoUiData]
106
+ attr_accessor :execution_data
107
+
108
+ def initialize(**args)
109
+ update!(**args)
110
+ end
111
+
112
+ # Update properties of this object
113
+ def update!(**args)
114
+ @execution_data = args[:execution_data] if args.key?(:execution_data)
115
+ end
116
+ end
117
+
118
+ # Details of a native query for a Spark Application
119
+ class AccessSessionSparkApplicationNativeSqlQueryResponse
120
+ include Google::Apis::Core::Hashable
121
+
122
+ # Native SQL Execution Data
123
+ # Corresponds to the JSON property `executionData`
124
+ # @return [Google::Apis::DataprocV1::NativeSqlExecutionUiData]
125
+ attr_accessor :execution_data
126
+
127
+ def initialize(**args)
128
+ update!(**args)
129
+ end
130
+
131
+ # Update properties of this object
132
+ def update!(**args)
133
+ @execution_data = args[:execution_data] if args.key?(:execution_data)
134
+ end
135
+ end
136
+
99
137
  # A summary of Spark Application
100
138
  class AccessSessionSparkApplicationResponse
101
139
  include Google::Apis::Core::Hashable
@@ -231,6 +269,44 @@ module Google
231
269
  end
232
270
  end
233
271
 
272
+ # Details of Native Build Info for a Spark Application
273
+ class AccessSparkApplicationNativeBuildInfoResponse
274
+ include Google::Apis::Core::Hashable
275
+
276
+ # Native Build Info Data
277
+ # Corresponds to the JSON property `buildInfo`
278
+ # @return [Google::Apis::DataprocV1::NativeBuildInfoUiData]
279
+ attr_accessor :build_info
280
+
281
+ def initialize(**args)
282
+ update!(**args)
283
+ end
284
+
285
+ # Update properties of this object
286
+ def update!(**args)
287
+ @build_info = args[:build_info] if args.key?(:build_info)
288
+ end
289
+ end
290
+
291
+ # Details of a query for a Spark Application
292
+ class AccessSparkApplicationNativeSqlQueryResponse
293
+ include Google::Apis::Core::Hashable
294
+
295
+ # Native SQL Execution Data
296
+ # Corresponds to the JSON property `executionData`
297
+ # @return [Google::Apis::DataprocV1::NativeSqlExecutionUiData]
298
+ attr_accessor :execution_data
299
+
300
+ def initialize(**args)
301
+ update!(**args)
302
+ end
303
+
304
+ # Update properties of this object
305
+ def update!(**args)
306
+ @execution_data = args[:execution_data] if args.key?(:execution_data)
307
+ end
308
+ end
309
+
234
310
  # A summary of Spark Application
235
311
  class AccessSparkApplicationResponse
236
312
  include Google::Apis::Core::Hashable
@@ -663,6 +739,28 @@ module Google
663
739
  end
664
740
  end
665
741
 
742
+ # Authentication configuration for a workload is used to set the default
743
+ # identity for the workload execution. The config specifies the type of identity
744
+ # (service account or user) that will be used by workloads to access resources
745
+ # on the project(s).
746
+ class AuthenticationConfig
747
+ include Google::Apis::Core::Hashable
748
+
749
+ # Optional. Authentication type for the user workload running in containers.
750
+ # Corresponds to the JSON property `userWorkloadAuthenticationType`
751
+ # @return [String]
752
+ attr_accessor :user_workload_authentication_type
753
+
754
+ def initialize(**args)
755
+ update!(**args)
756
+ end
757
+
758
+ # Update properties of this object
759
+ def update!(**args)
760
+ @user_workload_authentication_type = args[:user_workload_authentication_type] if args.key?(:user_workload_authentication_type)
761
+ end
762
+ end
763
+
666
764
  # Autoscaling Policy config associated with the cluster.
667
765
  class AutoscalingConfig
668
766
  include Google::Apis::Core::Hashable
@@ -1209,6 +1307,31 @@ module Google
1209
1307
  end
1210
1308
  end
1211
1309
 
1310
+ # Native Build Info
1311
+ class BuildInfo
1312
+ include Google::Apis::Core::Hashable
1313
+
1314
+ # Optional. Build key.
1315
+ # Corresponds to the JSON property `buildKey`
1316
+ # @return [String]
1317
+ attr_accessor :build_key
1318
+
1319
+ # Optional. Build value.
1320
+ # Corresponds to the JSON property `buildValue`
1321
+ # @return [String]
1322
+ attr_accessor :build_value
1323
+
1324
+ def initialize(**args)
1325
+ update!(**args)
1326
+ end
1327
+
1328
+ # Update properties of this object
1329
+ def update!(**args)
1330
+ @build_key = args[:build_key] if args.key?(:build_key)
1331
+ @build_value = args[:build_value] if args.key?(:build_value)
1332
+ end
1333
+ end
1334
+
1212
1335
  # A request to cancel a job.
1213
1336
  class CancelJobRequest
1214
1337
  include Google::Apis::Core::Hashable
@@ -1938,16 +2061,16 @@ module Google
1938
2061
  include Google::Apis::Core::Hashable
1939
2062
 
1940
2063
  # Optional. Indicates how many IOPS to provision for the disk. This sets the
1941
- # number of I/O operations per second that the disk can handle. Note: This field
1942
- # is only supported if boot_disk_type is hyperdisk-balanced.
2064
+ # number of I/O operations per second that the disk can handle. This field is
2065
+ # supported only if boot_disk_type is hyperdisk-balanced.
1943
2066
  # Corresponds to the JSON property `bootDiskProvisionedIops`
1944
2067
  # @return [Fixnum]
1945
2068
  attr_accessor :boot_disk_provisioned_iops
1946
2069
 
1947
2070
  # Optional. Indicates how much throughput to provision for the disk. This sets
1948
2071
  # the number of throughput mb per second that the disk can handle. Values must
1949
- # be greater than or equal to 1. Note: This field is only supported if
1950
- # boot_disk_type is hyperdisk-balanced.
2072
+ # be greater than or equal to 1. This field is supported only if boot_disk_type
2073
+ # is hyperdisk-balanced.
1951
2074
  # Corresponds to the JSON property `bootDiskProvisionedThroughput`
1952
2075
  # @return [Fixnum]
1953
2076
  attr_accessor :boot_disk_provisioned_throughput
@@ -2141,6 +2264,14 @@ module Google
2141
2264
  class ExecutionConfig
2142
2265
  include Google::Apis::Core::Hashable
2143
2266
 
2267
+ # Authentication configuration for a workload is used to set the default
2268
+ # identity for the workload execution. The config specifies the type of identity
2269
+ # (service account or user) that will be used by workloads to access resources
2270
+ # on the project(s).
2271
+ # Corresponds to the JSON property `authenticationConfig`
2272
+ # @return [Google::Apis::DataprocV1::AuthenticationConfig]
2273
+ attr_accessor :authentication_config
2274
+
2144
2275
  # Optional. Applies to sessions only. The duration to keep the session alive
2145
2276
  # while it's idling. Exceeding this threshold causes the session to terminate.
2146
2277
  # This field cannot be set on a batch workload. Minimum value is 10 minutes;
@@ -2212,6 +2343,7 @@ module Google
2212
2343
 
2213
2344
  # Update properties of this object
2214
2345
  def update!(**args)
2346
+ @authentication_config = args[:authentication_config] if args.key?(:authentication_config)
2215
2347
  @idle_ttl = args[:idle_ttl] if args.key?(:idle_ttl)
2216
2348
  @kms_key = args[:kms_key] if args.key?(:kms_key)
2217
2349
  @network_tags = args[:network_tags] if args.key?(:network_tags)
@@ -2784,6 +2916,31 @@ module Google
2784
2916
  end
2785
2917
  end
2786
2918
 
2919
+ # Native SQL Execution Data
2920
+ class FallbackReason
2921
+ include Google::Apis::Core::Hashable
2922
+
2923
+ # Optional. Fallback node information.
2924
+ # Corresponds to the JSON property `fallbackNode`
2925
+ # @return [String]
2926
+ attr_accessor :fallback_node
2927
+
2928
+ # Optional. Fallback to Spark reason.
2929
+ # Corresponds to the JSON property `fallbackReason`
2930
+ # @return [String]
2931
+ attr_accessor :fallback_reason
2932
+
2933
+ def initialize(**args)
2934
+ update!(**args)
2935
+ end
2936
+
2937
+ # Update properties of this object
2938
+ def update!(**args)
2939
+ @fallback_node = args[:fallback_node] if args.key?(:fallback_node)
2940
+ @fallback_reason = args[:fallback_reason] if args.key?(:fallback_reason)
2941
+ end
2942
+ end
2943
+
2787
2944
  # A Dataproc job for running Apache Flink applications on YARN.
2788
2945
  class FlinkJob
2789
2946
  include Google::Apis::Core::Hashable
@@ -2906,6 +3063,14 @@ module Google
2906
3063
  # @return [Google::Apis::DataprocV1::ReservationAffinity]
2907
3064
  attr_accessor :reservation_affinity
2908
3065
 
3066
+ # Optional. Resource manager tags (https://cloud.google.com/resource-manager/
3067
+ # docs/tags/tags-creating-and-managing) to add to all instances (see Use secure
3068
+ # tags in Dataproc (https://cloud.google.com/dataproc/docs/guides/attach-secure-
3069
+ # tags)).
3070
+ # Corresponds to the JSON property `resourceManagerTags`
3071
+ # @return [Hash<String,String>]
3072
+ attr_accessor :resource_manager_tags
3073
+
2909
3074
  # Optional. The Dataproc service account (https://cloud.google.com/dataproc/docs/
2910
3075
  # concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (
2911
3076
  # also see VM Data Plane identity (https://cloud.google.com/dataproc/docs/
@@ -2973,6 +3138,7 @@ module Google
2973
3138
  @node_group_affinity = args[:node_group_affinity] if args.key?(:node_group_affinity)
2974
3139
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
2975
3140
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
3141
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
2976
3142
  @service_account = args[:service_account] if args.key?(:service_account)
2977
3143
  @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
2978
3144
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@@ -5127,8 +5293,8 @@ module Google
5127
5293
  # source. For example, if one or more spark:executive metrics are listed as
5128
5294
  # metric overrides, other SPARK metrics are not collected. The collection of the
5129
5295
  # metrics for other enabled custom metric sources is unaffected. For example, if
5130
- # both SPARK andd YARN metric sources are enabled, and overrides are provided
5131
- # for Spark metrics only, all YARN metrics are collected.
5296
+ # both SPARK and YARN metric sources are enabled, and overrides are provided for
5297
+ # Spark metrics only, all YARN metrics are collected.
5132
5298
  # Corresponds to the JSON property `metricOverrides`
5133
5299
  # @return [Array<String>]
5134
5300
  attr_accessor :metric_overrides
@@ -5178,6 +5344,80 @@ module Google
5178
5344
  end
5179
5345
  end
5180
5346
 
5347
+ #
5348
+ class NativeBuildInfoUiData
5349
+ include Google::Apis::Core::Hashable
5350
+
5351
+ # Optional. Build class of Native.
5352
+ # Corresponds to the JSON property `buildClass`
5353
+ # @return [String]
5354
+ attr_accessor :build_class
5355
+
5356
+ # Optional. Build related details.
5357
+ # Corresponds to the JSON property `buildInfo`
5358
+ # @return [Array<Google::Apis::DataprocV1::BuildInfo>]
5359
+ attr_accessor :build_info
5360
+
5361
+ def initialize(**args)
5362
+ update!(**args)
5363
+ end
5364
+
5365
+ # Update properties of this object
5366
+ def update!(**args)
5367
+ @build_class = args[:build_class] if args.key?(:build_class)
5368
+ @build_info = args[:build_info] if args.key?(:build_info)
5369
+ end
5370
+ end
5371
+
5372
+ # Native SQL Execution Data
5373
+ class NativeSqlExecutionUiData
5374
+ include Google::Apis::Core::Hashable
5375
+
5376
+ # Optional. Description of the execution.
5377
+ # Corresponds to the JSON property `description`
5378
+ # @return [String]
5379
+ attr_accessor :description
5380
+
5381
+ # Required. Execution ID of the Native SQL Execution.
5382
+ # Corresponds to the JSON property `executionId`
5383
+ # @return [Fixnum]
5384
+ attr_accessor :execution_id
5385
+
5386
+ # Optional. Description of the fallback.
5387
+ # Corresponds to the JSON property `fallbackDescription`
5388
+ # @return [String]
5389
+ attr_accessor :fallback_description
5390
+
5391
+ # Optional. Fallback node to reason.
5392
+ # Corresponds to the JSON property `fallbackNodeToReason`
5393
+ # @return [Array<Google::Apis::DataprocV1::FallbackReason>]
5394
+ attr_accessor :fallback_node_to_reason
5395
+
5396
+ # Optional. Number of nodes fallen back to Spark.
5397
+ # Corresponds to the JSON property `numFallbackNodes`
5398
+ # @return [Fixnum]
5399
+ attr_accessor :num_fallback_nodes
5400
+
5401
+ # Optional. Number of nodes in Native.
5402
+ # Corresponds to the JSON property `numNativeNodes`
5403
+ # @return [Fixnum]
5404
+ attr_accessor :num_native_nodes
5405
+
5406
+ def initialize(**args)
5407
+ update!(**args)
5408
+ end
5409
+
5410
+ # Update properties of this object
5411
+ def update!(**args)
5412
+ @description = args[:description] if args.key?(:description)
5413
+ @execution_id = args[:execution_id] if args.key?(:execution_id)
5414
+ @fallback_description = args[:fallback_description] if args.key?(:fallback_description)
5415
+ @fallback_node_to_reason = args[:fallback_node_to_reason] if args.key?(:fallback_node_to_reason)
5416
+ @num_fallback_nodes = args[:num_fallback_nodes] if args.key?(:num_fallback_nodes)
5417
+ @num_native_nodes = args[:num_native_nodes] if args.key?(:num_native_nodes)
5418
+ end
5419
+ end
5420
+
5181
5421
  # Dataproc Node Group. The Dataproc NodeGroup resource is not related to the
5182
5422
  # Dataproc NodeGroupAffinity resource.
5183
5423
  class NodeGroup
@@ -7010,6 +7250,33 @@ module Google
7010
7250
  end
7011
7251
  end
7012
7252
 
7253
+ # List of all Native queries for a Spark Application.
7254
+ class SearchSessionSparkApplicationNativeSqlQueriesResponse
7255
+ include Google::Apis::Core::Hashable
7256
+
7257
+ # This token is included in the response if there are more results to fetch. To
7258
+ # fetch additional results, provide this value as the page_token in a subsequent
7259
+ # SearchSessionSparkApplicationSqlQueriesRequest.
7260
+ # Corresponds to the JSON property `nextPageToken`
7261
+ # @return [String]
7262
+ attr_accessor :next_page_token
7263
+
7264
+ # Output only. Native SQL Execution Data
7265
+ # Corresponds to the JSON property `sparkApplicationNativeSqlQueries`
7266
+ # @return [Array<Google::Apis::DataprocV1::NativeSqlExecutionUiData>]
7267
+ attr_accessor :spark_application_native_sql_queries
7268
+
7269
+ def initialize(**args)
7270
+ update!(**args)
7271
+ end
7272
+
7273
+ # Update properties of this object
7274
+ def update!(**args)
7275
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7276
+ @spark_application_native_sql_queries = args[:spark_application_native_sql_queries] if args.key?(:spark_application_native_sql_queries)
7277
+ end
7278
+ end
7279
+
7013
7280
  # List of all queries for a Spark Application.
7014
7281
  class SearchSessionSparkApplicationSqlQueriesResponse
7015
7282
  include Google::Apis::Core::Hashable
@@ -7226,6 +7493,33 @@ module Google
7226
7493
  end
7227
7494
  end
7228
7495
 
7496
+ # List of all Native SQL queries details for a Spark Application.
7497
+ class SearchSparkApplicationNativeSqlQueriesResponse
7498
+ include Google::Apis::Core::Hashable
7499
+
7500
+ # This token is included in the response if there are more results to fetch. To
7501
+ # fetch additional results, provide this value as the page_token in a subsequent
7502
+ # SearchSparkApplicationNativeSqlQueriesRequest.
7503
+ # Corresponds to the JSON property `nextPageToken`
7504
+ # @return [String]
7505
+ attr_accessor :next_page_token
7506
+
7507
+ # Output only. Native SQL Execution Data
7508
+ # Corresponds to the JSON property `sparkApplicationNativeSqlQueries`
7509
+ # @return [Array<Google::Apis::DataprocV1::NativeSqlExecutionUiData>]
7510
+ attr_accessor :spark_application_native_sql_queries
7511
+
7512
+ def initialize(**args)
7513
+ update!(**args)
7514
+ end
7515
+
7516
+ # Update properties of this object
7517
+ def update!(**args)
7518
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7519
+ @spark_application_native_sql_queries = args[:spark_application_native_sql_queries] if args.key?(:spark_application_native_sql_queries)
7520
+ end
7521
+ end
7522
+
7229
7523
  # List of all queries for a Spark Application.
7230
7524
  class SearchSparkApplicationSqlQueriesResponse
7231
7525
  include Google::Apis::Core::Hashable
@@ -7420,7 +7714,7 @@ module Google
7420
7714
  # @return [Hash<String,String>]
7421
7715
  attr_accessor :labels
7422
7716
 
7423
- # Required. The resource name of the session.
7717
+ # Identifier. The resource name of the session.
7424
7718
  # Corresponds to the JSON property `name`
7425
7719
  # @return [String]
7426
7720
  attr_accessor :name
@@ -8935,6 +9229,16 @@ module Google
8935
9229
  # @return [Google::Apis::DataprocV1::JobData]
8936
9230
  attr_accessor :job_data
8937
9231
 
9232
+ # Native Build Info
9233
+ # Corresponds to the JSON property `nativeBuildInfoUiData`
9234
+ # @return [Google::Apis::DataprocV1::NativeBuildInfoUiData]
9235
+ attr_accessor :native_build_info_ui_data
9236
+
9237
+ # Native SQL Execution Data
9238
+ # Corresponds to the JSON property `nativeSqlExecutionUiData`
9239
+ # @return [Google::Apis::DataprocV1::NativeSqlExecutionUiData]
9240
+ attr_accessor :native_sql_execution_ui_data
9241
+
8938
9242
  # Pool Data
8939
9243
  # Corresponds to the JSON property `poolData`
8940
9244
  # @return [Google::Apis::DataprocV1::PoolData]
@@ -9015,6 +9319,8 @@ module Google
9015
9319
  @executor_stage_summary = args[:executor_stage_summary] if args.key?(:executor_stage_summary)
9016
9320
  @executor_summary = args[:executor_summary] if args.key?(:executor_summary)
9017
9321
  @job_data = args[:job_data] if args.key?(:job_data)
9322
+ @native_build_info_ui_data = args[:native_build_info_ui_data] if args.key?(:native_build_info_ui_data)
9323
+ @native_sql_execution_ui_data = args[:native_sql_execution_ui_data] if args.key?(:native_sql_execution_ui_data)
9018
9324
  @pool_data = args[:pool_data] if args.key?(:pool_data)
9019
9325
  @process_summary = args[:process_summary] if args.key?(:process_summary)
9020
9326
  @rdd_operation_graph = args[:rdd_operation_graph] if args.key?(:rdd_operation_graph)
@@ -11147,12 +11453,22 @@ module Google
11147
11453
  # @return [Fixnum]
11148
11454
  attr_accessor :milli_dcu_seconds
11149
11455
 
11456
+ # Optional. Slot usage in (milliSlot x seconds).
11457
+ # Corresponds to the JSON property `milliSlotSeconds`
11458
+ # @return [Fixnum]
11459
+ attr_accessor :milli_slot_seconds
11460
+
11150
11461
  # Optional. Shuffle storage usage in (GB x seconds) (see Dataproc Serverless
11151
11462
  # pricing (https://cloud.google.com/dataproc-serverless/pricing)).
11152
11463
  # Corresponds to the JSON property `shuffleStorageGbSeconds`
11153
11464
  # @return [Fixnum]
11154
11465
  attr_accessor :shuffle_storage_gb_seconds
11155
11466
 
11467
+ # Optional. The timestamp of the usage metrics.
11468
+ # Corresponds to the JSON property `updateTime`
11469
+ # @return [String]
11470
+ attr_accessor :update_time
11471
+
11156
11472
  def initialize(**args)
11157
11473
  update!(**args)
11158
11474
  end
@@ -11162,7 +11478,9 @@ module Google
11162
11478
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
11163
11479
  @milli_accelerator_seconds = args[:milli_accelerator_seconds] if args.key?(:milli_accelerator_seconds)
11164
11480
  @milli_dcu_seconds = args[:milli_dcu_seconds] if args.key?(:milli_dcu_seconds)
11481
+ @milli_slot_seconds = args[:milli_slot_seconds] if args.key?(:milli_slot_seconds)
11165
11482
  @shuffle_storage_gb_seconds = args[:shuffle_storage_gb_seconds] if args.key?(:shuffle_storage_gb_seconds)
11483
+ @update_time = args[:update_time] if args.key?(:update_time)
11166
11484
  end
11167
11485
  end
11168
11486
 
@@ -11195,6 +11513,11 @@ module Google
11195
11513
  # @return [Fixnum]
11196
11514
  attr_accessor :milli_dcu_premium
11197
11515
 
11516
+ # Optional. Milli (one-thousandth) Slot usage of the workload.
11517
+ # Corresponds to the JSON property `milliSlot`
11518
+ # @return [Fixnum]
11519
+ attr_accessor :milli_slot
11520
+
11198
11521
  # Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing (
11199
11522
  # https://cloud.google.com/dataproc-serverless/pricing))
11200
11523
  # Corresponds to the JSON property `shuffleStorageGb`
@@ -11223,6 +11546,7 @@ module Google
11223
11546
  @milli_accelerator = args[:milli_accelerator] if args.key?(:milli_accelerator)
11224
11547
  @milli_dcu = args[:milli_dcu] if args.key?(:milli_dcu)
11225
11548
  @milli_dcu_premium = args[:milli_dcu_premium] if args.key?(:milli_dcu_premium)
11549
+ @milli_slot = args[:milli_slot] if args.key?(:milli_slot)
11226
11550
  @shuffle_storage_gb = args[:shuffle_storage_gb] if args.key?(:shuffle_storage_gb)
11227
11551
  @shuffle_storage_gb_premium = args[:shuffle_storage_gb_premium] if args.key?(:shuffle_storage_gb_premium)
11228
11552
  @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataprocV1
18
18
  # Version of the google-apis-dataproc_v1 gem
19
- GEM_VERSION = "0.74.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241025"
25
+ REVISION = "20250315"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,18 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class AccessSessionSparkApplicationNativeBuildInfoResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AccessSessionSparkApplicationNativeSqlQueryResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class AccessSessionSparkApplicationResponse
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -82,6 +94,18 @@ module Google
82
94
  include Google::Apis::Core::JsonObjectSupport
83
95
  end
84
96
 
97
+ class AccessSparkApplicationNativeBuildInfoResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class AccessSparkApplicationNativeSqlQueryResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
85
109
  class AccessSparkApplicationResponse
86
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
111
 
@@ -154,6 +178,12 @@ module Google
154
178
  include Google::Apis::Core::JsonObjectSupport
155
179
  end
156
180
 
181
+ class AuthenticationConfig
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
157
187
  class AutoscalingConfig
158
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
189
 
@@ -214,6 +244,12 @@ module Google
214
244
  include Google::Apis::Core::JsonObjectSupport
215
245
  end
216
246
 
247
+ class BuildInfo
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
217
253
  class CancelJobRequest
218
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
255
 
@@ -388,6 +424,12 @@ module Google
388
424
  include Google::Apis::Core::JsonObjectSupport
389
425
  end
390
426
 
427
+ class FallbackReason
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
391
433
  class FlinkJob
392
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
435
 
@@ -706,6 +748,18 @@ module Google
706
748
  include Google::Apis::Core::JsonObjectSupport
707
749
  end
708
750
 
751
+ class NativeBuildInfoUiData
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
757
+ class NativeSqlExecutionUiData
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
709
763
  class NodeGroup
710
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
711
765
 
@@ -958,6 +1012,12 @@ module Google
958
1012
  include Google::Apis::Core::JsonObjectSupport
959
1013
  end
960
1014
 
1015
+ class SearchSessionSparkApplicationNativeSqlQueriesResponse
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
961
1021
  class SearchSessionSparkApplicationSqlQueriesResponse
962
1022
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
1023
 
@@ -1006,6 +1066,12 @@ module Google
1006
1066
  include Google::Apis::Core::JsonObjectSupport
1007
1067
  end
1008
1068
 
1069
+ class SearchSparkApplicationNativeSqlQueriesResponse
1070
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1071
+
1072
+ include Google::Apis::Core::JsonObjectSupport
1073
+ end
1074
+
1009
1075
  class SearchSparkApplicationSqlQueriesResponse
1010
1076
  class Representation < Google::Apis::Core::JsonRepresentation; end
1011
1077
 
@@ -1576,6 +1642,22 @@ module Google
1576
1642
  end
1577
1643
  end
1578
1644
 
1645
+ class AccessSessionSparkApplicationNativeBuildInfoResponse
1646
+ # @private
1647
+ class Representation < Google::Apis::Core::JsonRepresentation
1648
+ property :execution_data, as: 'executionData', class: Google::Apis::DataprocV1::NativeBuildInfoUiData, decorator: Google::Apis::DataprocV1::NativeBuildInfoUiData::Representation
1649
+
1650
+ end
1651
+ end
1652
+
1653
+ class AccessSessionSparkApplicationNativeSqlQueryResponse
1654
+ # @private
1655
+ class Representation < Google::Apis::Core::JsonRepresentation
1656
+ property :execution_data, as: 'executionData', class: Google::Apis::DataprocV1::NativeSqlExecutionUiData, decorator: Google::Apis::DataprocV1::NativeSqlExecutionUiData::Representation
1657
+
1658
+ end
1659
+ end
1660
+
1579
1661
  class AccessSessionSparkApplicationResponse
1580
1662
  # @private
1581
1663
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1632,6 +1714,22 @@ module Google
1632
1714
  end
1633
1715
  end
1634
1716
 
1717
+ class AccessSparkApplicationNativeBuildInfoResponse
1718
+ # @private
1719
+ class Representation < Google::Apis::Core::JsonRepresentation
1720
+ property :build_info, as: 'buildInfo', class: Google::Apis::DataprocV1::NativeBuildInfoUiData, decorator: Google::Apis::DataprocV1::NativeBuildInfoUiData::Representation
1721
+
1722
+ end
1723
+ end
1724
+
1725
+ class AccessSparkApplicationNativeSqlQueryResponse
1726
+ # @private
1727
+ class Representation < Google::Apis::Core::JsonRepresentation
1728
+ property :execution_data, as: 'executionData', class: Google::Apis::DataprocV1::NativeSqlExecutionUiData, decorator: Google::Apis::DataprocV1::NativeSqlExecutionUiData::Representation
1729
+
1730
+ end
1731
+ end
1732
+
1635
1733
  class AccessSparkApplicationResponse
1636
1734
  # @private
1637
1735
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1756,6 +1854,13 @@ module Google
1756
1854
  end
1757
1855
  end
1758
1856
 
1857
+ class AuthenticationConfig
1858
+ # @private
1859
+ class Representation < Google::Apis::Core::JsonRepresentation
1860
+ property :user_workload_authentication_type, as: 'userWorkloadAuthenticationType'
1861
+ end
1862
+ end
1863
+
1759
1864
  class AutoscalingConfig
1760
1865
  # @private
1761
1866
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1881,6 +1986,14 @@ module Google
1881
1986
  end
1882
1987
  end
1883
1988
 
1989
+ class BuildInfo
1990
+ # @private
1991
+ class Representation < Google::Apis::Core::JsonRepresentation
1992
+ property :build_key, as: 'buildKey'
1993
+ property :build_value, as: 'buildValue'
1994
+ end
1995
+ end
1996
+
1884
1997
  class CancelJobRequest
1885
1998
  # @private
1886
1999
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2129,6 +2242,8 @@ module Google
2129
2242
  class ExecutionConfig
2130
2243
  # @private
2131
2244
  class Representation < Google::Apis::Core::JsonRepresentation
2245
+ property :authentication_config, as: 'authenticationConfig', class: Google::Apis::DataprocV1::AuthenticationConfig, decorator: Google::Apis::DataprocV1::AuthenticationConfig::Representation
2246
+
2132
2247
  property :idle_ttl, as: 'idleTtl'
2133
2248
  property :kms_key, as: 'kmsKey'
2134
2249
  collection :network_tags, as: 'networkTags'
@@ -2263,6 +2378,14 @@ module Google
2263
2378
  end
2264
2379
  end
2265
2380
 
2381
+ class FallbackReason
2382
+ # @private
2383
+ class Representation < Google::Apis::Core::JsonRepresentation
2384
+ property :fallback_node, as: 'fallbackNode'
2385
+ property :fallback_reason, as: 'fallbackReason'
2386
+ end
2387
+ end
2388
+
2266
2389
  class FlinkJob
2267
2390
  # @private
2268
2391
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2290,6 +2413,7 @@ module Google
2290
2413
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
2291
2414
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::DataprocV1::ReservationAffinity, decorator: Google::Apis::DataprocV1::ReservationAffinity::Representation
2292
2415
 
2416
+ hash :resource_manager_tags, as: 'resourceManagerTags'
2293
2417
  property :service_account, as: 'serviceAccount'
2294
2418
  collection :service_account_scopes, as: 'serviceAccountScopes'
2295
2419
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::DataprocV1::ShieldedInstanceConfig, decorator: Google::Apis::DataprocV1::ShieldedInstanceConfig::Representation
@@ -2860,6 +2984,28 @@ module Google
2860
2984
  end
2861
2985
  end
2862
2986
 
2987
+ class NativeBuildInfoUiData
2988
+ # @private
2989
+ class Representation < Google::Apis::Core::JsonRepresentation
2990
+ property :build_class, as: 'buildClass'
2991
+ collection :build_info, as: 'buildInfo', class: Google::Apis::DataprocV1::BuildInfo, decorator: Google::Apis::DataprocV1::BuildInfo::Representation
2992
+
2993
+ end
2994
+ end
2995
+
2996
+ class NativeSqlExecutionUiData
2997
+ # @private
2998
+ class Representation < Google::Apis::Core::JsonRepresentation
2999
+ property :description, as: 'description'
3000
+ property :execution_id, :numeric_string => true, as: 'executionId'
3001
+ property :fallback_description, as: 'fallbackDescription'
3002
+ collection :fallback_node_to_reason, as: 'fallbackNodeToReason', class: Google::Apis::DataprocV1::FallbackReason, decorator: Google::Apis::DataprocV1::FallbackReason::Representation
3003
+
3004
+ property :num_fallback_nodes, as: 'numFallbackNodes'
3005
+ property :num_native_nodes, as: 'numNativeNodes'
3006
+ end
3007
+ end
3008
+
2863
3009
  class NodeGroup
2864
3010
  # @private
2865
3011
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3333,6 +3479,15 @@ module Google
3333
3479
  end
3334
3480
  end
3335
3481
 
3482
+ class SearchSessionSparkApplicationNativeSqlQueriesResponse
3483
+ # @private
3484
+ class Representation < Google::Apis::Core::JsonRepresentation
3485
+ property :next_page_token, as: 'nextPageToken'
3486
+ collection :spark_application_native_sql_queries, as: 'sparkApplicationNativeSqlQueries', class: Google::Apis::DataprocV1::NativeSqlExecutionUiData, decorator: Google::Apis::DataprocV1::NativeSqlExecutionUiData::Representation
3487
+
3488
+ end
3489
+ end
3490
+
3336
3491
  class SearchSessionSparkApplicationSqlQueriesResponse
3337
3492
  # @private
3338
3493
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3405,6 +3560,15 @@ module Google
3405
3560
  end
3406
3561
  end
3407
3562
 
3563
+ class SearchSparkApplicationNativeSqlQueriesResponse
3564
+ # @private
3565
+ class Representation < Google::Apis::Core::JsonRepresentation
3566
+ property :next_page_token, as: 'nextPageToken'
3567
+ collection :spark_application_native_sql_queries, as: 'sparkApplicationNativeSqlQueries', class: Google::Apis::DataprocV1::NativeSqlExecutionUiData, decorator: Google::Apis::DataprocV1::NativeSqlExecutionUiData::Representation
3568
+
3569
+ end
3570
+ end
3571
+
3408
3572
  class SearchSparkApplicationSqlQueriesResponse
3409
3573
  # @private
3410
3574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3869,6 +4033,10 @@ module Google
3869
4033
 
3870
4034
  property :job_data, as: 'jobData', class: Google::Apis::DataprocV1::JobData, decorator: Google::Apis::DataprocV1::JobData::Representation
3871
4035
 
4036
+ property :native_build_info_ui_data, as: 'nativeBuildInfoUiData', class: Google::Apis::DataprocV1::NativeBuildInfoUiData, decorator: Google::Apis::DataprocV1::NativeBuildInfoUiData::Representation
4037
+
4038
+ property :native_sql_execution_ui_data, as: 'nativeSqlExecutionUiData', class: Google::Apis::DataprocV1::NativeSqlExecutionUiData, decorator: Google::Apis::DataprocV1::NativeSqlExecutionUiData::Representation
4039
+
3872
4040
  property :pool_data, as: 'poolData', class: Google::Apis::DataprocV1::PoolData, decorator: Google::Apis::DataprocV1::PoolData::Representation
3873
4041
 
3874
4042
  property :process_summary, as: 'processSummary', class: Google::Apis::DataprocV1::ProcessSummary, decorator: Google::Apis::DataprocV1::ProcessSummary::Representation
@@ -4441,7 +4609,9 @@ module Google
4441
4609
  property :accelerator_type, as: 'acceleratorType'
4442
4610
  property :milli_accelerator_seconds, :numeric_string => true, as: 'milliAcceleratorSeconds'
4443
4611
  property :milli_dcu_seconds, :numeric_string => true, as: 'milliDcuSeconds'
4612
+ property :milli_slot_seconds, :numeric_string => true, as: 'milliSlotSeconds'
4444
4613
  property :shuffle_storage_gb_seconds, :numeric_string => true, as: 'shuffleStorageGbSeconds'
4614
+ property :update_time, as: 'updateTime'
4445
4615
  end
4446
4616
  end
4447
4617
 
@@ -4452,6 +4622,7 @@ module Google
4452
4622
  property :milli_accelerator, :numeric_string => true, as: 'milliAccelerator'
4453
4623
  property :milli_dcu, :numeric_string => true, as: 'milliDcu'
4454
4624
  property :milli_dcu_premium, :numeric_string => true, as: 'milliDcuPremium'
4625
+ property :milli_slot, :numeric_string => true, as: 'milliSlot'
4455
4626
  property :shuffle_storage_gb, :numeric_string => true, as: 'shuffleStorageGb'
4456
4627
  property :shuffle_storage_gb_premium, :numeric_string => true, as: 'shuffleStorageGbPremium'
4457
4628
  property :snapshot_time, as: 'snapshotTime'
@@ -670,6 +670,80 @@ module Google
670
670
  execute_or_queue_command(command, &block)
671
671
  end
672
672
 
673
+ # Obtain build data for Native Job
674
+ # @param [String] name
675
+ # Required. The fully qualified name of the batch to retrieve in the format "
676
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/
677
+ # sparkApplications/APPLICATION_ID"
678
+ # @param [String] parent
679
+ # Required. Parent (Batch) resource reference.
680
+ # @param [String] fields
681
+ # Selector specifying which fields to include in a partial response.
682
+ # @param [String] quota_user
683
+ # Available to use for quota purposes for server-side applications. Can be any
684
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
685
+ # @param [Google::Apis::RequestOptions] options
686
+ # Request-specific options
687
+ #
688
+ # @yield [result, err] Result & error if block supplied
689
+ # @yieldparam result [Google::Apis::DataprocV1::AccessSparkApplicationNativeBuildInfoResponse] parsed result object
690
+ # @yieldparam err [StandardError] error object if request failed
691
+ #
692
+ # @return [Google::Apis::DataprocV1::AccessSparkApplicationNativeBuildInfoResponse]
693
+ #
694
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
695
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
696
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
697
+ def access_project_location_batch_spark_application_native_build_info(name, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
698
+ command = make_simple_command(:get, 'v1/{+name}:accessNativeBuildInfo', options)
699
+ command.response_representation = Google::Apis::DataprocV1::AccessSparkApplicationNativeBuildInfoResponse::Representation
700
+ command.response_class = Google::Apis::DataprocV1::AccessSparkApplicationNativeBuildInfoResponse
701
+ command.params['name'] = name unless name.nil?
702
+ command.query['parent'] = parent unless parent.nil?
703
+ command.query['fields'] = fields unless fields.nil?
704
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
705
+ execute_or_queue_command(command, &block)
706
+ end
707
+
708
+ # Obtain data corresponding to a particular Native SQL Query for a Spark
709
+ # Application.
710
+ # @param [String] name
711
+ # Required. The fully qualified name of the batch to retrieve in the format "
712
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/
713
+ # sparkApplications/APPLICATION_ID"
714
+ # @param [Fixnum] execution_id
715
+ # Required. Execution ID
716
+ # @param [String] parent
717
+ # Required. Parent (Batch) resource reference.
718
+ # @param [String] fields
719
+ # Selector specifying which fields to include in a partial response.
720
+ # @param [String] quota_user
721
+ # Available to use for quota purposes for server-side applications. Can be any
722
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
723
+ # @param [Google::Apis::RequestOptions] options
724
+ # Request-specific options
725
+ #
726
+ # @yield [result, err] Result & error if block supplied
727
+ # @yieldparam result [Google::Apis::DataprocV1::AccessSparkApplicationNativeSqlQueryResponse] parsed result object
728
+ # @yieldparam err [StandardError] error object if request failed
729
+ #
730
+ # @return [Google::Apis::DataprocV1::AccessSparkApplicationNativeSqlQueryResponse]
731
+ #
732
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
733
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
734
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
735
+ def access_project_location_batch_spark_application_native_sql_query(name, execution_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
736
+ command = make_simple_command(:get, 'v1/{+name}:accessNativeSqlQuery', options)
737
+ command.response_representation = Google::Apis::DataprocV1::AccessSparkApplicationNativeSqlQueryResponse::Representation
738
+ command.response_class = Google::Apis::DataprocV1::AccessSparkApplicationNativeSqlQueryResponse
739
+ command.params['name'] = name unless name.nil?
740
+ command.query['executionId'] = execution_id unless execution_id.nil?
741
+ command.query['parent'] = parent unless parent.nil?
742
+ command.query['fields'] = fields unless fields.nil?
743
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
744
+ execute_or_queue_command(command, &block)
745
+ end
746
+
673
747
  # Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the
674
748
  # number of clusters returned as part of the graph to 10000.
675
749
  # @param [String] name
@@ -1043,6 +1117,51 @@ module Google
1043
1117
  execute_or_queue_command(command, &block)
1044
1118
  end
1045
1119
 
1120
+ # Obtain data corresponding to Native SQL Queries for a Spark Application.
1121
+ # @param [String] name
1122
+ # Required. The fully qualified name of the batch to retrieve in the format "
1123
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/
1124
+ # sparkApplications/APPLICATION_ID"
1125
+ # @param [Fixnum] page_size
1126
+ # Optional. Maximum number of queries to return in each response. The service
1127
+ # may return fewer than this. The default page size is 10; the maximum page size
1128
+ # is 100.
1129
+ # @param [String] page_token
1130
+ # Optional. A page token received from a previous
1131
+ # SearchSparkApplicationNativeSqlQueries call. Provide this token to retrieve
1132
+ # the subsequent page.
1133
+ # @param [String] parent
1134
+ # Required. Parent (Batch) resource reference.
1135
+ # @param [String] fields
1136
+ # Selector specifying which fields to include in a partial response.
1137
+ # @param [String] quota_user
1138
+ # Available to use for quota purposes for server-side applications. Can be any
1139
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1140
+ # @param [Google::Apis::RequestOptions] options
1141
+ # Request-specific options
1142
+ #
1143
+ # @yield [result, err] Result & error if block supplied
1144
+ # @yieldparam result [Google::Apis::DataprocV1::SearchSparkApplicationNativeSqlQueriesResponse] parsed result object
1145
+ # @yieldparam err [StandardError] error object if request failed
1146
+ #
1147
+ # @return [Google::Apis::DataprocV1::SearchSparkApplicationNativeSqlQueriesResponse]
1148
+ #
1149
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1150
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1151
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1152
+ def search_project_location_batch_spark_application_native_sql_queries(name, page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
1153
+ command = make_simple_command(:get, 'v1/{+name}:searchNativeSqlQueries', options)
1154
+ command.response_representation = Google::Apis::DataprocV1::SearchSparkApplicationNativeSqlQueriesResponse::Representation
1155
+ command.response_class = Google::Apis::DataprocV1::SearchSparkApplicationNativeSqlQueriesResponse
1156
+ command.params['name'] = name unless name.nil?
1157
+ command.query['pageSize'] = page_size unless page_size.nil?
1158
+ command.query['pageToken'] = page_token unless page_token.nil?
1159
+ command.query['parent'] = parent unless parent.nil?
1160
+ command.query['fields'] = fields unless fields.nil?
1161
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1162
+ execute_or_queue_command(command, &block)
1163
+ end
1164
+
1046
1165
  # Obtain data corresponding to SQL Queries for a Spark Application.
1047
1166
  # @param [String] name
1048
1167
  # Required. The fully qualified name of the batch to retrieve in the format "
@@ -2062,6 +2181,80 @@ module Google
2062
2181
  execute_or_queue_command(command, &block)
2063
2182
  end
2064
2183
 
2184
+ # Obtain data corresponding to Native Build Information for a Spark Application.
2185
+ # @param [String] name
2186
+ # Required. The fully qualified name of the session to retrieve in the format "
2187
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/
2188
+ # sparkApplications/APPLICATION_ID"
2189
+ # @param [String] parent
2190
+ # Required. Parent (Session) resource reference.
2191
+ # @param [String] fields
2192
+ # Selector specifying which fields to include in a partial response.
2193
+ # @param [String] quota_user
2194
+ # Available to use for quota purposes for server-side applications. Can be any
2195
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2196
+ # @param [Google::Apis::RequestOptions] options
2197
+ # Request-specific options
2198
+ #
2199
+ # @yield [result, err] Result & error if block supplied
2200
+ # @yieldparam result [Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeBuildInfoResponse] parsed result object
2201
+ # @yieldparam err [StandardError] error object if request failed
2202
+ #
2203
+ # @return [Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeBuildInfoResponse]
2204
+ #
2205
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2206
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2207
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2208
+ def access_project_location_session_spark_application_native_build_info(name, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
2209
+ command = make_simple_command(:get, 'v1/{+name}:accessNativeBuildInfo', options)
2210
+ command.response_representation = Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeBuildInfoResponse::Representation
2211
+ command.response_class = Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeBuildInfoResponse
2212
+ command.params['name'] = name unless name.nil?
2213
+ command.query['parent'] = parent unless parent.nil?
2214
+ command.query['fields'] = fields unless fields.nil?
2215
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2216
+ execute_or_queue_command(command, &block)
2217
+ end
2218
+
2219
+ # Obtain data corresponding to a particular Native SQL Query for a Spark
2220
+ # Application.
2221
+ # @param [String] name
2222
+ # Required. The fully qualified name of the session to retrieve in the format "
2223
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/
2224
+ # sparkApplications/APPLICATION_ID"
2225
+ # @param [Fixnum] execution_id
2226
+ # Required. Execution ID
2227
+ # @param [String] parent
2228
+ # Required. Parent (Session) resource reference.
2229
+ # @param [String] fields
2230
+ # Selector specifying which fields to include in a partial response.
2231
+ # @param [String] quota_user
2232
+ # Available to use for quota purposes for server-side applications. Can be any
2233
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2234
+ # @param [Google::Apis::RequestOptions] options
2235
+ # Request-specific options
2236
+ #
2237
+ # @yield [result, err] Result & error if block supplied
2238
+ # @yieldparam result [Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeSqlQueryResponse] parsed result object
2239
+ # @yieldparam err [StandardError] error object if request failed
2240
+ #
2241
+ # @return [Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeSqlQueryResponse]
2242
+ #
2243
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2244
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2245
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2246
+ def access_project_location_session_spark_application_native_sql_query(name, execution_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
2247
+ command = make_simple_command(:get, 'v1/{+name}:accessNativeSqlQuery', options)
2248
+ command.response_representation = Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeSqlQueryResponse::Representation
2249
+ command.response_class = Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeSqlQueryResponse
2250
+ command.params['name'] = name unless name.nil?
2251
+ command.query['executionId'] = execution_id unless execution_id.nil?
2252
+ command.query['parent'] = parent unless parent.nil?
2253
+ command.query['fields'] = fields unless fields.nil?
2254
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2255
+ execute_or_queue_command(command, &block)
2256
+ end
2257
+
2065
2258
  # Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the
2066
2259
  # number of clusters returned as part of the graph to 10000.
2067
2260
  # @param [String] name
@@ -2436,6 +2629,51 @@ module Google
2436
2629
  execute_or_queue_command(command, &block)
2437
2630
  end
2438
2631
 
2632
+ # Obtain data corresponding to Native SQL Queries for a Spark Application.
2633
+ # @param [String] name
2634
+ # Required. The fully qualified name of the session to retrieve in the format "
2635
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/
2636
+ # sparkApplications/APPLICATION_ID"
2637
+ # @param [Fixnum] page_size
2638
+ # Optional. Maximum number of queries to return in each response. The service
2639
+ # may return fewer than this. The default page size is 10; the maximum page size
2640
+ # is 100.
2641
+ # @param [String] page_token
2642
+ # Optional. A page token received from a previous
2643
+ # SearchSessionSparkApplicationSqlQueries call. Provide this token to retrieve
2644
+ # the subsequent page.
2645
+ # @param [String] parent
2646
+ # Required. Parent (Session) resource reference.
2647
+ # @param [String] fields
2648
+ # Selector specifying which fields to include in a partial response.
2649
+ # @param [String] quota_user
2650
+ # Available to use for quota purposes for server-side applications. Can be any
2651
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2652
+ # @param [Google::Apis::RequestOptions] options
2653
+ # Request-specific options
2654
+ #
2655
+ # @yield [result, err] Result & error if block supplied
2656
+ # @yieldparam result [Google::Apis::DataprocV1::SearchSessionSparkApplicationNativeSqlQueriesResponse] parsed result object
2657
+ # @yieldparam err [StandardError] error object if request failed
2658
+ #
2659
+ # @return [Google::Apis::DataprocV1::SearchSessionSparkApplicationNativeSqlQueriesResponse]
2660
+ #
2661
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2662
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2663
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2664
+ def search_project_location_session_spark_application_native_sql_queries(name, page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
2665
+ command = make_simple_command(:get, 'v1/{+name}:searchNativeSqlQueries', options)
2666
+ command.response_representation = Google::Apis::DataprocV1::SearchSessionSparkApplicationNativeSqlQueriesResponse::Representation
2667
+ command.response_class = Google::Apis::DataprocV1::SearchSessionSparkApplicationNativeSqlQueriesResponse
2668
+ command.params['name'] = name unless name.nil?
2669
+ command.query['pageSize'] = page_size unless page_size.nil?
2670
+ command.query['pageToken'] = page_token unless page_token.nil?
2671
+ command.query['parent'] = parent unless parent.nil?
2672
+ command.query['fields'] = fields unless fields.nil?
2673
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2674
+ execute_or_queue_command(command, &block)
2675
+ end
2676
+
2439
2677
  # Obtain data corresponding to SQL Queries for a Spark Application.
2440
2678
  # @param [String] name
2441
2679
  # Required. The fully qualified name of the session to retrieve in the format "
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataproc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.74.0
4
+ version: 0.76.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-03 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.74.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.76.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.21
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Dataproc API V1
82
79
  test_files: []