google-apis-recommender_v1 0.31.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dad38ee00e9cc93d74eb8e0619a9699c106c4c8698d0a67ae8ac5e8255a51172
4
- data.tar.gz: dfacd6e74961bc842f03a509195e200aa1caad1a7c630b05ab8fa0879503706b
3
+ metadata.gz: 2374d99a0d7110e78d8708c9e0ec26305300b5abc493452e83adde2d14a9316d
4
+ data.tar.gz: 64630364c5f7ef6192c00d6ccf3a961e6677000bb7a299eeae03078a88305ce4
5
5
  SHA512:
6
- metadata.gz: fdcec01a623478aed4069260f7c27e19c3b8997daa0b70b360bfcd8cc5c1759bb98cf23debb79c0b9227c966fa9554f516f32706ccc24b6e4178cd373d60dbff
7
- data.tar.gz: 16cfd5ac17cb7c5a0eef5c56482bdba2145c5f7e0ba38c09eb3cf08860b527f6d033bad2eaccf57f3a9fcac641874b8a11b2215eb5aff6b8d24eb42e0ed28d6d
6
+ metadata.gz: d4659b922a24b8ab05509537e998bff0790f99a298fa68f8ff96896bf281de8fe82a5746f07cecc6cbdb60847c8160bee810c1d8e353ebda5c25d392ff961609
7
+ data.tar.gz: c67e4a71a8fe1bcf7ed050e8d216ea29db0778714783d7109b839302691f80a30e9b5f3895cf727f770a8a025f5f0f340263d346c19a3dc32bb6cb018ae4f423
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-recommender_v1
2
2
 
3
+ ### v0.33.0 (2024-02-24)
4
+
5
+ * Regenerated using generator version 0.14.0
6
+
7
+ ### v0.32.0 (2024-01-22)
8
+
9
+ * Regenerated from discovery document revision 20240121
10
+ * Regenerated using generator version 0.13.0
11
+
3
12
  ### v0.31.0 (2023-12-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20231203
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/recommender/docs/) may prov
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -688,6 +688,11 @@ module Google
688
688
  # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationStateInfo]
689
689
  attr_accessor :state_info
690
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
+
691
696
  # Corresponds to a mutually exclusive group ID within a recommender. A non-empty
692
697
  # ID indicates that the recommendation belongs to a mutually exclusive group.
693
698
  # This means that only one recommendation within the group is suggested to be
@@ -713,6 +718,7 @@ module Google
713
718
  @priority = args[:priority] if args.key?(:priority)
714
719
  @recommender_subtype = args[:recommender_subtype] if args.key?(:recommender_subtype)
715
720
  @state_info = args[:state_info] if args.key?(:state_info)
721
+ @target_resources = args[:target_resources] if args.key?(:target_resources)
716
722
  @xor_group_id = args[:xor_group_id] if args.key?(:xor_group_id)
717
723
  end
718
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.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231203"
25
+ REVISION = "20240121"
26
26
  end
27
27
  end
28
28
  end
@@ -368,6 +368,7 @@ module Google
368
368
  property :recommender_subtype, as: 'recommenderSubtype'
369
369
  property :state_info, as: 'stateInfo', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationStateInfo, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationStateInfo::Representation
370
370
 
371
+ collection :target_resources, as: 'targetResources'
371
372
  property :xor_group_id, as: 'xorGroupId'
372
373
  end
373
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('https://recommender.googleapis.com/', '',
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.31.0
4
+ version: 0.33.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-12-10 00:00:00.000000000 Z
11
+ date: 2024-02-25 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.11.0
19
+ version: 0.14.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.11.0
29
+ version: 0.14.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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1/v0.33.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Recommender API V1