google-apis-dataproc_v1 0.76.0 → 0.78.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: 9d33df543b130db30b7bf16e94766a16a17708c90e95033ba64126b5c12fc1b3
4
- data.tar.gz: 6a0e24b6725ea0c8aa5170e0aee073ab75e2f1307bdee2c1d089f69550c3269e
3
+ metadata.gz: 32f7ab2b09dda6fc0de18c3b17b7a500033ac3d272db4739e707b09b3f74eaf6
4
+ data.tar.gz: 93405175c90702d13a85bca770c943e862062d5f07ef86542f0dfa80512cb0b2
5
5
  SHA512:
6
- metadata.gz: a4b2ba78ab194a747e55164e9f6bc835890358be52b2490e6c1435dcf58f47f6e585048fb9a10ac5cb8e4a086a910b80220f82084069743da5886c50c7c78bf7
7
- data.tar.gz: 4fdb7f14f109f4d383a7430138fce688bd5f65e9f203a1f9f560f76a8f4119fc058fc1dcbed23d8ac7cd31f249ce423d68a9f195f2b14c1d613061fbf4794ddf
6
+ metadata.gz: 0ac15b5f5ec6b253afdfd2160f9afba3599930b1848ce226bfecf4ea127e2f34ce0c9faa855417f28d5a68a36e217a8f3c88ea6c19500081627aa89a771a4005
7
+ data.tar.gz: 0e2c577de95f4bd739b5eae82f38988a9241d78eb39c39c06a44c1619f87d7930c5bbeddeebeb4b2cc1c123208268fe2b183b3c04d8d6e6d9fa6299cec9a3c37
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.78.0 (2025-05-25)
4
+
5
+ * Regenerated from discovery document revision 20250513
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.77.0 (2025-05-04)
9
+
10
+ * Regenerated using generator version 0.17.0
11
+
3
12
  ### v0.76.0 (2025-03-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20250315
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/dataproc/) may provide guid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -96,44 +96,6 @@ 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
-
137
99
  # A summary of Spark Application
138
100
  class AccessSessionSparkApplicationResponse
139
101
  include Google::Apis::Core::Hashable
@@ -269,44 +231,6 @@ module Google
269
231
  end
270
232
  end
271
233
 
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
-
310
234
  # A summary of Spark Application
311
235
  class AccessSparkApplicationResponse
312
236
  include Google::Apis::Core::Hashable
@@ -794,6 +718,12 @@ module Google
794
718
  # @return [Google::Apis::DataprocV1::BasicAutoscalingAlgorithm]
795
719
  attr_accessor :basic_algorithm
796
720
 
721
+ # Optional. The type of the clusters for which this autoscaling policy is to be
722
+ # configured.
723
+ # Corresponds to the JSON property `clusterType`
724
+ # @return [String]
725
+ attr_accessor :cluster_type
726
+
797
727
  # Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (
798
728
  # 0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or
799
729
  # hyphen. Must consist of between 3 and 50 characters.
@@ -841,6 +771,7 @@ module Google
841
771
  # Update properties of this object
842
772
  def update!(**args)
843
773
  @basic_algorithm = args[:basic_algorithm] if args.key?(:basic_algorithm)
774
+ @cluster_type = args[:cluster_type] if args.key?(:cluster_type)
844
775
  @id = args[:id] if args.key?(:id)
845
776
  @labels = args[:labels] if args.key?(:labels)
846
777
  @name = args[:name] if args.key?(:name)
@@ -1439,6 +1370,11 @@ module Google
1439
1370
  # @return [Array<Google::Apis::DataprocV1::AuxiliaryNodeGroup>]
1440
1371
  attr_accessor :auxiliary_node_groups
1441
1372
 
1373
+ # Optional. The type of the cluster.
1374
+ # Corresponds to the JSON property `clusterType`
1375
+ # @return [String]
1376
+ attr_accessor :cluster_type
1377
+
1442
1378
  # Optional. A Cloud Storage bucket used to stage job dependencies, config files,
1443
1379
  # and job driver console output. If you do not specify a staging bucket, Cloud
1444
1380
  # Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your
@@ -1549,6 +1485,7 @@ module Google
1549
1485
  def update!(**args)
1550
1486
  @autoscaling_config = args[:autoscaling_config] if args.key?(:autoscaling_config)
1551
1487
  @auxiliary_node_groups = args[:auxiliary_node_groups] if args.key?(:auxiliary_node_groups)
1488
+ @cluster_type = args[:cluster_type] if args.key?(:cluster_type)
1552
1489
  @config_bucket = args[:config_bucket] if args.key?(:config_bucket)
1553
1490
  @dataproc_metric_config = args[:dataproc_metric_config] if args.key?(:dataproc_metric_config)
1554
1491
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
@@ -2056,7 +1993,8 @@ module Google
2056
1993
  end
2057
1994
  end
2058
1995
 
2059
- # Specifies the config of disk options for a group of VM instances.
1996
+ # Specifies the config of boot disk and attached disk options for a group of VM
1997
+ # instances.
2060
1998
  class DiskConfig
2061
1999
  include Google::Apis::Core::Hashable
2062
2000
 
@@ -3813,7 +3751,8 @@ module Google
3813
3751
  # @return [Array<Google::Apis::DataprocV1::AcceleratorConfig>]
3814
3752
  attr_accessor :accelerators
3815
3753
 
3816
- # Specifies the config of disk options for a group of VM instances.
3754
+ # Specifies the config of boot disk and attached disk options for a group of VM
3755
+ # instances.
3817
3756
  # Corresponds to the JSON property `diskConfig`
3818
3757
  # @return [Google::Apis::DataprocV1::DiskConfig]
3819
3758
  attr_accessor :disk_config
@@ -4866,6 +4805,22 @@ module Google
4866
4805
  # @return [String]
4867
4806
  attr_accessor :auto_delete_ttl
4868
4807
 
4808
+ # Optional. The time when cluster will be auto-stopped (see JSON representation
4809
+ # of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json))
4810
+ # .
4811
+ # Corresponds to the JSON property `autoStopTime`
4812
+ # @return [String]
4813
+ attr_accessor :auto_stop_time
4814
+
4815
+ # Optional. The lifetime duration of the cluster. The cluster will be auto-
4816
+ # stopped at the end of this period, calculated from the time of submission of
4817
+ # the create or update cluster request. Minimum value is 10 minutes; maximum
4818
+ # value is 14 days (see JSON representation of Duration (https://developers.
4819
+ # google.com/protocol-buffers/docs/proto3#json)).
4820
+ # Corresponds to the JSON property `autoStopTtl`
4821
+ # @return [String]
4822
+ attr_accessor :auto_stop_ttl
4823
+
4869
4824
  # Optional. The duration to keep the cluster alive while idling (when no jobs
4870
4825
  # are running). Passing this threshold will cause the cluster to be deleted.
4871
4826
  # Minimum value is 5 minutes; maximum value is 14 days (see JSON representation
@@ -4881,6 +4836,14 @@ module Google
4881
4836
  # @return [String]
4882
4837
  attr_accessor :idle_start_time
4883
4838
 
4839
+ # Optional. The duration to keep the cluster started while idling (when no jobs
4840
+ # are running). Passing this threshold will cause the cluster to be stopped.
4841
+ # Minimum value is 5 minutes; maximum value is 14 days (see JSON representation
4842
+ # of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
4843
+ # Corresponds to the JSON property `idleStopTtl`
4844
+ # @return [String]
4845
+ attr_accessor :idle_stop_ttl
4846
+
4884
4847
  def initialize(**args)
4885
4848
  update!(**args)
4886
4849
  end
@@ -4889,8 +4852,11 @@ module Google
4889
4852
  def update!(**args)
4890
4853
  @auto_delete_time = args[:auto_delete_time] if args.key?(:auto_delete_time)
4891
4854
  @auto_delete_ttl = args[:auto_delete_ttl] if args.key?(:auto_delete_ttl)
4855
+ @auto_stop_time = args[:auto_stop_time] if args.key?(:auto_stop_time)
4856
+ @auto_stop_ttl = args[:auto_stop_ttl] if args.key?(:auto_stop_ttl)
4892
4857
  @idle_delete_ttl = args[:idle_delete_ttl] if args.key?(:idle_delete_ttl)
4893
4858
  @idle_start_time = args[:idle_start_time] if args.key?(:idle_start_time)
