google-apis-dataproc_v1 0.14.0 → 0.18.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 +18 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/dataproc_v1/classes.rb +137 -35
- data/lib/google/apis/dataproc_v1/gem_version.rb +2 -2
- data/lib/google/apis/dataproc_v1/representations.rb +21 -0
- data/lib/google/apis/dataproc_v1/service.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf1feca2f1c11ebedec266a2b5e0b508e97ccd77ca7f5f4c1720803516c37a1f
|
4
|
+
data.tar.gz: b10349942e5e629ec7af13d9493adf5f206085a526fd04a1ea74ee8adfbced92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b3125d24f0eaac4cbeb6e082f85ad7f8a907754038cd6ed3e841c3cf8df6a91ef96e4af5c6b61afd4aff1e6a09fc062ee0aa7801a6a2a64b66f7dd63eaa1647
|
7
|
+
data.tar.gz: aee8dbedaef3365d6f9c651a07aea954dfc5ca330daaaa78b4c29838643d454fc4a23bf99d32d6f63852695176dbcde36f53c6b91dc8b6a135ef592d4bc34e96
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.18.0 (2022-01-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220105
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.17.0 (2021-11-10)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211105
|
11
|
+
|
12
|
+
### v0.16.0 (2021-10-21)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211019
|
15
|
+
* Unspecified changes
|
16
|
+
|
17
|
+
### v0.15.0 (2021-10-08)
|
18
|
+
|
19
|
+
* Regenerated from discovery document revision 20210930
|
20
|
+
|
3
21
|
### v0.14.0 (2021-09-11)
|
4
22
|
|
5
23
|
* Regenerated from discovery document revision 20210902
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/dataproc_v1"
|
|
51
51
|
client = Google::Apis::DataprocV1::DataprocService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Dataproc service in particular.)
|
67
67
|
|
@@ -98,6 +98,16 @@ module Google
|
|
98
98
|
# @return [String]
|
99
99
|
attr_accessor :id
|
100
100
|
|
101
|
+
# Optional. The labels to associate with this autoscaling policy. Label keys
|
102
|
+
# must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.
|
103
|
+
# ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must
|
104
|
+
# contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/
|
105
|
+
# rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling
|
106
|
+
# policy.
|
107
|
+
# Corresponds to the JSON property `labels`
|
108
|
+
# @return [Hash<String,String>]
|
109
|
+
attr_accessor :labels
|
110
|
+
|
101
111
|
# Output only. The "resource name" of the autoscaling policy, as described in
|
102
112
|
# https://cloud.google.com/apis/design/resource_names. For projects.regions.
|
103
113
|
# autoscalingPolicies, the resource name of the policy has the following format:
|
@@ -129,6 +139,7 @@ module Google
|
|
129
139
|
def update!(**args)
|
130
140
|
@basic_algorithm = args[:basic_algorithm] if args.key?(:basic_algorithm)
|
131
141
|
@id = args[:id] if args.key?(:id)
|
142
|
+
@labels = args[:labels] if args.key?(:labels)
|
132
143
|
@name = args[:name] if args.key?(:name)
|
133
144
|
@secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config)
|
134
145
|
@worker_config = args[:worker_config] if args.key?(:worker_config)
|
@@ -146,6 +157,11 @@ module Google
|
|
146
157
|
# @return [String]
|
147
158
|
attr_accessor :cooldown_period
|
148
159
|
|
160
|
+
# Basic autoscaling configurations for Spark Standalone.
|
161
|
+
# Corresponds to the JSON property `sparkStandaloneConfig`
|
162
|
+
# @return [Google::Apis::DataprocV1::SparkStandaloneAutoscalingConfig]
|
163
|
+
attr_accessor :spark_standalone_config
|
164
|
+
|
149
165
|
# Basic autoscaling configurations for YARN.
|
150
166
|
# Corresponds to the JSON property `yarnConfig`
|
151
167
|
# @return [Google::Apis::DataprocV1::BasicYarnAutoscalingConfig]
|
@@ -158,6 +174,7 @@ module Google
|
|
158
174
|
# Update properties of this object
|
159
175
|
def update!(**args)
|
160
176
|
@cooldown_period = args[:cooldown_period] if args.key?(:cooldown_period)
|
177
|
+
@spark_standalone_config = args[:spark_standalone_config] if args.key?(:spark_standalone_config)
|
161
178
|
@yarn_config = args[:yarn_config] if args.key?(:yarn_config)
|
162
179
|
end
|
163
180
|
end
|
@@ -289,7 +306,7 @@ module Google
|
|
289
306
|
end
|
290
307
|
end
|
291
308
|
|
292
|
-
# Associates members with a role.
|
309
|
+
# Associates members, or principals, with a role.
|
293
310
|
class Binding
|
294
311
|
include Google::Apis::Core::Hashable
|
295
312
|
|
@@ -312,7 +329,7 @@ module Google
|
|
312
329
|
# @return [Google::Apis::DataprocV1::Expr]
|
313
330
|
attr_accessor :condition
|
314
331
|
|
315
|
-
# Specifies the
|
332
|
+
# Specifies the principals requesting access for a Cloud Platform resource.
|
316
333
|
# members can have the following values: allUsers: A special identifier that
|
317
334
|
# represents anyone who is on the internet; with or without a Google account.
|
318
335
|
# allAuthenticatedUsers: A special identifier that represents anyone who is
|
@@ -341,8 +358,8 @@ module Google
|
|
341
358
|
# @return [Array<String>]
|
342
359
|
attr_accessor :members
|
343
360
|
|
344
|
-
# Role that is assigned to members. For example,
|
345
|
-
# roles/owner.
|
361
|
+
# Role that is assigned to the list of members, or principals. For example,
|
362
|
+
# roles/viewer, roles/editor, or roles/owner.
|
346
363
|
# Corresponds to the JSON property `role`
|
347
364
|
# @return [String]
|
348
365
|
attr_accessor :role
|
@@ -867,6 +884,14 @@ module Google
|
|
867
884
|
# @return [String]
|
868
885
|
attr_accessor :boot_disk_type
|
869
886
|
|
887
|
+
# Optional. Interface type of local SSDs (default is "scsi"). Valid values: "
|
888
|
+
# scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express).
|
889
|
+
# See SSD Interface types (https://cloud.google.com/compute/docs/disks/local-ssd#
|
890
|
+
# performance).
|
891
|
+
# Corresponds to the JSON property `localSsdInterface`
|
892
|
+
# @return [String]
|
893
|
+
attr_accessor :local_ssd_interface
|
894
|
+
|
870
895
|
# Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not
|
871
896
|
# attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.
|
872
897
|
# apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are
|
@@ -884,6 +909,7 @@ module Google
|
|
884
909
|
def update!(**args)
|
885
910
|
@boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
|
886
911
|
@boot_disk_type = args[:boot_disk_type] if args.key?(:boot_disk_type)
|
912
|
+
@local_ssd_interface = args[:local_ssd_interface] if args.key?(:local_ssd_interface)
|
887
913
|
@num_local_ssds = args[:num_local_ssds] if args.key?(:num_local_ssds)
|
888
914
|
end
|
889
915
|
end
|
@@ -1164,12 +1190,16 @@ module Google
|
|
1164
1190
|
class GetPolicyOptions
|
1165
1191
|
include Google::Apis::Core::Hashable
|
1166
1192
|
|
1167
|
-
# Optional. The policy
|
1168
|
-
# 3. Requests specifying an invalid value will be
|
1169
|
-
# with any conditional bindings must specify
|
1170
|
-
# conditional bindings may specify any valid
|
1171
|
-
#
|
1172
|
-
#
|
1193
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1194
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1195
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1196
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1197
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1198
|
+
# version that you specified, or it might use a lower policy version. For
|
1199
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1200
|
+
# bindings, the response uses version 1.To learn which resources support
|
1201
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1202
|
+
# google.com/iam/help/conditions/resource-policies).
|
1173
1203
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
1174
1204
|
# @return [Fixnum]
|
1175
1205
|
attr_accessor :requested_policy_version
|
@@ -1876,14 +1906,19 @@ module Google
|
|
1876
1906
|
# Optional. Maximum number of times per hour a driver may be restarted as a
|
1877
1907
|
# result of driver exiting with non-zero code before job is reported failed.A
|
1878
1908
|
# job may be reported as thrashing if driver exits with non-zero code 4 times
|
1879
|
-
# within 10 minute window.Maximum value is 10.
|
1909
|
+
# within 10 minute window.Maximum value is 10.Note: Currently, this restartable
|
1910
|
+
# job option is not supported in Dataproc workflow template (https://cloud.
|
1911
|
+
# google.com/dataproc/docs/concepts/workflows/using-workflows#
|
1912
|
+
# adding_jobs_to_a_template) jobs.
|
1880
1913
|
# Corresponds to the JSON property `maxFailuresPerHour`
|
1881
1914
|
# @return [Fixnum]
|
1882
1915
|
attr_accessor :max_failures_per_hour
|
1883
1916
|
|
1884
1917
|
# Optional. Maximum number of times in total a driver may be restarted as a
|
1885
1918
|
# result of driver exiting with non-zero code before job is reported failed.
|
1886
|
-
# Maximum value is 240.
|
1919
|
+
# Maximum value is 240.Note: Currently, this restartable job option is not
|
1920
|
+
# supported in Dataproc workflow template (https://cloud.google.com/dataproc/
|
1921
|
+
# docs/concepts/workflows/using-workflows#adding_jobs_to_a_template) jobs.
|
1887
1922
|
# Corresponds to the JSON property `maxFailuresTotal`
|
1888
1923
|
# @return [Fixnum]
|
1889
1924
|
attr_accessor :max_failures_total
|
@@ -2685,16 +2720,16 @@ module Google
|
|
2685
2720
|
|
2686
2721
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2687
2722
|
# controls for Google Cloud resources.A Policy is a collection of bindings. A
|
2688
|
-
# binding binds one or more members to a single role.
|
2689
|
-
# accounts, service accounts, Google groups, and domains (such as G
|
2690
|
-
# role is a named list of permissions; each role can be an IAM
|
2691
|
-
# or a user-created custom role.For some types of Google Cloud
|
2692
|
-
# binding can also specify a condition, which is a logical
|
2693
|
-
# allows access to a resource only if the expression evaluates
|
2694
|
-
# condition can add constraints based on attributes of the request,
|
2695
|
-
# or both. To learn which resources support conditions in their
|
2696
|
-
# see the IAM documentation (https://cloud.google.com/iam/help/
|
2697
|
-
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
2723
|
+
# binding binds one or more members, or principals, to a single role. Principals
|
2724
|
+
# can be user accounts, service accounts, Google groups, and domains (such as G
|
2725
|
+
# Suite). A role is a named list of permissions; each role can be an IAM
|
2726
|
+
# predefined role or a user-created custom role.For some types of Google Cloud
|
2727
|
+
# resources, a binding can also specify a condition, which is a logical
|
2728
|
+
# expression that allows access to a resource only if the expression evaluates
|
2729
|
+
# to true. A condition can add constraints based on attributes of the request,
|
2730
|
+
# the resource, or both. To learn which resources support conditions in their
|
2731
|
+
# IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/
|
2732
|
+
# conditions/resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
2698
2733
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
2699
2734
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
2700
2735
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
@@ -2713,9 +2748,14 @@ module Google
|
|
2713
2748
|
class Policy
|
2714
2749
|
include Google::Apis::Core::Hashable
|
2715
2750
|
|
2716
|
-
# Associates a list of members
|
2717
|
-
# that determines how and when the bindings are applied.
|
2718
|
-
# must contain at least one
|
2751
|
+
# Associates a list of members, or principals, with a role. Optionally, may
|
2752
|
+
# specify a condition that determines how and when the bindings are applied.
|
2753
|
+
# Each of the bindings must contain at least one principal.The bindings in a
|
2754
|
+
# Policy can refer to up to 1,500 principals; up to 250 of these principals can
|
2755
|
+
# be Google groups. Each occurrence of a principal counts towards these limits.
|
2756
|
+
# For example, if the bindings grant 50 different roles to user:alice@example.
|
2757
|
+
# com, and not to any other principal, then you can add another 1,450 principals
|
2758
|
+
# to the bindings in the Policy.
|
2719
2759
|
# Corresponds to the JSON property `bindings`
|
2720
2760
|
# @return [Array<Google::Apis::DataprocV1::Binding>]
|
2721
2761
|
attr_accessor :bindings
|
@@ -3101,16 +3141,16 @@ module Google
|
|
3101
3141
|
|
3102
3142
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3103
3143
|
# controls for Google Cloud resources.A Policy is a collection of bindings. A
|
3104
|
-
# binding binds one or more members to a single role.
|
3105
|
-
# accounts, service accounts, Google groups, and domains (such as G
|
3106
|
-
# role is a named list of permissions; each role can be an IAM
|
3107
|
-
# or a user-created custom role.For some types of Google Cloud
|
3108
|
-
# binding can also specify a condition, which is a logical
|
3109
|
-
# allows access to a resource only if the expression evaluates
|
3110
|
-
# condition can add constraints based on attributes of the request,
|
3111
|
-
# or both. To learn which resources support conditions in their
|
3112
|
-
# see the IAM documentation (https://cloud.google.com/iam/help/
|
3113
|
-
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
3144
|
+
# binding binds one or more members, or principals, to a single role. Principals
|
3145
|
+
# can be user accounts, service accounts, Google groups, and domains (such as G
|
3146
|
+
# Suite). A role is a named list of permissions; each role can be an IAM
|
3147
|
+
# predefined role or a user-created custom role.For some types of Google Cloud
|
3148
|
+
# resources, a binding can also specify a condition, which is a logical
|
3149
|
+
# expression that allows access to a resource only if the expression evaluates
|
3150
|
+
# to true. A condition can add constraints based on attributes of the request,
|
3151
|
+
# the resource, or both. To learn which resources support conditions in their
|
3152
|
+
# IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/
|
3153
|
+
# conditions/resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
3114
3154
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
3115
3155
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
3116
3156
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
@@ -3400,6 +3440,68 @@ module Google
|
|
3400
3440
|
end
|
3401
3441
|
end
|
3402
3442
|
|
3443
|
+
# Basic autoscaling configurations for Spark Standalone.
|
3444
|
+
class SparkStandaloneAutoscalingConfig
|
3445
|
+
include Google::Apis::Core::Hashable
|
3446
|
+
|
3447
|
+
# Required. Timeout for Spark graceful decommissioning of spark workers.
|
3448
|
+
# Specifies the duration to wait for spark worker to complete spark
|
3449
|
+
# decomissioning tasks before forcefully removing workers. Only applicable to
|
3450
|
+
# downscaling operations.Bounds: 0s, 1d.
|
3451
|
+
# Corresponds to the JSON property `gracefulDecommissionTimeout`
|
3452
|
+
# @return [String]
|
3453
|
+
attr_accessor :graceful_decommission_timeout
|
3454
|
+
|
3455
|
+
# Required. Fraction of required executors to remove from Spark Serverless
|
3456
|
+
# clusters. A scale-down factor of 1.0 will result in scaling down so that there
|
3457
|
+
# are no more executors for the Spark Job.(more aggressive scaling). A scale-
|
3458
|
+
# down factor closer to 0 will result in a smaller magnitude of scaling donw (
|
3459
|
+
# less aggressive scaling).Bounds: 0.0, 1.0.
|
3460
|
+
# Corresponds to the JSON property `scaleDownFactor`
|
3461
|
+
# @return [Float]
|
3462
|
+
attr_accessor :scale_down_factor
|
3463
|
+
|
3464
|
+
# Optional. Minimum scale-down threshold as a fraction of total cluster size
|
3465
|
+
# before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1
|
3466
|
+
# means the autoscaler must recommend at least a 2 worker scale-down for the
|
3467
|
+
# cluster to scale. A threshold of 0 means the autoscaler will scale down on any
|
3468
|
+
# recommended change.Bounds: 0.0, 1.0. Default: 0.0.
|
3469
|
+
# Corresponds to the JSON property `scaleDownMinWorkerFraction`
|
3470
|
+
# @return [Float]
|
3471
|
+
attr_accessor :scale_down_min_worker_fraction
|
3472
|
+
|
3473
|
+
# Required. Fraction of required workers to add to Spark Standalone clusters. A
|
3474
|
+
# scale-up factor of 1.0 will result in scaling up so that there are no more
|
3475
|
+
# required workers for the Spark Job (more aggressive scaling). A scale-up
|
3476
|
+
# factor closer to 0 will result in a smaller magnitude of scaling up (less
|
3477
|
+
# aggressive scaling).Bounds: 0.0, 1.0.
|
3478
|
+
# Corresponds to the JSON property `scaleUpFactor`
|
3479
|
+
# @return [Float]
|
3480
|
+
attr_accessor :scale_up_factor
|
3481
|
+
|
3482
|
+
# Optional. Minimum scale-up threshold as a fraction of total cluster size
|
3483
|
+
# before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1
|
3484
|
+
# means the autoscaler must recommend at least a 2-worker scale-up for the
|
3485
|
+
# cluster to scale. A threshold of 0 means the autoscaler will scale up on any
|
3486
|
+
# recommended change.Bounds: 0.0, 1.0. Default: 0.0.
|
3487
|
+
# Corresponds to the JSON property `scaleUpMinWorkerFraction`
|
3488
|
+
# @return [Float]
|
3489
|
+
attr_accessor :scale_up_min_worker_fraction
|
3490
|
+
|
3491
|
+
def initialize(**args)
|
3492
|
+
update!(**args)
|
3493
|
+
end
|
3494
|
+
|
3495
|
+
# Update properties of this object
|
3496
|
+
def update!(**args)
|
3497
|
+
@graceful_decommission_timeout = args[:graceful_decommission_timeout] if args.key?(:graceful_decommission_timeout)
|
3498
|
+
@scale_down_factor = args[:scale_down_factor] if args.key?(:scale_down_factor)
|
3499
|
+
@scale_down_min_worker_fraction = args[:scale_down_min_worker_fraction] if args.key?(:scale_down_min_worker_fraction)
|
3500
|
+
@scale_up_factor = args[:scale_up_factor] if args.key?(:scale_up_factor)
|
3501
|
+
@scale_up_min_worker_fraction = args[:scale_up_min_worker_fraction] if args.key?(:scale_up_min_worker_fraction)
|
3502
|
+
end
|
3503
|
+
end
|
3504
|
+
|
3403
3505
|
# A request to start a cluster.
|
3404
3506
|
class StartClusterRequest
|
3405
3507
|
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.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220105"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -472,6 +472,12 @@ module Google
|
|
472
472
|
include Google::Apis::Core::JsonObjectSupport
|
473
473
|
end
|
474
474
|
|
475
|
+
class SparkStandaloneAutoscalingConfig
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
475
481
|
class StartClusterRequest
|
476
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
483
|
|
@@ -577,6 +583,7 @@ module Google
|
|
577
583
|
property :basic_algorithm, as: 'basicAlgorithm', class: Google::Apis::DataprocV1::BasicAutoscalingAlgorithm, decorator: Google::Apis::DataprocV1::BasicAutoscalingAlgorithm::Representation
|
578
584
|
|
579
585
|
property :id, as: 'id'
|
586
|
+
hash :labels, as: 'labels'
|
580
587
|
property :name, as: 'name'
|
581
588
|
property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupAutoscalingPolicyConfig, decorator: Google::Apis::DataprocV1::InstanceGroupAutoscalingPolicyConfig::Representation
|
582
589
|
|
@@ -589,6 +596,8 @@ module Google
|
|
589
596
|
# @private
|
590
597
|
class Representation < Google::Apis::Core::JsonRepresentation
|
591
598
|
property :cooldown_period, as: 'cooldownPeriod'
|
599
|
+
property :spark_standalone_config, as: 'sparkStandaloneConfig', class: Google::Apis::DataprocV1::SparkStandaloneAutoscalingConfig, decorator: Google::Apis::DataprocV1::SparkStandaloneAutoscalingConfig::Representation
|
600
|
+
|
592
601
|
property :yarn_config, as: 'yarnConfig', class: Google::Apis::DataprocV1::BasicYarnAutoscalingConfig, decorator: Google::Apis::DataprocV1::BasicYarnAutoscalingConfig::Representation
|
593
602
|
|
594
603
|
end
|
@@ -773,6 +782,7 @@ module Google
|
|
773
782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
774
783
|
property :boot_disk_size_gb, as: 'bootDiskSizeGb'
|
775
784
|
property :boot_disk_type, as: 'bootDiskType'
|
785
|
+
property :local_ssd_interface, as: 'localSsdInterface'
|
776
786
|
property :num_local_ssds, as: 'numLocalSsds'
|
777
787
|
end
|
778
788
|
end
|
@@ -1389,6 +1399,17 @@ module Google
|
|
1389
1399
|
end
|
1390
1400
|
end
|
1391
1401
|
|
1402
|
+
class SparkStandaloneAutoscalingConfig
|
1403
|
+
# @private
|
1404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1405
|
+
property :graceful_decommission_timeout, as: 'gracefulDecommissionTimeout'
|
1406
|
+
property :scale_down_factor, as: 'scaleDownFactor'
|
1407
|
+
property :scale_down_min_worker_fraction, as: 'scaleDownMinWorkerFraction'
|
1408
|
+
property :scale_up_factor, as: 'scaleUpFactor'
|
1409
|
+
property :scale_up_min_worker_fraction, as: 'scaleUpMinWorkerFraction'
|
1410
|
+
end
|
1411
|
+
end
|
1412
|
+
|
1392
1413
|
class StartClusterRequest
|
1393
1414
|
# @private
|
1394
1415
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -356,7 +356,7 @@ module Google
|
|
356
356
|
# @param [String] parent
|
357
357
|
# Required. The resource name of the region or location, as described in https://
|
358
358
|
# cloud.google.com/apis/design/resource_names. For projects.regions.
|
359
|
-
# workflowTemplates
|
359
|
+
# workflowTemplates.create, the resource name of the region has the following
|
360
360
|
# format: projects/`project_id`/regions/`region` For projects.locations.
|
361
361
|
# workflowTemplates.create, the resource name of the location has the following
|
362
362
|
# format: projects/`project_id`/locations/`location`
|
@@ -2317,7 +2317,7 @@ module Google
|
|
2317
2317
|
# @param [String] parent
|
2318
2318
|
# Required. The resource name of the region or location, as described in https://
|
2319
2319
|
# cloud.google.com/apis/design/resource_names. For projects.regions.
|
2320
|
-
# workflowTemplates
|
2320
|
+
# workflowTemplates.create, the resource name of the region has the following
|
2321
2321
|
# format: projects/`project_id`/regions/`region` For projects.locations.
|
2322
2322
|
# workflowTemplates.create, the resource name of the location has the following
|
2323
2323
|
# format: projects/`project_id`/locations/`location`
|
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.18.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:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.18.0
|
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: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Dataproc API V1
|