Class Insight (2.6.0)

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

An insight along with the information used to derive the insight. The insight may have associated recomendations 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
RepeatedField<Insight.Types.RecommendationReference>

Category

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

Category being targeted by the insight.

Property Value
TypeDescription
Insight.Types.Category

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

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
RepeatedField<String>