google-apis-recommender_v1 0.29.0 → 0.31.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: 4022bfc4b069f910fc5b06358acba1e6850d1f7a8c313f548a1cd4835802acef
4
- data.tar.gz: 766bacea63a2c658cf6d7350a301624768d14af35e43dbf8f748c88a2ad16ee0
3
+ metadata.gz: dad38ee00e9cc93d74eb8e0619a9699c106c4c8698d0a67ae8ac5e8255a51172
4
+ data.tar.gz: dfacd6e74961bc842f03a509195e200aa1caad1a7c630b05ab8fa0879503706b
5
5
  SHA512:
6
- metadata.gz: 8f311c6683202e40663af39981c5d802261e3a22a9bafd51ea6902484c11c0e38f6485b58decc4d528deaeba3cfcd21eddb9cc31e08692f3dd6016eecaff6ef9
7
- data.tar.gz: 050b580088d46d0a4927c60f154781e1c2aa45db59f8249326aecbf43fe9caeed195cf31034b1bd4e2e83957b1534821e1700140195cb53f231d3dbe89d486ed
6
+ metadata.gz: fdcec01a623478aed4069260f7c27e19c3b8997daa0b70b360bfcd8cc5c1759bb98cf23debb79c0b9227c966fa9554f516f32706ccc24b6e4178cd373d60dbff
7
+ data.tar.gz: 16cfd5ac17cb7c5a0eef5c56482bdba2145c5f7e0ba38c09eb3cf08860b527f6d033bad2eaccf57f3a9fcac641874b8a11b2215eb5aff6b8d24eb42e0ed28d6d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-recommender_v1
2
2
 
3
+ ### v0.31.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231203
6
+
7
+ ### v0.30.0 (2023-11-19)
8
+
9
+ * Regenerated from discovery document revision 20231112
10
+
3
11
  ### v0.29.0 (2023-09-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20230910
@@ -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
@@ -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.29.0"
19
+ GEM_VERSION = "0.31.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
@@ -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
@@ -173,12 +173,14 @@ module Google
173
173
  # insight-types.
174
174
  # @param [String] filter
175
175
  # Optional. Filter expression to restrict the insights returned. Supported
176
- # filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: *
177
- # `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype =
178
- # PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.
179
- # state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These
180
- # expressions are based on the filter language described at https://google.aip.
181
- # dev/160)
176
+ # filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `
177
+ # targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state =
178
+ # DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR
179
+ # severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/
180
+ # zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (
181
+ # severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500
182
+ # characters. (These expressions are based on the filter language described at
183
+ # https://google.aip.dev/160)
182
184
  # @param [Fixnum] page_size
183
185
  # Optional. The maximum number of results to return from this request. Non-
184
186
  # positive values are ignored. If not specified, the server will determine the
@@ -377,12 +379,14 @@ module Google
377
379
  # recommenders: https://cloud.google.com/recommender/docs/recommenders.
378
380
  # @param [String] filter
379
381
  # Filter expression to restrict the recommendations returned. Supported filter
380
- # fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `
381
- # stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype
382
- # = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR
383
- # priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)
384
- # ` (These expressions are based on the filter language described at https://
385
- # google.aip.dev/160)
382
+ # fields: * `state_info.state` * `recommenderSubtype` * `priority` * `
383
+ # targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state =
384
+ # DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype =
385
+ # REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //
386
+ # compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
387
+ # * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max
388
+ # allowed filter length is 500 characters. (These expressions are based on the
389
+ # filter language described at https://google.aip.dev/160)
386
390
  # @param [Fixnum] page_size
387
391
  # Optional. The maximum number of results to return from this request. Non-
388
392
  # positive values are ignored. If not specified, the server will determine the
@@ -622,12 +626,14 @@ module Google
622
626
  # insight-types.
623
627
  # @param [String] filter
624
628
  # Optional. Filter expression to restrict the insights returned. Supported
625
- # filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: *
626
- # `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype =
627
- # PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.
628
- # state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These
629
- # expressions are based on the filter language described at https://google.aip.
630
- # dev/160)
629
+ # filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `
630
+ # targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state =
631
+ # DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR
632
+ # severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/
633
+ # zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (
634
+ # severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500
635
+ # characters. (These expressions are based on the filter language described at
636
+ # https://google.aip.dev/160)
631
637
  # @param [Fixnum] page_size
632
638
  # Optional. The maximum number of results to return from this request. Non-
633
639
  # positive values are ignored. If not specified, the server will determine the
@@ -749,12 +755,14 @@ module Google
749
755
  # recommenders: https://cloud.google.com/recommender/docs/recommenders.
750
756
  # @param [String] filter
