View Source GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1InsightTypeConfig (google_api_recommender v0.20.1)

Configuration for an InsightType.

Attributes

  • annotations (type: map(), default: nil) - Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
  • displayName (type: String.t, default: nil) - A user-settable field to provide a human-readable name to be used in user interfaces.
  • etag (type: String.t, default: nil) - Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
  • insightTypeGenerationConfig (type: GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1InsightTypeGenerationConfig.t, default: nil) - InsightTypeGenerationConfig which configures the generation of insights for this insight type.
  • name (type: String.t, default: nil) - Identifier. Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
  • revisionId (type: String.t, default: nil) - Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
  • updateTime (type: DateTime.t, default: nil) - Last time when the config was updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1InsightTypeConfig{
    annotations: map() | nil,
    displayName: String.t() | nil,
    etag: String.t() | nil,
    insightTypeGenerationConfig:
      GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1InsightTypeGenerationConfig.t()
      | nil,
    name: String.t() | nil,
    revisionId: String.t() | nil,
    updateTime: DateTime.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.