4859
+ @idle_stop_ttl = args[:idle_stop_ttl] if args.key?(:idle_stop_ttl)
4894
4860
  end
4895
4861
  end
4896
4862
 
@@ -6196,6 +6162,25 @@ module Google
6196
6162
  end
6197
6163
  end
6198
6164
 
6165
+ # Properties of the workload organized by origin.
6166
+ class PropertiesInfo
6167
+ include Google::Apis::Core::Hashable
6168
+
6169
+ # Output only. Properties set by autotuning engine.
6170
+ # Corresponds to the JSON property `autotuningProperties`
6171
+ # @return [Hash<String,Google::Apis::DataprocV1::ValueInfo>]
6172
+ attr_accessor :autotuning_properties
6173
+
6174
+ def initialize(**args)
6175
+ update!(**args)
6176
+ end
6177
+
6178
+ # Update properties of this object
6179
+ def update!(**args)
6180
+ @autotuning_properties = args[:autotuning_properties] if args.key?(:autotuning_properties)
6181
+ end
6182
+ end
6183
+
6199
6184
  # Defines how Dataproc should create VMs with a mixture of provisioning models.
6200
6185
  class ProvisioningModelMix
6201
6186
  include Google::Apis::Core::Hashable
@@ -7155,6 +7140,11 @@ module Google
7155
7140
  # @return [String]
7156
7141
  attr_accessor :output_uri
7157
7142
 
7143
+ # Properties of the workload organized by origin.
7144
+ # Corresponds to the JSON property `propertiesInfo`
7145
+ # @return [Google::Apis::DataprocV1::PropertiesInfo]
7146
+ attr_accessor :properties_info
7147
+
7158
7148
  def initialize(**args)
7159
7149
  update!(**args)
7160
7150
  end
@@ -7166,6 +7156,7 @@ module Google
7166
7156
  @diagnostic_output_uri = args[:diagnostic_output_uri] if args.key?(:diagnostic_output_uri)
7167
7157
  @endpoints = args[:endpoints] if args.key?(:endpoints)
7168
7158
  @output_uri = args[:output_uri] if args.key?(:output_uri)
7159
+ @properties_info = args[:properties_info] if args.key?(:properties_info)
7169
7160
  end
7170
7161
  end
7171
7162
 
@@ -7250,33 +7241,6 @@ module Google
7250
7241
  end
7251
7242
  end
7252
7243
 
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
-
7280
7244
  # List of all queries for a Spark Application.
7281
7245
  class SearchSessionSparkApplicationSqlQueriesResponse
7282
7246
  include Google::Apis::Core::Hashable
@@ -7493,33 +7457,6 @@ module Google
7493
7457
  end
7494
7458
  end
7495
7459
 
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
-
7523
7460
  # List of all queries for a Spark Application.
7524
7461
  class SearchSparkApplicationSqlQueriesResponse
7525
7462
  include Google::Apis::Core::Hashable
@@ -11553,6 +11490,37 @@ module Google
11553
11490
  end
11554
11491
  end
11555
11492
 
11493
+ # Annotatated property value.
11494
+ class ValueInfo
11495
+ include Google::Apis::Core::Hashable
11496
+
11497
+ # Annotation, comment or explanation why the property was set.
11498
+ # Corresponds to the JSON property `annotation`
11499
+ # @return [String]
11500
+ attr_accessor :annotation
11501
+
11502
+ # Optional. Value which was replaced by the corresponding component.
11503
+ # Corresponds to the JSON property `overriddenValue`
11504
+ # @return [String]
11505
+ attr_accessor :overridden_value
11506
+
11507
+ # Property value.
11508
+ # Corresponds to the JSON property `value`
11509
+ # @return [String]
11510
+ attr_accessor :value
11511
+
11512
+ def initialize(**args)
11513
+ update!(**args)
11514
+ end
11515
+
11516
+ # Update properties of this object
11517
+ def update!(**args)
11518
+ @annotation = args[:annotation] if args.key?(:annotation)
11519
+ @overridden_value = args[:overridden_value] if args.key?(:overridden_value)
11520
+ @value = args[:value] if args.key?(:value)
11521
+ end
11522
+ end
11523
+
11556
11524
  # Validation based on a list of allowed values.
