Retail V2 API - Class Google::Cloud::Retail::V2::GenerativeQuestionService::Rest::ServiceStub (v1.2.0)

Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::GenerativeQuestionService::Rest::ServiceStub.

REST service stub for the GenerativeQuestionService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#batch_update_generative_question_configs

def batch_update_generative_question_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Retail::V2::BatchUpdateGenerativeQuestionConfigsResponse

Baseline implementation for the batch_update_generative_question_configs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_generative_questions_feature_config

def get_generative_questions_feature_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Retail::V2::GenerativeQuestionsFeatureConfig

Baseline implementation for the get_generative_questions_feature_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_generative_question_configs

def list_generative_question_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Retail::V2::ListGenerativeQuestionConfigsResponse

Baseline implementation for the list_generative_question_configs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_generative_question_config

def update_generative_question_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Retail::V2::GenerativeQuestionConfig

Baseline implementation for the update_generative_question_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_generative_questions_feature_config

def update_generative_questions_feature_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Retail::V2::GenerativeQuestionsFeatureConfig

Baseline implementation for the update_generative_questions_feature_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)