Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudRecommenderV1Recommendation

import type { GoogleCloudRecommenderV1Recommendation } from "https://googleapis.deno.dev/v1/recommender:v1.ts";

A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutilized VM, IAM role recommendations, etc

interface GoogleCloudRecommenderV1Recommendation {
additionalImpact?: GoogleCloudRecommenderV1Impact[];
description?: string;
etag?: string;
lastRefreshTime?: Date;
name?: string;
priority?:
| "PRIORITY_UNSPECIFIED"
| "P4"
| "P3"
| "P2"
| "P1";
recommenderSubtype?: string;
targetResources?: string[];
xorGroupId?: string;
}

§Properties

§

Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.

§

Insights that led to this recommendation.

§

Content of the recommendation describing recommended changes to resources.

§
description?: string
[src]

Free-form human readable summary in English. The maximum length is 500 characters.

§
etag?: string
[src]

Fingerprint of the Recommendation. Provides optimistic locking when updating states.

§
lastRefreshTime?: Date
[src]

Last time this recommendation was refreshed by the system that created it in the first place.

§
name?: string
[src]

Identifier. Name of recommendation.

§

The primary impact that this recommendation can have while trying to optimize for one category.

§
priority?: "PRIORITY_UNSPECIFIED" | "P4" | "P3" | "P2" | "P1"
[src]

Recommendation's priority.

§
recommenderSubtype?: string
[src]

Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to content or primary_impact.category are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = "google.iam.policy.Recommender", recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE"

§

Information for state. Contains state and metadata.

§
targetResources?: string[]
[src]

Fully qualified resource names that this recommendation is targeting.

§
xorGroupId?: string
[src]

Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.