google-apis-dataproc_v1 0.56.0 → 0.58.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: 92983eff91ad1c0499abe73d3ec3061db236d420823f624c2d0b0e33cdd59605
|
4
|
+
data.tar.gz: 253b02e05ae313b90e7dd0285433b5c390e55a92a3664c12c26ffceb99988d32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4abdff2993701269ab4f5ad6129f1549c44d0e2aa3d75564082db73d3a2b419c11deacd5fa102be1c0064bb54bb21ade4ed77c2d9a722e7510eaf1858e14d0ee
|
7
|
+
data.tar.gz: a84639b7c532eee0bc343e2ed7db6268161e407f69578d8d88b336d2dab5bdeff0f9ca004c91ba6a749f98b6b235ebe3fb67a6988026ab5b9757d0bf6592b34d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.58.0 (2023-10-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231019
|
6
|
+
|
7
|
+
### v0.57.0 (2023-10-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231002
|
10
|
+
|
3
11
|
### v0.56.0 (2023-10-01)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230926
|
@@ -1940,6 +1940,25 @@ module Google
|
|
1940
1940
|
end
|
1941
1941
|
end
|
1942
1942
|
|
1943
|
+
# Encryption settings for the encrypting customer core content. NEXT ID: 2
|
1944
|
+
class GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig
|
1945
|
+
include Google::Apis::Core::Hashable
|
1946
|
+
|
1947
|
+
# Optional. The Cloud KMS key name to use for encrypting customer core content.
|
1948
|
+
# Corresponds to the JSON property `kmsKey`
|
1949
|
+
# @return [String]
|
1950
|
+
attr_accessor :kms_key
|
1951
|
+
|
1952
|
+
def initialize(**args)
|
1953
|
+
update!(**args)
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
# Update properties of this object
|
1957
|
+
def update!(**args)
|
1958
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
1959
|
+
end
|
1960
|
+
end
|
1961
|
+
|
1943
1962
|
# A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/
|
1944
1963
|
# docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
|
1945
1964
|
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
|
@@ -3298,6 +3317,13 @@ module Google
|
|
3298
3317
|
# @return [Array<Google::Apis::DataprocV1::WorkflowTemplate>]
|
3299
3318
|
attr_accessor :templates
|
3300
3319
|
|
3320
|
+
# Output only. List of workflow templates that could not be included in the
|
3321
|
+
# response. Attempting to get one of these resources may indicate why it was not
|
3322
|
+
# included in the list response.
|
3323
|
+
# Corresponds to the JSON property `unreachable`
|
3324
|
+
# @return [Array<String>]
|
3325
|
+
attr_accessor :unreachable
|
3326
|
+
|
3301
3327
|
def initialize(**args)
|
3302
3328
|
update!(**args)
|
3303
3329
|
end
|
@@ -3306,6 +3332,7 @@ module Google
|
|
3306
3332
|
def update!(**args)
|
3307
3333
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3308
3334
|
@templates = args[:templates] if args.key?(:templates)
|
3335
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
3309
3336
|
end
|
3310
3337
|
end
|
3311
3338
|
|
@@ -4450,6 +4477,11 @@ module Google
|
|
4450
4477
|
# @return [String]
|
4451
4478
|
attr_accessor :graceful_decommission_timeout
|
4452
4479
|
|
4480
|
+
# Optional. operation id of the parent operation sending the resize request
|
4481
|
+
# Corresponds to the JSON property `parentOperationId`
|
4482
|
+
# @return [String]
|
4483
|
+
attr_accessor :parent_operation_id
|
4484
|
+
|
4453
4485
|
# Optional. A unique ID used to identify the request. If the server receives two
|
4454
4486
|
# ResizeNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
4455
4487
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.ResizeNodeGroupRequests)
|
@@ -4477,6 +4509,7 @@ module Google
|
|
4477
4509
|
# Update properties of this object
|
4478
4510
|
def update!(**args)
|
4479
4511
|
@graceful_decommission_timeout = args[:graceful_decommission_timeout] if args.key?(:graceful_decommission_timeout)
|
4512
|
+
@parent_operation_id = args[:parent_operation_id] if args.key?(:parent_operation_id)
|
4480
4513
|
@request_id = args[:request_id] if args.key?(:request_id)
|
4481
4514
|
@size = args[:size] if args.key?(:size)
|
4482
4515
|
end
|
@@ -5797,6 +5830,17 @@ module Google
|
|
5797
5830
|
class UsageMetrics
|
5798
5831
|
include Google::Apis::Core::Hashable
|
5799
5832
|
|
5833
|
+
# Optional. Accelerator type being used, if any
|
5834
|
+
# Corresponds to the JSON property `acceleratorType`
|
5835
|
+
# @return [String]
|
5836
|
+
attr_accessor :accelerator_type
|
5837
|
+
|
5838
|
+
# Optional. Accelerator usage in (milliAccelerator x seconds) (see Dataproc
|
5839
|
+
# Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).
|
5840
|
+
# Corresponds to the JSON property `milliAcceleratorSeconds`
|
5841
|
+
# @return [Fixnum]
|
5842
|
+
attr_accessor :milli_accelerator_seconds
|
5843
|
+
|
5800
5844
|
# Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see
|
5801
5845
|
# Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/
|
5802
5846
|
# pricing)).
|
@@ -5816,6 +5860,8 @@ module Google
|
|
5816
5860
|
|
5817
5861
|
# Update properties of this object
|
5818
5862
|
def update!(**args)
|
5863
|
+
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
5864
|
+
@milli_accelerator_seconds = args[:milli_accelerator_seconds] if args.key?(:milli_accelerator_seconds)
|
5819
5865
|
@milli_dcu_seconds = args[:milli_dcu_seconds] if args.key?(:milli_dcu_seconds)
|
5820
5866
|
@shuffle_storage_gb_seconds = args[:shuffle_storage_gb_seconds] if args.key?(:shuffle_storage_gb_seconds)
|
5821
5867
|
end
|
@@ -5826,6 +5872,17 @@ module Google
|
|
5826
5872
|
class UsageSnapshot
|
5827
5873
|
include Google::Apis::Core::Hashable
|
5828
5874
|
|
5875
|
+
# Optional. Accelerator type being used, if any
|
5876
|
+
# Corresponds to the JSON property `acceleratorType`
|
5877
|
+
# @return [String]
|
5878
|
+
attr_accessor :accelerator_type
|
5879
|
+
|
5880
|
+
# Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing
|
5881
|
+
# (https://cloud.google.com/dataproc-serverless/pricing))
|
5882
|
+
# Corresponds to the JSON property `milliAccelerator`
|
5883
|
+
# @return [Fixnum]
|
5884
|
+
attr_accessor :milli_accelerator
|
5885
|
+
|
5829
5886
|
# Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc
|
5830
5887
|
# Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).
|
5831
5888
|
# Corresponds to the JSON property `milliDcu`
|
@@ -5863,6 +5920,8 @@ module Google
|
|
5863
5920
|
|
5864
5921
|
# Update properties of this object
|
5865
5922
|
def update!(**args)
|
5923
|
+
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
5924
|
+
@milli_accelerator = args[:milli_accelerator] if args.key?(:milli_accelerator)
|
5866
5925
|
@milli_dcu = args[:milli_dcu] if args.key?(:milli_dcu)
|
5867
5926
|
@milli_dcu_premium = args[:milli_dcu_premium] if args.key?(:milli_dcu_premium)
|
5868
5927
|
@shuffle_storage_gb = args[:shuffle_storage_gb] if args.key?(:shuffle_storage_gb)
|
@@ -6120,6 +6179,11 @@ module Google
|
|
6120
6179
|
# @return [String]
|
6121
6180
|
attr_accessor :dag_timeout
|
6122
6181
|
|
6182
|
+
# Encryption settings for the encrypting customer core content. NEXT ID: 2
|
6183
|
+
# Corresponds to the JSON property `encryptionConfig`
|
6184
|
+
# @return [Google::Apis::DataprocV1::GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig]
|
6185
|
+
attr_accessor :encryption_config
|
6186
|
+
|
6123
6187
|
#
|
6124
6188
|
# Corresponds to the JSON property `id`
|
6125
6189
|
# @return [String]
|
@@ -6188,6 +6252,7 @@ module Google
|
|
6188
6252
|
def update!(**args)
|
6189
6253
|
@create_time = args[:create_time] if args.key?(:create_time)
|
6190
6254
|
@dag_timeout = args[:dag_timeout] if args.key?(:dag_timeout)
|
6255
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
6191
6256
|
@id = args[:id] if args.key?(:id)
|
6192
6257
|
@jobs = args[:jobs] if args.key?(:jobs)
|
6193
6258
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -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.58.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231019"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -268,6 +268,12 @@ module Google
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
269
269
|
end
|
270
270
|
|
271
|
+
class GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
271
277
|
class HadoopJob
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
279
|
|
@@ -1325,6 +1331,13 @@ module Google
|
|
1325
1331
|
end
|
1326
1332
|
end
|
1327
1333
|
|
1334
|
+
class GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig
|
1335
|
+
# @private
|
1336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1337
|
+
property :kms_key, as: 'kmsKey'
|
1338
|
+
end
|
1339
|
+
end
|
1340
|
+
|
1328
1341
|
class HadoopJob
|
1329
1342
|
# @private
|
1330
1343
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1674,6 +1687,7 @@ module Google
|
|
1674
1687
|
property :next_page_token, as: 'nextPageToken'
|
1675
1688
|
collection :templates, as: 'templates', class: Google::Apis::DataprocV1::WorkflowTemplate, decorator: Google::Apis::DataprocV1::WorkflowTemplate::Representation
|
1676
1689
|
|
1690
|
+
collection :unreachable, as: 'unreachable'
|
1677
1691
|
end
|
1678
1692
|
end
|
1679
1693
|
|
@@ -1960,6 +1974,7 @@ module Google
|
|
1960
1974
|
# @private
|
1961
1975
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1962
1976
|
property :graceful_decommission_timeout, as: 'gracefulDecommissionTimeout'
|
1977
|
+
property :parent_operation_id, as: 'parentOperationId'
|
1963
1978
|
property :request_id, as: 'requestId'
|
1964
1979
|
property :size, as: 'size'
|
1965
1980
|
end
|
@@ -2285,6 +2300,8 @@ module Google
|
|
2285
2300
|
class UsageMetrics
|
2286
2301
|
# @private
|
2287
2302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2303
|
+
property :accelerator_type, as: 'acceleratorType'
|
2304
|
+
property :milli_accelerator_seconds, :numeric_string => true, as: 'milliAcceleratorSeconds'
|
2288
2305
|
property :milli_dcu_seconds, :numeric_string => true, as: 'milliDcuSeconds'
|
2289
2306
|
property :shuffle_storage_gb_seconds, :numeric_string => true, as: 'shuffleStorageGbSeconds'
|
2290
2307
|
end
|
@@ -2293,6 +2310,8 @@ module Google
|
|
2293
2310
|
class UsageSnapshot
|
2294
2311
|
# @private
|
2295
2312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2313
|
+
property :accelerator_type, as: 'acceleratorType'
|
2314
|
+
property :milli_accelerator, :numeric_string => true, as: 'milliAccelerator'
|
2296
2315
|
property :milli_dcu, :numeric_string => true, as: 'milliDcu'
|
2297
2316
|
property :milli_dcu_premium, :numeric_string => true, as: 'milliDcuPremium'
|
2298
2317
|
property :shuffle_storage_gb, :numeric_string => true, as: 'shuffleStorageGb'
|
@@ -2366,6 +2385,8 @@ module Google
|
|
2366
2385
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2367
2386
|
property :create_time, as: 'createTime'
|
2368
2387
|
property :dag_timeout, as: 'dagTimeout'
|
2388
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DataprocV1::GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig, decorator: Google::Apis::DataprocV1::GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig::Representation
|
2389
|
+
|
2369
2390
|
property :id, as: 'id'
|
2370
2391
|
collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::OrderedJob, decorator: Google::Apis::DataprocV1::OrderedJob::Representation
|
2371
2392
|
|
@@ -2370,6 +2370,8 @@ module Google
|
|
2370
2370
|
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
2371
2371
|
# ). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33
|
2372
2372
|
# characters.
|
2373
|
+
# @param [String] parent_operation_id
|
2374
|
+
# Optional. operation id of the parent operation sending the create request
|
2373
2375
|
# @param [String] request_id
|
2374
2376
|
# Optional. A unique ID used to identify the request. If the server receives two
|
2375
2377
|
# CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
@@ -2397,7 +2399,7 @@ module Google
|
|
2397
2399
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2398
2400
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2399
2401
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2400
|
-
def create_project_region_cluster_node_group(parent, node_group_object = nil, node_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2402
|
+
def create_project_region_cluster_node_group(parent, node_group_object = nil, node_group_id: nil, parent_operation_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2401
2403
|
command = make_simple_command(:post, 'v1/{+parent}/nodeGroups', options)
|
2402
2404
|
command.request_representation = Google::Apis::DataprocV1::NodeGroup::Representation
|
2403
2405
|
command.request_object = node_group_object
|
@@ -2405,6 +2407,7 @@ module Google
|
|
2405
2407
|
command.response_class = Google::Apis::DataprocV1::Operation
|
2406
2408
|
command.params['parent'] = parent unless parent.nil?
|
2407
2409
|
command.query['nodeGroupId'] = node_group_id unless node_group_id.nil?
|
2410
|
+
command.query['parentOperationId'] = parent_operation_id unless parent_operation_id.nil?
|
2408
2411
|
command.query['requestId'] = request_id unless request_id.nil?
|
2409
2412
|
command.query['fields'] = fields unless fields.nil?
|
2410
2413
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
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.58.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: 2023-10-
|
11
|
+
date: 2023-10-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.58.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: []
|