google-apis-dataproc_v1 0.4.0 → 0.9.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: f7516684d412d6af213543dbfbc5d146a4698829b5140853b25802c9958bde00
4
- data.tar.gz: d9f168ec3ce47dd2cd2f601843efc01191ffca0c32fd9f350603ca9648632ac6
3
+ metadata.gz: 85ec2f14f1a0d9ca7ba100ff122b3954455a7e99a0bf4ac75d8fda83ead9b8fb
4
+ data.tar.gz: 3f29d6db78f67d1a3c4aacb3549aab64c742e43c10b48ffdbe672a20fde4a138
5
5
  SHA512:
6
- metadata.gz: cc2f157f7ca5c80674c4f335aee7ac16314dfdb0b37c6fbe34a2282d30c5123ee6e094c7dab58ddf58e55be5ec9aa906f8fbf5807373a6193634d6cb3d5f9865
7
- data.tar.gz: b062132d4b47493bf668669b6a25e94870e289b505a85735b127922f7e4624d2466cc5b6f81f2a9a5d9db0095abc83d794b443d8e942689b15df6f2680a1c994
6
+ metadata.gz: 9c607b05c3aa0826a00a4c3129d9d1d86fa794c1f45cb0fc159bb054c92dba1f1126a8c3442c9e5d80d78ff88ca8bec20099ff660d7b55a20ba29c6e1ddbfa90
7
+ data.tar.gz: 0d355a6154e987c3d4f0644d272abd84e05674da1cea22e596193467162d1c7629bd6877cf963ea4df115799043d05a962c6f756d85adc1d4f47d9951fc254bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.9.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.8.0 (2021-05-18)
8
+
9
+ * Regenerated from discovery document revision 20210507
10
+
11
+ ### v0.7.0 (2021-03-26)
12
+
13
+ * Regenerated from discovery document revision 20210322
14
+
15
+ ### v0.6.0 (2021-03-18)
16
+
17
+ * Regenerated from discovery document revision 20210315
18
+
19
+ ### v0.5.0 (2021-03-12)
20
+
21
+ * Regenerated from discovery document revision 20210305
22
+ * Regenerated using generator version 0.2.0
23
+
3
24
  ### v0.4.0 (2021-03-04)
4
25
 
5
26
  * Unspecified changes
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
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
@@ -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
@@ -418,6 +479,11 @@ module Google
418
479
  # @return [Google::Apis::DataprocV1::GceClusterConfig]
419
480
  attr_accessor :gce_cluster_config
420
481
 
482
+ # The GKE config for this cluster.
483
+ # Corresponds to the JSON property `gkeClusterConfig`
484
+ # @return [Google::Apis::DataprocV1::GkeClusterConfig]
485
+ attr_accessor :gke_cluster_config
486
+
421
487
  # Optional. Commands to execute on each node after config is completed. By
422
488
  # default, executables are run on master and all worker nodes. You can test a
423
489
  # node's role metadata to run an executable on a master or worker node, as shown
@@ -490,6 +556,7 @@ module Google
490
556
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
491
557
  @endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config)
492
558
  @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config)
559
+ @gke_cluster_config = args[:gke_cluster_config] if args.key?(:gke_cluster_config)
493
560
  @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions)
494
561
  @lifecycle_config = args[:lifecycle_config] if args.key?(:lifecycle_config)
495
562
  @master_config = args[:master_config] if args.key?(:master_config)
@@ -725,6 +792,28 @@ module Google
725
792
  end
726
793
  end
727
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
+
728
817
  # A request to collect cluster diagnostic information.
729
818
  class DiagnoseClusterRequest
730
819
  include Google::Apis::Core::Hashable
@@ -920,6 +1009,12 @@ module Google
920
1009
  class GceClusterConfig
921
1010
  include Google::Apis::Core::Hashable
922
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
+
923
1018
  # Optional. If true, all instances in the cluster will only have internal IP
924
1019
  # addresses. By default, clusters are not restricted to internal IP addresses,
925
1020
  # and will have ephemeral external IP addresses assigned to each instance. This
@@ -1027,6 +1122,7 @@ module Google
1027
1122
 
1028
1123
  # Update properties of this object
1029
1124
  def update!(**args)
1125
+ @confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
1030
1126
  @internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only)
1031
1127
  @metadata = args[:metadata] if args.key?(:metadata)
1032
1128
  @network_uri = args[:network_uri] if args.key?(:network_uri)
@@ -1085,6 +1181,25 @@ module Google
1085
1181
  end
1086
1182
  end
1087
1183
 
