google-cloud-recommender-v1 0.15.0 → 0.16.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: 3864f3f087240220a4454006575f9ef9ec9273072ee9e29d6435eade578af0ce
4
- data.tar.gz: 5bd199e5e146e2339a14f79b0eaf4fa99e4cb073a6f06f4b0580cb36a29b671e
3
+ metadata.gz: 78fd18ce507df303e688db6cecf02ccb129c0ce7282180dc0ea0e9e85cf69024
4
+ data.tar.gz: 2d45cc0f6792287bb391ac5e640d1af3ddef9e9ff05e575df0cda5bef0f6c2b5
5
5
  SHA512:
6
- metadata.gz: a88a56c763df943976f660a345982ba3e89c19ef68e8d325108ac47623261a66adba501d8f2f2a40de508ccbf45ce97d9718b4fac62ee363177c3d7e5963390b
7
- data.tar.gz: 9c968f0b3adee00085798874382def1149b6abcb0af6b5dfbe31b92697b69a68cc054ad97d1fe00a273f75ffa2c623c81e6a642694aa3d4a6dc186554220c49f
6
+ metadata.gz: 4a1e67d2dd93719d456dcba24d743a5ab2157d65ef7989b44d640f06f35697ca7dd070975c688e3071d9f009345b6c5b0e4ae8e6ec72f6068093771cd4c53642
7
+ data.tar.gz: 9b77f0bffe7cce8b3c14496b65454e092215130aa2fc964a7eb117ec510087303bd99c5fb01e1249e83cdaa39f19174499958f01e25c50b3289263f4cd9ce6a2
@@ -11,7 +11,7 @@ require 'google/protobuf/timestamp_pb'
11
11
  require 'google/type/money_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n0google/cloud/recommender/v1/recommendation.proto\x12\x1bgoogle.cloud.recommender.v1\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/type/money.proto\"\xa2\t\n\x0eRecommendation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1b\n\x13recommender_subtype\x18\x0c \x01(\t\x12\x35\n\x11last_refresh_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x0eprimary_impact\x18\x05 \x01(\x0b\x32#.google.cloud.recommender.v1.Impact\x12>\n\x11\x61\x64\x64itional_impact\x18\x06 \x03(\x0b\x32#.google.cloud.recommender.v1.Impact\x12\x46\n\x08priority\x18\x11 \x01(\x0e\x32\x34.google.cloud.recommender.v1.Recommendation.Priority\x12\x43\n\x07\x63ontent\x18\x07 \x01(\x0b\x32\x32.google.cloud.recommender.v1.RecommendationContent\x12H\n\nstate_info\x18\n \x01(\x0b\x32\x34.google.cloud.recommender.v1.RecommendationStateInfo\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12Y\n\x13\x61ssociated_insights\x18\x0e \x03(\x0b\x32<.google.cloud.recommender.v1.Recommendation.InsightReference\x12\x14\n\x0cxor_group_id\x18\x12 \x01(\t\x1a#\n\x10InsightReference\x12\x0f\n\x07insight\x18\x01 \x01(\t\"D\n\x08Priority\x12\x18\n\x14PRIORITY_UNSPECIFIED\x10\x00\x12\x06\n\x02P4\x10\x01\x12\x06\n\x02P3\x10\x02\x12\x06\n\x02P2\x10\x03\x12\x06\n\x02P1\x10\x04:\xda\x03\xea\x41\xd6\x03\n)recommender.googleapis.com/Recommendation\x12\x63projects/{project}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}\x12rbillingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}\x12\x61\x66olders/{folder}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}\x12morganizations/{organization}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}\"\x89\x01\n\x15RecommendationContent\x12\x45\n\x10operation_groups\x18\x02 \x03(\x0b\x32+.google.cloud.recommender.v1.OperationGroup\x12)\n\x08overview\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"L\n\x0eOperationGroup\x12:\n\noperations\x18\x01 \x03(\x0b\x32&.google.cloud.recommender.v1.Operation\"\xd7\x04\n\tOperation\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12\x15\n\rresource_type\x18\x02 \x01(\t\x12\x10\n\x08resource\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\t\x12\x17\n\x0fsource_resource\x18\x05 \x01(\t\x12\x13\n\x0bsource_path\x18\x06 \x01(\t\x12\'\n\x05value\x18\x07 \x01(\x0b\x32\x16.google.protobuf.ValueH\x00\x12\x42\n\rvalue_matcher\x18\n \x01(\x0b\x32).google.cloud.recommender.v1.ValueMatcherH\x00\x12M\n\x0cpath_filters\x18\x08 \x03(\x0b\x32\x37.google.cloud.recommender.v1.Operation.PathFiltersEntry\x12Z\n\x13path_value_matchers\x18\x0b \x03(\x0b\x32=.google.cloud.recommender.v1.Operation.PathValueMatchersEntry\x1aJ\n\x10PathFiltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x1a\x63\n\x16PathValueMatchersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.recommender.v1.ValueMatcher:\x02\x38\x01\x42\x0c\n\npath_value\":\n\x0cValueMatcher\x12\x19\n\x0fmatches_pattern\x18\x01 \x01(\tH\x00\x42\x0f\n\rmatch_variant\"_\n\x0e\x43ostProjection\x12 \n\x04\x63ost\x18\x01 \x01(\x0b\x32\x12.google.type.Money\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\">\n\x12SecurityProjection\x12(\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"Y\n\x18SustainabilityProjection\x12\x10\n\x08kg_c_o2e\x18\x01 \x01(\x01\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xec\x01\n\x15ReliabilityProjection\x12J\n\x05risks\x18\x01 \x03(\x0e\x32;.google.cloud.recommender.v1.ReliabilityProjection.RiskType\x12(\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"]\n\x08RiskType\x12\x19\n\x15RISK_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12SERVICE_DISRUPTION\x10\x01\x12\r\n\tDATA_LOSS\x10\x02\x12\x0f\n\x0b\x41\x43\x43\x45SS_DENY\x10\x03\"\xa8\x04\n\x06Impact\x12>\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32,.google.cloud.recommender.v1.Impact.Category\x12\x46\n\x0f\x63ost_projection\x18\x64 \x01(\x0b\x32+.google.cloud.recommender.v1.CostProjectionH\x00\x12N\n\x13security_projection\x18\x65 \x01(\x0b\x32/.google.cloud.recommender.v1.SecurityProjectionH\x00\x12Z\n\x19sustainability_projection\x18\x66 \x01(\x0b\x32\x35.google.cloud.recommender.v1.SustainabilityProjectionH\x00\x12T\n\x16reliability_projection\x18g \x01(\x0b\x32\x32.google.cloud.recommender.v1.ReliabilityProjectionH\x00\"\x85\x01\n\x08\x43\x61tegory\x12\x18\n\x14\x43\x41TEGORY_UNSPECIFIED\x10\x00\x12\x08\n\x04\x43OST\x10\x01\x12\x0c\n\x08SECURITY\x10\x02\x12\x0f\n\x0bPERFORMANCE\x10\x03\x12\x11\n\rMANAGEABILITY\x10\x04\x12\x12\n\x0eSUSTAINABILITY\x10\x05\x12\x0f\n\x0bRELIABILITY\x10\x06\x42\x0c\n\nprojection\"\xde\x02\n\x17RecommendationStateInfo\x12I\n\x05state\x18\x01 \x01(\x0e\x32:.google.cloud.recommender.v1.RecommendationStateInfo.State\x12_\n\x0estate_metadata\x18\x02 \x03(\x0b\x32G.google.cloud.recommender.v1.RecommendationStateInfo.StateMetadataEntry\x1a\x34\n\x12StateMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07\x43LAIMED\x10\x06\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tDISMISSED\x10\x05\x42\xde\x03\n\x1f\x63om.google.cloud.recommender.v1P\x01ZAcloud.google.com/go/recommender/apiv1/recommenderpb;recommenderpb\xa2\x02\x04\x43REC\xaa\x02\x1bGoogle.Cloud.Recommender.V1\xea\x41\xcf\x02\n&recommender.googleapis.com/Recommender\x12\x42projects/{project}/locations/{location}/recommenders/{recommender}\x12QbillingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}\x12@folders/{folder}/locations/{location}/recommenders/{recommender}\x12Lorganizations/{organization}/locations/{location}/recommenders/{recommender}b\x06proto3"
