BillingAccountsLocationsInsightTypesInsights
class BillingAccountsLocationsInsightTypesInsights extends Resource (View source)
The "insights" collection of methods.
Typical usage is:
$recommenderService = new Google\Service\Recommender(...);
$insights = $recommenderService->billingAccounts_locations_insightTypes_insights;
Methods
Gets the requested insight. Requires the recommender.*.get IAM permission for the specified insight type. (insights.get)
Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified insight type.
Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API that they have applied some action based on the insight.
Details
GoogleCloudRecommenderV1Insight
get(string $name, array $optParams = [])
Gets the requested insight. Requires the recommender.*.get IAM permission for the specified insight type. (insights.get)
GoogleCloudRecommenderV1ListInsightsResponse
listBillingAccountsLocationsInsightTypesInsights(string $parent, array $optParams = [])
Lists insights for the specified Cloud Resource. Requires the recommender.*.list IAM permission for the specified insight type.
(insights.listBillingAccountsLocationsInsightTypesInsights)
GoogleCloudRecommenderV1Insight
markAccepted(string $name, GoogleCloudRecommenderV1MarkInsightAcceptedRequest $postBody, array $optParams = [])
Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API that they have applied some action based on the insight.
This stops the insight content from being updated. MarkInsightAccepted can be applied to insights in ACTIVE state. Requires the recommender.*.update IAM permission for the specified insight. (insights.markAccepted)