google-apis-dataproc_v1 0.11.0 → 0.15.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 +4 -4
- data/CHANGELOG.md +17 -0
- data/lib/google/apis/dataproc_v1/classes.rb +116 -16
- data/lib/google/apis/dataproc_v1/gem_version.rb +3 -3
- data/lib/google/apis/dataproc_v1/representations.rb +34 -0
- data/lib/google/apis/dataproc_v1/service.rb +49 -7
- data/lib/google/apis/dataproc_v1.rb +1 -1
- 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: a276319007f0b1224b8fd2bfce0f2fd2cc5f934754a6d623cabed502f1fbc7a0
|
4
|
+
data.tar.gz: fb9a39f765721009be2bd63d6cb5502a4e6dcd44e1b902a36920a74921f0e637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64734cbdd14a7b557fd57e830bad092901f331bbcb8971803e4569b66ce2943355825b6250651bcf942d60dde4d569ed91398a42eb92e4a77c9e8f0d0c777306
|
7
|
+
data.tar.gz: 3aac84e7c3f69432c000cf394621e690366f94ef45a357cbcdfc765ada5d5831776f7212c9f1bcc377476dfa04bc0656ef92e1256fb46634d5fe7d87cdbf9b60
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2021-10-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210930
|
6
|
+
|
7
|
+
### v0.14.0 (2021-09-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210902
|
10
|
+
|
11
|
+
### v0.13.0 (2021-09-01)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210819
|
14
|
+
|
15
|
+
### v0.12.0 (2021-07-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210625
|
18
|
+
* Regenerated using generator version 0.4.0
|
19
|
+
|
3
20
|
### v0.11.0 (2021-06-25)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210622
|
@@ -372,8 +372,8 @@ module Google
|
|
372
372
|
end
|
373
373
|
end
|
374
374
|
|
375
|
-
# Describes the identifying information, config, and status of a
|
376
|
-
#
|
375
|
+
# Describes the identifying information, config, and status of a Dataproc
|
376
|
+
# cluster
|
377
377
|
class Cluster
|
378
378
|
include Google::Apis::Core::Hashable
|
379
379
|
|
@@ -456,9 +456,10 @@ module Google
|
|
456
456
|
# Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your
|
457
457
|
# cluster's staging bucket according to the Compute Engine zone where your
|
458
458
|
# cluster is deployed, and then create and manage this project-level, per-
|
459
|
-
# location bucket (see Dataproc staging
|
460
|
-
# dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field
|
461
|
-
# requires a Cloud Storage bucket name, not a URI to a Cloud Storage
|
459
|
+
# location bucket (see Dataproc staging and temp buckets (https://cloud.google.
|
460
|
+
# com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field
|
461
|
+
# requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage
|
462
|
+
# bucket.
|
462
463
|
# Corresponds to the JSON property `configBucket`
|
463
464
|
# @return [String]
|
464
465
|
attr_accessor :config_bucket
|
@@ -479,7 +480,7 @@ module Google
|
|
479
480
|
# @return [Google::Apis::DataprocV1::GceClusterConfig]
|
480
481
|
attr_accessor :gce_cluster_config
|
481
482
|
|
482
|
-
# The GKE config
|
483
|
+
# The cluster's GKE config.
|
483
484
|
# Corresponds to the JSON property `gkeClusterConfig`
|
484
485
|
# @return [Google::Apis::DataprocV1::GkeClusterConfig]
|
485
486
|
attr_accessor :gke_cluster_config
|
@@ -533,8 +534,10 @@ module Google
|
|
533
534
|
# your cluster's temp bucket according to the Compute Engine zone where your
|
534
535
|
# cluster is deployed, and then create and manage this project-level, per-
|
535
536
|
# location bucket. The default bucket has a TTL of 90 days, but you can use any
|
536
|
-
# TTL (or none) if you specify a bucket
|
537
|
-
#
|
537
|
+
# TTL (or none) if you specify a bucket (see Dataproc staging and temp buckets (
|
538
|
+
# https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-
|
539
|
+
# bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI
|
540
|
+
# to a Cloud Storage bucket.
|
538
541
|
# Corresponds to the JSON property `tempBucket`
|
539
542
|
# @return [String]
|
540
543
|
attr_accessor :temp_bucket
|
@@ -1181,7 +1184,7 @@ module Google
|
|
1181
1184
|
end
|
1182
1185
|
end
|
1183
1186
|
|
1184
|
-
# The GKE config
|
1187
|
+
# The cluster's GKE config.
|
1185
1188
|
class GkeClusterConfig
|
1186
1189
|
include Google::Apis::Core::Hashable
|
1187
1190
|
|
@@ -2704,7 +2707,7 @@ module Google
|
|
2704
2707
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
2705
2708
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
2706
2709
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
2707
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
2710
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
2708
2711
|
# description of IAM and its features, see the IAM documentation (https://cloud.
|
2709
2712
|
# google.com/iam/docs/).
|
2710
2713
|
class Policy
|
@@ -2712,7 +2715,11 @@ module Google
|
|
2712
2715
|
|
2713
2716
|
# Associates a list of members to a role. Optionally, may specify a condition
|
2714
2717
|
# that determines how and when the bindings are applied. Each of the bindings
|
2715
|
-
# must contain at least one member.
|
2718
|
+
# must contain at least one member.The bindings in a Policy can refer to up to 1,
|
2719
|
+
# 500 members; up to 250 of these members can be Google groups. Each occurrence
|
2720
|
+
# of a member counts towards these limits. For example, if the bindings grant 50
|
2721
|
+
# different roles to user:alice@example.com, and not to any other member, then
|
2722
|
+
# you can add another 1,450 members to the bindings in the Policy.
|
2716
2723
|
# Corresponds to the JSON property `bindings`
|
2717
2724
|
# @return [Array<Google::Apis::DataprocV1::Binding>]
|
2718
2725
|
attr_accessor :bindings
|
@@ -2942,6 +2949,38 @@ module Google
|
|
2942
2949
|
end
|
2943
2950
|
end
|
2944
2951
|
|
2952
|
+
# A request to repair a cluster.
|
2953
|
+
class RepairClusterRequest
|
2954
|
+
include Google::Apis::Core::Hashable
|
2955
|
+
|
2956
|
+
# Optional. Specifying the cluster_uuid means the RPC will fail (with error
|
2957
|
+
# NOT_FOUND) if a cluster with the specified UUID does not exist.
|
2958
|
+
# Corresponds to the JSON property `clusterUuid`
|
2959
|
+
# @return [String]
|
2960
|
+
attr_accessor :cluster_uuid
|
2961
|
+
|
2962
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
2963
|
+
# RepairClusterRequests with the same ID, the second request is ignored, and the
|
2964
|
+
# first google.longrunning.Operation created and stored in the backend is
|
2965
|
+
# returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/
|
2966
|
+
# wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z)
|
2967
|
+
# , numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
2968
|
+
# characters.
|
2969
|
+
# Corresponds to the JSON property `requestId`
|
2970
|
+
# @return [String]
|
2971
|
+
attr_accessor :request_id
|
2972
|
+
|
2973
|
+
def initialize(**args)
|
2974
|
+
update!(**args)
|
2975
|
+
end
|
2976
|
+
|
2977
|
+
# Update properties of this object
|
2978
|
+
def update!(**args)
|
2979
|
+
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
2980
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
2981
|
+
end
|
2982
|
+
end
|
2983
|
+
|
2945
2984
|
# Reservation Affinity for consuming Zonal reservation.
|
2946
2985
|
class ReservationAffinity
|
2947
2986
|
include Google::Apis::Core::Hashable
|
@@ -2999,6 +3038,67 @@ module Google
|
|
2999
3038
|
end
|
3000
3039
|
end
|
3001
3040
|
|
3041
|
+
# Metadata describing the Session operation.
|
3042
|
+
class SessionOperationMetadata
|
3043
|
+
include Google::Apis::Core::Hashable
|
3044
|
+
|
3045
|
+
# The time when the operation was created.
|
3046
|
+
# Corresponds to the JSON property `createTime`
|
3047
|
+
# @return [String]
|
3048
|
+
attr_accessor :create_time
|
3049
|
+
|
3050
|
+
# Short description of the operation.
|
3051
|
+
# Corresponds to the JSON property `description`
|
3052
|
+
# @return [String]
|
3053
|
+
attr_accessor :description
|
3054
|
+
|
3055
|
+
# The time when the operation was finished.
|
3056
|
+
# Corresponds to the JSON property `doneTime`
|
3057
|
+
# @return [String]
|
3058
|
+
attr_accessor :done_time
|
3059
|
+
|
3060
|
+
# Labels associated with the operation.
|
3061
|
+
# Corresponds to the JSON property `labels`
|
3062
|
+
# @return [Hash<String,String>]
|
3063
|
+
attr_accessor :labels
|
3064
|
+
|
3065
|
+
# The operation type.
|
3066
|
+
# Corresponds to the JSON property `operationType`
|
3067
|
+
# @return [String]
|
3068
|
+
attr_accessor :operation_type
|
3069
|
+
|
3070
|
+
# Name of the session for the operation.
|
3071
|
+
# Corresponds to the JSON property `session`
|
3072
|
+
# @return [String]
|
3073
|
+
attr_accessor :session
|
3074
|
+
|
3075
|
+
# Session UUID for the operation.
|
3076
|
+
# Corresponds to the JSON property `sessionUuid`
|
3077
|
+
# @return [String]
|
3078
|
+
attr_accessor :session_uuid
|
3079
|
+
|
3080
|
+
# Warnings encountered during operation execution.
|
3081
|
+
# Corresponds to the JSON property `warnings`
|
3082
|
+
# @return [Array<String>]
|
3083
|
+
attr_accessor :warnings
|
3084
|
+
|
3085
|
+
def initialize(**args)
|
3086
|
+
update!(**args)
|
3087
|
+
end
|
3088
|
+
|
3089
|
+
# Update properties of this object
|
3090
|
+
def update!(**args)
|
3091
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3092
|
+
@description = args[:description] if args.key?(:description)
|
3093
|
+
@done_time = args[:done_time] if args.key?(:done_time)
|
3094
|
+
@labels = args[:labels] if args.key?(:labels)
|
3095
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
3096
|
+
@session = args[:session] if args.key?(:session)
|
3097
|
+
@session_uuid = args[:session_uuid] if args.key?(:session_uuid)
|
3098
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
3099
|
+
end
|
3100
|
+
end
|
3101
|
+
|
3002
3102
|
# Request message for SetIamPolicy method.
|
3003
3103
|
class SetIamPolicyRequest
|
3004
3104
|
include Google::Apis::Core::Hashable
|
@@ -3027,7 +3127,7 @@ module Google
|
|
3027
3127
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
3028
3128
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
3029
3129
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
3030
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
3130
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
3031
3131
|
# description of IAM and its features, see the IAM documentation (https://cloud.
|
3032
3132
|
# google.com/iam/docs/).
|
3033
3133
|
# Corresponds to the JSON property `policy`
|
@@ -3314,13 +3414,13 @@ module Google
|
|
3314
3414
|
# @return [String]
|
3315
3415
|
attr_accessor :cluster_uuid
|
3316
3416
|
|
3317
|
-
# Optional. A unique
|
3417
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
3318
3418
|
# StartClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
3319
3419
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)s with
|
3320
3420
|
# the same id, then the second request will be ignored and the first google.
|
3321
3421
|
# longrunning.Operation created and stored in the backend is returned.
|
3322
3422
|
# Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/
|
3323
|
-
# Universally_unique_identifier).The
|
3423
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
3324
3424
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
3325
3425
|
# characters.
|
3326
3426
|
# Corresponds to the JSON property `requestId`
|
@@ -3387,13 +3487,13 @@ module Google
|
|
3387
3487
|
# @return [String]
|
3388
3488
|
attr_accessor :cluster_uuid
|
3389
3489
|
|
3390
|
-
# Optional. A unique
|
3490
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
3391
3491
|
# StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
3392
3492
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)s with
|
3393
3493
|
# the same id, then the second request will be ignored and the first google.
|
3394
3494
|
# longrunning.Operation created and stored in the backend is returned.
|
3395
3495
|
# Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/
|
3396
|
-
# Universally_unique_identifier).The
|
3496
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
3397
3497
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
3398
3498
|
# characters.
|
3399
3499
|
# Corresponds to the JSON property `requestId`
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210930"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -412,6 +412,12 @@ module Google
|
|
412
412
|
include Google::Apis::Core::JsonObjectSupport
|
413
413
|
end
|
414
414
|
|
415
|
+
class RepairClusterRequest
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
415
421
|
class ReservationAffinity
|
416
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
423
|
|
@@ -424,6 +430,12 @@ module Google
|
|
424
430
|
include Google::Apis::Core::JsonObjectSupport
|
425
431
|
end
|
426
432
|
|
433
|
+
class SessionOperationMetadata
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
427
439
|
class SetIamPolicyRequest
|
428
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
441
|
|
@@ -1268,6 +1280,14 @@ module Google
|
|
1268
1280
|
end
|
1269
1281
|
end
|
1270
1282
|
|
1283
|
+
class RepairClusterRequest
|
1284
|
+
# @private
|
1285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1286
|
+
property :cluster_uuid, as: 'clusterUuid'
|
1287
|
+
property :request_id, as: 'requestId'
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
|
1271
1291
|
class ReservationAffinity
|
1272
1292
|
# @private
|
1273
1293
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1287,6 +1307,20 @@ module Google
|
|
1287
1307
|
end
|
1288
1308
|
end
|
1289
1309
|
|
1310
|
+
class SessionOperationMetadata
|
1311
|
+
# @private
|
1312
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1313
|
+
property :create_time, as: 'createTime'
|
1314
|
+
property :description, as: 'description'
|
1315
|
+
property :done_time, as: 'doneTime'
|
1316
|
+
hash :labels, as: 'labels'
|
1317
|
+
property :operation_type, as: 'operationType'
|
1318
|
+
property :session, as: 'session'
|
1319
|
+
property :session_uuid, as: 'sessionUuid'
|
1320
|
+
collection :warnings, as: 'warnings'
|
1321
|
+
end
|
1322
|
+
end
|
1323
|
+
|
1290
1324
|
class SetIamPolicyRequest
|
1291
1325
|
# @private
|
1292
1326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1079,14 +1079,16 @@ module Google
|
|
1079
1079
|
# @param [String] region
|
1080
1080
|
# Required. The Dataproc region in which to handle the request.
|
1081
1081
|
# @param [Google::Apis::DataprocV1::Cluster] cluster_object
|
1082
|
+
# @param [String] action_on_failed_primary_workers
|
1083
|
+
# Optional. Failure action when primary worker creation fails.
|
1082
1084
|
# @param [String] request_id
|
1083
|
-
# Optional. A unique
|
1085
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
1084
1086
|
# CreateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
1085
1087
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateClusterRequest)s with
|
1086
1088
|
# the same id, then the second request will be ignored and the first google.
|
1087
1089
|
# longrunning.Operation created and stored in the backend is returned.It is
|
1088
1090
|
# recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
|
1089
|
-
# Universally_unique_identifier).The
|
1091
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
1090
1092
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
1091
1093
|
# characters.
|
1092
1094
|
# @param [String] fields
|
@@ -1106,7 +1108,7 @@ module Google
|
|
1106
1108
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1107
1109
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1108
1110
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1109
|
-
def create_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1111
|
+
def create_cluster(project_id, region, cluster_object = nil, action_on_failed_primary_workers: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1110
1112
|
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters', options)
|
1111
1113
|
command.request_representation = Google::Apis::DataprocV1::Cluster::Representation
|
1112
1114
|
command.request_object = cluster_object
|
@@ -1114,6 +1116,7 @@ module Google
|
|
1114
1116
|
command.response_class = Google::Apis::DataprocV1::Operation
|
1115
1117
|
command.params['projectId'] = project_id unless project_id.nil?
|
1116
1118
|
command.params['region'] = region unless region.nil?
|
1119
|
+
command.query['actionOnFailedPrimaryWorkers'] = action_on_failed_primary_workers unless action_on_failed_primary_workers.nil?
|
1117
1120
|
command.query['requestId'] = request_id unless request_id.nil?
|
1118
1121
|
command.query['fields'] = fields unless fields.nil?
|
1119
1122
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1134,13 +1137,13 @@ module Google
|
|
1134
1137
|
# Optional. Specifying the cluster_uuid means the RPC should fail (with error
|
1135
1138
|
# NOT_FOUND) if cluster with specified UUID does not exist.
|
1136
1139
|
# @param [String] request_id
|
1137
|
-
# Optional. A unique
|
1140
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
1138
1141
|
# DeleteClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
1139
1142
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s with
|
1140
1143
|
# the same id, then the second request will be ignored and the first google.
|
1141
1144
|
# longrunning.Operation created and stored in the backend is returned.It is
|
1142
1145
|
# recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
|
1143
|
-
# Universally_unique_identifier).The
|
1146
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
1144
1147
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
1145
1148
|
# characters.
|
1146
1149
|
# @param [String] fields
|
@@ -1407,13 +1410,13 @@ module Google
|
|
1407
1410
|
# buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and
|
1408
1411
|
# higher.
|
1409
1412
|
# @param [String] request_id
|
1410
|
-
# Optional. A unique
|
1413
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
1411
1414
|
# UpdateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
1412
1415
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.UpdateClusterRequest)s with
|
1413
1416
|
# the same id, then the second request will be ignored and the first google.
|
1414
1417
|
# longrunning.Operation created and stored in the backend is returned.It is
|
1415
1418
|
# recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
|
1416
|
-
# Universally_unique_identifier).The
|
1419
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
1417
1420
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
1418
1421
|
# characters.
|
1419
1422
|
# @param [String] update_mask
|
@@ -1464,6 +1467,45 @@ module Google
|
|
1464
1467
|
execute_or_queue_command(command, &block)
|
1465
1468
|
end
|
1466
1469
|
|
1470
|
+
# Repairs a cluster.
|
1471
|
+
# @param [String] project_id
|
1472
|
+
# Required. The ID of the Google Cloud Platform project the cluster belongs to.
|
1473
|
+
# @param [String] region
|
1474
|
+
# Required. The Dataproc region in which to handle the request.
|
1475
|
+
# @param [String] cluster_name
|
1476
|
+
# Required. The cluster name.
|
1477
|
+
# @param [Google::Apis::DataprocV1::RepairClusterRequest] repair_cluster_request_object
|
1478
|
+
# @param [String] fields
|
1479
|
+
# Selector specifying which fields to include in a partial response.
|
1480
|
+
# @param [String] quota_user
|
1481
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1482
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1483
|
+
# @param [Google::Apis::RequestOptions] options
|
1484
|
+
# Request-specific options
|
1485
|
+
#
|
1486
|
+
# @yield [result, err] Result & error if block supplied
|
1487
|
+
# @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object
|
1488
|
+
# @yieldparam err [StandardError] error object if request failed
|
1489
|
+
#
|
1490
|
+
# @return [Google::Apis::DataprocV1::Operation]
|
1491
|
+
#
|
1492
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1493
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1494
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1495
|
+
def repair_cluster(project_id, region, cluster_name, repair_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1496
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:repair', options)
|
1497
|
+
command.request_representation = Google::Apis::DataprocV1::RepairClusterRequest::Representation
|
1498
|
+
command.request_object = repair_cluster_request_object
|
1499
|
+
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
1500
|
+
command.response_class = Google::Apis::DataprocV1::Operation
|
1501
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
1502
|
+
command.params['region'] = region unless region.nil?
|
1503
|
+
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
1504
|
+
command.query['fields'] = fields unless fields.nil?
|
1505
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1506
|
+
execute_or_queue_command(command, &block)
|
1507
|
+
end
|
1508
|
+
|
1467
1509
|
# Sets the access control policy on the specified resource. Replaces any
|
1468
1510
|
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1469
1511
|
# errors.
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
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.15.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-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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/master/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.15.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dataproc_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|