1184
+ # The GKE config for this cluster.
1185
+ class GkeClusterConfig
1186
+ include Google::Apis::Core::Hashable
1187
+
1188
+ # A full, namespace-isolated deployment target for an existing GKE cluster.
1189
+ # Corresponds to the JSON property `namespacedGkeDeploymentTarget`
1190
+ # @return [Google::Apis::DataprocV1::NamespacedGkeDeploymentTarget]
1191
+ attr_accessor :namespaced_gke_deployment_target
1192
+
1193
+ def initialize(**args)
1194
+ update!(**args)
1195
+ end
1196
+
1197
+ # Update properties of this object
1198
+ def update!(**args)
1199
+ @namespaced_gke_deployment_target = args[:namespaced_gke_deployment_target] if args.key?(:namespaced_gke_deployment_target)
1200
+ end
1201
+ end
1202
+
1088
1203
  # A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/
1089
1204
  # docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
1090
1205
  # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
@@ -1221,6 +1336,26 @@ module Google
1221
1336
  end
1222
1337
  end
1223
1338
 
1339
+ # Identity related configuration, including service account based secure multi-
1340
+ # tenancy user mappings.
1341
+ class IdentityConfig
1342
+ include Google::Apis::Core::Hashable
1343
+
1344
+ # Required. Map of user to service account.
1345
+ # Corresponds to the JSON property `userServiceAccountMapping`
1346
+ # @return [Hash<String,String>]
1347
+ attr_accessor :user_service_account_mapping
1348
+
1349
+ def initialize(**args)
1350
+ update!(**args)
1351
+ end
1352
+
1353
+ # Update properties of this object
1354
+ def update!(**args)
1355
+ @user_service_account_mapping = args[:user_service_account_mapping] if args.key?(:user_service_account_mapping)
1356
+ end
1357
+ end
1358
+
1224
1359
  # A request to inject credentials into a cluster.
1225
1360
  class InjectCredentialsRequest
1226
1361
  include Google::Apis::Core::Hashable
@@ -1369,8 +1504,9 @@ module Google
1369
1504
  # @return [String]
1370
1505
  attr_accessor :min_cpu_platform
1371
1506
 
1372
- # Optional. The number of VM instances in the instance group. For master
1373
- # instance groups, must be set to 1.
1507
+ # Optional. The number of VM instances in the instance group. For HA cluster
1508
+ # master_config groups, must be set to 3. For standard cluster master_config
1509
+ # groups, must be set to 1.
1374
1510
  # Corresponds to the JSON property `numInstances`
1375
1511
  # @return [Fixnum]
1376
1512
  attr_accessor :num_instances
@@ -2199,6 +2335,32 @@ module Google
2199
2335
  end
2200
2336
  end
2201
2337
 
2338
+ # A full, namespace-isolated deployment target for an existing GKE cluster.
2339
+ class NamespacedGkeDeploymentTarget
2340
+ include Google::Apis::Core::Hashable
2341
+
2342
+ # Optional. A namespace within the GKE cluster to deploy into.
2343
+ # Corresponds to the JSON property `clusterNamespace`
2344
+ # @return [String]
2345
+ attr_accessor :cluster_namespace
2346
+
2347
+ # Optional. The target GKE cluster to deploy to. Format: 'projects/`project`/
2348
+ # locations/`location`/clusters/`cluster_id`'
2349
+ # Corresponds to the JSON property `targetGkeCluster`
2350
+ # @return [String]
2351
+ attr_accessor :target_gke_cluster
2352
+
2353
+ def initialize(**args)
2354
+ update!(**args)
2355
+ end
2356
+
2357
+ # Update properties of this object
2358
+ def update!(**args)
2359
+ @cluster_namespace = args[:cluster_namespace] if args.key?(:cluster_namespace)
2360
+ @target_gke_cluster = args[:target_gke_cluster] if args.key?(:target_gke_cluster)
2361
+ end
2362
+ end
2363
+
2202
2364
  # Node Group Affinity for clusters using sole-tenant node groups.
2203
2365
  class NodeGroupAffinity
2204
2366
  include Google::Apis::Core::Hashable
@@ -2809,6 +2971,12 @@ module Google
2809
2971
  class SecurityConfig
2810
2972
  include Google::Apis::Core::Hashable
2811
2973
 
2974
+ # Identity related configuration, including service account based secure multi-
2975
+ # tenancy user mappings.
2976
+ # Corresponds to the JSON property `identityConfig`
2977
+ # @return [Google::Apis::DataprocV1::IdentityConfig]
2978
+ attr_accessor :identity_config
2979
+
2812
2980
  # Specifies Kerberos related configuration.
2813
2981
  # Corresponds to the JSON property `kerberosConfig`
2814
2982
  # @return [Google::Apis::DataprocV1::KerberosConfig]
@@ -2820,6 +2988,7 @@ module Google
2820
2988
 
2821
2989
  # Update properties of this object
2822
2990
  def update!(**args)
2991
+ @identity_config = args[:identity_config] if args.key?(:identity_config)
2823
2992
  @kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
2824
2993
  end
2825
2994
  end
@@ -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.4.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210205"
25
+ REVISION = "20210507"
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
 
@@ -172,6 +184,12 @@ module Google
172
184
  include Google::Apis::Core::JsonObjectSupport
173
185
  end
