google-apis-dataproc_v1beta2 0.1.0 → 0.6.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: 3b0ff1b1a9da43a93f57182c1e57f105c686fd9fed10b578053c2db113dbad67
4
- data.tar.gz: 2c63b9d98bd00fa90d47c7217843badb7fb34fe1d7fc0ca11ea092155881279c
3
+ metadata.gz: 0cba3c0e0c99af85f6ef28b755f19d8c60351d587e9ff9f39aebdf23237920ec
4
+ data.tar.gz: fbe524ac85ae30bde48c0ced738d375c008a586af7b7970c16cb0303184636e5
5
5
  SHA512:
6
- metadata.gz: d02cf9a4aa50b16d161a402d4d2e14b53546bf0eabc0162e578c719ac09ed90cc5a6128cdb7e604342682d4490521aef7d0b0463f72c2a93d8ba63eeb66dbb07
7
- data.tar.gz: 849ebd2c6e1a9572bc681c307da18a82617630a886c037aa7409c0a47a5c17e04f156ede2ea18bcf0ed2a5dacc94ae1e10586096b4253cd70a899a6da2205109
6
+ metadata.gz: 4fdd7d7523539e91080d3de090a066f52dc09485cb2e735d19deb660e56b695fe9305a3a493b9123def2bc87239dc9703816b2ee395adc365135a8cdb699dd70
7
+ data.tar.gz: 1595fb639e1527648b878e367df76a8d3d5c70567f2dd44f4f3535a576ca1f3c40797a23b6d9ea013fac7936c5722bd668e94c9ea3c9cde5cadcf6df64676459
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-dataproc_v1beta2
2
2
 
3
+ ### v0.6.0 (2021-03-18)
4
+
5
+ * Regenerated from discovery document revision 20210315
6
+
7
+ ### v0.5.0 (2021-03-12)
8
+
9
+ * Regenerated from discovery document revision 20210305
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.3.0 (2021-02-12)
17
+
18
+ * Regenerated from discovery document revision 20210205
19
+
20
+ ### v0.2.0 (2021-02-04)
21
+
22
+ * Regenerated from discovery document revision 20210128
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated from discovery document revision 20201229
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta2'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
@@ -772,8 +772,9 @@ module Google
772
772
  attr_accessor :boot_disk_size_gb
773
773
 
774
774
  # Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-
775
- # ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk
776
- # Hard Disk Drive).
775
+ # balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent
776
+ # Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive).
777
+ # See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).
777
778
  # Corresponds to the JSON property `bootDiskType`
778
779
  # @return [String]
779
780
  attr_accessor :boot_disk_type
@@ -992,7 +993,8 @@ module Google
992
993
  # @return [Array<String>]
993
994
  attr_accessor :service_account_scopes
994
995
 
995
- # Shielded Instance Config for clusters using shielded VMs.
996
+ # Shielded Instance Config for clusters using Compute Engine Shielded VMs (https:
997
+ # //cloud.google.com/security/shielded-cloud/shielded-vm).
996
998
  # Corresponds to the JSON property `shieldedInstanceConfig`
997
999
  # @return [Google::Apis::DataprocV1beta2::ShieldedInstanceConfig]
998
1000
  attr_accessor :shielded_instance_config
@@ -1390,8 +1392,9 @@ module Google
1390
1392
  # @return [String]
1391
1393
  attr_accessor :min_cpu_platform
1392
1394
 
1393
- # Optional. The number of VM instances in the instance group. For master
1394
- # instance groups, must be set to 1.
1395
+ # Optional. The number of VM instances in the instance group. For HA cluster
1396
+ # master_config groups, must be set to 3. For standard cluster master_config
1397
+ # groups, must be set to 1.
1395
1398
  # Corresponds to the JSON property `numInstances`
1396
1399
  # @return [Fixnum]
1397
1400
  attr_accessor :num_instances
@@ -1704,6 +1707,11 @@ module Google
1704
1707
  class JobPlacement
1705
1708
  include Google::Apis::Core::Hashable
1706
1709
 
1710
+ # Optional. Cluster labels to identify a cluster where the job will be submitted.
1711
+ # Corresponds to the JSON property `clusterLabels`
1712
+ # @return [Hash<String,String>]
1713
+ attr_accessor :cluster_labels
1714
+
1707
1715
  # Required. The name of the cluster where the job will be submitted.
1708
1716
  # Corresponds to the JSON property `clusterName`
1709
1717
  # @return [String]
