google-apis-dataproc_v1 0.97.0 → 0.98.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: 3ece10c4d37dd5f82f014f74a201630a06b2592b4e0b16ef98a12a7b26f5fbd5
4
- data.tar.gz: 18780b2cea1619fc86729c72176381cc93999a2136f236bae115dd44a2de5143
3
+ metadata.gz: ac1171bc717c60010489dfaa857e9604cd9b01e01dbbb310c7875754142a8db0
4
+ data.tar.gz: 20c3faeff5f95d82a59c5ce8f04a074ea08527a05778b10f46c8062e3bb01a82
5
5
  SHA512:
6
- metadata.gz: 6895619d33eaa0b3d14cef5143dfe1ae11fe24f052eddb88270d9324004a89b32fa53425b517af69fc96849d2cdf6a5f417fdb859b1d7096b758d9327633e8be
7
- data.tar.gz: ddb7e0fede99be1c614a47b21715fc0de17cf8f17b6b0932bcfa7ff530b499ab0138aa9c329b41733c540a7cb8c8cea659984a6e1c07c604044af03e369dd28b
6
+ metadata.gz: bc4f6629f5149ef8b5fcf0875672098fb7242111ff282b50efa1af589b9267d6d99b84c08990f151ff36d45462b1608ac6e12aada79d935dec552320f9d1c70c
7
+ data.tar.gz: de70c98c6defc497c2392326a82dd5ee3a42e9bb38ef97c9e3f1ed8482e544ba50d5a529410b273995df6eb7d1d6fb20d962cd8e47fae56fb3e202d32c34b466
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.98.0 (2026-07-26)
4
+
5
+ * Regenerated from discovery document revision 20260715
6
+
3
7
  ### v0.97.0 (2026-07-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20260625
@@ -95,6 +95,44 @@ module Google
95
95
  end
96
96
  end
97
97
 
98
+ # Details of a native build info for a Spark Application
99
+ class AccessSessionSparkApplicationNativeBuildInfoResponse
100
+ include Google::Apis::Core::Hashable
101
+
102
+ # Native SQL Execution Data
103
+ # Corresponds to the JSON property `executionData`
104
+ # @return [Google::Apis::DataprocV1::NativeBuildInfoUiData]
105
+ attr_accessor :execution_data
106
+
107
+ def initialize(**args)
108
+ update!(**args)
109
+ end
110
+
111
+ # Update properties of this object
112
+ def update!(**args)
113
+ @execution_data = args[:execution_data] if args.key?(:execution_data)
114
+ end
115
+ end
116
+
117
+ # Details of a native query for a Spark Application
118
+ class AccessSessionSparkApplicationNativeSqlQueryResponse
119
+ include Google::Apis::Core::Hashable
120
+
121
+ # Native SQL Execution Data
122
+ # Corresponds to the JSON property `executionData`
123
+ # @return [Google::Apis::DataprocV1::NativeSqlExecutionUiData]
124
+ attr_accessor :execution_data
125
+
126
+ def initialize(**args)
127
+ update!(**args)
128
+ end
129
+
130
+ # Update properties of this object
131
+ def update!(**args)
132
+ @execution_data = args[:execution_data] if args.key?(:execution_data)
133
+ end
134
+ end
135
+
98
136
  # A summary of Spark Application
99
137
  class AccessSessionSparkApplicationResponse
100
138
  include Google::Apis::Core::Hashable
@@ -230,6 +268,44 @@ module Google
230
268
  end
231
269
  end
232
270
 
271
+ # Details of Native Build Info for a Spark Application
272
+ class AccessSparkApplicationNativeBuildInfoResponse
273
+ include Google::Apis::Core::Hashable
274
+
275
+ # Native Build Info Data
276
+ # Corresponds to the JSON property `buildInfo`
277
+ # @return [Google::Apis::DataprocV1::NativeBuildInfoUiData]
278
+ attr_accessor :build_info
279
+
280
+ def initialize(**args)
281
+ update!(**args)
282
+ end
283
+
284
+ # Update properties of this object
285
+ def update!(**args)
286
+ @build_info = args[:build_info] if args.key?(:build_info)
287
+ end
288
+ end
289
+
290
+ # Details of a query for a Spark Application
291
+ class AccessSparkApplicationNativeSqlQueryResponse
292
+ include Google::Apis::Core::Hashable
293
+
294
+ # Native SQL Execution Data
295
+ # Corresponds to the JSON property `executionData`
296
+ # @return [Google::Apis::DataprocV1::NativeSqlExecutionUiData]
297
+ attr_accessor :execution_data
298
+
299
+ def initialize(**args)
300
+ update!(**args)
301
+ end
302
+
303
+ # Update properties of this object
304
+ def update!(**args)
305
+ @execution_data = args[:execution_data] if args.key?(:execution_data)
306
+ end
307
+ end
308
+
233
309
  # A summary of Spark Application
