google-apis-dataproc_v1 0.19.0 → 0.22.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: b49e139fab6c34e0bd6707069e53c4105077e7abe1dc22ba91fe76124fc9410e
4
- data.tar.gz: 4f11bed732911ec54b23d5d6eb1189e789e35b858c9abb20fe1b9f7bc4b8ac8b
3
+ metadata.gz: e1d4a8f6f71dedc5d7a9babca58d9712b640a6a5f9705838ee530e42306e9e87
4
+ data.tar.gz: 962d4ddfd975bfe5524795a45467adaefbcfd9e2e40cef3efbc70f15ea3fd404
5
5
  SHA512:
6
- metadata.gz: 74cd3145e6b509ee3ce020ad5d016f2ffc30e53505ac4c70b70b910ae336f694861c29331e4e681bb5f7efdb3126aa4dd027631ab2b29f417dfcdbeedc49f362
7
- data.tar.gz: 0dc5eccb08bb472d8adcabbb54510b287c02eb923f359c365526c92326ccfc17331b19582180bde9b1f45767868af314c1e1b6350ff953040bedd9f351a42451
6
+ metadata.gz: e4c36caa177938271d3178f1f5e3633ba4ed2760e53ed4e9b798f3fecb375a400e78231df0ca352503d3c09846a649fd56fa7c96767b24c22522b72a4a547f9e
7
+ data.tar.gz: '09e6c293f9ce4c7c2d30152cd032ade53edc2e9ab419d9f33a0268342d185c1575999535700db52d7dd09e890f617f3d2937a2e69f1d37ceabfe947934f51871'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.22.0 (2022-03-29)
4
+
5
+ * Regenerated from discovery document revision 20220324
6
+
7
+ ### v0.21.0 (2022-02-03)
8
+
9
+ * Regenerated from discovery document revision 20220201
10
+
11
+ ### v0.20.0 (2022-01-27)
12
+
13
+ * Regenerated from discovery document revision 20220122
14
+
3
15
  ### v0.19.0 (2022-01-14)
4
16
 
5
17
  * Regenerated from discovery document revision 20220111
@@ -299,7 +299,7 @@ module Google
299
299
  # @return [Google::Apis::DataprocV1::RuntimeInfo]
300
300
  attr_accessor :runtime_info
301
301
 
302
- # A configuration for running an Apache Spark (http://spark.apache.org/) batch
302
+ # A configuration for running an Apache Spark (https://spark.apache.org/) batch
303
303
  # workload.
304
304
  # Corresponds to the JSON property `sparkBatch`
305
305
  # @return [Google::Apis::DataprocV1::SparkBatch]
@@ -311,7 +311,7 @@ module Google
311
311
  # @return [Google::Apis::DataprocV1::SparkRBatch]
312
312
  attr_accessor :spark_r_batch
313
313
 
314
- # A configuration for running Apache Spark SQL (http://spark.apache.org/sql/)
314
+ # A configuration for running Apache Spark SQL (https://spark.apache.org/sql/)
315
315
  # queries as a batch workload.
316
316
  # Corresponds to the JSON property `sparkSqlBatch`
317
317
  # @return [Google::Apis::DataprocV1::SparkSqlBatch]
@@ -606,6 +606,11 @@ module Google
606
606
  # @return [String]
607
607
  attr_accessor :config_bucket
608
608
 
609
+ # Contains dataproc metric config.
610
+ # Corresponds to the JSON property `dataprocMetricConfig`
611
+ # @return [Google::Apis::DataprocV1::DataprocMetricConfig]
612
+ attr_accessor :dataproc_metric_config
613
+
609
614
  # Encryption settings for the cluster.
610
615
  # Corresponds to the JSON property `encryptionConfig`
611
616
  # @return [Google::Apis::DataprocV1::EncryptionConfig]
@@ -698,6 +703,7 @@ module Google
698
703
  def update!(**args)
699
704
  @autoscaling_config = args[:autoscaling_config] if args.key?(:autoscaling_config)
700
705
  @config_bucket = args[:config_bucket] if args.key?(:config_bucket)
706
+ @dataproc_metric_config = args[:dataproc_metric_config] if args.key?(:dataproc_metric_config)
701
707
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
702
708
  @endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config)
703
709
  @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config)
@@ -959,6 +965,25 @@ module Google
959
965
  end
960
966
  end
961
967
 
