google-apis-recommender_v1 0.24.0 → 0.25.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: 104d4ec05b610d73381168869190a70d570f2cbd1f1283ef7764267041aaf0b2
|
4
|
+
data.tar.gz: ac4f6f3ed19777d5e629da68ac69b20eb46f369606c1554e009669e5248ceacc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7b67e5bafd491dffb3044b0d1378abdc4523ca8960014091e2962f813e6314727e0e0b333ce134e99a702967959da8d2cdeaedd01c643ce3a251dded3418ddb
|
7
|
+
data.tar.gz: 515fb0bad4d5e0e8fac0aa8d096cf298d3fc106a6f75dc85f9155c12358399e2704479977ce723d59a6a755c0c80a57462c522403f8fdd7cded3e5c9e815ed0c
|
data/CHANGELOG.md
CHANGED
@@ -61,11 +61,22 @@ module Google
|
|
61
61
|
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection]
|
62
62
|
attr_accessor :cost_projection
|
63
63
|
|
64
|
+
# Contains information on the impact of a reliability recommendation.
|
65
|
+
# Corresponds to the JSON property `reliabilityProjection`
|
66
|
+
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ReliabilityProjection]
|
67
|
+
attr_accessor :reliability_projection
|
68
|
+
|
64
69
|
# Contains various ways of describing the impact on Security.
|
65
70
|
# Corresponds to the JSON property `securityProjection`
|
66
71
|
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SecurityProjection]
|
67
72
|
attr_accessor :security_projection
|
68
73
|
|
74
|
+
# Contains metadata about how much sustainability a recommendation can save or
|
75
|
+
# incur.
|
76
|
+
# Corresponds to the JSON property `sustainabilityProjection`
|
77
|
+
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SustainabilityProjection]
|
78
|
+
attr_accessor :sustainability_projection
|
79
|
+
|
69
80
|
def initialize(**args)
|
70
81
|
update!(**args)
|
71
82
|
end
|
@@ -74,7 +85,9 @@ module Google
|
|
74
85
|
def update!(**args)
|
75
86
|
@category = args[:category] if args.key?(:category)
|
76
87
|
@cost_projection = args[:cost_projection] if args.key?(:cost_projection)
|
88
|
+
@reliability_projection = args[:reliability_projection] if args.key?(:reliability_projection)
|
77
89
|
@security_projection = args[:security_projection] if args.key?(:security_projection)
|
90
|
+
@sustainability_projection = args[:sustainability_projection] if args.key?(:sustainability_projection)
|
78
91
|
end
|
79
92
|
end
|
80
93
|
|
@@ -838,6 +851,31 @@ module Google
|
|
838
851
|
end
|
839
852
|
end
|
840
853
|
|
854
|
+
# Contains information on the impact of a reliability recommendation.
|
855
|
+
class GoogleCloudRecommenderV1ReliabilityProjection
|
856
|
+
include Google::Apis::Core::Hashable
|
857
|
+
|
858
|
+
# Per-recommender projection.
|
859
|
+
# Corresponds to the JSON property `details`
|
860
|
+
# @return [Hash<String,Object>]
|
861
|
+
attr_accessor :details
|
862
|
+
|
863
|
+
# Reliability risks mitigated by this recommendation.
|
864
|
+
# Corresponds to the JSON property `risks`
|
865
|
+
# @return [Array<String>]
|
866
|
+
attr_accessor :risks
|
867
|
+
|
868
|
+
def initialize(**args)
|
869
|
+
update!(**args)
|
870
|
+
end
|
871
|
+
|
872
|
+
# Update properties of this object
|
873
|
+
def update!(**args)
|
874
|
+
@details = args[:details] if args.key?(:details)
|
875
|
+
@risks = args[:risks] if args.key?(:risks)
|
876
|
+
end
|
877
|
+
end
|
878
|
+
|
841
879
|
# Contains various ways of describing the impact on Security.
|
842
880
|
class GoogleCloudRecommenderV1SecurityProjection
|
843
881
|
include Google::Apis::Core::Hashable
|
@@ -857,6 +895,33 @@ module Google
|
|
857
895
|
end
|
858
896
|
end
|
859
897
|
|
898
|
+
# Contains metadata about how much sustainability a recommendation can save or
|
899
|
+
# incur.
|
900
|
+
class GoogleCloudRecommenderV1SustainabilityProjection
|
901
|
+
include Google::Apis::Core::Hashable
|
902
|
+
|
903
|
+
# Duration for which this sustainability applies.
|
904
|
+
# Corresponds to the JSON property `duration`
|
905
|
+
# @return [String]
|
906
|
+
attr_accessor :duration
|
907
|
+
|
908
|
+
# Carbon Footprint generated in kg of CO2 equivalent. Chose kg_c_o2e so that the
|
909
|
+
# name renders correctly in camelCase (kgCO2e).
|
910
|
+
# Corresponds to the JSON property `kgCO2e`
|
911
|
+
# @return [Float]
|
912
|
+
attr_accessor :kg_co2e
|
913
|
+
|
914
|
+
def initialize(**args)
|
915
|
+
update!(**args)
|
916
|
+
end
|
917
|
+
|
918
|
+
# Update properties of this object
|
919
|
+
def update!(**args)
|
920
|
+
@duration = args[:duration] if args.key?(:duration)
|
921
|
+
@kg_co2e = args[:kg_co2e] if args.key?(:kg_co2e)
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
860
925
|
# Contains various matching options for values for a GCP resource field.
|
861
926
|
class GoogleCloudRecommenderV1ValueMatcher
|
862
927
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RecommenderV1
|
18
18
|
# Version of the google-apis-recommender_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220924"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -148,12 +148,24 @@ module Google
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
+
class GoogleCloudRecommenderV1ReliabilityProjection
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
151
157
|
class GoogleCloudRecommenderV1SecurityProjection
|
152
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
159
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class GoogleCloudRecommenderV1SustainabilityProjection
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class GoogleCloudRecommenderV1ValueMatcher
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -181,8 +193,12 @@ module Google
|
|
181
193
|
property :category, as: 'category'
|
182
194
|
property :cost_projection, as: 'costProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection::Representation
|
183
195
|
|
196
|
+
property :reliability_projection, as: 'reliabilityProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ReliabilityProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ReliabilityProjection::Representation
|
197
|
+
|
184
198
|
property :security_projection, as: 'securityProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SecurityProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SecurityProjection::Representation
|
185
199
|
|
200
|
+
property :sustainability_projection, as: 'sustainabilityProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SustainabilityProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SustainabilityProjection::Representation
|
201
|
+
|
186
202
|
end
|
187
203
|
end
|
188
204
|
|
@@ -386,6 +402,14 @@ module Google
|
|
386
402
|
end
|
387
403
|
end
|
388
404
|
|
405
|
+
class GoogleCloudRecommenderV1ReliabilityProjection
|
406
|
+
# @private
|
407
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
408
|
+
hash :details, as: 'details'
|
409
|
+
collection :risks, as: 'risks'
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
389
413
|
class GoogleCloudRecommenderV1SecurityProjection
|
390
414
|
# @private
|
391
415
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -393,6 +417,14 @@ module Google
|
|
393
417
|
end
|
394
418
|
end
|
395
419
|
|
420
|
+
class GoogleCloudRecommenderV1SustainabilityProjection
|
421
|
+
# @private
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
423
|
+
property :duration, as: 'duration'
|
424
|
+
property :kg_co2e, as: 'kgCO2e'
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
396
428
|
class GoogleCloudRecommenderV1ValueMatcher
|
397
429
|
# @private
|
398
430
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-recommender_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.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-10-17 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-recommender_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1/v0.25.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recommender_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|