@@ -1721,6 +1729,7 @@ module Google
1721
1729
 
1722
1730
  # Update properties of this object
1723
1731
  def update!(**args)
1732
+ @cluster_labels = args[:cluster_labels] if args.key?(:cluster_labels)
1724
1733
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
1725
1734
  @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
1726
1735
  end
@@ -1968,7 +1977,7 @@ module Google
1968
1977
  # Optional. The duration to keep the cluster alive while idling (when no jobs
1969
1978
  # are running). Passing this threshold will cause the cluster to be deleted.
1970
1979
  # Minimum value is 5 minutes; maximum value is 14 days (see JSON representation
1971
- # of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json).
1980
+ # of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
1972
1981
  # Corresponds to the JSON property `idleDeleteTtl`
1973
1982
  # @return [String]
1974
1983
  attr_accessor :idle_delete_ttl
@@ -2929,7 +2938,8 @@ module Google
2929
2938
  end
2930
2939
  end
2931
2940
 
2932
- # Shielded Instance Config for clusters using shielded VMs.
2941
+ # Shielded Instance Config for clusters using Compute Engine Shielded VMs (https:
2942
+ # //cloud.google.com/security/shielded-cloud/shielded-vm).
2933
2943
  class ShieldedInstanceConfig
2934
2944
  include Google::Apis::Core::Hashable
2935
2945
 
@@ -3195,19 +3205,21 @@ module Google
3195
3205
  class StartClusterRequest
3196
3206
  include Google::Apis::Core::Hashable
3197
3207
 
3198
- # Optional. Specifying the cluster_uuid means the RPC should fail (with error
3199
- # NOT_FOUND) if cluster with specified UUID does not exist.
3208
+ # Optional. Specifying the cluster_uuid means the RPC will fail (with error
3209
+ # NOT_FOUND) if a cluster with the specified UUID does not exist.
3200
3210
  # Corresponds to the JSON property `clusterUuid`
3201
3211
  # @return [String]
3202
3212
  attr_accessor :cluster_uuid
3203
3213
 
3204
3214
  # Optional. A unique id used to identify the request. If the server receives two
3205
- # StartClusterRequest requests with the same id, then the second request will be
3215
+ # StartClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
3216
+ # google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.
3217
+ # StartClusterRequest)s with the same id, then the second request will be
3206
3218
  # ignored and the first google.longrunning.Operation created and stored in the
3207
- # backend is returned.It is recommended to always set this value to a UUID (
3208
- # https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
3209
- # contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
3210
- # ). The maximum length is 40 characters.
3219
+ # backend is returned.Recommendation: Set this value to a UUID (https://en.
3220
+ # wikipedia.org/wiki/Universally_unique_identifier).The id must contain only
3221
+ # letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The
3222
+ # maximum length is 40 characters.
3211
3223
  # Corresponds to the JSON property `requestId`
3212
3224
  # @return [String]
3213
3225
  attr_accessor :request_id
@@ -3266,19 +3278,21 @@ module Google
3266
3278
  class StopClusterRequest
3267
3279
  include Google::Apis::Core::Hashable
3268
3280
 
3269
- # Optional. Specifying the cluster_uuid means the RPC should fail (with error
3270
- # NOT_FOUND) if cluster with specified UUID does not exist.
3281
+ # Optional. Specifying the cluster_uuid means the RPC will fail (with error
3282
+ # NOT_FOUND) if a cluster with the specified UUID does not exist.
3271
3283
  # Corresponds to the JSON property `clusterUuid`
3272
3284
  # @return [String]
3273
3285
  attr_accessor :cluster_uuid
3274
3286
 
3275
3287
  # Optional. A unique id used to identify the request. If the server receives two
3276
- # StopClusterRequest requests with the same id, then the second request will be
3277
- # ignored and the first google.longrunning.Operation created and stored in the
3278
- # backend is returned.It is recommended to always set this value to a UUID (
3279
- # https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
3280
- # contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
3281
- # ). The maximum length is 40 characters.
3288
+ # StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
3289
+ # google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.StopClusterRequest)
3290
+ # s with the same id, then the second request will be ignored and the first
3291
+ # google.longrunning.Operation created and stored in the backend is returned.
3292
+ # Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/
3293
+ # Universally_unique_identifier).The id must contain only letters (a-z, A-Z),
3294
+ # numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
3295
+ # characters.
3282
3296
  # Corresponds to the JSON property `requestId`