968
+ # Contains dataproc metric config.
969
+ class DataprocMetricConfig
970
+ include Google::Apis::Core::Hashable
971
+
972
+ # Required. Metrics to be enabled.
973
+ # Corresponds to the JSON property `metrics`
974
+ # @return [Array<Google::Apis::DataprocV1::Metric>]
975
+ attr_accessor :metrics
976
+
977
+ def initialize(**args)
978
+ update!(**args)
979
+ end
980
+
981
+ # Update properties of this object
982
+ def update!(**args)
983
+ @metrics = args[:metrics] if args.key?(:metrics)
984
+ end
985
+ end
986
+
962
987
  # A request to collect cluster diagnostic information.
963
988
  class DiagnoseClusterRequest
964
989
  include Google::Apis::Core::Hashable
@@ -1011,8 +1036,8 @@ module Google
1011
1036
 
1012
1037
  # Optional. Interface type of local SSDs (default is "scsi"). Valid values: "
1013
1038
  # scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express).
1014
- # See SSD Interface types (https://cloud.google.com/compute/docs/disks/local-ssd#
1015
- # performance).
1039
+ # See local SSD performance (https://cloud.google.com/compute/docs/disks/local-
1040
+ # ssd#performance).
1016
1041
  # Corresponds to the JSON property `localSsdInterface`
1017
1042
  # @return [String]
1018
1043
  attr_accessor :local_ssd_interface
@@ -1042,8 +1067,7 @@ module Google
1042
1067
  # A generic empty message that you can re-use to avoid defining duplicated empty
1043
1068
  # messages in your APIs. A typical example is to use it as the request or the
1044
1069
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1045
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1046
- # Empty is empty JSON object ``.
1070
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1047
1071
  class Empty
1048
1072
  include Google::Apis::Core::Hashable
1049
1073
 
@@ -1931,7 +1955,7 @@ module Google
1931
1955
  # @return [Google::Apis::DataprocV1::JobScheduling]
1932
1956
  attr_accessor :scheduling
1933
1957
 
1934
- # A Dataproc job for running Apache Spark (http://spark.apache.org/)
1958
+ # A Dataproc job for running Apache Spark (https://spark.apache.org/)
1935
1959
  # applications on YARN.
1936
1960
  # Corresponds to the JSON property `sparkJob`
1937
1961
  # @return [Google::Apis::DataprocV1::SparkJob]
@@ -1943,7 +1967,7 @@ module Google
1943
1967
  # @return [Google::Apis::DataprocV1::SparkRJob]
1944
1968
  attr_accessor :spark_r_job
1945
1969
 
1946
- # A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/)
1970
+ # A Dataproc job for running Apache Spark SQL (https://spark.apache.org/sql/)
1947
1971
  # queries.
1948
1972
  # Corresponds to the JSON property `sparkSqlJob`
1949
1973
  # @return [Google::Apis::DataprocV1::SparkSqlJob]
@@ -2598,6 +2622,33 @@ module Google
2598
2622
  end
2599
2623
  end
2600
2624
 
2625
+ # Metric source to enable along with any optional metrics for this source that
2626
+ # override the dataproc defaults
2627
+ class Metric
2628
+ include Google::Apis::Core::Hashable
2629
+
2630
+ # Optional. Optional Metrics to override the dataproc default metrics configured
2631
+ # for the metric source
2632
+ # Corresponds to the JSON property `metricOverrides`
2633
+ # @return [Array<String>]
2634
+ attr_accessor :metric_overrides
2635
+
2636
+ # Required. MetricSource that should be enabled
2637
+ # Corresponds to the JSON property `metricSource`
2638
+ # @return [String]
2639
+ attr_accessor :metric_source
2640
+
2641
+ def initialize(**args)
2642
+ update!(**args)
2643
+ end
2644
+
2645
+ # Update properties of this object
2646
+ def update!(**args)
2647
+ @metric_overrides = args[:metric_overrides] if args.key?(:metric_overrides)
2648
+ @metric_source = args[:metric_source] if args.key?(:metric_source)
2649
+ end
2650
+ end
2651
+
2601
2652
  # A full, namespace-isolated deployment target for an existing GKE cluster.
2602
2653
  class NamespacedGkeDeploymentTarget
2603
2654
  include Google::Apis::Core::Hashable
@@ -2799,7 +2850,7 @@ module Google
2799
2850
  # @return [Google::Apis::DataprocV1::JobScheduling]
2800
2851
  attr_accessor :scheduling
2801
2852
 
2802
- # A Dataproc job for running Apache Spark (http://spark.apache.org/)
2853
+ # A Dataproc job for running Apache Spark (https://spark.apache.org/)
2803
2854
  # applications on YARN.
2804
2855
  # Corresponds to the JSON property `sparkJob`
2805
2856
  # @return [Google::Apis::DataprocV1::SparkJob]
@@ -2811,7 +2862,7 @@ module Google
2811
2862
  # @return [Google::Apis::DataprocV1::SparkRJob]
