google-apis-dataproc_v1 0.20.0 → 0.21.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 124b30668916a753b36e22f36ef39ea51463d927fe41f14c6b74a11e1fa82cef
|
4
|
+
data.tar.gz: 9f73b0d3e898934961d2fb47eb9fb064ac3d5e2995bf4dcb9c3446c30ca6d217
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8cbcc919c85c2c202051508d7f5d0ddd34735401cb034e174ea8d3ff823ba45ee2b502af400946cf7c0cc5acc9b755142e5bca486ecf4610742d15913da26bd
|
7
|
+
data.tar.gz: 11395a6c782e6a3c0b9ebdf6244af976a0caebf6d995e9a2a8ebeaa8fca26be718b3800e82b44cd2fa8200a1f065792c3b8b3646d65dfc38e2d23977e26cd9eb
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -2598,6 +2623,33 @@ module Google
|
|
2598
2623
|
end
|
2599
2624
|
end
|
2600
2625
|
|
2626
|
+
# Metric source to enable along with any optional metrics for this source that
|
2627
|
+
# override the dataproc defaults
|
2628
|
+
class Metric
|
2629
|
+
include Google::Apis::Core::Hashable
|
2630
|
+
|
2631
|
+
# Optional. Optional Metrics to override the dataproc default metrics configured
|
2632
|
+
# for the metric source
|
2633
|
+
# Corresponds to the JSON property `metricOverrides`
|
2634
|
+
# @return [Array<String>]
|
2635
|
+
attr_accessor :metric_overrides
|
2636
|
+
|
2637
|
+
# Required. MetricSource that should be enabled
|
2638
|
+
# Corresponds to the JSON property `metricSource`
|
2639
|
+
# @return [String]
|
2640
|
+
attr_accessor :metric_source
|
2641
|
+
|
2642
|
+
def initialize(**args)
|
2643
|
+
update!(**args)
|
2644
|
+
end
|
2645
|
+
|
2646
|
+
# Update properties of this object
|
2647
|
+
def update!(**args)
|
2648
|
+
@metric_overrides = args[:metric_overrides] if args.key?(:metric_overrides)
|
2649
|
+
@metric_source = args[:metric_source] if args.key?(:metric_source)
|
2650
|
+
end
|
2651
|
+
end
|
2652
|
+
|
2601
2653
|
# A full, namespace-isolated deployment target for an existing GKE cluster.
|
2602
2654
|
class NamespacedGkeDeploymentTarget
|
2603
2655
|
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
|
+
GEM_VERSION = "0.21.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 = "
|
25
|
+
REVISION = "20220201"
|
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.
|
4
|
+
version: 0.21.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-
|
11
|
+
date: 2022-02-07 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.21.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: []
|