3283
3297
  # @return [String]
3284
3298
  attr_accessor :request_id
@@ -3304,12 +3318,13 @@ module Google
3304
3318
  attr_accessor :job
3305
3319
 
3306
3320
  # Optional. A unique id used to identify the request. If the server receives two
3307
- # SubmitJobRequest requests with the same id, then the second request will be
3308
- # ignored and the first Job created and stored in the backend is returned.It is
3309
- # recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
3310
- # Universally_unique_identifier).The id must contain only letters (a-z, A-Z),
3311
- # numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
3312
- # characters.
3321
+ # SubmitJobRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.
3322
+ # cloud.dataproc.v1beta2#google.cloud.dataproc.v1.SubmitJobRequest)s with the
3323
+ # same id, then the second request will be ignored and the first Job created and
3324
+ # stored in the backend is returned.It is recommended to always set this value
3325
+ # to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id
3326
+ # must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and
3327
+ # hyphens (-). The maximum length is 40 characters.
3313
3328
  # Corresponds to the JSON property `requestId`
3314
3329
  # @return [String]
3315
3330
  attr_accessor :request_id
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataprocV1beta2
18
18
  # Version of the google-apis-dataproc_v1beta2 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201229"
25
+ REVISION = "20210315"
26
26
  end
27
27
  end
28
28
  end
@@ -940,6 +940,7 @@ module Google
940
940
  class JobPlacement
941
941
  # @private
942
942
  class Representation < Google::Apis::Core::JsonRepresentation
943
+ hash :cluster_labels, as: 'clusterLabels'
943
944
  property :cluster_name, as: 'clusterName'
944
945
  property :cluster_uuid, as: 'clusterUuid'
945
946
  end
@@ -1099,9 +1099,11 @@ module Google
1099
1099
  # @param [Google::Apis::DataprocV1beta2::Cluster] cluster_object
1100
1100
  # @param [String] request_id
1101
1101
  # Optional. A unique id used to identify the request. If the server receives two
1102
- # CreateClusterRequest requests with the same id, then the second request will
1103
- # be ignored and the first google.longrunning.Operation created and stored in
1104
- # the backend is returned.It is recommended to always set this value to a UUID (
1102
+ # CreateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
1103
+ # google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.
1104
+ # CreateClusterRequest)s with the same id, then the second request will be
1105
+ # ignored and the first google.longrunning.Operation created and stored in the
1106
+ # backend is returned.It is recommended to always set this value to a UUID (
1105
1107
  # https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
1106
1108
  # contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
1107
1109
  # ). The maximum length is 40 characters.
@@ -1151,9 +1153,11 @@ module Google
1151
1153
  # NOT_FOUND) if cluster with specified UUID does not exist.
1152
1154
  # @param [String] request_id
1153
1155
  # Optional. A unique id used to identify the request. If the server receives two
1154
- # DeleteClusterRequest requests with the same id, then the second request will
1155
- # be ignored and the first google.longrunning.Operation created and stored in
1156
- # the backend is returned.It is recommended to always set this value to a UUID (
1156
+ # DeleteClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
1157
+ # google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.
1158
+ # DeleteClusterRequest)s with the same id, then the second request will be
1159
+ # ignored and the first google.longrunning.Operation created and stored in the
1160
+ # backend is returned.It is recommended to always set this value to a UUID (
1157
1161
  # https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
1158
1162
  # contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
1159
1163
  # ). The maximum length is 40 characters.
@@ -1424,9 +1428,11 @@ module Google
1424
1428
  # higher.
1425
1429
  # @param [String] request_id
1426
1430
  # Optional. A unique id used to identify the request. If the server receives two
1427
- # UpdateClusterRequest requests with the same id, then the second request will
1428
- # be ignored and the first google.longrunning.Operation created and stored in
1429
- # the backend is returned.It is recommended to always set this value to a UUID (
1431
+ # UpdateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
1432
+ # google.cloud.dataproc.v1beta2#google.cloud.dataproc.v1beta2.
1433
+ # UpdateClusterRequest)s with the same id, then the second request will be
1434
+ # ignored and the first google.longrunning.Operation created and stored in the
1435
+ # backend is returned.It is recommended to always set this value to a UUID (
1430
1436
  # https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
1431
1437
  # contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
1432
1438
  # ). The maximum length is 40 characters.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataproc_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dataproc_v1beta2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1beta2/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1beta2/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dataproc_v1beta2
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Dataproc API V1beta2