google-apis-dataproc_v1 0.2.0 → 0.7.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: 8ad60b8ea6621ba81b61c3d6222291fc5e2960e83624fa95de3b67ce6ce926e5
4
- data.tar.gz: 4d6b4683ad69abf1df73ad9272c0eb22a385034f7ea09dbfb15b581acfb6cb16
3
+ metadata.gz: e049559d191c55a5cd9bacb596a661e1987dbf54e79a698c0be15ee22553e507
4
+ data.tar.gz: c6ae876ecbef55e2c56410ca1a9b032bc474e2bce7a1a33bc33432f6883302e3
5
5
  SHA512:
6
- metadata.gz: c6e08c55c8dcd7b3facff58d9f5b61955c05696653deb986f63eaca71a279483588837d361c25a15c01ac38d7e99ebe84da58048d1a1a736a0de5214e306f60d
7
- data.tar.gz: d8f94275d6747dcefeb098b991c3eeac1e0bd8992859ca9e2451ffd0cc5453dd19f1ac8d74e0f0ea1303b125aaa4ae1e87eee79964230a440e5f1804f97d7e62
6
+ metadata.gz: d531eeba0a89b81bf17c1dfe401d3027258e24023a2bee642a590a1261adcc2f8f76d50caca6633f06aa381a7717cde4e7bd9b9c3157e6a9f419d5837456e982
7
+ data.tar.gz: 47b60ad37037f890719ef4680f2fa06c1b49beb89d5926ead82bee62203b8a7d6472723499ae25facf9904a6c198932896c6b7016d6a4d35031817632a6c9ca9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.7.0 (2021-03-26)
4
+
5
+ * Regenerated from discovery document revision 20210322
6
+
7
+ ### v0.6.0 (2021-03-18)
8
+
9
+ * Regenerated from discovery document revision 20210315
10
+
11
+ ### v0.5.0 (2021-03-12)
12
+
13
+ * Regenerated from discovery document revision 20210305
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.3.0 (2021-02-12)
21
+
22
+ * Regenerated from discovery document revision 20210205
23
+
3
24
  ### v0.2.0 (2021-02-04)
4
25
 
5
26
  * Regenerated from discovery document revision 20210128
@@ -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
@@ -418,6 +418,11 @@ module Google
418
418
  # @return [Google::Apis::DataprocV1::GceClusterConfig]
419
419
  attr_accessor :gce_cluster_config
420
420
 
421
+ # The GKE config for this cluster.
422
+ # Corresponds to the JSON property `gkeClusterConfig`
423
+ # @return [Google::Apis::DataprocV1::GkeClusterConfig]
424
+ attr_accessor :gke_cluster_config
425
+
421
426
  # Optional. Commands to execute on each node after config is completed. By
422
427
  # default, executables are run on master and all worker nodes. You can test a
423
428
  # node's role metadata to run an executable on a master or worker node, as shown
@@ -451,7 +456,7 @@ module Google
451
456
  # @return [Google::Apis::DataprocV1::InstanceGroupConfig]
452
457
  attr_accessor :secondary_worker_config
453
458
 
454
- # Security related configuration, including Kerberos.
459
+ # Security related configuration, including encryption, Kerberos, etc.
455
460
  # Corresponds to the JSON property `securityConfig`
456
461
  # @return [Google::Apis::DataprocV1::SecurityConfig]
457
462
  attr_accessor :security_config
@@ -490,6 +495,7 @@ module Google
490
495
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
491
496
  @endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config)
492
497
  @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config)
498
+ @gke_cluster_config = args[:gke_cluster_config] if args.key?(:gke_cluster_config)
493
499
  @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions)
494
500
  @lifecycle_config = args[:lifecycle_config] if args.key?(:lifecycle_config)
495
501
  @master_config = args[:master_config] if args.key?(:master_config)
@@ -1085,6 +1091,25 @@ module Google
1085
1091
  end
1086
1092
  end
1087
1093
 
1094
+ # The GKE config for this cluster.
1095
+ class GkeClusterConfig
1096
+ include Google::Apis::Core::Hashable
1097
+
1098
+ # A full, namespace-isolated deployment target for an existing GKE cluster.
1099
+ # Corresponds to the JSON property `namespacedGkeDeploymentTarget`
1100
+ # @return [Google::Apis::DataprocV1::NamespacedGkeDeploymentTarget]
1101
+ attr_accessor :namespaced_gke_deployment_target
1102
+
1103
+ def initialize(**args)
1104
+ update!(**args)
1105
+ end
1106
+
1107
+ # Update properties of this object
1108
+ def update!(**args)
1109
+ @namespaced_gke_deployment_target = args[:namespaced_gke_deployment_target] if args.key?(:namespaced_gke_deployment_target)
1110
+ end
1111
+ end
1112
+
1088
1113
  # A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/
