google-apis-dataproc_v1 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 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,10 @@
|
|
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
|
+
|
3
8
|
### v0.11.0 (2021-06-25)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20210622
|
@@ -2942,6 +2942,38 @@ module Google
|
|
2942
2942
|
end
|
2943
2943
|
end
|
2944
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
|
+
|
2945
2977
|
# Reservation Affinity for consuming Zonal reservation.
|
2946
2978
|
class ReservationAffinity
|
2947
2979
|
include Google::Apis::Core::Hashable
|
@@ -3314,13 +3346,13 @@ module Google
|
|
3314
3346
|
# @return [String]
|
3315
3347
|
attr_accessor :cluster_uuid
|
3316
3348
|
|
3317
|
-
# Optional. A unique
|
3349
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
3318
3350
|
# StartClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
3319
3351
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)s with
|
3320
3352
|
# the same id, then the second request will be ignored and the first google.
|
3321
3353
|
# longrunning.Operation created and stored in the backend is returned.
|
3322
3354
|
# Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/
|
3323
|
-
# Universally_unique_identifier).The
|
3355
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
3324
3356
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
3325
3357
|
# characters.
|
3326
3358
|
# Corresponds to the JSON property `requestId`
|
@@ -3387,13 +3419,13 @@ module Google
|
|
3387
3419
|
# @return [String]
|
3388
3420
|
attr_accessor :cluster_uuid
|
3389
3421
|
|
3390
|
-
# Optional. A unique
|
3422
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
3391
3423
|
# StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
3392
3424
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)s with
|
3393
3425
|
# the same id, then the second request will be ignored and the first google.
|
3394
3426
|
# longrunning.Operation created and stored in the backend is returned.
|
3395
3427
|
# Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/
|
3396
|
-
# Universally_unique_identifier).The
|
3428
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
3397
3429
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
3398
3430
|
# characters.
|
3399
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
|
@@ -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
|
|
@@ -1268,6 +1274,14 @@ module Google
|
|
1268
1274
|
end
|
1269
1275
|
end
|
1270
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
|
+
|
1271
1285
|
class ReservationAffinity
|
1272
1286
|
# @private
|
1273
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
|
@@ -1407,13 +1407,13 @@ module Google
|
|
1407
1407
|
# buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and
|
1408
1408
|
# higher.
|
1409
1409
|
# @param [String] request_id
|
1410
|
-
# Optional. A unique
|
1410
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
1411
1411
|
# UpdateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
1412
1412
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.UpdateClusterRequest)s with
|
1413
1413
|
# the same id, then the second request will be ignored and the first google.
|
1414
1414
|
# longrunning.Operation created and stored in the backend is returned.It is
|
1415
1415
|
# recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
|
1416
|
-
# Universally_unique_identifier).The
|
1416
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
1417
1417
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
1418
1418
|
# characters.
|
1419
1419
|
# @param [String] update_mask
|
@@ -1464,6 +1464,45 @@ module Google
|
|
1464
1464
|
execute_or_queue_command(command, &block)
|
1465
1465
|
end
|
1466
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
|
+
|
1467
1506
|
# Sets the access control policy on the specified resource. Replaces any
|
1468
1507
|
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1469
1508
|
# errors.
|
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.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
|
@@ -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.12.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: []
|