Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::UpdateCompletionConfigRequest.
Request for CatalogService.UpdateCompletionConfig method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#completion_config
def completion_config() -> ::Google::Cloud::Retail::V2::CompletionConfig
-
(::Google::Cloud::Retail::V2::CompletionConfig) — Required. The CompletionConfig
to update.
If the caller does not have permission to update the CompletionConfig, then a PERMISSION_DENIED error is returned.
If the CompletionConfig to update does not exist, a NOT_FOUND error is returned.
#completion_config=
def completion_config=(value) -> ::Google::Cloud::Retail::V2::CompletionConfig
-
value (::Google::Cloud::Retail::V2::CompletionConfig) — Required. The CompletionConfig
to update.
If the caller does not have permission to update the CompletionConfig, then a PERMISSION_DENIED error is returned.
If the CompletionConfig to update does not exist, a NOT_FOUND error is returned.
-
(::Google::Cloud::Retail::V2::CompletionConfig) — Required. The CompletionConfig
to update.
If the caller does not have permission to update the CompletionConfig, then a PERMISSION_DENIED error is returned.
If the CompletionConfig to update does not exist, a NOT_FOUND error is returned.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
-
(::Google::Protobuf::FieldMask) — Indicates which fields in the provided
CompletionConfig to update. The
following are the only supported fields:
- CompletionConfig.matching_order
- CompletionConfig.max_suggestions
- CompletionConfig.min_prefix_length
- CompletionConfig.auto_learning
If not set, all supported fields are updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
-
value (::Google::Protobuf::FieldMask) — Indicates which fields in the provided
CompletionConfig to update. The
following are the only supported fields:
- CompletionConfig.matching_order
- CompletionConfig.max_suggestions
- CompletionConfig.min_prefix_length
- CompletionConfig.auto_learning
If not set, all supported fields are updated.
-
(::Google::Protobuf::FieldMask) — Indicates which fields in the provided
CompletionConfig to update. The
following are the only supported fields:
- CompletionConfig.matching_order
- CompletionConfig.max_suggestions
- CompletionConfig.min_prefix_length
- CompletionConfig.auto_learning
If not set, all supported fields are updated.