Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::UpdateWidgetConfigRequest.
Request for WidgetConfigService.UpdateWidgetConfig method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask-
(::Google::Protobuf::FieldMask) — Indicates which fields in the provided
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.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask-
value (::Google::Protobuf::FieldMask) — Indicates which fields in the provided
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.
-
(::Google::Protobuf::FieldMask) — Indicates which fields in the provided
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.
#widget_config
def widget_config() -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig-
(::Google::Cloud::DiscoveryEngine::V1::WidgetConfig) — Required. The WidgetConfig
to update.
If the caller does not have permission to update the WidgetConfig, then a PERMISSION_DENIED error is returned.
If the WidgetConfig to update does not exist, a NOT_FOUND error is returned.
#widget_config=
def widget_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig-
value (::Google::Cloud::DiscoveryEngine::V1::WidgetConfig) — Required. The WidgetConfig
to update.
If the caller does not have permission to update the WidgetConfig, then a PERMISSION_DENIED error is returned.
If the WidgetConfig to update does not exist, a NOT_FOUND error is returned.
-
(::Google::Cloud::DiscoveryEngine::V1::WidgetConfig) — Required. The WidgetConfig
to update.
If the caller does not have permission to update the WidgetConfig, then a PERMISSION_DENIED error is returned.
If the WidgetConfig to update does not exist, a NOT_FOUND error is returned.