Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::UpdateGenerativeQuestionConfigRequest.
Request for UpdateGenerativeQuestionConfig method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#generative_question_config
def generative_question_config() -> ::Google::Cloud::Retail::V2::GenerativeQuestionConfig
Returns
- (::Google::Cloud::Retail::V2::GenerativeQuestionConfig) — Required. The question to update.
#generative_question_config=
def generative_question_config=(value) -> ::Google::Cloud::Retail::V2::GenerativeQuestionConfig
Parameter
- value (::Google::Cloud::Retail::V2::GenerativeQuestionConfig) — Required. The question to update.
Returns
- (::Google::Cloud::Retail::V2::GenerativeQuestionConfig) — Required. The question to update.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — Optional. Indicates which fields in the provided
GenerativeQuestionConfig
to update. The following are NOT supported:
If not set or empty, all supported fields are updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::Google::Protobuf::FieldMask) — Optional. Indicates which fields in the provided
GenerativeQuestionConfig
to update. The following are NOT supported:
If not set or empty, all supported fields are updated.
Returns
-
(::Google::Protobuf::FieldMask) — Optional. Indicates which fields in the provided
GenerativeQuestionConfig
to update. The following are NOT supported:
If not set or empty, all supported fields are updated.