NAME

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

SYNOPSIS

use Google::Cloud::Discoveryengine::V1alpha::SampleQuery;

my $msg = Google::Cloud::Discoveryengine::V1alpha::SampleQuery::SampleQuery->new({
    query_entry => $query_entry,
    name => $name,
    create_time => $create_time,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1alpha/sample_query.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::SampleQuery::SampleQuery

Sample Query captures metadata to be used for evaluation.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1alpha::SampleQuery::SampleQuery::QueryEntry)

    The query entry.

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

    Type: String

    Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`.

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

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

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

    Output only. Timestamp the [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery] was created at.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.