google-apis-recommender_v1beta1 0.18.0 → 0.19.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: 8f092e5292fe553a5862acbb28e532840bf25329106f180c975e769e96b13b0d
|
4
|
+
data.tar.gz: 9045609d7ad285a90f77f3f67695188e16f61f8a092e8eb7b0737bdeec28d041
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd1e53c249c193d7a959724c3074e2aa0190cf84b19e70e36b20b5f3b262447d0d44ecedce01a4670550bcd24df839755c6ef76752479b39f1b557741a29e86d
|
7
|
+
data.tar.gz: a2a27c5fb3ee6c53e189a04e7502271080988d13679668537e46c451db7232732343119835d553831c4f5f88b6c0c3acf833f777d3065d514cdda06b7f1ac300
|
data/CHANGELOG.md
CHANGED
@@ -66,6 +66,12 @@ module Google
|
|
66
66
|
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1SecurityProjection]
|
67
67
|
attr_accessor :security_projection
|
68
68
|
|
69
|
+
# Contains metadata about how much sustainability a recommendation can save or
|
70
|
+
# incur.
|
71
|
+
# Corresponds to the JSON property `sustainabilityProjection`
|
72
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1SustainabilityProjection]
|
73
|
+
attr_accessor :sustainability_projection
|
74
|
+
|
69
75
|
def initialize(**args)
|
70
76
|
update!(**args)
|
71
77
|
end
|
@@ -75,6 +81,7 @@ module Google
|
|
75
81
|
@category = args[:category] if args.key?(:category)
|
76
82
|
@cost_projection = args[:cost_projection] if args.key?(:cost_projection)
|
77
83
|
@security_projection = args[:security_projection] if args.key?(:security_projection)
|
84
|
+
@sustainability_projection = args[:sustainability_projection] if args.key?(:sustainability_projection)
|
78
85
|
end
|
79
86
|
end
|
80
87
|
|
@@ -858,6 +865,33 @@ module Google
|
|
858
865
|
end
|
859
866
|
end
|
860
867
|
|
868
|
+
# Contains metadata about how much sustainability a recommendation can save or
|
869
|
+
# incur.
|
870
|
+
class GoogleCloudRecommenderV1beta1SustainabilityProjection
|
871
|
+
include Google::Apis::Core::Hashable
|
872
|
+
|
873
|
+
# Duration for which this sustanability applies.
|
874
|
+
# Corresponds to the JSON property `duration`
|
875
|
+
# @return [String]
|
876
|
+
attr_accessor :duration
|
877
|
+
|
878
|
+
# Carbon Footprint generated in kg of CO2 equivalent. Chose kg_c_o2e so that the
|
879
|
+
# name renders correctly in camelCase (kgCO2e).
|
880
|
+
# Corresponds to the JSON property `kgCO2e`
|
881
|
+
# @return [Float]
|
882
|
+
attr_accessor :kg_co2e
|
883
|
+
|
884
|
+
def initialize(**args)
|
885
|
+
update!(**args)
|
886
|
+
end
|
887
|
+
|
888
|
+
# Update properties of this object
|
889
|
+
def update!(**args)
|
890
|
+
@duration = args[:duration] if args.key?(:duration)
|
891
|
+
@kg_co2e = args[:kg_co2e] if args.key?(:kg_co2e)
|
892
|
+
end
|
893
|
+
end
|
894
|
+
|
861
895
|
# Contains various matching options for values for a GCP resource field.
|
862
896
|
class GoogleCloudRecommenderV1beta1ValueMatcher
|
863
897
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RecommenderV1beta1
|
18
18
|
# Version of the google-apis-recommender_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220207"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -154,6 +154,12 @@ module Google
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
+
class GoogleCloudRecommenderV1beta1SustainabilityProjection
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
157
163
|
class GoogleCloudRecommenderV1beta1ValueMatcher
|
158
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
165
|
|
@@ -183,6 +189,8 @@ module Google
|
|
183
189
|
|
184
190
|
property :security_projection, as: 'securityProjection', class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1SecurityProjection, decorator: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1SecurityProjection::Representation
|
185
191
|
|
192
|
+
property :sustainability_projection, as: 'sustainabilityProjection', class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1SustainabilityProjection, decorator: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1SustainabilityProjection::Representation
|
193
|
+
|
186
194
|
end
|
187
195
|
end
|
188
196
|
|
@@ -393,6 +401,14 @@ module Google
|
|
393
401
|
end
|
394
402
|
end
|
395
403
|
|
404
|
+
class GoogleCloudRecommenderV1beta1SustainabilityProjection
|
405
|
+
# @private
|
406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
407
|
+
property :duration, as: 'duration'
|
408
|
+
property :kg_co2e, as: 'kgCO2e'
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
396
412
|
class GoogleCloudRecommenderV1beta1ValueMatcher
|
397
413
|
# @private
|
398
414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-recommender_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.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-14 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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.19.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recommender_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Recommender API V1beta1
|