NAME

Google::Cloud::Discoveryengine::V1alpha::Common - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1alpha/common.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1alpha::Common;

my $msg = Google::Cloud::Discoveryengine::V1alpha::Common::Interval->new({
    minimum => $minimum,
    exclusive_minimum => $exclusive_minimum,
    maximum => $maximum,
    exclusive_maximum => $exclusive_maximum,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1alpha::Common::Interval->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1alpha/common.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::Discoveryengine::V1alpha::Common::Interval

A floating point interval.

Inherits from Protobuf::Message.

Accessors

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

    Type: Double

    Inclusive lower bound.

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

    Type: Double

    Exclusive lower bound.

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

    Type: Double

    Inclusive upper bound.

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

    Type: Double

    Exclusive upper bound.

Google::Cloud::Discoveryengine::V1alpha::Common::CustomAttribute

A custom attribute that is not explicitly modeled in a resource, e.g. [UserEvent][google.cloud.discoveryengine.v1alpha.UserEvent].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color".

    Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.

    Exactly one of [CustomAttribute.text][google.cloud.discoveryengine.v1alpha.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1alpha.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.

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

    Type: Double

    The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm".

    Exactly one of [CustomAttribute.text][google.cloud.discoveryengine.v1alpha.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1alpha.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.

Google::Cloud::Discoveryengine::V1alpha::Common::UserInfo

Information of an end user.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users.

    Always use a hashed value for this ID.

    Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality.

    The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.

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

    Type: String

    User agent as included in the HTTP header.

    The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.

    This should not be set when using the client side event reporting with GTM or JavaScript tag in [UserEventService.CollectUserEvent][google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent] or if [UserEvent.direct_user_request][google.cloud.discoveryengine.v1alpha.UserEvent.direct_user_request] is set.

Google::Cloud::Discoveryengine::V1alpha::Common::EmbeddingConfig

Defines embedding config, used for bring your own embeddings feature.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Full field path in the schema mapped as embedding field.

Google::Cloud::Discoveryengine::V1alpha::Common::DoubleList

Double list.

Inherits from Protobuf::Message.

Accessors

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

    Type: Double

    Double values.

Google::Cloud::Discoveryengine::V1alpha::Common::GuidedSearchSpec

Defines guided search spec.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Whether or not to enable and include refinement attributes in gudied search result.

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

    Type: Bool

    Whether or not to enable and include related questions in search response.

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

    Type: Int32

    Max number of related questions to be returned. The valid range is [1, 5]. If enable_related_questions is true, the default value is 3.

Google::Cloud::Discoveryengine::V1alpha::Common::CustomFineTuningSpec

Defines custom fine tuning spec.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Whether or not to enable and include custom fine tuned search adaptor model.

Google::Cloud::Discoveryengine::V1alpha::Common::IdpConfig

Identity Provider Config.

Inherits from Protobuf::Message.

Accessors

Enum: IdpConfig::IdpType

  • IDP_TYPE_UNSPECIFIED => 0

  • GSUITE => 1

  • THIRD_PARTY => 2

Google::Cloud::Discoveryengine::V1alpha::Common::Principal

Principal identifier of a user or a group.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider user account, user_id is the mapped user identifier configured during the workforcepool config.

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

    Type: String

    Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider user account, group_id is the mapped group identifier configured during the workforcepool config.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1alpha::Common::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.