public sealed class UpdateWidgetConfigRequest : IMessage<UpdateWidgetConfigRequest>, IEquatable<UpdateWidgetConfigRequest>, IDeepCloneable<UpdateWidgetConfigRequest>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class UpdateWidgetConfigRequest.
Request for [WidgetConfigService.UpdateWidgetConfig][google.cloud.discoveryengine.v1.WidgetConfigService.UpdateWidgetConfig] method.
Implements
IMessageUpdateWidgetConfigRequest, IEquatableUpdateWidgetConfigRequest, IDeepCloneableUpdateWidgetConfigRequest, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
UpdateWidgetConfigRequest()
public UpdateWidgetConfigRequest()UpdateWidgetConfigRequest(UpdateWidgetConfigRequest)
public UpdateWidgetConfigRequest(UpdateWidgetConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateWidgetConfigRequest |
Properties
UpdateMask
public FieldMask UpdateMask { get; set; }Indicates which fields in the provided [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig] to update. The following are the only supported fields:
- [WidgetConfig.enable_autocomplete][google.cloud.discoveryengine.v1.WidgetConfig.enable_autocomplete]
If not set, all supported fields are updated.
| Property Value | |
|---|---|
| Type | Description |
FieldMask |
|
WidgetConfig
public WidgetConfig WidgetConfig { get; set; }Required. The [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig] to update.
If the caller does not have permission to update the [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig], then a PERMISSION_DENIED error is returned.
If the [WidgetConfig][google.cloud.discoveryengine.v1.WidgetConfig] to update does not exist, a NOT_FOUND error is returned.
| Property Value | |
|---|---|
| Type | Description |
WidgetConfig |
|