NAME
Google::Cloud::Discoveryengine::V1::Common - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/common.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1::Common;
my $msg = Google::Cloud::Discoveryengine::V1::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::V1::Common::Interval->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/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::V1::Common::Interval
A floating point interval.
Inherits from Protobuf::Message.
Accessors
$msg->minimum()/$msg->minimum($value)Type:
DoubleInclusive lower bound.
$msg->exclusive_minimum()/$msg->exclusive_minimum($value)Type:
DoubleExclusive lower bound.
$msg->maximum()/$msg->maximum($value)Type:
DoubleInclusive upper bound.
$msg->exclusive_maximum()/$msg->exclusive_maximum($value)Type:
DoubleExclusive upper bound.
Google::Cloud::Discoveryengine::V1::Common::CustomAttribute
A custom attribute that is not explicitly modeled in a resource, e.g. [UserEvent][google.cloud.discoveryengine.v1.UserEvent].
Inherits from Protobuf::Message.
Accessors
$msg->text()/$msg->text($value)Type:
StringThe 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.v1.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.
$msg->numbers()/$msg->numbers($value)Type:
DoubleThe 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.v1.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.
Google::Cloud::Discoveryengine::V1::Common::UserInfo
Information of an end user.
Inherits from Protobuf::Message.
Accessors
$msg->user_id()/$msg->user_id($value)Type:
StringHighly 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:
StringUser 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.v1.UserEventService.CollectUserEvent] or if [UserEvent.direct_user_request][google.cloud.discoveryengine.v1.UserEvent.direct_user_request] is set.
$msg->time_zone()/$msg->time_zone($value)Type:
StringOptional. IANA time zone, e.g. Europe/Budapest.
$msg->precise_location()/$msg->precise_location($value)Type:
Message(Google::Cloud::Discoveryengine::V1::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::V1::Common::DoubleList
Double list.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
DoubleDouble values.
Google::Cloud::Discoveryengine::V1::Common::IdpConfig
Identity Provider Config.
Inherits from Protobuf::Message.
Accessors
$msg->idp_type()/$msg->idp_type($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::IdpConfig::IdpType)Identity provider type configured.
$msg->external_idp_config()/$msg->external_idp_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::Common::IdpConfig::ExternalIdpConfig)External Identity provider config.
Enum: IdpConfig::IdpType
IDP_TYPE_UNSPECIFIED=>0GSUITE=>1THIRD_PARTY=>2
Google::Cloud::Discoveryengine::V1::Common::Principal
Principal identifier of a user or a group.
Inherits from Protobuf::Message.
Accessors
$msg->user_id()/$msg->user_id($value)Type:
StringUser 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:
StringGroup 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:
StringFor 3P application identities which are not present in the customer identity provider.
Google::Cloud::Discoveryengine::V1::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:
BoolWhether 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:
BoolWhether 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:
StringOptional. 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::V1::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:
StringRequired. The title of the promotion. Maximum length: 160 characters.
$msg->uri()/$msg->uri($value)Type:
StringOptional. 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:
StringOptional. The [Document][google.cloud.discoveryengine.v1.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:
StringOptional. The promotion thumbnail image url.
$msg->description()/$msg->description($value)Type:
StringOptional. The Promotion description. Maximum length: 200 characters.
$msg->enabled()/$msg->enabled($value)Type:
BoolOptional. 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.
Google::Cloud::Discoveryengine::V1::Common::SessionConfig
Configuration for the session.
Inherits from Protobuf::Message.
Accessors
$msg->session_management_policy()/$msg->session_management_policy($value)Type:
Enum(Google::Cloud::Discoveryengine::V1::SessionConfig::SessionManagementPolicy)Optional. Session management policy that defines who will manage the session.
$msg->session_ttl()/$msg->session_ttl($value)Type:
Message(Google::Cloud::Discoveryengine::V1::Common::SessionConfig::SessionTtl)Optional. The TTL for the session. If unset, the default value is 60 days.
Enum: SessionConfig::SessionManagementPolicy
SESSION_MANAGEMENT_POLICY_UNSPECIFIED=>0NOT_MANAGED=>1VERTEX_AI_MANAGED=>2
Google::Cloud::Discoveryengine::V1::Common::DataProtectionPolicy
Contains the data protection policy config for a DataStore or a connector.
Inherits from Protobuf::Message.
Accessors
$msg->sensitive_data_protection_policy()/$msg->sensitive_data_protection_policy($value)Type:
Message(Google::Cloud::Discoveryengine::V1::Common::DataProtectionPolicy::SensitiveDataProtectionPolicy)Optional. Specifies the sensitive data protection policy for the connector source.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::Common::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.