Retail V2 API - Class Google::Cloud::Retail::V2::UpdateModelRequest (v0.21.0)

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

#model=

def model=(value) -> ::Google::Cloud::Retail::V2::Model
Parameter
Returns

#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.