Class: Google::Cloud::VisionAI::V1::UpdateCollectionRequest
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::UpdateCollectionRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
Request message for UpdateCollectionRequest.
Instance Attribute Summary collapse
-
#collection ⇒ ::Google::Cloud::VisionAI::V1::Collection
Required.
-
#update_mask ⇒ ::Google::Protobuf::FieldMask
The list of fields to be updated.
Instance Attribute Details
#collection ⇒ ::Google::Cloud::VisionAI::V1::Collection
Returns Required. The collection to update.
The collection's name
field is used to identify the collection to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
.
586 587 588 589 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 586 class UpdateCollectionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_mask ⇒ ::Google::Protobuf::FieldMask
Returns The list of fields to be updated.
- Unset
update_mask
or setupdate_mask
to be a single "*" only will update all updatable fields with the value provided incollection
. - To update
display_name
value to empty string, set it in thecollection
to empty string, and setupdate_mask
with "display_name". Same applies to other updatable string fields in thecollection
.
586 587 588 589 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 586 class UpdateCollectionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |