Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::UpdateIndexRequest.
Request message for UpdateIndex.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#index
def index() -> ::Google::Cloud::VisionAI::V1::Index
Returns
- (::Google::Cloud::VisionAI::V1::Index) — Required. The resource being updated.
#index=
def index=(value) -> ::Google::Cloud::VisionAI::V1::Index
Parameter
- value (::Google::Cloud::VisionAI::V1::Index) — Required. The resource being updated.
Returns
- (::Google::Cloud::VisionAI::V1::Index) — Required. The resource being updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Required. Field mask is used to specify the fields to be overwritten in the Index resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", it triggers a full update of the index, and also a whole rebuild of index data.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Required. Field mask is used to specify the fields to be overwritten in the Index resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", it triggers a full update of the index, and also a whole rebuild of index data.
Returns
- (::Google::Protobuf::FieldMask) — Required. Field mask is used to specify the fields to be overwritten in the Index resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", it triggers a full update of the index, and also a whole rebuild of index data.