2812
2863
  attr_accessor :spark_r_job
2813
2864
 
2814
- # A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/)
2865
+ # A Dataproc job for running Apache Spark SQL (https://spark.apache.org/sql/)
2815
2866
  # queries.
2816
2867
  # Corresponds to the JSON property `sparkSqlJob`
2817
2868
  # @return [Google::Apis::DataprocV1::SparkSqlJob]
@@ -3626,7 +3677,7 @@ module Google
3626
3677
  end
3627
3678
  end
3628
3679
 
3629
- # A configuration for running an Apache Spark (http://spark.apache.org/) batch
3680
+ # A configuration for running an Apache Spark (https://spark.apache.org/) batch
3630
3681
  # workload.
3631
3682
  class SparkBatch
3632
3683
  include Google::Apis::Core::Hashable
@@ -3703,7 +3754,7 @@ module Google
3703
3754
  end
3704
3755
  end
3705
3756
 
3706
- # A Dataproc job for running Apache Spark (http://spark.apache.org/)
3757
+ # A Dataproc job for running Apache Spark (https://spark.apache.org/)
3707
3758
  # applications on YARN.
3708
3759
  class SparkJob
3709
3760
  include Google::Apis::Core::Hashable
@@ -3875,7 +3926,7 @@ module Google
3875
3926
  end
3876
3927
  end
3877
3928
 
3878
- # A configuration for running Apache Spark SQL (http://spark.apache.org/sql/)
3929
+ # A configuration for running Apache Spark SQL (https://spark.apache.org/sql/)
3879
3930
  # queries as a batch workload.
3880
3931
  class SparkSqlBatch
3881
3932
  include Google::Apis::Core::Hashable
@@ -3909,7 +3960,7 @@ module Google
3909
3960
  end
3910
3961
  end
3911
3962
 
3912
- # A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/)
3963
+ # A Dataproc job for running Apache Spark SQL (https://spark.apache.org/sql/)
3913
3964
  # queries.
3914
3965
  class SparkSqlJob
3915
3966
  include Google::Apis::Core::Hashable
@@ -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.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220111"
25
+ REVISION = "20220324"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class DataprocMetricConfig
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class DiagnoseClusterRequest
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -364,6 +370,12 @@ module Google
364
370
  include Google::Apis::Core::JsonObjectSupport
365
371
  end
366
372
 
373
+ class Metric
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
367
379
  class NamespacedGkeDeploymentTarget
368
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
381
 
@@ -777,6 +789,8 @@ module Google
777
789
  property :autoscaling_config, as: 'autoscalingConfig', class: Google::Apis::DataprocV1::AutoscalingConfig, decorator: Google::Apis::DataprocV1::AutoscalingConfig::Representation
778
790
 
779
791
  property :config_bucket, as: 'configBucket'
792
+ property :dataproc_metric_config, as: 'dataprocMetricConfig', class: Google::Apis::DataprocV1::DataprocMetricConfig, decorator: Google::Apis::DataprocV1::DataprocMetricConfig::Representation
793
+
780
794
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DataprocV1::EncryptionConfig, decorator: Google::Apis::DataprocV1::EncryptionConfig::Representation
781
795
 
782
796
  property :endpoint_config, as: 'endpointConfig', class: Google::Apis::DataprocV1::EndpointConfig, decorator: Google::Apis::DataprocV1::EndpointConfig::Representation
@@ -873,6 +887,14 @@ module Google
873
887
  end
874
888
  end
875
889
 
890
+ class DataprocMetricConfig
891
+ # @private
892
+ class Representation < Google::Apis::Core::JsonRepresentation
893
+ collection :metrics, as: 'metrics', class: Google::Apis::DataprocV1::Metric, decorator: Google::Apis::DataprocV1::Metric::Representation
894
+
895
+ end
896
+ end
897
+
876
898
  class DiagnoseClusterRequest
877
899
  # @private
878
900
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1288,6 +1310,14 @@ module Google
1288
1310
  end
1289
1311
  end
1290
1312
 
1313
+ class Metric
1314
+ # @private
1315
+ class Representation < Google::Apis::Core::JsonRepresentation
1316
+ collection :metric_overrides, as: 'metricOverrides'
1317
+ property :metric_source, as: 'metricSource'
1318
+ end
1319
+ end
1320
+
1291
1321
  class NamespacedGkeDeploymentTarget
1292
1322
  # @private
1293
1323
  class Representation < Google::Apis::Core::JsonRepresentation
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.19.0
4
+ version: 0.22.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: 2022-01-17 00:00:00.000000000 Z
11
+ date: 2022-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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/main/generated/google-apis-dataproc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1
63
63
  post_install_message:
64
64
  rdoc_options: []