174
186
 
187
+ class GkeClusterConfig
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class HadoopJob
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -184,6 +202,12 @@ module Google
184
202
  include Google::Apis::Core::JsonObjectSupport
185
203
  end
186
204
 
205
+ class IdentityConfig
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
187
211
  class InjectCredentialsRequest
188
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
213
 
@@ -316,6 +340,12 @@ module Google
316
340
  include Google::Apis::Core::JsonObjectSupport
317
341
  end
318
342
 
343
+ class NamespacedGkeDeploymentTarget
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
319
349
  class NodeGroupAffinity
320
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
351
 
@@ -563,6 +593,20 @@ module Google
563
593
  end
564
594
  end
565
595
 
596
+ class BatchOperationMetadata
597
+ # @private
598
+ class Representation < Google::Apis::Core::JsonRepresentation
599
+ property :batch, as: 'batch'
600
+ property :batch_uuid, as: 'batchUuid'
601
+ property :create_time, as: 'createTime'
602
+ property :description, as: 'description'
603
+ property :done_time, as: 'doneTime'
604
+ hash :labels, as: 'labels'
605
+ property :operation_type, as: 'operationType'
606
+ collection :warnings, as: 'warnings'
607
+ end
608
+ end
609
+
566
610
  class Binding
567
611
  # @private
568
612
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -609,6 +653,8 @@ module Google
609
653
 
610
654
  property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
611
655
 
656
+ property :gke_cluster_config, as: 'gkeClusterConfig', class: Google::Apis::DataprocV1::GkeClusterConfig, decorator: Google::Apis::DataprocV1::GkeClusterConfig::Representation
657
+
612
658
  collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
613
659
 
614
660
  property :lifecycle_config, as: 'lifecycleConfig', class: Google::Apis::DataprocV1::LifecycleConfig, decorator: Google::Apis::DataprocV1::LifecycleConfig::Representation
@@ -690,6 +736,13 @@ module Google
690
736
  end
691
737
  end
692
738
 
739
+ class ConfidentialInstanceConfig
740
+ # @private
741
+ class Representation < Google::Apis::Core::JsonRepresentation
742
+ property :enable_confidential_compute, as: 'enableConfidentialCompute'
743
+ end
744
+ end
745
+
693
746
  class DiagnoseClusterRequest
694
747
  # @private
695
748
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -746,6 +799,8 @@ module Google
746
799
  class GceClusterConfig
747
800
  # @private
748
801
  class Representation < Google::Apis::Core::JsonRepresentation
802
+ property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::DataprocV1::ConfidentialInstanceConfig, decorator: Google::Apis::DataprocV1::ConfidentialInstanceConfig::Representation
803
+
749
804
  property :internal_ip_only, as: 'internalIpOnly'
750
805
  hash :metadata, as: 'metadata'
751
806
  property :network_uri, as: 'networkUri'
@@ -779,6 +834,14 @@ module Google
779
834
  end
780
835
  end
781
836
 
837
+ class GkeClusterConfig
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ property :namespaced_gke_deployment_target, as: 'namespacedGkeDeploymentTarget', class: Google::Apis::DataprocV1::NamespacedGkeDeploymentTarget, decorator: Google::Apis::DataprocV1::NamespacedGkeDeploymentTarget::Representation
841
+
842
+ end
843
+ end
844
+
782
845
  class HadoopJob
783
846
  # @private
784
847
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -807,6 +870,13 @@ module Google
807
870
  end
808
871
  end
809
872
 
873
+ class IdentityConfig
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ hash :user_service_account_mapping, as: 'userServiceAccountMapping'
877
+ end
878
+ end
879
+
810
880
  class InjectCredentialsRequest
811
881
  # @private
812
882
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1056,6 +1126,14 @@ module Google
1056
1126
  end
1057
1127
  end
1058
1128
 
1129
+ class NamespacedGkeDeploymentTarget
1130
+ # @private
1131
+ class Representation < Google::Apis::Core::JsonRepresentation
1132
+ property :cluster_namespace, as: 'clusterNamespace'
1133
+ property :target_gke_cluster, as: 'targetGkeCluster'
1134
+ end
1135
+ end
1136
+
1059
1137
  class NodeGroupAffinity
1060
1138
  # @private
1061
1139
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1201,6 +1279,8 @@ module Google
1201
1279
  class SecurityConfig
1202
1280
  # @private
1203
1281
  class Representation < Google::Apis::Core::JsonRepresentation
1282
+ property :identity_config, as: 'identityConfig', class: Google::Apis::DataprocV1::IdentityConfig, decorator: Google::Apis::DataprocV1::IdentityConfig::Representation
1283
+
1204
1284
  property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::DataprocV1::KerberosConfig, decorator: Google::Apis::DataprocV1::KerberosConfig::Representation
1205
1285
 
1206
1286
  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.0
4
+ version: 0.9.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-03-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 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_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.9.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dataproc_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Dataproc API V1