google-apis-dataproc_v1 0.34.0 → 0.35.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b29ef42ed3ce3d6dd4662e4db63c629b56502b108c3048e5c7d6832e339178a9
|
4
|
+
data.tar.gz: bbabbd2c177c8f8945f58f13ad89750b9a7b9aa60a829a9cd7e6e99cc7111643
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41d29cb979d52fb15744d90792d8bf95afa9db6a8347cd3b8b173d3e4469c16baf1905ae5301195062e587343b16a4476d0598cc0b4271c229f63c166e9cbd8e
|
7
|
+
data.tar.gz: ae3d913afa0dfcb6a387568947da4288125ebce90e5a6acda89e1ef65b9696ddf3f4fa18d871f51a34cff8c8f0603c4dbdcf642108b260db0fac213888216844
|
data/CHANGELOG.md
CHANGED
@@ -1203,10 +1203,10 @@ module Google
|
|
1203
1203
|
class ExecutionConfig
|
1204
1204
|
include Google::Apis::Core::Hashable
|
1205
1205
|
|
1206
|
-
# Optional. The duration to keep the
|
1207
|
-
#
|
1208
|
-
#
|
1209
|
-
#
|
1206
|
+
# Optional. The duration to keep the session alive while it's idling. Passing
|
1207
|
+
# this threshold will cause the session to be terminated. Minimum value is 30
|
1208
|
+
# minutes; maximum value is 14 days (see JSON representation of Duration (https:/
|
1209
|
+
# /developers.google.com/protocol-buffers/docs/proto3#json)).
|
1210
1210
|
# Corresponds to the JSON property `idleTtl`
|
1211
1211
|
# @return [String]
|
1212
1212
|
attr_accessor :idle_ttl
|
@@ -2266,6 +2266,14 @@ module Google
|
|
2266
2266
|
# @return [Array<Google::Apis::DataprocV1::JobStatus>]
|
2267
2267
|
attr_accessor :status_history
|
2268
2268
|
|
2269
|
+
# A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The
|
2270
|
+
# Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/
|
2271
|
+
# concepts/components/trino) must be enabled when the cluster is created to
|
2272
|
+
# submit a Trino job to the cluster.
|
2273
|
+
# Corresponds to the JSON property `trinoJob`
|
2274
|
+
# @return [Google::Apis::DataprocV1::TrinoJob]
|
2275
|
+
attr_accessor :trino_job
|
2276
|
+
|
2269
2277
|
# Output only. The collection of YARN applications spun up by this job.Beta
|
2270
2278
|
# Feature: This report is available for testing purposes only. It may be changed
|
2271
2279
|
# before final release.
|
@@ -2297,6 +2305,7 @@ module Google
|
|
2297
2305
|
@spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
|
2298
2306
|
@status = args[:status] if args.key?(:status)
|
2299
2307
|
@status_history = args[:status_history] if args.key?(:status_history)
|
2308
|
+
@trino_job = args[:trino_job] if args.key?(:trino_job)
|
2300
2309
|
@yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications)
|
2301
2310
|
end
|
2302
2311
|
end
|
@@ -3275,6 +3284,14 @@ module Google
|
|
3275
3284
|
# @return [String]
|
3276
3285
|
attr_accessor :step_id
|
3277
3286
|
|
3287
|
+
# A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The
|
3288
|
+
# Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/
|
3289
|
+
# concepts/components/trino) must be enabled when the cluster is created to
|
3290
|
+
# submit a Trino job to the cluster.
|
3291
|
+
# Corresponds to the JSON property `trinoJob`
|
3292
|
+
# @return [Google::Apis::DataprocV1::TrinoJob]
|
3293
|
+
attr_accessor :trino_job
|
3294
|
+
|
3278
3295
|
def initialize(**args)
|
3279
3296
|
update!(**args)
|
3280
3297
|
end
|
@@ -3293,6 +3310,7 @@ module Google
|
|
3293
3310
|
@spark_r_job = args[:spark_r_job] if args.key?(:spark_r_job)
|
3294
3311
|
@spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
|
3295
3312
|
@step_id = args[:step_id] if args.key?(:step_id)
|
3313
|
+
@trino_job = args[:trino_job] if args.key?(:trino_job)
|
3296
3314
|
end
|
3297
3315
|
end
|
3298
3316
|
|
@@ -4772,6 +4790,70 @@ module Google
|
|
4772
4790
|
end
|
4773
4791
|
end
|
4774
4792
|
|
4793
|
+
# A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The
|
4794
|
+
# Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/
|
4795
|
+
# concepts/components/trino) must be enabled when the cluster is created to
|
4796
|
+
# submit a Trino job to the cluster.
|
4797
|
+
class TrinoJob
|
4798
|
+
include Google::Apis::Core::Hashable
|
4799
|
+
|
4800
|
+
# Optional. Trino client tags to attach to this query
|
4801
|
+
# Corresponds to the JSON property `clientTags`
|
4802
|
+
# @return [Array<String>]
|
4803
|
+
attr_accessor :client_tags
|
4804
|
+
|
4805
|
+
# Optional. Whether to continue executing queries if a query fails. The default
|
4806
|
+
# value is false. Setting to true can be useful when executing independent
|
4807
|
+
# parallel queries.
|
4808
|
+
# Corresponds to the JSON property `continueOnFailure`
|
4809
|
+
# @return [Boolean]
|
4810
|
+
attr_accessor :continue_on_failure
|
4811
|
+
alias_method :continue_on_failure?, :continue_on_failure
|
4812
|
+
|
4813
|
+
# The runtime logging config of the job.
|
4814
|
+
# Corresponds to the JSON property `loggingConfig`
|
4815
|
+
# @return [Google::Apis::DataprocV1::LoggingConfig]
|
4816
|
+
attr_accessor :logging_config
|
4817
|
+
|
4818
|
+
# Optional. The format in which query output will be displayed. See the Trino
|
4819
|
+
# documentation for supported output formats
|
4820
|
+
# Corresponds to the JSON property `outputFormat`
|
4821
|
+
# @return [String]
|
4822
|
+
attr_accessor :output_format
|
4823
|
+
|
4824
|
+
# Optional. A mapping of property names to values. Used to set Trino session
|
4825
|
+
# properties (https://trino.io/docs/current/sql/set-session.html) Equivalent to
|
4826
|
+
# using the --session flag in the Trino CLI
|
4827
|
+
# Corresponds to the JSON property `properties`
|
4828
|
+
# @return [Hash<String,String>]
|
4829
|
+
attr_accessor :properties
|
4830
|
+
|
4831
|
+
# The HCFS URI of the script that contains SQL queries.
|
4832
|
+
# Corresponds to the JSON property `queryFileUri`
|
4833
|
+
# @return [String]
|
4834
|
+
attr_accessor :query_file_uri
|
4835
|
+
|
4836
|
+
# A list of queries to run on a cluster.
|
4837
|
+
# Corresponds to the JSON property `queryList`
|
4838
|
+
# @return [Google::Apis::DataprocV1::QueryList]
|
4839
|
+
attr_accessor :query_list
|
4840
|
+
|
4841
|
+
def initialize(**args)
|
4842
|
+
update!(**args)
|
4843
|
+
end
|
4844
|
+
|
4845
|
+
# Update properties of this object
|
4846
|
+
def update!(**args)
|
4847
|
+
@client_tags = args[:client_tags] if args.key?(:client_tags)
|
4848
|
+
@continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure)
|
4849
|
+
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
4850
|
+
@output_format = args[:output_format] if args.key?(:output_format)
|
4851
|
+
@properties = args[:properties] if args.key?(:properties)
|
4852
|
+
@query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri)
|
4853
|
+
@query_list = args[:query_list] if args.key?(:query_list)
|
4854
|
+
end
|
4855
|
+
end
|
4856
|
+
|
4775
4857
|
# Validation based on a list of allowed values.
|
4776
4858
|
class ValueValidation
|
4777
4859
|
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.
|
19
|
+
GEM_VERSION = "0.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220824"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -664,6 +664,12 @@ module Google
|
|
664
664
|
include Google::Apis::Core::JsonObjectSupport
|
665
665
|
end
|
666
666
|
|
667
|
+
class TrinoJob
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
|
+
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
671
|
+
end
|
672
|
+
|
667
673
|
class ValueValidation
|
668
674
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
675
|
|
@@ -1271,6 +1277,8 @@ module Google
|
|
1271
1277
|
|
1272
1278
|
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
|
1273
1279
|
|
1280
|
+
property :trino_job, as: 'trinoJob', class: Google::Apis::DataprocV1::TrinoJob, decorator: Google::Apis::DataprocV1::TrinoJob::Representation
|
1281
|
+
|
1274
1282
|
collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
|
1275
1283
|
|
1276
1284
|
end
|
@@ -1534,6 +1542,8 @@ module Google
|
|
1534
1542
|
property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
|
1535
1543
|
|
1536
1544
|
property :step_id, as: 'stepId'
|
1545
|
+
property :trino_job, as: 'trinoJob', class: Google::Apis::DataprocV1::TrinoJob, decorator: Google::Apis::DataprocV1::TrinoJob::Representation
|
1546
|
+
|
1537
1547
|
end
|
1538
1548
|
end
|
1539
1549
|
|
@@ -1885,6 +1895,21 @@ module Google
|
|
1885
1895
|
end
|
1886
1896
|
end
|
1887
1897
|
|
1898
|
+
class TrinoJob
|
1899
|
+
# @private
|
1900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1901
|
+
collection :client_tags, as: 'clientTags'
|
1902
|
+
property :continue_on_failure, as: 'continueOnFailure'
|
1903
|
+
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
1904
|
+
|
1905
|
+
property :output_format, as: 'outputFormat'
|
1906
|
+
hash :properties, as: 'properties'
|
1907
|
+
property :query_file_uri, as: 'queryFileUri'
|
1908
|
+
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
|
1909
|
+
|
1910
|
+
end
|
1911
|
+
end
|
1912
|
+
|
1888
1913
|
class ValueValidation
|
1889
1914
|
# @private
|
1890
1915
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dataproc_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.35.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|