google-apis-dataproc_v1 0.75.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: 9868f84e298d07fa45642e24d69c692ef3ea460939de704f316fc3b30d01bde0
4
- data.tar.gz: 38a9c8eca5dbe6d616de01b616347463c7ac8aa0630c015bab13e4e8acbb5baa
3
+ metadata.gz: 9d33df543b130db30b7bf16e94766a16a17708c90e95033ba64126b5c12fc1b3
4
+ data.tar.gz: 6a0e24b6725ea0c8aa5170e0aee073ab75e2f1307bdee2c1d089f69550c3269e
5
5
  SHA512:
6
- metadata.gz: d68c671cd9959b449d84d32e09892408ccad96b572ff6c6328eced6d62347a88cd6068ce9f584260ee4687feeeefd9da69c8512cf4948c44d4b33fcfed3db262
7
- data.tar.gz: d01fcf0203f7f001cea2a188a94f08c978041a6709aaa9694bb04139cb14d3fa0392c925a1e878850228a9ffd1e4605a8e8bd2615d368d5d8a2759d36d6b361d
6
+ metadata.gz: a4b2ba78ab194a747e55164e9f6bc835890358be52b2490e6c1435dcf58f47f6e585048fb9a10ac5cb8e4a086a910b80220f82084069743da5886c50c7c78bf7
7
+ data.tar.gz: 4fdb7f14f109f4d383a7430138fce688bd5f65e9f203a1f9f560f76a8f4119fc058fc1dcbed23d8ac7cd31f249ce423d68a9f195f2b14c1d613061fbf4794ddf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.75.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250207
@@ -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
@@ -2166,6 +2264,14 @@ module Google
2166
2264
  class ExecutionConfig
2167
2265
  include Google::Apis::Core::Hashable
2168
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
+
2169
2275
  # Optional. Applies to sessions only. The duration to keep the session alive
2170
2276
  # while it's idling. Exceeding this threshold causes the session to terminate.
2171
2277
  # This field cannot be set on a batch workload. Minimum value is 10 minutes;
@@ -2237,6 +2343,7 @@ module Google
2237
2343
 
2238
2344
  # Update properties of this object
2239
2345
  def update!(**args)
2346
+ @authentication_config = args[:authentication_config] if args.key?(:authentication_config)
2240
2347
  @idle_ttl = args[:idle_ttl] if args.key?(:idle_ttl)
2241
2348
  @kms_key = args[:kms_key] if args.key?(:kms_key)
2242
2349
  @network_tags = args[:network_tags] if args.key?(:network_tags)
@@ -2956,9 +3063,10 @@ module Google
2956
3063
  # @return [Google::Apis::DataprocV1::ReservationAffinity]
2957
3064
  attr_accessor :reservation_affinity
2958
3065
 
2959
- # Optional. Resource manager tags to add to all instances (see Resource manager
2960
- # tags resources (https://cloud.google.com/resource-manager/docs/tags/tags-
2961
- # creating-and-managing)).
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)).
2962
3070
  # Corresponds to the JSON property `resourceManagerTags`
2963
3071
  # @return [Hash<String,String>]
2964
3072
  attr_accessor :resource_manager_tags
@@ -5185,8 +5293,8 @@ module Google
5185
5293
  # source. For example, if one or more spark:executive metrics are listed as
5186
5294
  # metric overrides, other SPARK metrics are not collected. The collection of the
5187
5295
  # metrics for other enabled custom metric sources is unaffected. For example, if
5188
- # both SPARK andd YARN metric sources are enabled, and overrides are provided
5189
- # 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.
5190
5298
  # Corresponds to the JSON property `metricOverrides`
5191
5299
  # @return [Array<String>]
5192
5300
  attr_accessor :metric_overrides
@@ -7142,6 +7250,33 @@ module Google
7142
7250
  end
7143
7251
  end
7144
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
+
7145
7280
  # List of all queries for a Spark Application.
7146
7281
  class SearchSessionSparkApplicationSqlQueriesResponse
7147
7282
  include Google::Apis::Core::Hashable
@@ -7358,6 +7493,33 @@ module Google
7358
7493
  end
7359
7494
  end
7360
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
+
7361
7523
  # List of all queries for a Spark Application.
7362
7524
  class SearchSparkApplicationSqlQueriesResponse
7363
7525
  include Google::Apis::Core::Hashable
@@ -11291,12 +11453,22 @@ module Google
11291
11453
  # @return [Fixnum]
11292
11454
  attr_accessor :milli_dcu_seconds
11293
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
+
11294
11461
  # Optional. Shuffle storage usage in (GB x seconds) (see Dataproc Serverless
11295
11462
  # pricing (https://cloud.google.com/dataproc-serverless/pricing)).
11296
11463
  # Corresponds to the JSON property `shuffleStorageGbSeconds`
11297
11464
  # @return [Fixnum]
11298
11465
  attr_accessor :shuffle_storage_gb_seconds
11299
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
+
11300
11472
  def initialize(**args)
11301
11473
  update!(**args)
11302
11474
  end
