Service Client: Google::Cloud::Retail::V2::GenerativeQuestionService::GenerativeQuestionServiceClient

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

target

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

credentials

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

NAME

Google::Cloud::Retail::V2::GenerativeQuestionService - Compiled Protocol Buffers messages for google/cloud/retail/v2/generative_question_service.proto

SYNOPSIS

use Google::Cloud::Retail::V2::GenerativeQuestionService;

my $msg = Google::Cloud::Retail::V2::GenerativeQuestionService::UpdateGenerativeQuestionsFeatureConfigRequest->new({
    generative_questions_feature_config => $generative_questions_feature_config,
    update_mask => $update_mask,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Retail::V2::GenerativeQuestionService::UpdateGenerativeQuestionsFeatureConfigRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/retail/v2/generative_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::Retail::V2::GenerativeQuestionService::UpdateGenerativeQuestionsFeatureConfigRequest

Request for UpdateGenerativeQuestionsFeatureConfig method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Retail::V2::GenerativeQuestionService::GetGenerativeQuestionsFeatureConfigRequest

Request for GetGenerativeQuestionsFeatureConfig method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

Google::Cloud::Retail::V2::GenerativeQuestionService::ListGenerativeQuestionConfigsRequest

Request for ListQuestions method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

Google::Cloud::Retail::V2::GenerativeQuestionService::ListGenerativeQuestionConfigsResponse

Response for ListQuestions method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Retail::V2::GenerativeQuestionService::UpdateGenerativeQuestionConfigRequest

Request for UpdateGenerativeQuestionConfig method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Retail::V2::GenerativeQuestion::GenerativeQuestionConfig)

    Required. The question to update.

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

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

    Optional. Indicates which fields in the provided [GenerativeQuestionConfig][google.cloud.retail.v2.GenerativeQuestionConfig] to update. The following are NOT supported:

    * [GenerativeQuestionConfig.frequency][google.cloud.retail.v2.GenerativeQuestionConfig.frequency]

    If not set or empty, all supported fields are updated.

Google::Cloud::Retail::V2::GenerativeQuestionService::BatchUpdateGenerativeQuestionConfigsRequest

Request for BatchUpdateGenerativeQuestionConfig method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Retail::V2::GenerativeQuestionService::BatchUpdateGenerativeQuestionConfigsResponse

Aggregated response for UpdateGenerativeQuestionConfig method.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Retail::V2::GenerativeQuestionService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.