11557
11525
  class ValueValidation
11558
11526
  include Google::Apis::Core::Hashable
@@ -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.76.0"
19
+ GEM_VERSION = "0.78.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250315"
25
+ REVISION = "20250513"
26
26
  end
27
27
  end
28
28
  end
@@ -40,18 +40,6 @@ 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
-
55
43
  class AccessSessionSparkApplicationResponse
56
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
45
 
@@ -94,18 +82,6 @@ module Google
94
82
  include Google::Apis::Core::JsonObjectSupport
95
83
  end
96
84
 
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
-
109
85
  class AccessSparkApplicationResponse
110
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
87
 
@@ -856,6 +832,12 @@ module Google
856
832
  include Google::Apis::Core::JsonObjectSupport
857
833
  end
858
834
 
835
+ class PropertiesInfo
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
859
841
  class ProvisioningModelMix
860
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
861
843
 
@@ -1012,12 +994,6 @@ module Google
1012
994
  include Google::Apis::Core::JsonObjectSupport
1013
995
  end
1014
996
 
1015
- class SearchSessionSparkApplicationNativeSqlQueriesResponse
1016
- class Representation < Google::Apis::Core::JsonRepresentation; end
1017
-
1018
- include Google::Apis::Core::JsonObjectSupport
1019
- end
1020
-
1021
997
  class SearchSessionSparkApplicationSqlQueriesResponse
1022
998
  class Representation < Google::Apis::Core::JsonRepresentation; end
1023
999
 
@@ -1066,12 +1042,6 @@ module Google
1066
1042
  include Google::Apis::Core::JsonObjectSupport
1067
1043
  end
1068
1044
 
1069
- class SearchSparkApplicationNativeSqlQueriesResponse
1070
- class Representation < Google::Apis::Core::JsonRepresentation; end
1071
-
1072
- include Google::Apis::Core::JsonObjectSupport
1073
- end
1074
-
1075
1045
  class SearchSparkApplicationSqlQueriesResponse
1076
1046
  class Representation < Google::Apis::Core::JsonRepresentation; end
1077
1047
 
@@ -1546,6 +1516,12 @@ module Google
1546
1516
  include Google::Apis::Core::JsonObjectSupport
1547
1517
  end
1548
1518
 
1519
+ class ValueInfo
1520
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1521
+
1522
+ include Google::Apis::Core::JsonObjectSupport
1523
+ end
1524
+
1549
1525
  class ValueValidation
1550
1526
  class Representation < Google::Apis::Core::JsonRepresentation; end
1551
1527
 
@@ -1642,22 +1618,6 @@ module Google
1642
1618
  end
1643
1619
  end
1644
1620
 
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
-
1661
1621
  class AccessSessionSparkApplicationResponse
1662
1622
  # @private
1663
1623
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1714,22 +1674,6 @@ module Google
1714
1674
  end
1715
1675
  end
1716
1676
 
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
-
1733
1677
  class AccessSparkApplicationResponse
1734
1678
  # @private
1735
1679
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1873,6 +1817,7 @@ module Google
1873
1817
  class Representation < Google::Apis::Core::JsonRepresentation
1874
1818
  property :basic_algorithm, as: 'basicAlgorithm', class: Google::Apis::DataprocV1::BasicAutoscalingAlgorithm, decorator: Google::Apis::DataprocV1::BasicAutoscalingAlgorithm::Representation
1875
1819
 
1820
+ property :cluster_type, as: 'clusterType'
1876
1821
  property :id, as: 'id'
1877
1822
  hash :labels, as: 'labels'
1878
1823
  property :name, as: 'name'
@@ -2027,6 +1972,7 @@ module Google
2027
1972
 
2028
1973
  collection :auxiliary_node_groups, as: 'auxiliaryNodeGroups', class: Google::Apis::DataprocV1::AuxiliaryNodeGroup, decorator: Google::Apis::DataprocV1::AuxiliaryNodeGroup::Representation
2029
1974
 
1975
+ property :cluster_type, as: 'clusterType'
2030
1976
  property :config_bucket, as: 'configBucket'
2031
1977
  property :dataproc_metric_config, as: 'dataprocMetricConfig', class: Google::Apis::DataprocV1::DataprocMetricConfig, decorator: Google::Apis::DataprocV1::DataprocMetricConfig::Representation