1089
1114
  # docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
1090
1115
  # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
@@ -1221,6 +1246,26 @@ module Google
1221
1246
  end
1222
1247
  end
1223
1248
 
1249
+ # Identity related configuration, including service account based secure multi-
1250
+ # tenancy user mappings.
1251
+ class IdentityConfig
1252
+ include Google::Apis::Core::Hashable
1253
+
1254
+ # Required. Map of user to service account.
1255
+ # Corresponds to the JSON property `userServiceAccountMapping`
1256
+ # @return [Hash<String,String>]
1257
+ attr_accessor :user_service_account_mapping
1258
+
1259
+ def initialize(**args)
1260
+ update!(**args)
1261
+ end
1262
+
1263
+ # Update properties of this object
1264
+ def update!(**args)
1265
+ @user_service_account_mapping = args[:user_service_account_mapping] if args.key?(:user_service_account_mapping)
1266
+ end
1267
+ end
1268
+
1224
1269
  # A request to inject credentials into a cluster.
1225
1270
  class InjectCredentialsRequest
1226
1271
  include Google::Apis::Core::Hashable
@@ -1369,8 +1414,9 @@ module Google
1369
1414
  # @return [String]
1370
1415
  attr_accessor :min_cpu_platform
1371
1416
 
1372
- # Optional. The number of VM instances in the instance group. For master
1373
- # instance groups, must be set to 1.
1417
+ # Optional. The number of VM instances in the instance group. For HA cluster
1418
+ # master_config groups, must be set to 3. For standard cluster master_config
1419
+ # groups, must be set to 1.
1374
1420
  # Corresponds to the JSON property `numInstances`
1375
1421
  # @return [Fixnum]
1376
1422
  attr_accessor :num_instances
@@ -1667,6 +1713,11 @@ module Google
1667
1713
  class JobPlacement
1668
1714
  include Google::Apis::Core::Hashable
1669
1715
 
1716
+ # Optional. Cluster labels to identify a cluster where the job will be submitted.
1717
+ # Corresponds to the JSON property `clusterLabels`
1718
+ # @return [Hash<String,String>]
1719
+ attr_accessor :cluster_labels
1720
+
1670
1721
  # Required. The name of the cluster where the job will be submitted.
1671
1722
  # Corresponds to the JSON property `clusterName`
1672
1723
  # @return [String]
@@ -1684,6 +1735,7 @@ module Google
1684
1735
 
1685
1736
  # Update properties of this object
1686
1737
  def update!(**args)
1738
+ @cluster_labels = args[:cluster_labels] if args.key?(:cluster_labels)
1687
1739
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
1688
1740
  @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
1689
1741
  end
@@ -2193,6 +2245,32 @@ module Google
2193
2245
  end
2194
2246
  end
2195
2247
 
2248
+ # A full, namespace-isolated deployment target for an existing GKE cluster.
2249
+ class NamespacedGkeDeploymentTarget
2250
+ include Google::Apis::Core::Hashable
2251
+
2252
+ # Optional. A namespace within the GKE cluster to deploy into.
2253
+ # Corresponds to the JSON property `clusterNamespace`
2254
+ # @return [String]
2255
+ attr_accessor :cluster_namespace
2256
+
2257
+ # Optional. The target GKE cluster to deploy to. Format: 'projects/`project`/
2258
+ # locations/`location`/clusters/`cluster_id`'
2259
+ # Corresponds to the JSON property `targetGkeCluster`
2260
+ # @return [String]
2261
+ attr_accessor :target_gke_cluster
2262
+
2263
+ def initialize(**args)
2264
+ update!(**args)
2265
+ end
2266
+
2267
+ # Update properties of this object
2268
+ def update!(**args)
2269
+ @cluster_namespace = args[:cluster_namespace] if args.key?(:cluster_namespace)
2270
+ @target_gke_cluster = args[:target_gke_cluster] if args.key?(:target_gke_cluster)
2271
+ end
2272
+ end
2273
+
2196
2274
  # Node Group Affinity for clusters using sole-tenant node groups.
2197
2275
  class NodeGroupAffinity
2198
2276
  include Google::Apis::Core::Hashable
@@ -2799,10 +2877,16 @@ module Google
2799
2877
  end
2800
2878
  end
2801
2879
 
2802
- # Security related configuration, including Kerberos.
2880
+ # Security related configuration, including encryption, Kerberos, etc.
2803
2881
  class SecurityConfig