14
+ descriptor_data = "\n0google/cloud/recommender/v1/recommendation.proto\x12\x1bgoogle.cloud.recommender.v1\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/type/money.proto\"\xa2\t\n\x0eRecommendation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1b\n\x13recommender_subtype\x18\x0c \x01(\t\x12\x35\n\x11last_refresh_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x0eprimary_impact\x18\x05 \x01(\x0b\x32#.google.cloud.recommender.v1.Impact\x12>\n\x11\x61\x64\x64itional_impact\x18\x06 \x03(\x0b\x32#.google.cloud.recommender.v1.Impact\x12\x46\n\x08priority\x18\x11 \x01(\x0e\x32\x34.google.cloud.recommender.v1.Recommendation.Priority\x12\x43\n\x07\x63ontent\x18\x07 \x01(\x0b\x32\x32.google.cloud.recommender.v1.RecommendationContent\x12H\n\nstate_info\x18\n \x01(\x0b\x32\x34.google.cloud.recommender.v1.RecommendationStateInfo\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12Y\n\x13\x61ssociated_insights\x18\x0e \x03(\x0b\x32<.google.cloud.recommender.v1.Recommendation.InsightReference\x12\x14\n\x0cxor_group_id\x18\x12 \x01(\t\x1a#\n\x10InsightReference\x12\x0f\n\x07insight\x18\x01 \x01(\t\"D\n\x08Priority\x12\x18\n\x14PRIORITY_UNSPECIFIED\x10\x00\x12\x06\n\x02P4\x10\x01\x12\x06\n\x02P3\x10\x02\x12\x06\n\x02P2\x10\x03\x12\x06\n\x02P1\x10\x04:\xda\x03\xea\x41\xd6\x03\n)recommender.googleapis.com/Recommendation\x12\x63projects/{project}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}\x12rbillingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}\x12\x61\x66olders/{folder}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}\x12morganizations/{organization}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation}\"\x89\x01\n\x15RecommendationContent\x12\x45\n\x10operation_groups\x18\x02 \x03(\x0b\x32+.google.cloud.recommender.v1.OperationGroup\x12)\n\x08overview\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"L\n\x0eOperationGroup\x12:\n\noperations\x18\x01 \x03(\x0b\x32&.google.cloud.recommender.v1.Operation\"\xd7\x04\n\tOperation\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12\x15\n\rresource_type\x18\x02 \x01(\t\x12\x10\n\x08resource\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\t\x12\x17\n\x0fsource_resource\x18\x05 \x01(\t\x12\x13\n\x0bsource_path\x18\x06 \x01(\t\x12\'\n\x05value\x18\x07 \x01(\x0b\x32\x16.google.protobuf.ValueH\x00\x12\x42\n\rvalue_matcher\x18\n \x01(\x0b\x32).google.cloud.recommender.v1.ValueMatcherH\x00\x12M\n\x0cpath_filters\x18\x08 \x03(\x0b\x32\x37.google.cloud.recommender.v1.Operation.PathFiltersEntry\x12Z\n\x13path_value_matchers\x18\x0b \x03(\x0b\x32=.google.cloud.recommender.v1.Operation.PathValueMatchersEntry\x1aJ\n\x10PathFiltersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x1a\x63\n\x16PathValueMatchersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.recommender.v1.ValueMatcher:\x02\x38\x01\x42\x0c\n\npath_value\":\n\x0cValueMatcher\x12\x19\n\x0fmatches_pattern\x18\x01 \x01(\tH\x00\x42\x0f\n\rmatch_variant\"\x93\x01\n\x0e\x43ostProjection\x12 \n\x04\x63ost\x18\x01 \x01(\x0b\x32\x12.google.type.Money\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x16\x63ost_in_local_currency\x18\x03 \x01(\x0b\x32\x12.google.type.Money\">\n\x12SecurityProjection\x12(\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"Y\n\x18SustainabilityProjection\x12\x10\n\x08kg_c_o2e\x18\x01 \x01(\x01\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xec\x01\n\x15ReliabilityProjection\x12J\n\x05risks\x18\x01 \x03(\x0e\x32;.google.cloud.recommender.v1.ReliabilityProjection.RiskType\x12(\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"]\n\x08RiskType\x12\x19\n\x15RISK_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12SERVICE_DISRUPTION\x10\x01\x12\r\n\tDATA_LOSS\x10\x02\x12\x0f\n\x0b\x41\x43\x43\x45SS_DENY\x10\x03\"\xa8\x04\n\x06Impact\x12>\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32,.google.cloud.recommender.v1.Impact.Category\x12\x46\n\x0f\x63ost_projection\x18\x64 \x01(\x0b\x32+.google.cloud.recommender.v1.CostProjectionH\x00\x12N\n\x13security_projection\x18\x65 \x01(\x0b\x32/.google.cloud.recommender.v1.SecurityProjectionH\x00\x12Z\n\x19sustainability_projection\x18\x66 \x01(\x0b\x32\x35.google.cloud.recommender.v1.SustainabilityProjectionH\x00\x12T\n\x16reliability_projection\x18g \x01(\x0b\x32\x32.google.cloud.recommender.v1.ReliabilityProjectionH\x00\"\x85\x01\n\x08\x43\x61tegory\x12\x18\n\x14\x43\x41TEGORY_UNSPECIFIED\x10\x00\x12\x08\n\x04\x43OST\x10\x01\x12\x0c\n\x08SECURITY\x10\x02\x12\x0f\n\x0bPERFORMANCE\x10\x03\x12\x11\n\rMANAGEABILITY\x10\x04\x12\x12\n\x0eSUSTAINABILITY\x10\x05\x12\x0f\n\x0bRELIABILITY\x10\x06\x42\x0c\n\nprojection\"\xde\x02\n\x17RecommendationStateInfo\x12I\n\x05state\x18\x01 \x01(\x0e\x32:.google.cloud.recommender.v1.RecommendationStateInfo.State\x12_\n\x0estate_metadata\x18\x02 \x03(\x0b\x32G.google.cloud.recommender.v1.RecommendationStateInfo.StateMetadataEntry\x1a\x34\n\x12StateMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07\x43LAIMED\x10\x06\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tDISMISSED\x10\x05\x42\xde\x03\n\x1f\x63om.google.cloud.recommender.v1P\x01ZAcloud.google.com/go/recommender/apiv1/recommenderpb;recommenderpb\xa2\x02\x04\x43REC\xaa\x02\x1bGoogle.Cloud.Recommender.V1\xea\x41\xcf\x02\n&recommender.googleapis.com/Recommender\x12\x42projects/{project}/locations/{location}/recommenders/{recommender}\x12QbillingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}\x12@folders/{folder}/locations/{location}/recommenders/{recommender}\x12Lorganizations/{organization}/locations/{location}/recommenders/{recommender}b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -232,6 +232,8 @@ module Google
232
232
  #
233
233
  # * `severity`
234
234
  #
235
+ # * `targetResources`
236
+ #
235
237
  # Examples:
236
238
  #
237
239
  # * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -240,8 +242,13 @@ module Google
240
242
  #
241
243
  # * `severity = CRITICAL OR severity = HIGH`
242
244
  #
245
+ # * `targetResources :
246
+ # //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
247
+ #
243
248
  # * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
244
249
  #
250
+ # The max allowed filter length is 500 characters.
251
+ #
245
252
  # (These expressions are based on the filter language described at
246
253
  # https://google.aip.dev/160)
247
254
  #
@@ -551,6 +558,8 @@ module Google
551
558
  #
552
559
  # * `priority`
553
560
  #
561
+ # * `targetResources`
562
+ #
554
563
  # Examples:
555
564
  #
556
565
  # * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -559,8 +568,13 @@ module Google
559
568
  #
560
569
  # * `priority = P1 OR priority = P2`
561
570
  #
571
+ # * `targetResources :
572
+ # //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
573
+ #
562
574
  # * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
563
575
  #
576
+ # The max allowed filter length is 500 characters.
577
+ #
564
578
  # (These expressions are based on the filter language described at
565
579
  # https://google.aip.dev/160)
566
580
  #
@@ -746,7 +760,7 @@ module Google
746
760
  # the default parameter values, pass an empty Hash as a request object (see above).
747
761
  #
748
762
  # @param name [::String]
749
- # Name of the recommendation.
763
+ # Required. Name of the recommendation.
750
764
  # @param etag [::String]
751
765
  # Fingerprint of the Recommendation. Provides optimistic locking.
752
766
  #
@@ -222,6 +222,8 @@ module Google
222
222
  #
223
223
  # * `severity`
224
224
  #
225
+ # * `targetResources`
226
+ #
225
227
  # Examples:
226
228
  #
227
229
  # * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -230,8 +232,13 @@ module Google
230
232
  #
231
233
  # * `severity = CRITICAL OR severity = HIGH`
232
234
  #
235
+ # * `targetResources :
236
+ # //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
237
+ #
233
238
  # * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
234
239
  #
240
+ # The max allowed filter length is 500 characters.
241
+ #
235
242
  # (These expressions are based on the filter language described at
236
243
  # https://google.aip.dev/160)
237
244
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -520,6 +527,8 @@ module Google
520
527
  #
521
528
  # * `priority`
522
529
  #
530
+ # * `targetResources`
531
+ #
523
532
  # Examples:
524
533
  #
525
534
  # * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -528,8 +537,13 @@ module Google
528
537
  #
529
538
  # * `priority = P1 OR priority = P2`
530
539
  #
540
+ # * `targetResources :
541
+ # //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
542
+ #
531
543
  # * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
532
544
  #
545
+ # The max allowed filter length is 500 characters.
546
+ #
533
547
  # (These expressions are based on the filter language described at
534
548
  # https://google.aip.dev/160)
535
549
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -701,7 +715,7 @@ module Google
701
715
  # the default parameter values, pass an empty Hash as a request object (see above).
702
716
  #
703
717
  # @param name [::String]
704
- # Name of the recommendation.
718
+ # Required. Name of the recommendation.
705
719
  # @param etag [::String]
706
720
  # Fingerprint of the Recommendation. Provides optimistic locking.
707
721
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Recommender
23
23
  module V1
24
- VERSION = "0.15.0"
24
+ VERSION = "0.16.0"
25
25
  end
26
26
  end
27
27
  end
@@ -304,6 +304,19 @@ module Google
304
304
  # seconds: 360 # 6 minutes
305
305
  # total_poll_timeout:
306
306
  # seconds: 54000 # 90 minutes
307
+ # @!attribute [rw] auto_populated_fields
308
+ # @return [::Array<::String>]
309
+ # List of top-level fields of the request message, that should be
310
+ # automatically populated by the client libraries based on their
311
+ # (google.api.field_info).format. Currently supported format: UUID4.
312
+ #
313
+ # Example of a YAML configuration:
314
+ #
315
+ # publishing:
316
+ # method_settings:
317
+ # - selector: google.example.v1.ExampleService.CreateExample
318
+ # auto_populated_fields:
319
+ # - request_id
307
320
  class MethodSettings
308
321
  include ::Google::Protobuf::MessageExts
309
322
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -264,6 +264,9 @@ module Google
264
264
  # @!attribute [rw] duration
265
265
  # @return [::Google::Protobuf::Duration]
266
266
  # Duration for which this cost applies.
267
+ # @!attribute [rw] cost_in_local_currency
268
+ # @return [::Google::Type::Money]
269
+ # The approximate cost savings in the billing account's local currency.
267
270
  class CostProjection
268
271
  include ::Google::Protobuf::MessageExts
269
272
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -335,7 +338,7 @@ module Google
335
338
  # Use with CategoryType.SUSTAINABILITY
336
339
  # @!attribute [rw] reliability_projection
337
340
  # @return [::Google::Cloud::Recommender::V1::ReliabilityProjection]
338
- # Use with CategoryType.RELAIBILITY
341
+ # Use with CategoryType.RELIABILITY
339
342
  class Impact
340
343
  include ::Google::Protobuf::MessageExts
341
344
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -63,6 +63,8 @@ module Google
63
63
  #
64
64
  # * `severity`
65
65
  #
66
+ # * `targetResources`
67
+ #
66
68
  # Examples:
67
69
  #
68
70
  # * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -71,8 +73,13 @@ module Google
71
73
  #
72
74
  # * `severity = CRITICAL OR severity = HIGH`
73
75
  #
76
+ # * `targetResources :
77
+ # //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
78
+ #
74
79
  # * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
75
80
  #
81
+ # The max allowed filter length is 500 characters.
82
+ #
76
83
  # (These expressions are based on the filter language described at
77
84
  # https://google.aip.dev/160)
78
85
  class ListInsightsRequest
@@ -169,6 +176,8 @@ module Google
169
176
  #
170
177
  # * `priority`
171
178
  #
179
+ # * `targetResources`
180
+ #
172
181
  # Examples:
173
182
  #
174
183
  # * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
@@ -177,8 +186,13 @@ module Google
177
186
  #
178
187
  # * `priority = P1 OR priority = P2`
179
188
  #
189
+ # * `targetResources :
190
+ # //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
191
+ #
180
192
  # * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
181
193
  #
194
+ # The max allowed filter length is 500 characters.
195
+ #
182
196
  # (These expressions are based on the filter language described at
183
197
  # https://google.aip.dev/160)
184
198
  class ListRecommendationsRequest
@@ -211,7 +225,7 @@ module Google
211
225
  # Request for the `MarkRecommendationDismissed` Method.
212
226
  # @!attribute [rw] name
213
227
  # @return [::String]
214
- # Name of the recommendation.
228
+ # Required. Name of the recommendation.
215
229
  # @!attribute [rw] etag
216
230
  # @return [::String]
217
231
  # Fingerprint of the Recommendation. Provides optimistic locking.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-recommender-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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-12 00:00:00.000000000 Z
11
+ date: 2023-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common