2032
1978
 
@@ -2845,8 +2791,11 @@ module Google
2845
2791
  class Representation < Google::Apis::Core::JsonRepresentation
2846
2792
  property :auto_delete_time, as: 'autoDeleteTime'
2847
2793
  property :auto_delete_ttl, as: 'autoDeleteTtl'
2794
+ property :auto_stop_time, as: 'autoStopTime'
2795
+ property :auto_stop_ttl, as: 'autoStopTtl'
2848
2796
  property :idle_delete_ttl, as: 'idleDeleteTtl'
2849
2797
  property :idle_start_time, as: 'idleStartTime'
2798
+ property :idle_stop_ttl, as: 'idleStopTtl'
2850
2799
  end
2851
2800
  end
2852
2801
 
@@ -3198,6 +3147,14 @@ module Google
3198
3147
  end
3199
3148
  end
3200
3149
 
3150
+ class PropertiesInfo
3151
+ # @private
3152
+ class Representation < Google::Apis::Core::JsonRepresentation
3153
+ hash :autotuning_properties, as: 'autotuningProperties', class: Google::Apis::DataprocV1::ValueInfo, decorator: Google::Apis::DataprocV1::ValueInfo::Representation
3154
+
3155
+ end
3156
+ end
3157
+
3201
3158
  class ProvisioningModelMix
3202
3159
  # @private
3203
3160
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3449,6 +3406,8 @@ module Google
3449
3406
  property :diagnostic_output_uri, as: 'diagnosticOutputUri'
3450
3407
  hash :endpoints, as: 'endpoints'
3451
3408
  property :output_uri, as: 'outputUri'
3409
+ property :properties_info, as: 'propertiesInfo', class: Google::Apis::DataprocV1::PropertiesInfo, decorator: Google::Apis::DataprocV1::PropertiesInfo::Representation
3410
+
3452
3411
  end
3453
3412
  end
3454
3413
 
@@ -3479,15 +3438,6 @@ module Google
3479
3438
  end
3480
3439
  end
3481
3440
 
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
-
3491
3441
  class SearchSessionSparkApplicationSqlQueriesResponse
3492
3442
  # @private
3493
3443
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3560,15 +3510,6 @@ module Google
3560
3510
  end
3561
3511
  end
3562
3512
 
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
-
3572
3513
  class SearchSparkApplicationSqlQueriesResponse
3573
3514
  # @private
3574
3515
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4629,6 +4570,15 @@ module Google
4629
4570
  end
4630
4571
  end
4631
4572
 
4573
+ class ValueInfo
4574
+ # @private
4575
+ class Representation < Google::Apis::Core::JsonRepresentation
4576
+ property :annotation, as: 'annotation'
4577
+ property :overridden_value, as: 'overriddenValue'
4578
+ property :value, as: 'value'
4579
+ end
4580
+ end
4581
+
4632
4582
  class ValueValidation
4633
4583
  # @private
4634
4584
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -670,80 +670,6 @@ 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
-
747
673
  # Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the
748
674
  # number of clusters returned as part of the graph to 10000.
749
675
  # @param [String] name
@@ -1117,51 +1043,6 @@ module Google
1117
1043
  execute_or_queue_command(command, &block)
1118
1044
  end
1119
1045
 
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
-
1165
1046
  # Obtain data corresponding to SQL Queries for a Spark Application.
1166
1047
  # @param [String] name
1167
1048
  # Required. The fully qualified name of the batch to retrieve in the format "
@@ -2181,80 +2062,6 @@ module Google
2181
2062
  execute_or_queue_command(command, &block)
2182
2063
  end
2183
2064
 
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
-
2258
2065
  # Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the
2259
2066
  # number of clusters returned as part of the graph to 10000.
2260
2067
  # @param [String] name
@@ -2629,51 +2436,6 @@ module Google
2629
2436
  execute_or_queue_command(command, &block)
2630
2437
  end
2631
2438
 
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
-
2677
2439
  # Obtain data corresponding to SQL Queries for a Spark Application.
2678
2440
  # @param [String] name
2679
2441
  # 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.76.0
4
+ version: 0.78.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 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.76.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.78.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Dataproc API V1
79
79
  test_files: []