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 recomendations as well.
Implements
IMessage<Insight>, IEquatable<Insight>, IDeepCloneable<Insight>, IBufferMessage, IMessageNamespace
Google.Cloud.Recommender.V1Assembly
Google.Cloud.Recommender.V1.dll
Constructors
Insight()
public Insight()
Insight(Insight)
public Insight(Insight other)
Parameter | |
---|---|
Name | Description |
other | Insight |
Properties
AssociatedRecommendations
public RepeatedField<Insight.Types.RecommendationReference> AssociatedRecommendations { get; }
Recommendations derived from this insight.
Property Value | |
---|---|
Type | Description |
RepeatedField<Insight.Types.RecommendationReference> |
Category
public Insight.Types.Category Category { get; set; }
Category being targeted by the insight.
Property Value | |
---|---|
Type | Description |
Insight.Types.Category |
Content
public Struct Content { get; set; }
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
Property Value | |
---|---|
Type | Description |
Struct |
Description
public string Description { get; set; }
Free-form human readable summary in English. The maximum length is 500 characters.
Property Value | |
---|---|
Type | Description |
String |
Etag
public string Etag { get; set; }
Fingerprint of the Insight. Provides optimistic locking when updating states.
Property Value | |
---|---|
Type | Description |
String |
InsightName
public InsightName InsightName { get; set; }
InsightName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
InsightName |
InsightSubtype
public string InsightSubtype { get; set; }
Insight subtype. Insight content schema will be stable for a given subtype.
Property Value | |
---|---|
Type | Description |
String |
LastRefreshTime
public Timestamp LastRefreshTime { get; set; }
Timestamp of the latest data used to generate the insight.
Property Value | |
---|---|
Type | Description |
Timestamp |
Name
public string Name { get; set; }
Name of the insight.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Duration |
Severity
public Insight.Types.Severity Severity { get; set; }
Insight's severity.
Property Value | |
---|---|
Type | Description |
Insight.Types.Severity |
StateInfo
public InsightStateInfo StateInfo { get; set; }
Information state and metadata.
Property Value | |
---|---|
Type | Description |
InsightStateInfo |
TargetResources
public RepeatedField<string> TargetResources { get; }
Fully qualified resource names that this insight is targeting.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |