Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::UpdateServingConfigRequest.
Request for UpdateServingConfig method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#serving_config
def serving_config() -> ::Google::Cloud::Retail::V2::ServingConfig
Returns
- (::Google::Cloud::Retail::V2::ServingConfig) — Required. The ServingConfig to update.
#serving_config=
def serving_config=(value) -> ::Google::Cloud::Retail::V2::ServingConfig
Parameter
- value (::Google::Cloud::Retail::V2::ServingConfig) — Required. The ServingConfig to update.
Returns
- (::Google::Cloud::Retail::V2::ServingConfig) — Required. The ServingConfig to update.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
If not set, all supported fields are updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::Google::Protobuf::FieldMask) — Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
If not set, all supported fields are updated.
Returns
-
(::Google::Protobuf::FieldMask) — Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
If not set, all supported fields are updated.