NAME

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

SYNOPSIS

use Google::Cloud::Discoveryengine::V1beta::Common;

my $msg = Google::Cloud::Discoveryengine::V1beta::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::V1beta::Common::Interval->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/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::V1beta::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::V1beta::Common::CustomAttribute

A custom attribute that is not explicitly modeled in a resource, e.g. [UserEvent][google.cloud.discoveryengine.v1beta.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.v1beta.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.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.v1beta.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.

Google::Cloud::Discoveryengine::V1beta::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.

    Represents an opaque ID to the Search API. The Search API doesn't interpret the value in any way. This field is used to associate events with a user across sessions if the events are being uploaded.

  • $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.v1beta.UserEventService.CollectUserEvent] or if [UserEvent.direct_user_request][google.cloud.discoveryengine.v1beta.UserEvent.direct_user_request] is set.

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

    Type: String

    Optional. IANA time zone, e.g. Europe/Budapest.

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Common::UserInfo::PreciseLocation)

    Optional. Input only. Precise location of the user. It is used in Custom Ranking to calculate the distance between the user and the relevant documents.

Google::Cloud::Discoveryengine::V1beta::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::V1beta::Common::DoubleList

Double list.

Inherits from Protobuf::Message.

Accessors

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

    Type: Double

    Double values.

Google::Cloud::Discoveryengine::V1beta::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::V1beta::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.

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

    Type: String

    For 3P application identities which are not present in the customer identity provider.

Google::Cloud::Discoveryengine::V1beta::Common::HealthcareFhirConfig

Config to data store for `HEALTHCARE_FHIR` vertical.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical.

    If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering.

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

    Type: Bool

    Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion.

    If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.

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

    Type: String

    Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.

Google::Cloud::Discoveryengine::V1beta::Common::SearchLinkPromotion

Promotion proto includes uri and other helping information to display the promotion.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The title of the promotion. Maximum length: 160 characters.

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

    Type: String

    Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.

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

    Type: String

    Optional. The [Document][google.cloud.discoveryengine.v1beta.Document] the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri.

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

    Type: String

    Optional. The promotion thumbnail image url.

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

    Type: String

    Optional. The Promotion description. Maximum length: 200 characters.

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

    Type: Bool

    Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to.

    This flag is used for basic site search only.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.