2804
2882
  include Google::Apis::Core::Hashable
2805
2883
 
2884
+ # Identity related configuration, including service account based secure multi-
2885
+ # tenancy user mappings.
2886
+ # Corresponds to the JSON property `identityConfig`
2887
+ # @return [Google::Apis::DataprocV1::IdentityConfig]
2888
+ attr_accessor :identity_config
2889
+
2806
2890
  # Specifies Kerberos related configuration.
2807
2891
  # Corresponds to the JSON property `kerberosConfig`
2808
2892
  # @return [Google::Apis::DataprocV1::KerberosConfig]
@@ -2814,6 +2898,7 @@ module Google
2814
2898
 
2815
2899
  # Update properties of this object
2816
2900
  def update!(**args)
2901
+ @identity_config = args[:identity_config] if args.key?(:identity_config)
2817
2902
  @kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
2818
2903
  end
2819
2904
  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.2.0"
19
+ GEM_VERSION = "0.7.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 = "20210128"
25
+ REVISION = "20210322"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class GkeClusterConfig
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class HadoopJob
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -184,6 +190,12 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class IdentityConfig
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class InjectCredentialsRequest
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -316,6 +328,12 @@ module Google
316
328
  include Google::Apis::Core::JsonObjectSupport
317
329
  end
318
330
 
331
+ class NamespacedGkeDeploymentTarget
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
319
337
  class NodeGroupAffinity
320
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
339
 
@@ -609,6 +627,8 @@ module Google
609
627
 
610
628
  property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
611
629
 
630
+ property :gke_cluster_config, as: 'gkeClusterConfig', class: Google::Apis::DataprocV1::GkeClusterConfig, decorator: Google::Apis::DataprocV1::GkeClusterConfig::Representation
631
+
612
632
  collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
613
633
 
614
634
  property :lifecycle_config, as: 'lifecycleConfig', class: Google::Apis::DataprocV1::LifecycleConfig, decorator: Google::Apis::DataprocV1::LifecycleConfig::Representation
@@ -779,6 +799,14 @@ module Google
779
799
  end
780
800
  end
781
801
 
802
+ class GkeClusterConfig
803
+ # @private
804
+ class Representation < Google::Apis::Core::JsonRepresentation
805
+ property :namespaced_gke_deployment_target, as: 'namespacedGkeDeploymentTarget', class: Google::Apis::DataprocV1::NamespacedGkeDeploymentTarget, decorator: Google::Apis::DataprocV1::NamespacedGkeDeploymentTarget::Representation
806
+
807
+ end
808
+ end
809
+
782
810
  class HadoopJob
783
811
  # @private
784
812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -807,6 +835,13 @@ module Google
807
835
  end
808
836
  end
809
837
 
838
+ class IdentityConfig
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ hash :user_service_account_mapping, as: 'userServiceAccountMapping'
842
+ end
843
+ end
844
+
810
845
  class InjectCredentialsRequest
811
846
  # @private
812
847
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -916,6 +951,7 @@ module Google
916
951
  class JobPlacement
917
952
  # @private
918
953
  class Representation < Google::Apis::Core::JsonRepresentation
954
+ hash :cluster_labels, as: 'clusterLabels'
919
955
  property :cluster_name, as: 'clusterName'
920
956
  property :cluster_uuid, as: 'clusterUuid'
921
957
  end
@@ -1055,6 +1091,14 @@ module Google
1055
1091
  end
1056
1092
  end
1057
1093
 
1094
+ class NamespacedGkeDeploymentTarget
1095
+ # @private
1096
+ class Representation < Google::Apis::Core::JsonRepresentation
1097
+ property :cluster_namespace, as: 'clusterNamespace'
1098
+ property :target_gke_cluster, as: 'targetGkeCluster'
1099
+ end
1100
+ end
1101
+
1058
1102
  class NodeGroupAffinity
1059
1103
  # @private
1060
1104
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1200,6 +1244,8 @@ module Google
1200
1244
  class SecurityConfig
1201
1245
  # @private
1202
1246
  class Representation < Google::Apis::Core::JsonRepresentation
1247
+ property :identity_config, as: 'identityConfig', class: Google::Apis::DataprocV1::IdentityConfig, decorator: Google::Apis::DataprocV1::IdentityConfig::Representation
1248
+
1203
1249
  property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::DataprocV1::KerberosConfig, decorator: Google::Apis::DataprocV1::KerberosConfig::Representation
1204
1250
 
1205
1251
  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.2.0
4
+ version: 0.7.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-02-08 00:00:00.000000000 Z
11
+ date: 2021-03-29 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.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.7.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: []
@@ -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.2.6
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 V1