Class GoogleCloudRecommenderV1Recommendation
A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutilized VM, IAM role recommendations, etc
Implements
Inherited Members
Namespace: Google.Apis.Recommender.v1.Data
Assembly: Google.Apis.Recommender.v1.dll
Syntax
public class GoogleCloudRecommenderV1Recommendation : IDirectResponseSchema
Properties
AdditionalImpact
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
Declaration
[JsonProperty("additionalImpact")]
public virtual IList<GoogleCloudRecommenderV1Impact> AdditionalImpact { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRecommenderV1Impact> |
AssociatedInsights
Insights that led to this recommendation.
Declaration
[JsonProperty("associatedInsights")]
public virtual IList<GoogleCloudRecommenderV1RecommendationInsightReference> AssociatedInsights { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRecommenderV1RecommendationInsightReference> |
Content
Content of the recommendation describing recommended changes to resources.
Declaration
[JsonProperty("content")]
public virtual GoogleCloudRecommenderV1RecommendationContent Content { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecommenderV1RecommendationContent |
Description
Free-form human readable summary in English. The maximum length is 500 characters.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LastRefreshTime
object representation of LastRefreshTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LastRefreshTimeDateTimeOffset instead.")]
public virtual object LastRefreshTime { get; set; }
Property Value
Type | Description |
---|---|
object |
LastRefreshTimeDateTimeOffset
DateTimeOffset representation of LastRefreshTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? LastRefreshTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
LastRefreshTimeRaw
Last time this recommendation was refreshed by the system that created it in the first place.
Declaration
[JsonProperty("lastRefreshTime")]
public virtual string LastRefreshTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Identifier. Name of recommendation.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryImpact
The primary impact that this recommendation can have while trying to optimize for one category.
Declaration
[JsonProperty("primaryImpact")]
public virtual GoogleCloudRecommenderV1Impact PrimaryImpact { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecommenderV1Impact |
Priority
Recommendation's priority.
Declaration
[JsonProperty("priority")]
public virtual string Priority { get; set; }
Property Value
Type | Description |
---|---|
string |
RecommenderSubtype
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"
Declaration
[JsonProperty("recommenderSubtype")]
public virtual string RecommenderSubtype { get; set; }
Property Value
Type | Description |
---|---|
string |
StateInfo
Information for state. Contains state and metadata.
Declaration
[JsonProperty("stateInfo")]
public virtual GoogleCloudRecommenderV1RecommendationStateInfo StateInfo { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecommenderV1RecommendationStateInfo |
TargetResources
Fully qualified resource names that this recommendation is targeting.
Declaration
[JsonProperty("targetResources")]
public virtual IList<string> TargetResources { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
XorGroupId
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.
Declaration
[JsonProperty("xorGroupId")]
public virtual string XorGroupId { get; set; }
Property Value
Type | Description |
---|---|
string |