234
310
  class AccessSparkApplicationResponse
235
311
  include Google::Apis::Core::Hashable
@@ -710,6 +786,67 @@ module Google
710
786
  end
711
787
  end
712
788
 
789
+ # Metadata describing the Attachment operation.
790
+ class AttachmentOperationMetadata
791
+ include Google::Apis::Core::Hashable
792
+
793
+ # Output only. Name of the attachment for the operation.
794
+ # Corresponds to the JSON property `attachment`
795
+ # @return [String]
796
+ attr_accessor :attachment
797
+
798
+ # Output only. Attachment UUID for the operation.
799
+ # Corresponds to the JSON property `attachmentUuid`
800
+ # @return [String]
801
+ attr_accessor :attachment_uuid
802
+
803
+ # Output only. The time when the operation was created.
804
+ # Corresponds to the JSON property `createTime`
805
+ # @return [String]
806
+ attr_accessor :create_time
807
+
808
+ # Output only. Short description of the operation.
809
+ # Corresponds to the JSON property `description`
810
+ # @return [String]
811
+ attr_accessor :description
812
+
813
+ # Output only. The time when the operation finished.
814
+ # Corresponds to the JSON property `doneTime`
815
+ # @return [String]
816
+ attr_accessor :done_time
817
+
818
+ # Output only. Labels associated with the operation.
819
+ # Corresponds to the JSON property `labels`
820
+ # @return [Hash<String,String>]
821
+ attr_accessor :labels
822
+
823
+ # Output only. The operation type.
824
+ # Corresponds to the JSON property `operationType`
825
+ # @return [String]
826
+ attr_accessor :operation_type
827
+
828
+ # Output only. Warnings encountered during operation execution.
829
+ # Corresponds to the JSON property `warnings`
830
+ # @return [Array<String>]
831
+ attr_accessor :warnings
832
+
833
+ def initialize(**args)
834
+ update!(**args)
835
+ end
836
+
837
+ # Update properties of this object
838
+ def update!(**args)
839
+ @attachment = args[:attachment] if args.key?(:attachment)
840
+ @attachment_uuid = args[:attachment_uuid] if args.key?(:attachment_uuid)
841
+ @create_time = args[:create_time] if args.key?(:create_time)
842
+ @description = args[:description] if args.key?(:description)
843
+ @done_time = args[:done_time] if args.key?(:done_time)
844
+ @labels = args[:labels] if args.key?(:labels)
845
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
846
+ @warnings = args[:warnings] if args.key?(:warnings)
847
+ end
848
+ end
849
+
713
850
  # Authentication configuration for a workload is used to set the default
714
851
  # identity for the workload execution. The config specifies the type of identity
715
852
  # (service account or user) that will be used by workloads to access resources
@@ -1852,6 +1989,26 @@ module Google
1852
1989
  end
1853
1990
  end
1854
1991
 
1992
+ # Response for ComputeTuningConfig RPC.
1993
+ class ComputeTuningConfigResponse
1994
+ include Google::Apis::Core::Hashable
1995
+
1996
+ # Recommended Spark properties for the query (e.g., `"spark.sql.shuffle.
1997
+ # partitions": "500"`).
1998
+ # Corresponds to the JSON property `recommendedProperties`
1999
+ # @return [Hash<String,String>]
2000
+ attr_accessor :recommended_properties
2001
+
2002
+ def initialize(**args)
2003
+ update!(**args)
2004
+ end
2005
+
2006
+ # Update properties of this object
2007
+ def update!(**args)
2008
+ @recommended_properties = args[:recommended_properties] if args.key?(:recommended_properties)
2009
+ end
2010
+ end
2011
+
1855
2012
  # Confidential Instance Config for clusters using Confidential VMs (https://
1856
2013
  # cloud.google.com/confidential-computing/confidential-vm/docs)
1857
2014
  class ConfidentialInstanceConfig
@@ -3705,6 +3862,15 @@ module Google
3705
3862
  class IdentityConfig
3706
3863
  include Google::Apis::Core::Hashable
3707
3864
 
3865
+ # Optional. Whether to enable SSH access for the cluster. The default is true
3866
+ # for image versions prior to 3.1 and false for image versions 3.1 and later.
3867
+ # The default behavior can be changed when creating clusters using image
3868
+ # versions 2.3.30 and later.
3869
+ # Corresponds to the JSON property `enableSsh`
3870
+ # @return [Boolean]
3871
+ attr_accessor :enable_ssh
3872
+ alias_method :enable_ssh?, :enable_ssh
3873
+
3708
3874
  # Required. Map of user to service account.
3709
3875
  # Corresponds to the JSON property `userServiceAccountMapping`
3710
3876
  # @return [Hash<String,String>]
@@ -3716,6 +3882,7 @@ module Google
3716
3882
 
3717
3883
  # Update properties of this object
3718
3884
  def update!(**args)
3885
+ @enable_ssh = args[:enable_ssh] if args.key?(:enable_ssh)
3719
3886
  @user_service_account_mapping = args[:user_service_account_mapping] if args.key?(:user_service_account_mapping)
3720
3887
  end
3721
3888
  end
@@ -7479,6 +7646,33 @@ module Google
7479
7646
  end
7480
7647
  end
7481
7648
 
7649
+ # List of all Native queries for a Spark Application.
7650
+ class SearchSessionSparkApplicationNativeSqlQueriesResponse
7651
+ include Google::Apis::Core::Hashable
7652
+
7653
+ # This token is included in the response if there are more results to fetch. To
7654
+ # fetch additional results, provide this value as the page_token in a subsequent
7655
+ # SearchSessionSparkApplicationSqlQueriesRequest.
7656
+ # Corresponds to the JSON property `nextPageToken`
7657
+ # @return [String]
7658
+ attr_accessor :next_page_token
7659
+
7660
+ # Output only. Native SQL Execution Data
7661
+ # Corresponds to the JSON property `sparkApplicationNativeSqlQueries`
7662
+ # @return [Array<Google::Apis::DataprocV1::NativeSqlExecutionUiData>]
7663
+ attr_accessor :spark_application_native_sql_queries
7664
+
7665
+ def initialize(**args)
7666
+ update!(**args)
7667
+ end
7668
+
7669
+ # Update properties of this object
7670
+ def update!(**args)
7671
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7672
+ @spark_application_native_sql_queries = args[:spark_application_native_sql_queries] if args.key?(:spark_application_native_sql_queries)
7673
+ end
7674
+ end
7675
+
7482
7676
  # List of all queries for a Spark Application.
7483
7677
  class SearchSessionSparkApplicationSqlQueriesResponse
7484
7678
  include Google::Apis::Core::Hashable
@@ -7695,6 +7889,33 @@ module Google
7695
7889
  end
7696
7890
  end
7697
7891
 
7892
+ # List of all Native SQL queries details for a Spark Application.
7893
+ class SearchSparkApplicationNativeSqlQueriesResponse
7894
+ include Google::Apis::Core::Hashable
7895
+
7896
+ # This token is included in the response if there are more results to fetch. To
7897
+ # fetch additional results, provide this value as the page_token in a subsequent
7898
+ # SearchSparkApplicationNativeSqlQueriesRequest.
7899
+ # Corresponds to the JSON property `nextPageToken`
7900
+ # @return [String]
7901
+ attr_accessor :next_page_token
7902
+
7903
+ # Output only. Native SQL Execution Data
7904
+ # Corresponds to the JSON property `sparkApplicationNativeSqlQueries`
7905
+ # @return [Array<Google::Apis::DataprocV1::NativeSqlExecutionUiData>]
7906
+ attr_accessor :spark_application_native_sql_queries
7907
+
7908
+ def initialize(**args)
7909
+ update!(**args)
7910
+ end
7911
+
7912
+ # Update properties of this object
7913
+ def update!(**args)
7914
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7915
+ @spark_application_native_sql_queries = args[:spark_application_native_sql_queries] if args.key?(:spark_application_native_sql_queries)
7916
+ end
7917
+ end
7918
+
7698
7919
  # List of all queries for a Spark Application.
7699
7920
  class SearchSparkApplicationSqlQueriesResponse
7700
7921
  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.97.0"
19
+ GEM_VERSION = "0.98.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260625"
25
+ REVISION = "20260715"
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
 
@@ -160,6 +184,12 @@ module Google
160
184
  include Google::Apis::Core::JsonObjectSupport
161
185
  end
162
186
 
187
+ class AttachmentOperationMetadata
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
163
193
  class AuthenticationConfig
164
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
195
 
@@ -298,6 +328,12 @@ module Google
298
328
  include Google::Apis::Core::JsonObjectSupport
299
329
  end
300
330
 
331
+ class ComputeTuningConfigResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
301
337
  class ConfidentialInstanceConfig
302
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
339
 
@@ -1012,6 +1048,12 @@ module Google
1012
1048
  include Google::Apis::Core::JsonObjectSupport
1013
1049
  end
1014
1050
 
1051
+ class SearchSessionSparkApplicationNativeSqlQueriesResponse
1052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1053
+
1054
+ include Google::Apis::Core::JsonObjectSupport
1055
+ end
1056
+
1015
1057
  class SearchSessionSparkApplicationSqlQueriesResponse
1016
1058
  class Representation < Google::Apis::Core::JsonRepresentation; end
1017
1059
 
@@ -1060,6 +1102,12 @@ module Google
1060
1102
  include Google::Apis::Core::JsonObjectSupport
1061
1103
  end
1062
1104
 
1105
+ class SearchSparkApplicationNativeSqlQueriesResponse
1106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1107
+
1108
+ include Google::Apis::Core::JsonObjectSupport
1109
+ end
1110
+
1063
1111
  class SearchSparkApplicationSqlQueriesResponse
1064
1112
  class Representation < Google::Apis::Core::JsonRepresentation; end
1065
1113
 
@@ -1648,6 +1696,22 @@ module Google
1648
1696
  end
1649
1697
  end
1650
1698
 
1699
+ class AccessSessionSparkApplicationNativeBuildInfoResponse
1700
+ # @private
1701
+ class Representation < Google::Apis::Core::JsonRepresentation
1702
+ property :execution_data, as: 'executionData', class: Google::Apis::DataprocV1::NativeBuildInfoUiData, decorator: Google::Apis::DataprocV1::NativeBuildInfoUiData::Representation
1703
+
1704
+ end
1705
+ end
1706
+
1707
+ class AccessSessionSparkApplicationNativeSqlQueryResponse
1708
+ # @private
1709
+ class Representation < Google::Apis::Core::JsonRepresentation
1710
+ property :execution_data, as: 'executionData', class: Google::Apis::DataprocV1::NativeSqlExecutionUiData, decorator: Google::Apis::DataprocV1::NativeSqlExecutionUiData::Representation
1711
+
1712
+ end
1713
+ end
1714
+
1651
1715
  class AccessSessionSparkApplicationResponse
1652
1716
  # @private
1653
1717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1704,6 +1768,22 @@ module Google
1704
1768
  end
1705
1769
  end
1706
1770
 
1771
+ class AccessSparkApplicationNativeBuildInfoResponse
1772
+ # @private
1773
+ class Representation < Google::Apis::Core::JsonRepresentation
1774
+ property :build_info, as: 'buildInfo', class: Google::Apis::DataprocV1::NativeBuildInfoUiData, decorator: Google::Apis::DataprocV1::NativeBuildInfoUiData::Representation
1775
+
1776
+ end
1777
+ end
1778
+
1779
+ class AccessSparkApplicationNativeSqlQueryResponse
1780
+ # @private
1781
+ class Representation < Google::Apis::Core::JsonRepresentation
1782
+ property :execution_data, as: 'executionData', class: Google::Apis::DataprocV1::NativeSqlExecutionUiData, decorator: Google::Apis::DataprocV1::NativeSqlExecutionUiData::Representation
1783
+
1784
+ end
1785
+ end
1786
+
1707
1787
  class AccessSparkApplicationResponse
1708
1788
  # @private
1709
1789
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1839,6 +1919,20 @@ module Google
1839
1919
  end
1840
1920
  end
1841
1921
 
1922
+ class AttachmentOperationMetadata
1923
+ # @private
1924
+ class Representation < Google::Apis::Core::JsonRepresentation
1925
+ property :attachment, as: 'attachment'
1926
+ property :attachment_uuid, as: 'attachmentUuid'
1927
+ property :create_time, as: 'createTime'
1928
+ property :description, as: 'description'
1929
+ property :done_time, as: 'doneTime'
1930
+ hash :labels, as: 'labels'
1931
+ property :operation_type, as: 'operationType'
1932
+ collection :warnings, as: 'warnings'
1933
+ end
1934
+ end
1935
+
1842
1936
  class AuthenticationConfig
1843
1937
  # @private
1844
1938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2127,6 +2221,13 @@ module Google
2127
2221
  end
2128
2222
  end
2129
2223
 
2224
+ class ComputeTuningConfigResponse
2225
+ # @private
2226
+ class Representation < Google::Apis::Core::JsonRepresentation
2227
+ hash :recommended_properties, as: 'recommendedProperties'
2228
+ end
2229
+ end
2230
+
2130
2231
  class ConfidentialInstanceConfig
2131
2232
  # @private
2132
2233
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2546,6 +2647,7 @@ module Google
2546
2647
  class IdentityConfig
2547
2648
  # @private
2548
2649
  class Representation < Google::Apis::Core::JsonRepresentation
2650
+ property :enable_ssh, as: 'enableSsh'
2549
2651
  hash :user_service_account_mapping, as: 'userServiceAccountMapping'
2550
2652
  end
2551
2653
  end
@@ -3517,6 +3619,15 @@ module Google
3517
3619
  end
3518
3620
  end
3519
3621
 
3622
+ class SearchSessionSparkApplicationNativeSqlQueriesResponse
3623
+ # @private
3624
+ class Representation < Google::Apis::Core::JsonRepresentation
3625
+ property :next_page_token, as: 'nextPageToken'
3626
+ collection :spark_application_native_sql_queries, as: 'sparkApplicationNativeSqlQueries', class: Google::Apis::DataprocV1::NativeSqlExecutionUiData, decorator: Google::Apis::DataprocV1::NativeSqlExecutionUiData::Representation
3627
+
3628
+ end
3629
+ end
3630
+
3520
3631
  class SearchSessionSparkApplicationSqlQueriesResponse
3521
3632
  # @private
3522
3633
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3589,6 +3700,15 @@ module Google
3589
3700
  end
3590
3701
  end
3591
3702
 
3703
+ class SearchSparkApplicationNativeSqlQueriesResponse
3704
+ # @private
3705
+ class Representation < Google::Apis::Core::JsonRepresentation
3706
+ property :next_page_token, as: 'nextPageToken'
3707
+ collection :spark_application_native_sql_queries, as: 'sparkApplicationNativeSqlQueries', class: Google::Apis::DataprocV1::NativeSqlExecutionUiData, decorator: Google::Apis::DataprocV1::NativeSqlExecutionUiData::Representation
3708
+
3709
+ end
3710
+ end
3711
+
3592
3712
  class SearchSparkApplicationSqlQueriesResponse
3593
3713
  # @private
3594
3714
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -668,6 +668,80 @@ module Google
668
668
  execute_or_queue_command(command, &block)
669
669
  end
670
670
 
671
+ # Obtain build data for Native Job
672
+ # @param [String] name
673
+ # Required. The fully qualified name of the batch to retrieve in the format "
674
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/
675
+ # sparkApplications/APPLICATION_ID"
676
+ # @param [String] parent
677
+ # Required. Parent (Batch) resource reference.
678
+ # @param [String] fields
679
+ # Selector specifying which fields to include in a partial response.
680
+ # @param [String] quota_user
681
+ # Available to use for quota purposes for server-side applications. Can be any
682
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
683
+ # @param [Google::Apis::RequestOptions] options
684
+ # Request-specific options
685
+ #
686
+ # @yield [result, err] Result & error if block supplied
687
+ # @yieldparam result [Google::Apis::DataprocV1::AccessSparkApplicationNativeBuildInfoResponse] parsed result object
688
+ # @yieldparam err [StandardError] error object if request failed
689
+ #
690
+ # @return [Google::Apis::DataprocV1::AccessSparkApplicationNativeBuildInfoResponse]
691
+ #
692
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
693
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
694
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
695
+ def access_project_location_batch_spark_application_native_build_info(name, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
696
+ command = make_simple_command(:get, 'v1/{+name}:accessNativeBuildInfo', options)
697
+ command.response_representation = Google::Apis::DataprocV1::AccessSparkApplicationNativeBuildInfoResponse::Representation
698
+ command.response_class = Google::Apis::DataprocV1::AccessSparkApplicationNativeBuildInfoResponse
699
+ command.params['name'] = name unless name.nil?
700
+ command.query['parent'] = parent unless parent.nil?
701
+ command.query['fields'] = fields unless fields.nil?
702
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
703
+ execute_or_queue_command(command, &block)
704
+ end
705
+
706
+ # Obtain data corresponding to a particular Native SQL Query for a Spark
707
+ # Application.
708
+ # @param [String] name
709
+ # Required. The fully qualified name of the batch to retrieve in the format "
710
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/
711
+ # sparkApplications/APPLICATION_ID"
712
+ # @param [Fixnum] execution_id
713
+ # Required. Execution ID
714
+ # @param [String] parent
715
+ # Required. Parent (Batch) resource reference.
716
+ # @param [String] fields
717
+ # Selector specifying which fields to include in a partial response.
718
+ # @param [String] quota_user
719
+ # Available to use for quota purposes for server-side applications. Can be any
720
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
721
+ # @param [Google::Apis::RequestOptions] options
722
+ # Request-specific options
723
+ #
724
+ # @yield [result, err] Result & error if block supplied
725
+ # @yieldparam result [Google::Apis::DataprocV1::AccessSparkApplicationNativeSqlQueryResponse] parsed result object
726
+ # @yieldparam err [StandardError] error object if request failed
727
+ #
728
+ # @return [Google::Apis::DataprocV1::AccessSparkApplicationNativeSqlQueryResponse]
729
+ #
730
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
731
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
732
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
733
+ def access_project_location_batch_spark_application_native_sql_query(name, execution_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
734
+ command = make_simple_command(:get, 'v1/{+name}:accessNativeSqlQuery', options)
735
+ command.response_representation = Google::Apis::DataprocV1::AccessSparkApplicationNativeSqlQueryResponse::Representation
736
+ command.response_class = Google::Apis::DataprocV1::AccessSparkApplicationNativeSqlQueryResponse
737
+ command.params['name'] = name unless name.nil?
738
+ command.query['executionId'] = execution_id unless execution_id.nil?
739
+ command.query['parent'] = parent unless parent.nil?
740
+ command.query['fields'] = fields unless fields.nil?
741
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
742
+ execute_or_queue_command(command, &block)
743
+ end
744
+
671
745
  # Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the
672
746
  # number of clusters returned as part of the graph to 10000.
673
747
  # @param [String] name
@@ -838,6 +912,48 @@ module Google
838
912
  execute_or_queue_command(command, &block)
839
913
  end
840
914
 
915
+ # Returns autotuning configuration for a specific query plan id and cohort id.
916
+ # Called by Spark during query planning.
917
+ # @param [String] name
918
+ # Required. The fully qualified name of the spark application to retrieve
919
+ # autotuning configuration for in the format "projects/PROJECT_ID/locations/
920
+ # DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID"
921
+ # @param [Fixnum] execution_id
922
+ # Required. Spark execution ID for the query.
923
+ # @param [String] parent
924
+ # Required. Parent (Batch) resource reference.
925
+ # @param [String] semantic_query_id
926
+ # Required. Spark semantic query ID.
927
+ # @param [String] fields
928
+ # Selector specifying which fields to include in a partial response.
929
+ # @param [String] quota_user
930
+ # Available to use for quota purposes for server-side applications. Can be any
931
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
932
+ # @param [Google::Apis::RequestOptions] options
933
+ # Request-specific options
934
+ #
935
+ # @yield [result, err] Result & error if block supplied
936
+ # @yieldparam result [Google::Apis::DataprocV1::ComputeTuningConfigResponse] parsed result object
937
+ # @yieldparam err [StandardError] error object if request failed
938
+ #
939
+ # @return [Google::Apis::DataprocV1::ComputeTuningConfigResponse]
940
+ #
941
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
942
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
943
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
944
+ def compute_project_location_batch_spark_application_tuning_config(name, execution_id: nil, parent: nil, semantic_query_id: nil, fields: nil, quota_user: nil, options: nil, &block)
945
+ command = make_simple_command(:get, 'v1/{+name}:computeTuningConfig', options)
946
+ command.response_representation = Google::Apis::DataprocV1::ComputeTuningConfigResponse::Representation
947
+ command.response_class = Google::Apis::DataprocV1::ComputeTuningConfigResponse
948
+ command.params['name'] = name unless name.nil?
949
+ command.query['executionId'] = execution_id unless execution_id.nil?
950
+ command.query['parent'] = parent unless parent.nil?
951
+ command.query['semanticQueryId'] = semantic_query_id unless semantic_query_id.nil?
952
+ command.query['fields'] = fields unless fields.nil?
953
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
954
+ execute_or_queue_command(command, &block)
955
+ end
956
+
841
957
  # Obtain high level information and list of Spark Applications corresponding to
842
958
  # a batch
843
959
  # @param [String] parent
@@ -1041,6 +1157,51 @@ module Google
1041
1157
  execute_or_queue_command(command, &block)
1042
1158
  end
1043
1159
 
1160
+ # Obtain data corresponding to Native SQL Queries for a Spark Application.
1161
+ # @param [String] name
1162
+ # Required. The fully qualified name of the batch to retrieve in the format "
1163
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/
1164
+ # sparkApplications/APPLICATION_ID"
1165
+ # @param [Fixnum] page_size
1166
+ # Optional. Maximum number of queries to return in each response. The service
1167
+ # may return fewer than this. The default page size is 10; the maximum page size
1168
+ # is 100.
1169
+ # @param [String] page_token
1170
+ # Optional. A page token received from a previous
1171
+ # SearchSparkApplicationNativeSqlQueries call. Provide this token to retrieve
1172
+ # the subsequent page.
1173
+ # @param [String] parent
1174
+ # Required. Parent (Batch) resource reference.
1175
+ # @param [String] fields
1176
+ # Selector specifying which fields to include in a partial response.
1177
+ # @param [String] quota_user
1178
+ # Available to use for quota purposes for server-side applications. Can be any
1179
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1180
+ # @param [Google::Apis::RequestOptions] options
1181
+ # Request-specific options
1182
+ #
1183
+ # @yield [result, err] Result & error if block supplied
1184
+ # @yieldparam result [Google::Apis::DataprocV1::SearchSparkApplicationNativeSqlQueriesResponse] parsed result object
1185
+ # @yieldparam err [StandardError] error object if request failed
1186
+ #
1187
+ # @return [Google::Apis::DataprocV1::SearchSparkApplicationNativeSqlQueriesResponse]
1188
+ #
1189
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1190
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1191
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1192
+ 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)
1193
+ command = make_simple_command(:get, 'v1/{+name}:searchNativeSqlQueries', options)
1194
+ command.response_representation = Google::Apis::DataprocV1::SearchSparkApplicationNativeSqlQueriesResponse::Representation
1195
+ command.response_class = Google::Apis::DataprocV1::SearchSparkApplicationNativeSqlQueriesResponse
1196
+ command.params['name'] = name unless name.nil?
1197
+ command.query['pageSize'] = page_size unless page_size.nil?
1198
+ command.query['pageToken'] = page_token unless page_token.nil?
1199
+ command.query['parent'] = parent unless parent.nil?
1200
+ command.query['fields'] = fields unless fields.nil?
1201
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1202
+ execute_or_queue_command(command, &block)
1203
+ end
1204
+
1044
1205
  # Obtain data corresponding to SQL Queries for a Spark Application.
1045
1206
  # @param [String] name
1046
1207
  # Required. The fully qualified name of the batch to retrieve in the format "
@@ -2069,6 +2230,80 @@ module Google
2069
2230
  execute_or_queue_command(command, &block)
2070
2231
  end
2071
2232
 
2233
+ # Obtain data corresponding to Native Build Information for a Spark Application.
2234
+ # @param [String] name
2235
+ # Required. The fully qualified name of the session to retrieve in the format "
2236
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/
2237
+ # sparkApplications/APPLICATION_ID"
2238
+ # @param [String] parent
2239
+ # Required. Parent (Session) resource reference.
2240
+ # @param [String] fields
2241
+ # Selector specifying which fields to include in a partial response.
2242
+ # @param [String] quota_user
2243
+ # Available to use for quota purposes for server-side applications. Can be any
2244
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2245
+ # @param [Google::Apis::RequestOptions] options
2246
+ # Request-specific options
2247
+ #
2248
+ # @yield [result, err] Result & error if block supplied
2249
+ # @yieldparam result [Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeBuildInfoResponse] parsed result object
2250
+ # @yieldparam err [StandardError] error object if request failed
2251
+ #
2252
+ # @return [Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeBuildInfoResponse]
2253
+ #
2254
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2255
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2256
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2257
+ def access_project_location_session_spark_application_native_build_info(name, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
2258
+ command = make_simple_command(:get, 'v1/{+name}:accessNativeBuildInfo', options)
2259
+ command.response_representation = Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeBuildInfoResponse::Representation
2260
+ command.response_class = Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeBuildInfoResponse
2261
+ command.params['name'] = name unless name.nil?
2262
+ command.query['parent'] = parent unless parent.nil?
2263
+ command.query['fields'] = fields unless fields.nil?
2264
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2265
+ execute_or_queue_command(command, &block)
2266
+ end
2267
+
2268
+ # Obtain data corresponding to a particular Native SQL Query for a Spark
2269
+ # Application.
2270
+ # @param [String] name
2271
+ # Required. The fully qualified name of the session to retrieve in the format "
2272
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/
2273
+ # sparkApplications/APPLICATION_ID"
2274
+ # @param [Fixnum] execution_id
2275
+ # Required. Execution ID
2276
+ # @param [String] parent
2277
+ # Required. Parent (Session) resource reference.
2278
+ # @param [String] fields
2279
+ # Selector specifying which fields to include in a partial response.
2280
+ # @param [String] quota_user
2281
+ # Available to use for quota purposes for server-side applications. Can be any
2282
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2283
+ # @param [Google::Apis::RequestOptions] options
2284
+ # Request-specific options
2285
+ #
2286
+ # @yield [result, err] Result & error if block supplied
2287
+ # @yieldparam result [Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeSqlQueryResponse] parsed result object
2288
+ # @yieldparam err [StandardError] error object if request failed
2289
+ #
2290
+ # @return [Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeSqlQueryResponse]
2291
+ #
2292
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2293
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2294
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2295
+ def access_project_location_session_spark_application_native_sql_query(name, execution_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
2296
+ command = make_simple_command(:get, 'v1/{+name}:accessNativeSqlQuery', options)
2297
+ command.response_representation = Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeSqlQueryResponse::Representation
2298
+ command.response_class = Google::Apis::DataprocV1::AccessSessionSparkApplicationNativeSqlQueryResponse
2299
+ command.params['name'] = name unless name.nil?
2300
+ command.query['executionId'] = execution_id unless execution_id.nil?
2301
+ command.query['parent'] = parent unless parent.nil?
2302
+ command.query['fields'] = fields unless fields.nil?
2303
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2304
+ execute_or_queue_command(command, &block)
2305
+ end
2306
+
2072
2307
  # Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the
2073
2308
  # number of clusters returned as part of the graph to 10000.
2074
2309
  # @param [String] name
@@ -2446,6 +2681,51 @@ module Google
2446
2681
  execute_or_queue_command(command, &block)
2447
2682
  end
2448
2683
 
2684
+ # Obtain data corresponding to Native SQL Queries for a Spark Application.
2685
+ # @param [String] name
2686
+ # Required. The fully qualified name of the session to retrieve in the format "
2687
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/
2688
+ # sparkApplications/APPLICATION_ID"
2689
+ # @param [Fixnum] page_size
2690
+ # Optional. Maximum number of queries to return in each response. The service
2691
+ # may return fewer than this. The default page size is 10; the maximum page size
2692
+ # is 100.
2693
+ # @param [String] page_token
2694
+ # Optional. A page token received from a previous
2695
+ # SearchSessionSparkApplicationSqlQueries call. Provide this token to retrieve
2696
+ # the subsequent page.
2697
+ # @param [String] parent
2698
+ # Required. Parent (Session) resource reference.
2699
+ # @param [String] fields
2700
+ # Selector specifying which fields to include in a partial response.
2701
+ # @param [String] quota_user
2702
+ # Available to use for quota purposes for server-side applications. Can be any
2703
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2704
+ # @param [Google::Apis::RequestOptions] options
2705
+ # Request-specific options
2706
+ #
2707
+ # @yield [result, err] Result & error if block supplied
2708
+ # @yieldparam result [Google::Apis::DataprocV1::SearchSessionSparkApplicationNativeSqlQueriesResponse] parsed result object
2709
+ # @yieldparam err [StandardError] error object if request failed
2710
+ #
2711
+ # @return [Google::Apis::DataprocV1::SearchSessionSparkApplicationNativeSqlQueriesResponse]
2712
+ #
2713
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2714
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2715
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2716
+ 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)
2717
+ command = make_simple_command(:get, 'v1/{+name}:searchNativeSqlQueries', options)
2718
+ command.response_representation = Google::Apis::DataprocV1::SearchSessionSparkApplicationNativeSqlQueriesResponse::Representation
2719
+ command.response_class = Google::Apis::DataprocV1::SearchSessionSparkApplicationNativeSqlQueriesResponse
2720
+ command.params['name'] = name unless name.nil?
2721
+ command.query['pageSize'] = page_size unless page_size.nil?
2722
+ command.query['pageToken'] = page_token unless page_token.nil?
2723
+ command.query['parent'] = parent unless parent.nil?
2724
+ command.query['fields'] = fields unless fields.nil?
2725
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2726
+ execute_or_queue_command(command, &block)
2727
+ end
2728
+
2449
2729
  # Obtain data corresponding to SQL Queries for a Spark Application.
2450
2730
  # @param [String] name
2451
2731
  # Required. The fully qualified name of the session to retrieve in the format "
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataproc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.97.0
4
+ version: 0.98.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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.97.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.98.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: