Skip to content

Commit b37d42c

Browse files
feat: Automated regeneration of recommender v1 client (googleapis#20396)
Auto-created at 2024-10-20 09:08:34 +0000 using the toys pull request generator.
1 parent f429787 commit b37d42c

File tree

5 files changed

+28
-3
lines changed

5 files changed

+28
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279265,8 +279265,11 @@
279265279265
"/recommender:v1/GoogleCloudRecommenderV1Impact": google_cloud_recommender_v1_impact
279266279266
"/recommender:v1/GoogleCloudRecommenderV1Impact/category": category
279267279267
"/recommender:v1/GoogleCloudRecommenderV1Impact/costProjection": cost_projection
279268+
"/recommender:v1/GoogleCloudRecommenderV1Impact/impactComponents": impact_components
279269+
"/recommender:v1/GoogleCloudRecommenderV1Impact/impactComponents/impact_component": impact_component
279268279270
"/recommender:v1/GoogleCloudRecommenderV1Impact/reliabilityProjection": reliability_projection
279269279271
"/recommender:v1/GoogleCloudRecommenderV1Impact/securityProjection": security_projection
279272+
"/recommender:v1/GoogleCloudRecommenderV1Impact/service": service
279270279273
"/recommender:v1/GoogleCloudRecommenderV1Impact/sustainabilityProjection": sustainability_projection
279271279274
"/recommender:v1/GoogleCloudRecommenderV1Insight": google_cloud_recommender_v1_insight
279272279275
"/recommender:v1/GoogleCloudRecommenderV1Insight/associatedRecommendations": associated_recommendations

generated/google-apis-recommender_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-recommender_v1
22

3+
### v0.37.0 (2024-10-20)
4+
5+
* Regenerated from discovery document revision 20241013
6+
* Regenerated using generator version 0.15.1
7+
38
### v0.36.0 (2024-05-19)
49

510
* Regenerated using generator version 0.15.0

generated/google-apis-recommender_v1/lib/google/apis/recommender_v1/classes.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ class GoogleCloudRecommenderV1Impact
6767
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection]
6868
attr_accessor :cost_projection
6969

70+
# If populated, the impact contains multiple components. In this case, the top-
71+
# level impact contains aggregated values and each component contains per-
72+
# service details.
73+
# Corresponds to the JSON property `impactComponents`
74+
# @return [Array<Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact>]
75+
attr_accessor :impact_components
76+
7077
# Contains information on the impact of a reliability recommendation.
7178
# Corresponds to the JSON property `reliabilityProjection`
7279
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ReliabilityProjection]
@@ -77,6 +84,11 @@ class GoogleCloudRecommenderV1Impact
7784
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SecurityProjection]
7885
attr_accessor :security_projection
7986

87+
# The service that this impact is associated with.
88+
# Corresponds to the JSON property `service`
89+
# @return [String]
90+
attr_accessor :service
91+
8092
# Contains metadata about how much sustainability a recommendation can save or
8193
# incur.
8294
# Corresponds to the JSON property `sustainabilityProjection`
@@ -91,8 +103,10 @@ def initialize(**args)
91103
def update!(**args)
92104
@category = args[:category] if args.key?(:category)
93105
@cost_projection = args[:cost_projection] if args.key?(:cost_projection)
106+
@impact_components = args[:impact_components] if args.key?(:impact_components)
94107
@reliability_projection = args[:reliability_projection] if args.key?(:reliability_projection)
95108
@security_projection = args[:security_projection] if args.key?(:security_projection)
109+
@service = args[:service] if args.key?(:service)
96110
@sustainability_projection = args[:sustainability_projection] if args.key?(:sustainability_projection)
97111
end
98112
end

generated/google-apis-recommender_v1/lib/google/apis/recommender_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module RecommenderV1
1818
# Version of the google-apis-recommender_v1 gem
19-
GEM_VERSION = "0.36.0"
19+
GEM_VERSION = "0.37.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.0"
22+
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240428"
25+
REVISION = "20241013"
2626
end
2727
end
2828
end

generated/google-apis-recommender_v1/lib/google/apis/recommender_v1/representations.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
201201
property :category, as: 'category'
202202
property :cost_projection, as: 'costProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection::Representation
203203

204+
collection :impact_components, as: 'impactComponents', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact::Representation
205+
204206
property :reliability_projection, as: 'reliabilityProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ReliabilityProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ReliabilityProjection::Representation
205207

206208
property :security_projection, as: 'securityProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SecurityProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SecurityProjection::Representation
207209

210+
property :service, as: 'service'
208211
property :sustainability_projection, as: 'sustainabilityProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SustainabilityProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SustainabilityProjection::Representation
209212

210213
end

0 commit comments

Comments
 (0)