google-cloud-recommender-v1 1.1.0 → 1.2.1

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: 773c0072502caff8d79a43cc632ba97dfbb6e6ebe1b2018adb27ae905bd5e840
4
- data.tar.gz: 70110f08fcf12f37bba868f2948b60a17e83735dacbe52d94e07ae8ba3b2bab9
3
+ metadata.gz: eb432c7c79a719f5bcaa74c8dff0f2bade403bc430d697962f2247e2a6e27c5c
4
+ data.tar.gz: 6fc1955bd797b000a0d8a8a568ac21022eebe8869af57614ae204206bb1ec0ad
5
5
  SHA512:
6
- metadata.gz: 6baa8a6fffd971414be3486d34cb8375a696874f56f1df7ae8aaf95e5258754e8b576f009eae0f8def321a0f133bddd21af0f8d2e1f8e607cc840ef8b9ed8e36
7
- data.tar.gz: ae01d668e06bb365dbcbd402f454d5f21b1bfd5580c0ca5ab6d92ddebafe684477c8ddb90d654853b62eaea35dcecddc9c914c5f194445702bad05e39ae808ee
6
+ metadata.gz: dadf7fef57e72cc18a464bead7ba130c2bbc24425a547f2c9e8a75cf1ff16b174c05eb9a2b6b7a3da6354535a9aff5ccb4ed45d9ef579baf73324059fb353ab3
7
+ data.tar.gz: 1572cee400e9047fa210c64e8b9d88a1258b7449f9e3bd341063df5e9e9b6b4aebb03b4f51aa578b5573db9bd6015e91f5e78dbf3e89e05754dd260c97f1fb1b
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 2.7+.
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
@@ -1645,8 +1652,8 @@ module Google
1645
1652
 
1646
1653
  config_attr :endpoint, nil, ::String, nil
1647
1654
  config_attr :credentials, nil do |value|
1648
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1649
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1655
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1656
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1650
1657
  allowed.any? { |klass| klass === value }
1651
1658
  end
1652
1659
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -1538,7 +1545,7 @@ module Google
1538
1545
 
1539
1546
  config_attr :endpoint, nil, ::String, nil
1540
1547
  config_attr :credentials, nil do |value|
1541
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1548
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1542
1549
  allowed.any? { |klass| klass === value }
1543
1550
  end
1544
1551
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Recommender
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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.1.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 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.24.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.24.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: '2.7'
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.5.23
112
- signing_key:
109
+ rubygems_version: 3.6.8
113
110
  specification_version: 4
114
111
  summary: API Client library for the Recommender V1 API
115
112
  test_files: []