@@ -11306,7 +11478,9 @@ module Google
11306
11478
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
11307
11479
  @milli_accelerator_seconds = args[:milli_accelerator_seconds] if args.key?(:milli_accelerator_seconds)
11308
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)
11309
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)
11310
11484
  end
11311
11485
  end
11312
11486
 
@@ -11339,6 +11513,11 @@ module Google
11339
11513
  # @return [Fixnum]
11340
11514
  attr_accessor :milli_dcu_premium
11341
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
+
11342
11521
  # Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing (
11343
11522
  # https://cloud.google.com/dataproc-serverless/pricing))
11344
11523
  # Corresponds to the JSON property `shuffleStorageGb`
@@ -11367,6 +11546,7 @@ module Google
11367
11546
  @milli_accelerator = args[:milli_accelerator] if args.key?(:milli_accelerator)
11368
11547
  @milli_dcu = args[:milli_dcu] if args.key?(:milli_dcu)
11369
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)
11370
11550
  @shuffle_storage_gb = args[:shuffle_storage_gb] if args.key?(:shuffle_storage_gb)
11371
11551
  @shuffle_storage_gb_premium = args[:shuffle_storage_gb_premium] if args.key?(:shuffle_storage_gb_premium)
11372
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.75.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250207"
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
 
@@ -982,6 +1012,12 @@ module Google
982
1012
  include Google::Apis::Core::JsonObjectSupport
983
1013
  end
984
1014
 
1015
+ class SearchSessionSparkApplicationNativeSqlQueriesResponse
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
985
1021
  class SearchSessionSparkApplicationSqlQueriesResponse
986
1022
  class Representation < Google::Apis::Core::JsonRepresentation; end
987
1023
 
@@ -1030,6 +1066,12 @@ module Google
1030
1066
  include Google::Apis::Core::JsonObjectSupport
1031
1067
  end
1032
1068
 
1069
+ class SearchSparkApplicationNativeSqlQueriesResponse
1070
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1071
+
1072
+ include Google::Apis::Core::JsonObjectSupport
1073
+ end
1074
+
1033
1075
  class SearchSparkApplicationSqlQueriesResponse
1034
1076
  class Representation < Google::Apis::Core::JsonRepresentation; end
1035
1077
 
@@ -1600,6 +1642,22 @@ module Google
1600
1642
  end
1601
1643
  end
1602
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
+
1603
1661
  class AccessSessionSparkApplicationResponse
1604
1662
  # @private
1605
1663
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1656,6 +1714,22 @@ module Google
1656
1714
  end
1657
1715
  end
1658
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
+
1659
1733
  class AccessSparkApplicationResponse
1660
1734
  # @private
1661
1735
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1780,6 +1854,13 @@ module Google
1780
1854
  end
1781
1855
  end
1782
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
+
1783
1864
  class AutoscalingConfig
1784
1865
  # @private
1785
1866
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2161,6 +2242,8 @@ module Google
2161
2242
  class ExecutionConfig
2162
2243
  # @private
2163
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
+
2164
2247
  property :idle_ttl, as: 'idleTtl'
2165
2248
  property :kms_key, as: 'kmsKey'
2166
2249
  collection :network_tags, as: 'networkTags'
@@ -3396,6 +3479,15 @@ module Google
3396
3479
  end
3397
3480
  end
3398
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
+
3399
3491
  class SearchSessionSparkApplicationSqlQueriesResponse
3400
3492
  # @private
3401
3493
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3468,6 +3560,15 @@ module Google
3468
3560
  end
3469
3561
  end
3470
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
+
3471
3572
  class SearchSparkApplicationSqlQueriesResponse
3472
3573
  # @private
3473
3574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4508,7 +4609,9 @@ module Google
4508
4609
  property :accelerator_type, as: 'acceleratorType'
4509
4610
  property :milli_accelerator_seconds, :numeric_string => true, as: 'milliAcceleratorSeconds'
4510
4611
  property :milli_dcu_seconds, :numeric_string => true, as: 'milliDcuSeconds'
4612
+ property :milli_slot_seconds, :numeric_string => true, as: 'milliSlotSeconds'
4511
4613
  property :shuffle_storage_gb_seconds, :numeric_string => true, as: 'shuffleStorageGbSeconds'
4614
+ property :update_time, as: 'updateTime'
4512
4615
  end
4513
4616
  end
4514
4617
 
@@ -4519,6 +4622,7 @@ module Google
4519
4622
  property :milli_accelerator, :numeric_string => true, as: 'milliAccelerator'
4520
4623
  property :milli_dcu, :numeric_string => true, as: 'milliDcu'
4521
4624
  property :milli_dcu_premium, :numeric_string => true, as: 'milliDcuPremium'
4625
+ property :milli_slot, :numeric_string => true, as: 'milliSlot'
4522
4626
  property :shuffle_storage_gb, :numeric_string => true, as: 'shuffleStorageGb'
4523
4627
  property :shuffle_storage_gb_premium, :numeric_string => true, as: 'shuffleStorageGbPremium'
4524
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,13 +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.75.0
4
+ version: 0.76.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.75.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.76.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1
62
62
  rdoc_options: []
63
63
  require_paths: