google-apis-dataproc_v1 0.32.0 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/dataproc_v1/classes.rb +104 -9
- data/lib/google/apis/dataproc_v1/gem_version.rb +2 -2
- data/lib/google/apis/dataproc_v1/representations.rb +26 -0
- metadata +3 -3
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
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2022-08-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220824
|
6
|
+
|
7
|
+
### v0.34.0 (2022-08-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220814
|
10
|
+
|
11
|
+
### v0.33.0 (2022-08-10)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220804
|
14
|
+
|
3
15
|
### v0.32.0 (2022-07-28)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220726
|
@@ -486,15 +486,19 @@ module Google
|
|
486
486
|
# authenticated with a Google account or a service account. user:`emailid`: An
|
487
487
|
# email address that represents a specific Google account. For example, alice@
|
488
488
|
# example.com . serviceAccount:`emailid`: An email address that represents a
|
489
|
-
# service account. For example, my-other-app@appspot.gserviceaccount.com.
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
489
|
+
# Google service account. For example, my-other-app@appspot.gserviceaccount.com.
|
490
|
+
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]: An
|
491
|
+
# identifier for a Kubernetes service account (https://cloud.google.com/
|
492
|
+
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-
|
493
|
+
# project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:`emailid`: An email
|
494
|
+
# address that represents a Google group. For example, admins@example.com.
|
495
|
+
# deleted:user:`emailid`?uid=`uniqueid`: An email address (plus unique
|
496
|
+
# identifier) representing a user that has been recently deleted. For example,
|
497
|
+
# alice@example.com?uid=123456789012345678901. If the user is recovered, this
|
498
|
+
# value reverts to user:`emailid` and the recovered user retains the role in the
|
499
|
+
# binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email address (
|
500
|
+
# plus unique identifier) representing a service account that has been recently
|
501
|
+
# deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
|
498
502
|
# 123456789012345678901. If the service account is undeleted, this value reverts
|
499
503
|
# to serviceAccount:`emailid` and the undeleted service account retains the role
|
500
504
|
# in the binding. deleted:group:`emailid`?uid=`uniqueid`: An email address (plus
|
@@ -1199,6 +1203,14 @@ module Google
|
|
1199
1203
|
class ExecutionConfig
|
1200
1204
|
include Google::Apis::Core::Hashable
|
1201
1205
|
|
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
|
+
# Corresponds to the JSON property `idleTtl`
|
1211
|
+
# @return [String]
|
1212
|
+
attr_accessor :idle_ttl
|
1213
|
+
|
1202
1214
|
# Optional. The Cloud KMS key to use for encryption.
|
1203
1215
|
# Corresponds to the JSON property `kmsKey`
|
1204
1216
|
# @return [String]
|
@@ -1230,6 +1242,7 @@ module Google
|
|
1230
1242
|
|
1231
1243
|
# Update properties of this object
|
1232
1244
|
def update!(**args)
|
1245
|
+
@idle_ttl = args[:idle_ttl] if args.key?(:idle_ttl)
|
1233
1246
|
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
1234
1247
|
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
1235
1248
|
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
@@ -2253,6 +2266,14 @@ module Google
|
|
2253
2266
|
# @return [Array<Google::Apis::DataprocV1::JobStatus>]
|
2254
2267
|
attr_accessor :status_history
|
2255
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
|
+
|
2256
2277
|
# Output only. The collection of YARN applications spun up by this job.Beta
|
2257
2278
|
# Feature: This report is available for testing purposes only. It may be changed
|
2258
2279
|
# before final release.
|
@@ -2284,6 +2305,7 @@ module Google
|
|
2284
2305
|
@spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
|
2285
2306
|
@status = args[:status] if args.key?(:status)
|
2286
2307
|
@status_history = args[:status_history] if args.key?(:status_history)
|
2308
|
+
@trino_job = args[:trino_job] if args.key?(:trino_job)
|
2287
2309
|
@yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications)
|
2288
2310
|
end
|
2289
2311
|
end
|
@@ -3262,6 +3284,14 @@ module Google
|
|
3262
3284
|
# @return [String]
|
3263
3285
|
attr_accessor :step_id
|
3264
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
|
+
|
3265
3295
|
def initialize(**args)
|
3266
3296
|
update!(**args)
|
3267
3297
|
end
|
@@ -3280,6 +3310,7 @@ module Google
|
|
3280
3310
|
@spark_r_job = args[:spark_r_job] if args.key?(:spark_r_job)
|
3281
3311
|
@spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
|
3282
3312
|
@step_id = args[:step_id] if args.key?(:step_id)
|
3313
|
+
@trino_job = args[:trino_job] if args.key?(:trino_job)
|
3283
3314
|
end
|
3284
3315
|
end
|
3285
3316
|
|
@@ -4759,6 +4790,70 @@ module Google
|
|
4759
4790
|
end
|
4760
4791
|
end
|
4761
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
|
+
|
4762
4857
|
# Validation based on a list of allowed values.
|
4763
4858
|
class ValueValidation
|
4764
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
|
|
@@ -1025,6 +1031,7 @@ module Google
|
|
1025
1031
|
class ExecutionConfig
|
1026
1032
|
# @private
|
1027
1033
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1034
|
+
property :idle_ttl, as: 'idleTtl'
|
1028
1035
|
property :kms_key, as: 'kmsKey'
|
1029
1036
|
collection :network_tags, as: 'networkTags'
|
1030
1037
|
property :network_uri, as: 'networkUri'
|
@@ -1270,6 +1277,8 @@ module Google
|
|
1270
1277
|
|
1271
1278
|
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
|
1272
1279
|
|
1280
|
+
property :trino_job, as: 'trinoJob', class: Google::Apis::DataprocV1::TrinoJob, decorator: Google::Apis::DataprocV1::TrinoJob::Representation
|
1281
|
+
|
1273
1282
|
collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
|
1274
1283
|
|
1275
1284
|
end
|
@@ -1533,6 +1542,8 @@ module Google
|
|
1533
1542
|
property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
|
1534
1543
|
|
1535
1544
|
property :step_id, as: 'stepId'
|
1545
|
+
property :trino_job, as: 'trinoJob', class: Google::Apis::DataprocV1::TrinoJob, decorator: Google::Apis::DataprocV1::TrinoJob::Representation
|
1546
|
+
|
1536
1547
|
end
|
1537
1548
|
end
|
1538
1549
|
|
@@ -1884,6 +1895,21 @@ module Google
|
|
1884
1895
|
end
|
1885
1896
|
end
|
1886
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
|
+
|
1887
1913
|
class ValueValidation
|
1888
1914
|
# @private
|
1889
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: []
|