View Source GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Insight (google_api_recommender v0.21.0)

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

Attributes

  • associatedRecommendations (type: list(GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1InsightRecommendationReference.t), default: nil) - Recommendations derived from this insight.
  • category (type: String.t, default: nil) - Category being targeted by the insight.
  • content (type: map(), default: nil) - A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000"
  • description (type: String.t, default: nil) - Free-form human readable summary in English. The maximum length is 500 characters.
  • etag (type: String.t, default: nil) - Fingerprint of the Insight. Provides optimistic locking when updating states.
  • insightSubtype (type: String.t, default: nil) - Insight subtype. Insight content schema will be stable for a given subtype.
  • lastRefreshTime (type: DateTime.t, default: nil) - Timestamp of the latest data used to generate the insight.
  • name (type: String.t, default: nil) - Identifier. Name of the insight.
  • observationPeriod (type: String.t, default: nil) - 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).
  • severity (type: String.t, default: nil) - Insight's severity.
  • stateInfo (type: GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1InsightStateInfo.t, default: nil) - Information state and metadata.
  • targetResources (type: list(String.t), default: nil) - Fully qualified resource names that this insight is targeting.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Insight{
    associatedRecommendations:
      [
        GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1InsightRecommendationReference.t()
      ]
      | nil,
    category: String.t() | nil,
    content: map() | nil,
    description: String.t() | nil,
    etag: String.t() | nil,
    insightSubtype: String.t() | nil,
    lastRefreshTime: DateTime.t() | nil,
    name: String.t() | nil,
    observationPeriod: String.t() | nil,
    severity: String.t() | nil,
    stateInfo:
      GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1InsightStateInfo.t()
      | nil,
    targetResources: [String.t()] | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.