Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::UpdateModelRequest.
Request for updating an existing model.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#model
def model() -> ::Google::Cloud::Retail::V2::Model
Returns
- (::Google::Cloud::Retail::V2::Model) — Required. The body of the updated Model.
#model=
def model=(value) -> ::Google::Cloud::Retail::V2::Model
Parameter
- value (::Google::Cloud::Retail::V2::Model) — Required. The body of the updated Model.
Returns
- (::Google::Cloud::Retail::V2::Model) — Required. The body of the updated Model.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. Indicates which fields in the provided 'model' to update. If not set, by default updates all fields.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. Indicates which fields in the provided 'model' to update. If not set, by default updates all fields.
Returns
- (::Google::Protobuf::FieldMask) — Optional. Indicates which fields in the provided 'model' to update. If not set, by default updates all fields.