Service Client: Google::Cloud::Dataqna::V1alpha::QuestionService::QuestionServiceClient

Client stub representing the remote QuestionService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to dataqna.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Dataqna::V1alpha::QuestionService - Compiled Protocol Buffers messages for google/cloud/dataqna/v1alpha/question_service.proto

SYNOPSIS

use Google::Cloud::Dataqna::V1alpha::QuestionService;

my $msg = Google::Cloud::Dataqna::V1alpha::QuestionService::GetQuestionRequest->new({
    name => $name,
    read_mask => $read_mask,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dataqna/v1alpha/question_service.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::Dataqna::V1alpha::QuestionService::GetQuestionRequest

A request to get a previously created question.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The unique identifier for the question. Example: `projects/foo/locations/bar/questions/1234`

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    The list of fields to be retrieved.

Google::Cloud::Dataqna::V1alpha::QuestionService::CreateQuestionRequest

Request to create a question resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the project this data source reference belongs to. Example: `projects/foo/locations/bar`

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

    Type: Message (Google::Cloud::Dataqna::V1alpha::Question::Question)

    Required. The question to create.

Google::Cloud::Dataqna::V1alpha::QuestionService::ExecuteQuestionRequest

Request to execute an interpretation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The unique identifier for the question. Example: `projects/foo/locations/bar/questions/1234`

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

    Type: Int32

    Required. Index of the interpretation to execute.

Google::Cloud::Dataqna::V1alpha::QuestionService::GetUserFeedbackRequest

Request to get user feedback.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The unique identifier for the user feedback. User feedback is a singleton resource on a Question. Example: `projects/foo/locations/bar/questions/1234/userFeedback`

Google::Cloud::Dataqna::V1alpha::QuestionService::UpdateUserFeedbackRequest

Request to updates user feedback.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dataqna::V1alpha::QuestionService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.