Reference documentation and code samples for the Google Cloud Retail V2 Client class UpdateCompletionConfigRequest.
Request for CatalogService.UpdateCompletionConfig method.
Generated from protobuf message google.cloud.retail.v2.UpdateCompletionConfigRequest
Namespace
Google \ Cloud \ Retail \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ completion_config
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
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.
getCompletionConfig
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.
hasCompletionConfig
clearCompletionConfig
setCompletionConfig
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.
$this
getUpdateMask
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.
hasUpdateMask
clearUpdateMask
setUpdateMask
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.
$this
static::build
completionConfig
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.
updateMask
Google\Protobuf\FieldMask
Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields:
If not set, all supported fields are updated.