google-apis-dataproc_v1 0.13.0 → 0.17.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 +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/dataproc_v1/classes.rb +182 -33
- data/lib/google/apis/dataproc_v1/gem_version.rb +2 -2
- data/lib/google/apis/dataproc_v1/representations.rb +40 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbb22296a7f591889897b848b6bdc0f3b3e974b29215601987a5878b327e8cc8
|
4
|
+
data.tar.gz: 757040ee8af9aaf98f791f858f0bbf5e287714a085afaa3aeaa5e6fa8fffbcc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff848714736a84794e54dd8e81881f2ccf1c4a1da8e5f93b55f831bc21e19199dcb237679cb25f7a5fd644e3a87731c26230791fd5cac201c8d82aec889f5f5f
|
7
|
+
data.tar.gz: 95cb3c5cc5b86b0356c6c8dfae96ef4aa2380cd44b04310e82b393fa5124a2cfaaec3877827d0dc5abfb9b17d55495c24fd9eca59169151c8f22fefe9e47bc66
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-11-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211105
|
6
|
+
|
7
|
+
### v0.16.0 (2021-10-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211019
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.15.0 (2021-10-08)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210930
|
15
|
+
|
16
|
+
### v0.14.0 (2021-09-11)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210902
|
19
|
+
|
3
20
|
### v0.13.0 (2021-09-01)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210819
|
data/OVERVIEW.md
CHANGED
@@ -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
|
@@ -1164,12 +1181,16 @@ module Google
|
|
1164
1181
|
class GetPolicyOptions
|
1165
1182
|
include Google::Apis::Core::Hashable
|
1166
1183
|
|
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
|
-
#
|
1184
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1185
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1186
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1187
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1188
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1189
|
+
# version that you specified, or it might use a lower policy version. For
|
1190
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1191
|
+
# bindings, the response uses version 1.To learn which resources support
|
1192
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1193
|
+
# google.com/iam/help/conditions/resource-policies).
|
1173
1194
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
1174
1195
|
# @return [Fixnum]
|
1175
1196
|
attr_accessor :requested_policy_version
|
@@ -2685,16 +2706,16 @@ module Google
|
|
2685
2706
|
|
2686
2707
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2687
2708
|
# 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/
|
2709
|
+
# binding binds one or more members, or principals, to a single role. Principals
|
2710
|
+
# can be user accounts, service accounts, Google groups, and domains (such as G
|
2711
|
+
# Suite). A role is a named list of permissions; each role can be an IAM
|
2712
|
+
# predefined role or a user-created custom role.For some types of Google Cloud
|
2713
|
+
# resources, a binding can also specify a condition, which is a logical
|
2714
|
+
# expression that allows access to a resource only if the expression evaluates
|
2715
|
+
# to true. A condition can add constraints based on attributes of the request,
|
2716
|
+
# the resource, or both. To learn which resources support conditions in their
|
2717
|
+
# IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/
|
2718
|
+
# conditions/resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
2698
2719
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
2699
2720
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
2700
2721
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
@@ -2713,9 +2734,14 @@ module Google
|
|
2713
2734
|
class Policy
|
2714
2735
|
include Google::Apis::Core::Hashable
|
2715
2736
|
|
2716
|
-
# Associates a list of members
|
2717
|
-
# that determines how and when the bindings are applied.
|
2718
|
-
# must contain at least one
|
2737
|
+
# Associates a list of members, or principals, with a role. Optionally, may
|
2738
|
+
# specify a condition that determines how and when the bindings are applied.
|
2739
|
+
# Each of the bindings must contain at least one principal.The bindings in a
|
2740
|
+
# Policy can refer to up to 1,500 principals; up to 250 of these principals can
|
2741
|
+
# be Google groups. Each occurrence of a principal counts towards these limits.
|
2742
|
+
# For example, if the bindings grant 50 different roles to user:alice@example.
|
2743
|
+
# com, and not to any other principal, then you can add another 1,450 principals
|
2744
|
+
# to the bindings in the Policy.
|
2719
2745
|
# Corresponds to the JSON property `bindings`
|
2720
2746
|
# @return [Array<Google::Apis::DataprocV1::Binding>]
|
2721
2747
|
attr_accessor :bindings
|
@@ -3034,22 +3060,83 @@ module Google
|
|
3034
3060
|
end
|
3035
3061
|
end
|
3036
3062
|
|
3063
|
+
# Metadata describing the Session operation.
|
3064
|
+
class SessionOperationMetadata
|
3065
|
+
include Google::Apis::Core::Hashable
|
3066
|
+
|
3067
|
+
# The time when the operation was created.
|
3068
|
+
# Corresponds to the JSON property `createTime`
|
3069
|
+
# @return [String]
|
3070
|
+
attr_accessor :create_time
|
3071
|
+
|
3072
|
+
# Short description of the operation.
|
3073
|
+
# Corresponds to the JSON property `description`
|
3074
|
+
# @return [String]
|
3075
|
+
attr_accessor :description
|
3076
|
+
|
3077
|
+
# The time when the operation was finished.
|
3078
|
+
# Corresponds to the JSON property `doneTime`
|
3079
|
+
# @return [String]
|
3080
|
+
attr_accessor :done_time
|
3081
|
+
|
3082
|
+
# Labels associated with the operation.
|
3083
|
+
# Corresponds to the JSON property `labels`
|
3084
|
+
# @return [Hash<String,String>]
|
3085
|
+
attr_accessor :labels
|
3086
|
+
|
3087
|
+
# The operation type.
|
3088
|
+
# Corresponds to the JSON property `operationType`
|
3089
|
+
# @return [String]
|
3090
|
+
attr_accessor :operation_type
|
3091
|
+
|
3092
|
+
# Name of the session for the operation.
|
3093
|
+
# Corresponds to the JSON property `session`
|
3094
|
+
# @return [String]
|
3095
|
+
attr_accessor :session
|
3096
|
+
|
3097
|
+
# Session UUID for the operation.
|
3098
|
+
# Corresponds to the JSON property `sessionUuid`
|
3099
|
+
# @return [String]
|
3100
|
+
attr_accessor :session_uuid
|
3101
|
+
|
3102
|
+
# Warnings encountered during operation execution.
|
3103
|
+
# Corresponds to the JSON property `warnings`
|
3104
|
+
# @return [Array<String>]
|
3105
|
+
attr_accessor :warnings
|
3106
|
+
|
3107
|
+
def initialize(**args)
|
3108
|
+
update!(**args)
|
3109
|
+
end
|
3110
|
+
|
3111
|
+
# Update properties of this object
|
3112
|
+
def update!(**args)
|
3113
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3114
|
+
@description = args[:description] if args.key?(:description)
|
3115
|
+
@done_time = args[:done_time] if args.key?(:done_time)
|
3116
|
+
@labels = args[:labels] if args.key?(:labels)
|
3117
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
3118
|
+
@session = args[:session] if args.key?(:session)
|
3119
|
+
@session_uuid = args[:session_uuid] if args.key?(:session_uuid)
|
3120
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
3121
|
+
end
|
3122
|
+
end
|
3123
|
+
|
3037
3124
|
# Request message for SetIamPolicy method.
|
3038
3125
|
class SetIamPolicyRequest
|
3039
3126
|
include Google::Apis::Core::Hashable
|
3040
3127
|
|
3041
3128
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3042
3129
|
# controls for Google Cloud resources.A Policy is a collection of bindings. A
|
3043
|
-
# binding binds one or more members to a single role.
|
3044
|
-
# accounts, service accounts, Google groups, and domains (such as G
|
3045
|
-
# role is a named list of permissions; each role can be an IAM
|
3046
|
-
# or a user-created custom role.For some types of Google Cloud
|
3047
|
-
# binding can also specify a condition, which is a logical
|
3048
|
-
# allows access to a resource only if the expression evaluates
|
3049
|
-
# condition can add constraints based on attributes of the request,
|
3050
|
-
# or both. To learn which resources support conditions in their
|
3051
|
-
# see the IAM documentation (https://cloud.google.com/iam/help/
|
3052
|
-
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
3130
|
+
# binding binds one or more members, or principals, to a single role. Principals
|
3131
|
+
# can be user accounts, service accounts, Google groups, and domains (such as G
|
3132
|
+
# Suite). A role is a named list of permissions; each role can be an IAM
|
3133
|
+
# predefined role or a user-created custom role.For some types of Google Cloud
|
3134
|
+
# resources, a binding can also specify a condition, which is a logical
|
3135
|
+
# expression that allows access to a resource only if the expression evaluates
|
3136
|
+
# to true. A condition can add constraints based on attributes of the request,
|
3137
|
+
# the resource, or both. To learn which resources support conditions in their
|
3138
|
+
# IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/
|
3139
|
+
# conditions/resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
3053
3140
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
3054
3141
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
3055
3142
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
@@ -3339,6 +3426,68 @@ module Google
|
|
3339
3426
|
end
|
3340
3427
|
end
|
3341
3428
|
|
3429
|
+
# Basic autoscaling configurations for Spark Standalone.
|
3430
|
+
class SparkStandaloneAutoscalingConfig
|
3431
|
+
include Google::Apis::Core::Hashable
|
3432
|
+
|
3433
|
+
# Required. Timeout for Spark graceful decommissioning of spark workers.
|
3434
|
+
# Specifies the duration to wait for spark worker to complete spark
|
3435
|
+
# decomissioning tasks before forcefully removing workers. Only applicable to
|
3436
|
+
# downscaling operations.Bounds: 0s, 1d.
|
3437
|
+
# Corresponds to the JSON property `gracefulDecommissionTimeout`
|
3438
|
+
# @return [String]
|
3439
|
+
attr_accessor :graceful_decommission_timeout
|
3440
|
+
|
3441
|
+
# Required. Fraction of required executors to remove from Spark Serverless
|
3442
|
+
# clusters. A scale-down factor of 1.0 will result in scaling down so that there
|
3443
|
+
# are no more executors for the Spark Job.(more aggressive scaling). A scale-
|
3444
|
+
# down factor closer to 0 will result in a smaller magnitude of scaling donw (
|
3445
|
+
# less aggressive scaling).Bounds: 0.0, 1.0.
|
3446
|
+
# Corresponds to the JSON property `scaleDownFactor`
|
3447
|
+
# @return [Float]
|
3448
|
+
attr_accessor :scale_down_factor
|
3449
|
+
|
3450
|
+
# Optional. Minimum scale-down threshold as a fraction of total cluster size
|
3451
|
+
# before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1
|
3452
|
+
# means the autoscaler must recommend at least a 2 worker scale-down for the
|
3453
|
+
# cluster to scale. A threshold of 0 means the autoscaler will scale down on any
|
3454
|
+
# recommended change.Bounds: 0.0, 1.0. Default: 0.0.
|
3455
|
+
# Corresponds to the JSON property `scaleDownMinWorkerFraction`
|
3456
|
+
# @return [Float]
|
3457
|
+
attr_accessor :scale_down_min_worker_fraction
|
3458
|
+
|
3459
|
+
# Required. Fraction of required workers to add to Spark Standalone clusters. A
|
3460
|
+
# scale-up factor of 1.0 will result in scaling up so that there are no more
|
3461
|
+
# required workers for the Spark Job (more aggressive scaling). A scale-up
|
3462
|
+
# factor closer to 0 will result in a smaller magnitude of scaling up (less
|
3463
|
+
# aggressive scaling).Bounds: 0.0, 1.0.
|
3464
|
+
# Corresponds to the JSON property `scaleUpFactor`
|
3465
|
+
# @return [Float]
|
3466
|
+
attr_accessor :scale_up_factor
|
3467
|
+
|
3468
|
+
# Optional. Minimum scale-up threshold as a fraction of total cluster size
|
3469
|
+
# before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1
|
3470
|
+
# means the autoscaler must recommend at least a 2-worker scale-up for the
|
3471
|
+
# cluster to scale. A threshold of 0 means the autoscaler will scale up on any
|
3472
|
+
# recommended change.Bounds: 0.0, 1.0. Default: 0.0.
|
3473
|
+
# Corresponds to the JSON property `scaleUpMinWorkerFraction`
|
3474
|
+
# @return [Float]
|
3475
|
+
attr_accessor :scale_up_min_worker_fraction
|
3476
|
+
|
3477
|
+
def initialize(**args)
|
3478
|
+
update!(**args)
|
3479
|
+
end
|
3480
|
+
|
3481
|
+
# Update properties of this object
|
3482
|
+
def update!(**args)
|
3483
|
+
@graceful_decommission_timeout = args[:graceful_decommission_timeout] if args.key?(:graceful_decommission_timeout)
|
3484
|
+
@scale_down_factor = args[:scale_down_factor] if args.key?(:scale_down_factor)
|
3485
|
+
@scale_down_min_worker_fraction = args[:scale_down_min_worker_fraction] if args.key?(:scale_down_min_worker_fraction)
|
3486
|
+
@scale_up_factor = args[:scale_up_factor] if args.key?(:scale_up_factor)
|
3487
|
+
@scale_up_min_worker_fraction = args[:scale_up_min_worker_fraction] if args.key?(:scale_up_min_worker_fraction)
|
3488
|
+
end
|
3489
|
+
end
|
3490
|
+
|
3342
3491
|
# A request to start a cluster.
|
3343
3492
|
class StartClusterRequest
|
3344
3493
|
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.17.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 = "20211105"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -430,6 +430,12 @@ module Google
|
|
430
430
|
include Google::Apis::Core::JsonObjectSupport
|
431
431
|
end
|
432
432
|
|
433
|
+
class SessionOperationMetadata
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
433
439
|
class SetIamPolicyRequest
|
434
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
441
|
|
@@ -466,6 +472,12 @@ module Google
|
|
466
472
|
include Google::Apis::Core::JsonObjectSupport
|
467
473
|
end
|
468
474
|
|
475
|
+
class SparkStandaloneAutoscalingConfig
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
469
481
|
class StartClusterRequest
|
470
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
483
|
|
@@ -571,6 +583,7 @@ module Google
|
|
571
583
|
property :basic_algorithm, as: 'basicAlgorithm', class: Google::Apis::DataprocV1::BasicAutoscalingAlgorithm, decorator: Google::Apis::DataprocV1::BasicAutoscalingAlgorithm::Representation
|
572
584
|
|
573
585
|
property :id, as: 'id'
|
586
|
+
hash :labels, as: 'labels'
|
574
587
|
property :name, as: 'name'
|
575
588
|
property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupAutoscalingPolicyConfig, decorator: Google::Apis::DataprocV1::InstanceGroupAutoscalingPolicyConfig::Representation
|
576
589
|
|
@@ -583,6 +596,8 @@ module Google
|
|
583
596
|
# @private
|
584
597
|
class Representation < Google::Apis::Core::JsonRepresentation
|
585
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
|
+
|
586
601
|
property :yarn_config, as: 'yarnConfig', class: Google::Apis::DataprocV1::BasicYarnAutoscalingConfig, decorator: Google::Apis::DataprocV1::BasicYarnAutoscalingConfig::Representation
|
587
602
|
|
588
603
|
end
|
@@ -1301,6 +1316,20 @@ module Google
|
|
1301
1316
|
end
|
1302
1317
|
end
|
1303
1318
|
|
1319
|
+
class SessionOperationMetadata
|
1320
|
+
# @private
|
1321
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1322
|
+
property :create_time, as: 'createTime'
|
1323
|
+
property :description, as: 'description'
|
1324
|
+
property :done_time, as: 'doneTime'
|
1325
|
+
hash :labels, as: 'labels'
|
1326
|
+
property :operation_type, as: 'operationType'
|
1327
|
+
property :session, as: 'session'
|
1328
|
+
property :session_uuid, as: 'sessionUuid'
|
1329
|
+
collection :warnings, as: 'warnings'
|
1330
|
+
end
|
1331
|
+
end
|
1332
|
+
|
1304
1333
|
class SetIamPolicyRequest
|
1305
1334
|
# @private
|
1306
1335
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1369,6 +1398,17 @@ module Google
|
|
1369
1398
|
end
|
1370
1399
|
end
|
1371
1400
|
|
1401
|
+
class SparkStandaloneAutoscalingConfig
|
1402
|
+
# @private
|
1403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1404
|
+
property :graceful_decommission_timeout, as: 'gracefulDecommissionTimeout'
|
1405
|
+
property :scale_down_factor, as: 'scaleDownFactor'
|
1406
|
+
property :scale_down_min_worker_fraction, as: 'scaleDownMinWorkerFraction'
|
1407
|
+
property :scale_up_factor, as: 'scaleUpFactor'
|
1408
|
+
property :scale_up_min_worker_fraction, as: 'scaleUpMinWorkerFraction'
|
1409
|
+
end
|
1410
|
+
end
|
1411
|
+
|
1372
1412
|
class StartClusterRequest
|
1373
1413
|
# @private
|
1374
1414
|
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.17.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: 2021-
|
11
|
+
date: 2021-11-15 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.17.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:
|