Google Cloud Recommender v1 API - Class Insight (3.4.0)

public sealed class Insight : IMessage<Insight>, IEquatable<Insight>, IDeepCloneable<Insight>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Recommender v1 API class Insight.

An insight along with the information used to derive the insight. The insight may have associated recommendations as well.

Inheritance

object > Insight

Namespace

Google.Cloud.Recommender.V1

Assembly

Google.Cloud.Recommender.V1.dll

Constructors

Insight()

public Insight()

Insight(Insight)

public Insight(Insight other)
Parameter
NameDescription
otherInsight

Properties

AssociatedRecommendations

public RepeatedField<Insight.Types.RecommendationReference> AssociatedRecommendations { get; }

Recommendations derived from this insight.

Property Value
TypeDescription
RepeatedFieldInsightTypesRecommendationReference

Category

public Insight.Types.Category Category { get; set; }

Category being targeted by the insight.

Property Value
TypeDescription
InsightTypesCategory

Content

public Struct Content { get; set; }

A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"

Property Value
TypeDescription
Struct

Description

public string Description { get; set; }

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

Property Value
TypeDescription
string

Etag

public string Etag { get; set; }

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

Property Value
TypeDescription
string

InsightName

public InsightName InsightName { get; set; }

InsightName-typed view over the Name resource name property.

Property Value
TypeDescription
InsightName

InsightSubtype

public string InsightSubtype { get; set; }

Insight subtype. Insight content schema will be stable for a given subtype.

Property Value
TypeDescription
string

LastRefreshTime

public Timestamp LastRefreshTime { get; set; }

Timestamp of the latest data used to generate the insight.

Property Value
TypeDescription
Timestamp

Name

public string Name { get; set; }

Name of the insight.

Property Value
TypeDescription
string

ObservationPeriod

public Duration ObservationPeriod { get; set; }

Observation period that led to the insight. The source data used to generate the insight ends at last_refresh_time and begins at (last_refresh_time - observation_period).

Property Value
TypeDescription
Duration

Severity

public Insight.Types.Severity Severity { get; set; }

Insight's severity.

Property Value
TypeDescription
InsightTypesSeverity

StateInfo

public InsightStateInfo StateInfo { get; set; }

Information state and metadata.

Property Value
TypeDescription
InsightStateInfo

TargetResources

public RepeatedField<string> TargetResources { get; }

Fully qualified resource names that this insight is targeting.

Property Value
TypeDescription
RepeatedFieldstring