NAME

Google::Cloud::Recommender::V1beta1::InsightTypeConfig - Compiled Protocol Buffers messages for google/cloud/recommender/v1beta1/insight_type_config.proto

SYNOPSIS

use Google::Cloud::Recommender::V1beta1::InsightTypeConfig;

my $msg = Google::Cloud::Recommender::V1beta1::InsightTypeConfig::InsightTypeConfig->new({
    name => $name,
    insight_type_generation_config => $insight_type_generation_config,
    etag => $etag,
    update_time => $update_time,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Recommender::V1beta1::InsightTypeConfig::InsightTypeConfig->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/recommender/v1beta1/insight_type_config.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Recommender::V1beta1::InsightTypeConfig::InsightTypeConfig

Configuration for an InsightType.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config

  • $msg->insight_type_generation_config() / $msg->insight_type_generation_config($value)

    Type: Message (Google::Cloud::Recommender::V1beta1::InsightTypeConfig::InsightTypeGenerationConfig)

    InsightTypeGenerationConfig which configures the generation of insights for this insight type.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Last time when the config was updated.

  • $msg->revision_id() / $msg->revision_id($value)

    Type: String

    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.

  • $msg->annotations() / $msg->annotations($value)

    Type: Message (Google::Cloud::Recommender::V1beta1::InsightTypeConfig::InsightTypeConfig::AnnotationsEntry)

    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.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    A user-settable field to provide a human-readable name to be used in user interfaces.

Google::Cloud::Recommender::V1beta1::InsightTypeConfig::InsightTypeGenerationConfig

A configuration to customize the generation of insights. Eg, customizing the lookback period considered when generating a insight.

Inherits from Protobuf::Message.

Accessors

  • $msg->params() / $msg->params($value)

    Type: Message (Google::Protobuf::Struct::Struct)

    Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Recommender::V1beta1::InsightTypeConfig::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.