google-apis-dataproc_v1 0.6.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: f16a47309d3f311721e3ad4cc28d0b3fdc984cdba7463b6603823ddf5c707b07
4
- data.tar.gz: 39dcf8bbffca9da8281adf5fbdc3250468dc4925d7d8c0e5e57838cc7881b889
3
+ metadata.gz: e049559d191c55a5cd9bacb596a661e1987dbf54e79a698c0be15ee22553e507
4
+ data.tar.gz: c6ae876ecbef55e2c56410ca1a9b032bc474e2bce7a1a33bc33432f6883302e3
5
5
  SHA512:
6
- metadata.gz: '09565a436cbf77187f14e54523377c4fb11db8eadef43e848580432e4fbb4756bfd5fe97ed5562537ad1007b5f07d47ad26cf259e2957b7302709e4239c8c889'
7
- data.tar.gz: a6fc85a257deb148e9546d7b9a51401deac4a4eb4f820b96f0ecdce5e910128b4527633deccaf76cfec4f555f9c5de8bbd2407cf68f24954319bff104cc27b03
6
+ metadata.gz: d531eeba0a89b81bf17c1dfe401d3027258e24023a2bee642a590a1261adcc2f8f76d50caca6633f06aa381a7717cde4e7bd9b9c3157e6a9f419d5837456e982
7
+ data.tar.gz: 47b60ad37037f890719ef4680f2fa06c1b49beb89d5926ead82bee62203b8a7d6472723499ae25facf9904a6c198932896c6b7016d6a4d35031817632a6c9ca9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.6.0 (2021-03-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20210315
@@ -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
@@ -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
@@ -2200,6 +2245,32 @@ module Google
2200
2245
  end
2201
2246
  end
2202
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
+
2203
2274
  # Node Group Affinity for clusters using sole-tenant node groups.
2204
2275
  class NodeGroupAffinity
2205
2276
  include Google::Apis::Core::Hashable
@@ -2810,6 +2881,12 @@ module Google
2810
2881
  class SecurityConfig
2811
2882
  include Google::Apis::Core::Hashable
2812
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
+
2813
2890
  # Specifies Kerberos related configuration.
2814
2891
  # Corresponds to the JSON property `kerberosConfig`
2815
2892
  # @return [Google::Apis::DataprocV1::KerberosConfig]
@@ -2821,6 +2898,7 @@ module Google
2821
2898
 
2822
2899
  # Update properties of this object
2823
2900
  def update!(**args)
2901
+ @identity_config = args[:identity_config] if args.key?(:identity_config)
2824
2902
  @kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
2825
2903
  end
2826
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.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210315"
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
@@ -1056,6 +1091,14 @@ module Google
1056
1091
  end
1057
1092
  end
1058
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
+
1059
1102
  class NodeGroupAffinity
1060
1103
  # @private
1061
1104
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1201,6 +1244,8 @@ module Google
1201
1244
  class SecurityConfig
1202
1245
  # @private
1203
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
+
1204
1249
  property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::DataprocV1::KerberosConfig, decorator: Google::Apis::DataprocV1::KerberosConfig::Representation
1205
1250
 
1206
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.6.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-03-22 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.6.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: []