google-cloud-recommender-v1 1.1.0 → 1.2.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/recommender/v1/recommender/client.rb +7 -0
- data/lib/google/cloud/recommender/v1/recommender/rest/client.rb +7 -0
- data/lib/google/cloud/recommender/v1/version.rb +1 -1
- data/proto_docs/google/cloud/recommender/v1/recommendation.rb +12 -0
- data/proto_docs/google/protobuf/struct.rb +12 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6df62e35f57f3469e7d68be58b7b4a9211e375af9877a2ce885e23675d5fb6b1
|
4
|
+
data.tar.gz: eb48306ed9f707574f2396665529ac59353aa012db3b945f88c1e3c885c75b2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bad43c2ea93cf27d62c97cb05c77d26547a0d2ae53b2afe30f0ac904eff59c9447d7e36fd7307c2aecea28af5509e3b8470dc072e96f26e41e26e54911c977e
|
7
|
+
data.tar.gz: 847e9ccf0df1dd3989946cc35dc39c23edfe658b71dc9520525e7690d780f73ac0f0185386b10477084fc4ea6d3c91f4d88da9dbf58c50af89acad2a71dbdee4
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -1591,6 +1591,13 @@ module Google
|
|
1591
1591
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1592
1592
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1593
1593
|
# * (`nil`) indicating no credentials
|
1594
|
+
#
|
1595
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1596
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1597
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1598
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1599
|
+
# For more information, refer to [Validate credential configurations from external
|
1600
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1594
1601
|
# @return [::Object]
|
1595
1602
|
# @!attribute [rw] scope
|
1596
1603
|
# The OAuth scopes
|
@@ -1491,6 +1491,13 @@ module Google
|
|
1491
1491
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1492
1492
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1493
1493
|
# * (`nil`) indicating no credentials
|
1494
|
+
#
|
1495
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1496
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1497
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1498
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1499
|
+
# For more information, refer to [Validate credential configurations from external
|
1500
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1494
1501
|
# @return [::Object]
|
1495
1502
|
# @!attribute [rw] scope
|
1496
1503
|
# The OAuth scopes
|
@@ -176,10 +176,14 @@ module Google
|
|
176
176
|
# Value for the `path` field. Will be set for actions:'add'/'replace'.
|
177
177
|
# Maybe set for action: 'test'. Either this or `value_matcher` will be set
|
178
178
|
# for 'test' operation. An exact match must be performed.
|
179
|
+
#
|
180
|
+
# Note: The following fields are mutually exclusive: `value`, `value_matcher`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
179
181
|
# @!attribute [rw] value_matcher
|
180
182
|
# @return [::Google::Cloud::Recommender::V1::ValueMatcher]
|
181
183
|
# Can be set for action 'test' for advanced matching for the value of
|
182
184
|
# 'path' field. Either this or `value` will be set for 'test' operation.
|
185
|
+
#
|
186
|
+
# Note: The following fields are mutually exclusive: `value_matcher`, `value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
183
187
|
# @!attribute [rw] path_filters
|
184
188
|
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
|
185
189
|
# Set of filters to apply if `path` refers to array elements or nested array
|
@@ -330,15 +334,23 @@ module Google
|
|
330
334
|
# @!attribute [rw] cost_projection
|
331
335
|
# @return [::Google::Cloud::Recommender::V1::CostProjection]
|
332
336
|
# Use with CategoryType.COST
|
337
|
+
#
|
338
|
+
# Note: The following fields are mutually exclusive: `cost_projection`, `security_projection`, `sustainability_projection`, `reliability_projection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
333
339
|
# @!attribute [rw] security_projection
|
334
340
|
# @return [::Google::Cloud::Recommender::V1::SecurityProjection]
|
335
341
|
# Use with CategoryType.SECURITY
|
342
|
+
#
|
343
|
+
# Note: The following fields are mutually exclusive: `security_projection`, `cost_projection`, `sustainability_projection`, `reliability_projection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
336
344
|
# @!attribute [rw] sustainability_projection
|
337
345
|
# @return [::Google::Cloud::Recommender::V1::SustainabilityProjection]
|
338
346
|
# Use with CategoryType.SUSTAINABILITY
|
347
|
+
#
|
348
|
+
# Note: The following fields are mutually exclusive: `sustainability_projection`, `cost_projection`, `security_projection`, `reliability_projection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
339
349
|
# @!attribute [rw] reliability_projection
|
340
350
|
# @return [::Google::Cloud::Recommender::V1::ReliabilityProjection]
|
341
351
|
# Use with CategoryType.RELIABILITY
|
352
|
+
#
|
353
|
+
# Note: The following fields are mutually exclusive: `reliability_projection`, `cost_projection`, `security_projection`, `sustainability_projection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
342
354
|
class Impact
|
343
355
|
include ::Google::Protobuf::MessageExts
|
344
356
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -53,21 +53,33 @@ module Google
|
|
53
53
|
# @!attribute [rw] null_value
|
54
54
|
# @return [::Google::Protobuf::NullValue]
|
55
55
|
# Represents a null value.
|
56
|
+
#
|
57
|
+
# Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
56
58
|
# @!attribute [rw] number_value
|
57
59
|
# @return [::Float]
|
58
60
|
# Represents a double value.
|
61
|
+
#
|
62
|
+
# Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
59
63
|
# @!attribute [rw] string_value
|
60
64
|
# @return [::String]
|
61
65
|
# Represents a string value.
|
66
|
+
#
|
67
|
+
# Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
62
68
|
# @!attribute [rw] bool_value
|
63
69
|
# @return [::Boolean]
|
64
70
|
# Represents a boolean value.
|
71
|
+
#
|
72
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
65
73
|
# @!attribute [rw] struct_value
|
66
74
|
# @return [::Google::Protobuf::Struct]
|
67
75
|
# Represents a structured value.
|
76
|
+
#
|
77
|
+
# Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
68
78
|
# @!attribute [rw] list_value
|
69
79
|
# @return [::Google::Protobuf::ListValue]
|
70
80
|
# Represents a repeated `Value`.
|
81
|
+
#
|
82
|
+
# Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
71
83
|
class Value
|
72
84
|
include ::Google::Protobuf::MessageExts
|
73
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-recommender-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -93,7 +92,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
93
92
|
licenses:
|
94
93
|
- Apache-2.0
|
95
94
|
metadata: {}
|
96
|
-
post_install_message:
|
97
95
|
rdoc_options: []
|
98
96
|
require_paths:
|
99
97
|
- lib
|
@@ -101,15 +99,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
99
|
requirements:
|
102
100
|
- - ">="
|
103
101
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
102
|
+
version: '3.0'
|
105
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
104
|
requirements:
|
107
105
|
- - ">="
|
108
106
|
- !ruby/object:Gem::Version
|
109
107
|
version: '0'
|
110
108
|
requirements: []
|
111
|
-
rubygems_version: 3.
|
112
|
-
signing_key:
|
109
|
+
rubygems_version: 3.6.2
|
113
110
|
specification_version: 4
|
114
111
|
summary: API Client library for the Recommender V1 API
|
115
112
|
test_files: []
|