Skip to content

Commit

Permalink
feat: Support cost_in_local_currency field in the cost projection (#6866
Browse files Browse the repository at this point in the history
)

docs: Fix typo for the comment of reliability_projection
docs: Add comment for targetResources
PiperOrigin-RevId: 589982370
Source-Link: googleapis/googleapis@b7abf5c
Source-Link: googleapis/googleapis-gen@1617d1e
Copy-Tag: eyJwIjoiUmVjb21tZW5kZXIvLk93bEJvdC55YW1sIiwiaCI6IjE2MTdkMWVkZTJhMDVjMTMyODljZmVhNDg4M2JjZGY5MTE2ZjU2NGUifQ==
  • Loading branch information
gcf-owl-bot[bot] authored Dec 12, 2023
1 parent 8cf2a18 commit edc2af7
Show file tree
Hide file tree
Showing 7 changed files with 105 additions and 8 deletions.
Binary file modified Recommender/metadata/V1/Recommendation.php
Binary file not shown.
44 changes: 44 additions & 0 deletions Recommender/src/V1/CostProjection.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion Recommender/src/V1/Gapic/RecommenderGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,8 @@ public function getRecommenderConfig($name, array $optionalArgs = [])
*
* * `severity`
*
* * `targetResources`
*
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
Expand All @@ -1403,8 +1405,13 @@ public function getRecommenderConfig($name, array $optionalArgs = [])
*
* * `severity = CRITICAL OR severity = HIGH`
*
* * `targetResources :
* //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
*
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
*
* The max allowed filter length is 500 characters.
*
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
* @type RetrySettings|array $retrySettings
Expand Down Expand Up @@ -1506,6 +1513,8 @@ public function listInsights($parent, array $optionalArgs = [])
*
* * `priority`
*
* * `targetResources`
*
* Examples:
*
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
Expand All @@ -1514,8 +1523,13 @@ public function listInsights($parent, array $optionalArgs = [])
*
* * `priority = P1 OR priority = P2`
*
* * `targetResources :
* //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
*
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
*
* The max allowed filter length is 500 characters.
*
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
* @type RetrySettings|array $retrySettings
Expand Down Expand Up @@ -1687,7 +1701,7 @@ public function markRecommendationClaimed($name, $etag, array $optionalArgs = []
* }
* ```
*
* @param string $name Name of the recommendation.
* @param string $name Required. Name of the recommendation.
* @param array $optionalArgs {
* Optional.
*
Expand Down
6 changes: 3 additions & 3 deletions Recommender/src/V1/Impact.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions Recommender/src/V1/ListInsightsRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions Recommender/src/V1/ListRecommendationsRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Recommender/src/V1/MarkRecommendationDismissedRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit edc2af7

Please sign in to comment.