NAME

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

SYNOPSIS

use Google::Cloud::Discoveryengine::V1beta::Assistant;

my $msg = Google::Cloud::Discoveryengine::V1beta::Assistant::Assistant->new({
    name => $name,
    display_name => $display_name,
    description => $description,
    generation_config => $generation_config,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/assistant.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::Assistant::Assistant

Discovery Engine Assistant resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`

    It must be a UTF-8 encoded string with a length limit of 1024 characters.

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

    Type: String

    Required. The assistant display name.

    It must be a UTF-8 encoded string with a length limit of 128 characters.

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

    Type: String

    Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Assistant::Assistant::GenerationConfig)

    Optional. Configuration for the generation of the assistant response.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1beta::Assistant::WebGroundingType)

    Optional. The type of web grounding to use.

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

    Type: Bool

    Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled.

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Assistant::Assistant::EnabledToolsEntry)

    Optional. Note: not implemented yet. Use [enabled_actions][google.cloud.discoveryengine.v1beta.Assistant.enabled_actions] instead. The enabled tools on this assistant. The keys are connector name, for example "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The values consist of admin enabled tools towards the connector instance. Admin can selectively enable multiple tools on any of the connector instances that they created in the project. For example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3, "sendEmail"),..] }

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Assistant::Assistant::CustomerPolicy)

    Optional. Customer policy for the assistant.

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

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

    Output only. Represents the time when this Assistant was created.

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

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

    Output only. Represents the time when this Assistant was most recently updated.

Enum: Assistant::WebGroundingType

  • WEB_GROUNDING_TYPE_UNSPECIFIED => 0

  • WEB_GROUNDING_TYPE_DISABLED => 1

  • WEB_GROUNDING_TYPE_GOOGLE_SEARCH => 2

  • WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH => 3

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.