google-apis-recommender_v1beta1 0.34.0 → 0.36.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: 66711c0a6fed15e8c28216a40c41c3ddc5edaa130abe21f820e4c32a6fae809c
4
- data.tar.gz: c83ac14ea318189c9ba7f86be0e0ad399b37cba00d8d2d8c6c4033ac2f986f1a
3
+ metadata.gz: 9c0bbd4602c05c187b78253588ffaf85f0dc4266b7470714f981a4a82cbfd818
4
+ data.tar.gz: ebc1e873c0c5dc77ba606b45135d63ae92fc1fd59a2d0768ef434aca432dd692
5
5
  SHA512:
6
- metadata.gz: 3cf71e72a6b1ff3b648ea1c8c94cce6b1e9b4cab7f258b909136576c541c0347221149405f385434dbbda5bb1593f806c9fc7aab237b3328ef1c1e1da62280d7
7
- data.tar.gz: a90261b8105b4ab5f16df1ed6ec61e887eb1faef4e179772291ad31d903c219ee11f7b322f0113b74d8c4dc7eda55c0def1ae51682790774ac9af4520552af17
6
+ metadata.gz: a9daa4b22e281c1d0896d2ec86b4675717bfa07fa8cb78e5c9b0a309bf7deb06ab21d53b0d6441e8491bd943c54828127c41e93d07dd245c1e630182a836e1e8
7
+ data.tar.gz: b700c77de40c9c15dd11ff3eee00c5088f6e287a8e5ee62264bd264b4d8eed920e423120429a7479a94ea4a4b0f20b18460cb2f2583a50695ac860bfdda36bc2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-recommender_v1beta1
2
2
 
3
+ ### v0.36.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231203
6
+
7
+ ### v0.35.0 (2023-10-15)
8
+
9
+ * Regenerated from discovery document revision 20231008
10
+
3
11
  ### v0.34.0 (2023-09-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20230910
@@ -31,11 +31,21 @@ module Google
31
31
  # @return [Google::Apis::RecommenderV1beta1::GoogleTypeMoney]
32
32
  attr_accessor :cost
33
33
 
34
+ # Represents an amount of money with its currency type.
35
+ # Corresponds to the JSON property `costInLocalCurrency`
36
+ # @return [Google::Apis::RecommenderV1beta1::GoogleTypeMoney]
37
+ attr_accessor :cost_in_local_currency
38
+
34
39
  # Duration for which this cost applies.
35
40
  # Corresponds to the JSON property `duration`
36
41
  # @return [String]
37
42
  attr_accessor :duration
38
43
 
44
+ # How the cost is calculated.
45
+ # Corresponds to the JSON property `pricingType`
46
+ # @return [String]
47
+ attr_accessor :pricing_type
48
+
39
49
  def initialize(**args)
40
50
  update!(**args)
41
51
  end
@@ -43,7 +53,9 @@ module Google
43
53
  # Update properties of this object
44
54
  def update!(**args)
45
55
  @cost = args[:cost] if args.key?(:cost)
56
+ @cost_in_local_currency = args[:cost_in_local_currency] if args.key?(:cost_in_local_currency)
46
57
  @duration = args[:duration] if args.key?(:duration)
58
+ @pricing_type = args[:pricing_type] if args.key?(:pricing_type)
47
59
  end
48
60
  end
49
61
 
@@ -230,7 +242,7 @@ module Google
230
242
  class GoogleCloudRecommenderV1beta1InsightType
231
243
  include Google::Apis::Core::Hashable
232
244
 
233
- # The insight_types name in format insightTypes/`insight_type` eg: insightTypes/
245
+ # The insight_type's name in format insightTypes/`insight_type` eg: insightTypes/
234
246
  # google.iam.policy.Insight
235
247
  # Corresponds to the JSON property `name`
236
248
  # @return [String]
@@ -754,6 +766,11 @@ module Google
754
766
  # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationStateInfo]
755
767
  attr_accessor :state_info
756
768
 
769
+ # Fully qualified resource names that this recommendation is targeting.
770
+ # Corresponds to the JSON property `targetResources`
771
+ # @return [Array<String>]
772
+ attr_accessor :target_resources
773
+
757
774
  # Corresponds to a mutually exclusive group ID within a recommender. A non-empty
758
775
  # ID indicates that the recommendation belongs to a mutually exclusive group.
759
776
  # This means that only one recommendation within the group is suggested to be
@@ -779,6 +796,7 @@ module Google
779
796
  @priority = args[:priority] if args.key?(:priority)
780
797
  @recommender_subtype = args[:recommender_subtype] if args.key?(:recommender_subtype)
781
798
  @state_info = args[:state_info] if args.key?(:state_info)
799
+ @target_resources = args[:target_resources] if args.key?(:target_resources)
782
800
  @xor_group_id = args[:xor_group_id] if args.key?(:xor_group_id)
783
801
  end
784
802
  end
@@ -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.34.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230910"
25
+ REVISION = "20231203"
26
26
  end
27
27
  end
28
28
  end
@@ -213,7 +213,10 @@ module Google
213
213
  class Representation < Google::Apis::Core::JsonRepresentation
214
214
  property :cost, as: 'cost', class: Google::Apis::RecommenderV1beta1::GoogleTypeMoney, decorator: Google::Apis::RecommenderV1beta1::GoogleTypeMoney::Representation
215
215
 
216
+ property :cost_in_local_currency, as: 'costInLocalCurrency', class: Google::Apis::RecommenderV1beta1::GoogleTypeMoney, decorator: Google::Apis::RecommenderV1beta1::GoogleTypeMoney::Representation
217
+
216
218
  property :duration, as: 'duration'
219
+ property :pricing_type, as: 'pricingType'
217
220
  end
218
221
  end
219
222
 
@@ -415,6 +418,7 @@ module Google
415
418
  property :recommender_subtype, as: 'recommenderSubtype'
416
419
  property :state_info, as: 'stateInfo', class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationStateInfo, decorator: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationStateInfo::Representation
417
420
 
421
+ collection :target_resources, as: 'targetResources'
418
422
  property :xor_group_id, as: 'xorGroupId'
419
423
  end
420
424
  end
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.34.0
4
+ version: 0.36.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: 2023-09-17 00:00:00.000000000 Z
11
+ date: 2023-12-10 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.36.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: []