751
757
  # Filter expression to restrict the recommendations returned. Supported filter
752
- # fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `
753
- # stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype
754
- # = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR
755
- # priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)
756
- # ` (These expressions are based on the filter language described at https://
757
- # google.aip.dev/160)
758
+ # fields: * `state_info.state` * `recommenderSubtype` * `priority` * `
759
+ # targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state =
760
+ # DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype =
761
+ # REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //
762
+ # compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
763
+ # * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max
764
+ # allowed filter length is 500 characters. (These expressions are based on the
765
+ # filter language described at https://google.aip.dev/160)
758
766
  # @param [Fixnum] page_size
759
767
  # Optional. The maximum number of results to return from this request. Non-
760
768
  # positive values are ignored. If not specified, the server will determine the
@@ -1072,12 +1080,14 @@ module Google
1072
1080
  # insight-types.
1073
1081
  # @param [String] filter
1074
1082
  # Optional. Filter expression to restrict the insights returned. Supported
1075
- # filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: *
1076
- # `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype =
1077
- # PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.
1078
- # state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These
1079
- # expressions are based on the filter language described at https://google.aip.
1080
- # dev/160)
1083
+ # filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `
1084
+ # targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state =
1085
+ # DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR
1086
+ # severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/
1087
+ # zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (
1088
+ # severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500
1089
+ # characters. (These expressions are based on the filter language described at
1090
+ # https://google.aip.dev/160)
1081
1091
  # @param [Fixnum] page_size
1082
1092
  # Optional. The maximum number of results to return from this request. Non-
1083
1093
  # positive values are ignored. If not specified, the server will determine the
@@ -1276,12 +1286,14 @@ module Google
1276
1286
  # recommenders: https://cloud.google.com/recommender/docs/recommenders.
1277
1287
  # @param [String] filter
1278
1288
  # Filter expression to restrict the recommendations returned. Supported filter
1279
- # fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `
1280
- # stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype
1281
- # = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR
1282
- # priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)
1283
- # ` (These expressions are based on the filter language described at https://
1284
- # google.aip.dev/160)
1289
+ # fields: * `state_info.state` * `recommenderSubtype` * `priority` * `
1290
+ # targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state =
1291
+ # DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype =
1292
+ # REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //
1293
+ # compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
1294
+ # * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max
1295
+ # allowed filter length is 500 characters. (These expressions are based on the
1296
+ # filter language described at https://google.aip.dev/160)
1285
1297
  # @param [Fixnum] page_size
1286
1298
  # Optional. The maximum number of results to return from this request. Non-
1287
1299
  # positive values are ignored. If not specified, the server will determine the
@@ -1599,12 +1611,14 @@ module Google
1599
1611
  # insight-types.
1600
1612
  # @param [String] filter
1601
1613
  # Optional. Filter expression to restrict the insights returned. Supported
1602
- # filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: *
1603
- # `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype =
1604
- # PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.
1605
- # state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These
1606
- # expressions are based on the filter language described at https://google.aip.
1607
- # dev/160)
1614
+ # filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `
1615
+ # targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state =
1616
+ # DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR
1617
+ # severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/
1618
+ # zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (
1619
+ # severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500
1620
+ # characters. (These expressions are based on the filter language described at
1621
+ # https://google.aip.dev/160)
1608
1622
  # @param [Fixnum] page_size
1609
1623
  # Optional. The maximum number of results to return from this request. Non-
1610
1624
  # positive values are ignored. If not specified, the server will determine the
@@ -1803,12 +1817,14 @@ module Google
1803
1817
  # recommenders: https://cloud.google.com/recommender/docs/recommenders.
1804
1818
  # @param [String] filter
1805
1819
  # Filter expression to restrict the recommendations returned. Supported filter
1806
- # fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `
1807
- # stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype
1808
- # = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR
1809
- # priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)
1810
- # ` (These expressions are based on the filter language described at https://
1811
- # google.aip.dev/160)
1820
+ # fields: * `state_info.state` * `recommenderSubtype` * `priority` * `
1821
+ # targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state =
1822
+ # DISMISSED` * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype =
1823
+ # REPLACE_ROLE` * `priority = P1 OR priority = P2` * `targetResources : //
1824
+ # compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
1825
+ # * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` The max
1826
+ # allowed filter length is 500 characters. (These expressions are based on the
1827
+ # filter language described at https://google.aip.dev/160)
1812
1828
  # @param [Fixnum] page_size
1813
1829
  # Optional. The maximum number of results to return from this request. Non-
1814
1830
  # positive values are ignored. If not specified, the server will determine the
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.29.0
4
+ version: 0.31.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1/v0.31.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: []