google-apis-recommender_v1 0.30.0 → 0.32.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: 717f6be99d698d196e71224385d354b49ed5b82dd0dcbc91277dbb98034c5848
|
4
|
+
data.tar.gz: 47ad4abf42e159561d75aa375e5d11144cdaa6ff6e447d120c8c467d41a8bb96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c84f712ac370b52309059703cf5382a4a95bba4866a6f723ad66070c36d306dd57243a81f81d7273aec1b228818d53c9deeae9cdeb619cb41074a9efe2da3210
|
7
|
+
data.tar.gz: f638509cc0fff8f86e4a75281bf2f31832d072791aa7550af392a14c3e962963dd6c25237babe6143ed06ab6c27ce5172d5641811d27b641d9eab3fe08204c73
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-recommender_v1
|
2
2
|
|
3
|
+
### v0.32.0 (2024-01-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240121
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.31.0 (2023-12-10)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20231203
|
11
|
+
|
3
12
|
### v0.30.0 (2023-11-19)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20231112
|
@@ -31,6 +31,11 @@ module Google
|
|
31
31
|
# @return [Google::Apis::RecommenderV1::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::RecommenderV1::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]
|
@@ -43,6 +48,7 @@ module Google
|
|
43
48
|
# Update properties of this object
|
44
49
|
def update!(**args)
|
45
50
|
@cost = args[:cost] if args.key?(:cost)
|
51
|
+
@cost_in_local_currency = args[:cost_in_local_currency] if args.key?(:cost_in_local_currency)
|
46
52
|
@duration = args[:duration] if args.key?(:duration)
|
47
53
|
end
|
48
54
|
end
|
@@ -682,6 +688,11 @@ module Google
|
|
682
688
|
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationStateInfo]
|
683
689
|
attr_accessor :state_info
|
684
690
|
|
691
|
+
# Fully qualified resource names that this recommendation is targeting.
|
692
|
+
# Corresponds to the JSON property `targetResources`
|
693
|
+
# @return [Array<String>]
|
694
|
+
attr_accessor :target_resources
|
695
|
+
|
685
696
|
# Corresponds to a mutually exclusive group ID within a recommender. A non-empty
|
686
697
|
# ID indicates that the recommendation belongs to a mutually exclusive group.
|
687
698
|
# This means that only one recommendation within the group is suggested to be
|
@@ -707,6 +718,7 @@ module Google
|
|
707
718
|
@priority = args[:priority] if args.key?(:priority)
|
708
719
|
@recommender_subtype = args[:recommender_subtype] if args.key?(:recommender_subtype)
|
709
720
|
@state_info = args[:state_info] if args.key?(:state_info)
|
721
|
+
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
710
722
|
@xor_group_id = args[:xor_group_id] if args.key?(:xor_group_id)
|
711
723
|
end
|
712
724
|
end
|
@@ -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.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240121"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -189,6 +189,8 @@ module Google
|
|
189
189
|
class Representation < Google::Apis::Core::JsonRepresentation
|
190
190
|
property :cost, as: 'cost', class: Google::Apis::RecommenderV1::GoogleTypeMoney, decorator: Google::Apis::RecommenderV1::GoogleTypeMoney::Representation
|
191
191
|
|
192
|
+
property :cost_in_local_currency, as: 'costInLocalCurrency', class: Google::Apis::RecommenderV1::GoogleTypeMoney, decorator: Google::Apis::RecommenderV1::GoogleTypeMoney::Representation
|
193
|
+
|
192
194
|
property :duration, as: 'duration'
|
193
195
|
end
|
194
196
|
end
|
@@ -366,6 +368,7 @@ module Google
|
|
366
368
|
property :recommender_subtype, as: 'recommenderSubtype'
|
367
369
|
property :state_info, as: 'stateInfo', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationStateInfo, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationStateInfo::Representation
|
368
370
|
|
371
|
+
collection :target_resources, as: 'targetResources'
|
369
372
|
property :xor_group_id, as: 'xorGroupId'
|
370
373
|
end
|
371
374
|
end
|
@@ -32,6 +32,8 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://cloud.google.com/recommender/docs/
|
34
34
|
class RecommenderService < Google::Apis::Core::BaseService
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://recommender.$UNIVERSE_DOMAIN$/"
|
36
|
+
|
35
37
|
# @return [String]
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -43,7 +45,7 @@ module Google
|
|
43
45
|
attr_accessor :quota_user
|
44
46
|
|
45
47
|
def initialize
|
46
|
-
super(
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
47
49
|
client_name: 'google-apis-recommender_v1',
|
48
50
|
client_version: Google::Apis::RecommenderV1::GEM_VERSION)
|
49
51
|
@batch_path = 'batch'
|
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.32.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:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.32.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: []
|
@@ -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.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Recommender API V1
|