Retail v2 API - Class UpdateCompletionConfigRequest (2.8.0)

public sealed class UpdateCompletionConfigRequest : IMessage<UpdateCompletionConfigRequest>, IEquatable<UpdateCompletionConfigRequest>, IDeepCloneable<UpdateCompletionConfigRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class UpdateCompletionConfigRequest.

Request for [CatalogService.UpdateCompletionConfig][google.cloud.retail.v2.CatalogService.UpdateCompletionConfig] method.

Inheritance

object > UpdateCompletionConfigRequest

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

UpdateCompletionConfigRequest()

public UpdateCompletionConfigRequest()

UpdateCompletionConfigRequest(UpdateCompletionConfigRequest)

public UpdateCompletionConfigRequest(UpdateCompletionConfigRequest other)
Parameter
Name Description
other UpdateCompletionConfigRequest

Properties

CompletionConfig

public CompletionConfig CompletionConfig { get; set; }

Required. The [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to update.

If the caller does not have permission to update the [CompletionConfig][google.cloud.retail.v2.CompletionConfig], then a PERMISSION_DENIED error is returned.

If the [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to update does not exist, a NOT_FOUND error is returned.

Property Value
Type Description
CompletionConfig

UpdateMask

public FieldMask UpdateMask { get; set; }

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

  • [CompletionConfig.matching_order][google.cloud.retail.v2.CompletionConfig.matching_order]
  • [CompletionConfig.max_suggestions][google.cloud.retail.v2.CompletionConfig.max_suggestions]
  • [CompletionConfig.min_prefix_length][google.cloud.retail.v2.CompletionConfig.min_prefix_length]
  • [CompletionConfig.auto_learning][google.cloud.retail.v2.CompletionConfig.auto_learning]

If not set, all supported fields are updated.

Property Value
Type Description
FieldMask