google-apis-dataproc_v1 0.7.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a756ff33817c7413dcd54bd39af08b481ac20e7df81d14639fe16bf706601a23
|
4
|
+
data.tar.gz: 667a3043b86e9342b96e7708c275786594a47289d1c45228cb8ed467765a5274
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fab90a6cacbc001bbfb80901128d5432916042e9e8241a30846a388ba288ff16295c6f7684af15d2aa7c4bb59334dec678dcca1a8ac8285a779dae44ff9168b
|
7
|
+
data.tar.gz: e15c5b7c3c90edf42fb8532a197bc9dd3cc84cfa7c800935a38dbd85eb21e41ef4d0fd58a070ad93b4f5a99f308f78cbf94be63cccb1d00298fbc75a181dca6f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2021-07-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210625
|
6
|
+
* Regenerated using generator version 0.4.0
|
7
|
+
|
8
|
+
### v0.11.0 (2021-06-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210622
|
11
|
+
|
12
|
+
### v0.10.0 (2021-06-04)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210521
|
15
|
+
* Regenerated using generator version 0.3.0
|
16
|
+
|
17
|
+
### v0.9.0 (2021-05-19)
|
18
|
+
|
19
|
+
* Unspecified changes
|
20
|
+
|
21
|
+
### v0.8.0 (2021-05-18)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210507
|
24
|
+
|
3
25
|
### v0.7.0 (2021-03-26)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210322
|
@@ -228,6 +228,67 @@ module Google
|
|
228
228
|
end
|
229
229
|
end
|
230
230
|
|
231
|
+
# Metadata describing the Batch operation.
|
232
|
+
class BatchOperationMetadata
|
233
|
+
include Google::Apis::Core::Hashable
|
234
|
+
|
235
|
+
# Name of the batch for the operation.
|
236
|
+
# Corresponds to the JSON property `batch`
|
237
|
+
# @return [String]
|
238
|
+
attr_accessor :batch
|
239
|
+
|
240
|
+
# Batch UUID for the operation.
|
241
|
+
# Corresponds to the JSON property `batchUuid`
|
242
|
+
# @return [String]
|
243
|
+
attr_accessor :batch_uuid
|
244
|
+
|
245
|
+
# The time when the operation was created.
|
246
|
+
# Corresponds to the JSON property `createTime`
|
247
|
+
# @return [String]
|
248
|
+
attr_accessor :create_time
|
249
|
+
|
250
|
+
# Short description of the operation.
|
251
|
+
# Corresponds to the JSON property `description`
|
252
|
+
# @return [String]
|
253
|
+
attr_accessor :description
|
254
|
+
|
255
|
+
# The time when the operation finished.
|
256
|
+
# Corresponds to the JSON property `doneTime`
|
257
|
+
# @return [String]
|
258
|
+
attr_accessor :done_time
|
259
|
+
|
260
|
+
# Labels associated with the operation.
|
261
|
+
# Corresponds to the JSON property `labels`
|
262
|
+
# @return [Hash<String,String>]
|
263
|
+
attr_accessor :labels
|
264
|
+
|
265
|
+
# The operation type.
|
266
|
+
# Corresponds to the JSON property `operationType`
|
267
|
+
# @return [String]
|
268
|
+
attr_accessor :operation_type
|
269
|
+
|
270
|
+
# Warnings encountered during operation execution.
|
271
|
+
# Corresponds to the JSON property `warnings`
|
272
|
+
# @return [Array<String>]
|
273
|
+
attr_accessor :warnings
|
274
|
+
|
275
|
+
def initialize(**args)
|
276
|
+
update!(**args)
|
277
|
+
end
|
278
|
+
|
279
|
+
# Update properties of this object
|
280
|
+
def update!(**args)
|
281
|
+
@batch = args[:batch] if args.key?(:batch)
|
282
|
+
@batch_uuid = args[:batch_uuid] if args.key?(:batch_uuid)
|
283
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
284
|
+
@description = args[:description] if args.key?(:description)
|
285
|
+
@done_time = args[:done_time] if args.key?(:done_time)
|
286
|
+
@labels = args[:labels] if args.key?(:labels)
|
287
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
288
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
231
292
|
# Associates members with a role.
|
232
293
|
class Binding
|
233
294
|
include Google::Apis::Core::Hashable
|
@@ -731,6 +792,28 @@ module Google
|
|
731
792
|
end
|
732
793
|
end
|
733
794
|
|
795
|
+
# Confidential Instance Config for clusters using Confidential VMs (https://
|
796
|
+
# cloud.google.com/compute/confidential-vm/docs)
|
797
|
+
class ConfidentialInstanceConfig
|
798
|
+
include Google::Apis::Core::Hashable
|
799
|
+
|
800
|
+
# Optional. Defines whether the instance should have confidential compute
|
801
|
+
# enabled.
|
802
|
+
# Corresponds to the JSON property `enableConfidentialCompute`
|
803
|
+
# @return [Boolean]
|
804
|
+
attr_accessor :enable_confidential_compute
|
805
|
+
alias_method :enable_confidential_compute?, :enable_confidential_compute
|
806
|
+
|
807
|
+
def initialize(**args)
|
808
|
+
update!(**args)
|
809
|
+
end
|
810
|
+
|
811
|
+
# Update properties of this object
|
812
|
+
def update!(**args)
|
813
|
+
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
734
817
|
# A request to collect cluster diagnostic information.
|
735
818
|
class DiagnoseClusterRequest
|
736
819
|
include Google::Apis::Core::Hashable
|
@@ -926,6 +1009,12 @@ module Google
|
|
926
1009
|
class GceClusterConfig
|
927
1010
|
include Google::Apis::Core::Hashable
|
928
1011
|
|
1012
|
+
# Confidential Instance Config for clusters using Confidential VMs (https://
|
1013
|
+
# cloud.google.com/compute/confidential-vm/docs)
|
1014
|
+
# Corresponds to the JSON property `confidentialInstanceConfig`
|
1015
|
+
# @return [Google::Apis::DataprocV1::ConfidentialInstanceConfig]
|
1016
|
+
attr_accessor :confidential_instance_config
|
1017
|
+
|
929
1018
|
# Optional. If true, all instances in the cluster will only have internal IP
|
930
1019
|
# addresses. By default, clusters are not restricted to internal IP addresses,
|
931
1020
|
# and will have ephemeral external IP addresses assigned to each instance. This
|
@@ -1033,6 +1122,7 @@ module Google
|
|
1033
1122
|
|
1034
1123
|
# Update properties of this object
|
1035
1124
|
def update!(**args)
|
1125
|
+
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
|
1036
1126
|
@internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only)
|
1037
1127
|
@metadata = args[:metadata] if args.key?(:metadata)
|
1038
1128
|
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
@@ -1462,7 +1552,12 @@ module Google
|
|
1462
1552
|
# @return [String]
|
1463
1553
|
attr_accessor :instance_name
|
1464
1554
|
|
1465
|
-
# The public key used for sharing data with this instance.
|
1555
|
+
# The public ECIES key used for sharing data with this instance.
|
1556
|
+
# Corresponds to the JSON property `publicEciesKey`
|
1557
|
+
# @return [String]
|
1558
|
+
attr_accessor :public_ecies_key
|
1559
|
+
|
1560
|
+
# The public RSA key used for sharing data with this instance.
|
1466
1561
|
# Corresponds to the JSON property `publicKey`
|
1467
1562
|
# @return [String]
|
1468
1563
|
attr_accessor :public_key
|
@@ -1475,6 +1570,7 @@ module Google
|
|
1475
1570
|
def update!(**args)
|
1476
1571
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
1477
1572
|
@instance_name = args[:instance_name] if args.key?(:instance_name)
|
1573
|
+
@public_ecies_key = args[:public_ecies_key] if args.key?(:public_ecies_key)
|
1478
1574
|
@public_key = args[:public_key] if args.key?(:public_key)
|
1479
1575
|
end
|
1480
1576
|
end
|
@@ -2846,6 +2942,38 @@ module Google
|
|
2846
2942
|
end
|
2847
2943
|
end
|
2848
2944
|
|
2945
|
+
# A request to repair a cluster.
|
2946
|
+
class RepairClusterRequest
|
2947
|
+
include Google::Apis::Core::Hashable
|
2948
|
+
|
2949
|
+
# Optional. Specifying the cluster_uuid means the RPC will fail (with error
|
2950
|
+
# NOT_FOUND) if a cluster with the specified UUID does not exist.
|
2951
|
+
# Corresponds to the JSON property `clusterUuid`
|
2952
|
+
# @return [String]
|
2953
|
+
attr_accessor :cluster_uuid
|
2954
|
+
|
2955
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
2956
|
+
# RepairClusterRequests with the same ID, the second request is ignored, and the
|
2957
|
+
# first google.longrunning.Operation created and stored in the backend is
|
2958
|
+
# returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/
|
2959
|
+
# wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z)
|
2960
|
+
# , numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
2961
|
+
# characters.
|
2962
|
+
# Corresponds to the JSON property `requestId`
|
2963
|
+
# @return [String]
|
2964
|
+
attr_accessor :request_id
|
2965
|
+
|
2966
|
+
def initialize(**args)
|
2967
|
+
update!(**args)
|
2968
|
+
end
|
2969
|
+
|
2970
|
+
# Update properties of this object
|
2971
|
+
def update!(**args)
|
2972
|
+
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
2973
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
2974
|
+
end
|
2975
|
+
end
|
2976
|
+
|
2849
2977
|
# Reservation Affinity for consuming Zonal reservation.
|
2850
2978
|
class ReservationAffinity
|
2851
2979
|
include Google::Apis::Core::Hashable
|
@@ -3218,13 +3346,13 @@ module Google
|
|
3218
3346
|
# @return [String]
|
3219
3347
|
attr_accessor :cluster_uuid
|
3220
3348
|
|
3221
|
-
# Optional. A unique
|
3349
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
3222
3350
|
# StartClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
3223
3351
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)s with
|
3224
3352
|
# the same id, then the second request will be ignored and the first google.
|
3225
3353
|
# longrunning.Operation created and stored in the backend is returned.
|
3226
3354
|
# Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/
|
3227
|
-
# Universally_unique_identifier).The
|
3355
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
3228
3356
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
3229
3357
|
# characters.
|
3230
3358
|
# Corresponds to the JSON property `requestId`
|
@@ -3291,13 +3419,13 @@ module Google
|
|
3291
3419
|
# @return [String]
|
3292
3420
|
attr_accessor :cluster_uuid
|
3293
3421
|
|
3294
|
-
# Optional. A unique
|
3422
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
3295
3423
|
# StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
3296
3424
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)s with
|
3297
3425
|
# the same id, then the second request will be ignored and the first google.
|
3298
3426
|
# longrunning.Operation created and stored in the backend is returned.
|
3299
3427
|
# Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/
|
3300
|
-
# Universally_unique_identifier).The
|
3428
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
3301
3429
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
3302
3430
|
# characters.
|
3303
3431
|
# 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.12.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 = "20210625"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class BatchOperationMetadata
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class Binding
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -112,6 +118,12 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class ConfidentialInstanceConfig
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class DiagnoseClusterRequest
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -400,6 +412,12 @@ module Google
|
|
400
412
|
include Google::Apis::Core::JsonObjectSupport
|
401
413
|
end
|
402
414
|
|
415
|
+
class RepairClusterRequest
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
403
421
|
class ReservationAffinity
|
404
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
423
|
|
@@ -581,6 +599,20 @@ module Google
|
|
581
599
|
end
|
582
600
|
end
|
583
601
|
|
602
|
+
class BatchOperationMetadata
|
603
|
+
# @private
|
604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
property :batch, as: 'batch'
|
606
|
+
property :batch_uuid, as: 'batchUuid'
|
607
|
+
property :create_time, as: 'createTime'
|
608
|
+
property :description, as: 'description'
|
609
|
+
property :done_time, as: 'doneTime'
|
610
|
+
hash :labels, as: 'labels'
|
611
|
+
property :operation_type, as: 'operationType'
|
612
|
+
collection :warnings, as: 'warnings'
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
584
616
|
class Binding
|
585
617
|
# @private
|
586
618
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -710,6 +742,13 @@ module Google
|
|
710
742
|
end
|
711
743
|
end
|
712
744
|
|
745
|
+
class ConfidentialInstanceConfig
|
746
|
+
# @private
|
747
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
748
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
713
752
|
class DiagnoseClusterRequest
|
714
753
|
# @private
|
715
754
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -766,6 +805,8 @@ module Google
|
|
766
805
|
class GceClusterConfig
|
767
806
|
# @private
|
768
807
|
class Representation < Google::Apis::Core::JsonRepresentation
|
808
|
+
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::DataprocV1::ConfidentialInstanceConfig, decorator: Google::Apis::DataprocV1::ConfidentialInstanceConfig::Representation
|
809
|
+
|
769
810
|
property :internal_ip_only, as: 'internalIpOnly'
|
770
811
|
hash :metadata, as: 'metadata'
|
771
812
|
property :network_uri, as: 'networkUri'
|
@@ -885,6 +926,7 @@ module Google
|
|
885
926
|
class Representation < Google::Apis::Core::JsonRepresentation
|
886
927
|
property :instance_id, as: 'instanceId'
|
887
928
|
property :instance_name, as: 'instanceName'
|
929
|
+
property :public_ecies_key, as: 'publicEciesKey'
|
888
930
|
property :public_key, as: 'publicKey'
|
889
931
|
end
|
890
932
|
end
|
@@ -1232,6 +1274,14 @@ module Google
|
|
1232
1274
|
end
|
1233
1275
|
end
|
1234
1276
|
|
1277
|
+
class RepairClusterRequest
|
1278
|
+
# @private
|
1279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1280
|
+
property :cluster_uuid, as: 'clusterUuid'
|
1281
|
+
property :request_id, as: 'requestId'
|
1282
|
+
end
|
1283
|
+
end
|
1284
|
+
|
1235
1285
|
class ReservationAffinity
|
1236
1286
|
# @private
|
1237
1287
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1080,13 +1080,13 @@ module Google
|
|
1080
1080
|
# Required. The Dataproc region in which to handle the request.
|
1081
1081
|
# @param [Google::Apis::DataprocV1::Cluster] cluster_object
|
1082
1082
|
# @param [String] request_id
|
1083
|
-
# Optional. A unique
|
1083
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
1084
1084
|
# CreateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
1085
1085
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateClusterRequest)s with
|
1086
1086
|
# the same id, then the second request will be ignored and the first google.
|
1087
1087
|
# longrunning.Operation created and stored in the backend is returned.It is
|
1088
1088
|
# recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
|
1089
|
-
# Universally_unique_identifier).The
|
1089
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
1090
1090
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
1091
1091
|
# characters.
|
1092
1092
|
# @param [String] fields
|
@@ -1134,13 +1134,13 @@ module Google
|
|
1134
1134
|
# Optional. Specifying the cluster_uuid means the RPC should fail (with error
|
1135
1135
|
# NOT_FOUND) if cluster with specified UUID does not exist.
|
1136
1136
|
# @param [String] request_id
|
1137
|
-
# Optional. A unique
|
1137
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
1138
1138
|
# DeleteClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
1139
1139
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s with
|
1140
1140
|
# the same id, then the second request will be ignored and the first google.
|
1141
1141
|
# longrunning.Operation created and stored in the backend is returned.It is
|
1142
1142
|
# recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
|
1143
|
-
# Universally_unique_identifier).The
|
1143
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
1144
1144
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
1145
1145
|
# characters.
|
1146
1146
|
# @param [String] fields
|
@@ -1388,7 +1388,8 @@ module Google
|
|
1388
1388
|
|
1389
1389
|
# Updates a cluster in a project. The returned Operation.metadata will be
|
1390
1390
|
# ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/
|
1391
|
-
# google.cloud.dataproc.v1#clusteroperationmetadata).
|
1391
|
+
# google.cloud.dataproc.v1#clusteroperationmetadata). The cluster must be in a
|
1392
|
+
# RUNNING state or an error is returned.
|
1392
1393
|
# @param [String] project_id
|
1393
1394
|
# Required. The ID of the Google Cloud Platform project the cluster belongs to.
|
1394
1395
|
# @param [String] region
|
@@ -1406,13 +1407,13 @@ module Google
|
|
1406
1407
|
# buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and
|
1407
1408
|
# higher.
|
1408
1409
|
# @param [String] request_id
|
1409
|
-
# Optional. A unique
|
1410
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
1410
1411
|
# UpdateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
1411
1412
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.UpdateClusterRequest)s with
|
1412
1413
|
# the same id, then the second request will be ignored and the first google.
|
1413
1414
|
# longrunning.Operation created and stored in the backend is returned.It is
|
1414
1415
|
# recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
|
1415
|
-
# Universally_unique_identifier).The
|
1416
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
1416
1417
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
1417
1418
|
# characters.
|
1418
1419
|
# @param [String] update_mask
|
@@ -1463,6 +1464,45 @@ module Google
|
|
1463
1464
|
execute_or_queue_command(command, &block)
|
1464
1465
|
end
|
1465
1466
|
|
1467
|
+
# Repairs a cluster.
|
1468
|
+
# @param [String] project_id
|
1469
|
+
# Required. The ID of the Google Cloud Platform project the cluster belongs to.
|
1470
|
+
# @param [String] region
|
1471
|
+
# Required. The Dataproc region in which to handle the request.
|
1472
|
+
# @param [String] cluster_name
|
1473
|
+
# Required. The cluster name.
|
1474
|
+
# @param [Google::Apis::DataprocV1::RepairClusterRequest] repair_cluster_request_object
|
1475
|
+
# @param [String] fields
|
1476
|
+
# Selector specifying which fields to include in a partial response.
|
1477
|
+
# @param [String] quota_user
|
1478
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1479
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1480
|
+
# @param [Google::Apis::RequestOptions] options
|
1481
|
+
# Request-specific options
|
1482
|
+
#
|
1483
|
+
# @yield [result, err] Result & error if block supplied
|
1484
|
+
# @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object
|
1485
|
+
# @yieldparam err [StandardError] error object if request failed
|
1486
|
+
#
|
1487
|
+
# @return [Google::Apis::DataprocV1::Operation]
|
1488
|
+
#
|
1489
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1490
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1491
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1492
|
+
def repair_cluster(project_id, region, cluster_name, repair_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1493
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:repair', options)
|
1494
|
+
command.request_representation = Google::Apis::DataprocV1::RepairClusterRequest::Representation
|
1495
|
+
command.request_object = repair_cluster_request_object
|
1496
|
+
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
1497
|
+
command.response_class = Google::Apis::DataprocV1::Operation
|
1498
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
1499
|
+
command.params['region'] = region unless region.nil?
|
1500
|
+
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
1501
|
+
command.query['fields'] = fields unless fields.nil?
|
1502
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1503
|
+
execute_or_queue_command(command, &block)
|
1504
|
+
end
|
1505
|
+
|
1466
1506
|
# Sets the access control policy on the specified resource. Replaces any
|
1467
1507
|
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1468
1508
|
# errors.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.12.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-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Dataproc API V1. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dataproc_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.12.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dataproc_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Cloud Dataproc API V1
|