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}.
590 591 592 593 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 590 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_maskor setupdate_maskto be a single "*" only will update all updatable fields with the value provided incollection. - To update
display_namevalue to empty string, set it in thecollectionto empty string, and setupdate_maskwith "display_name". Same applies to other updatable string fields in thecollection.
590 591 592 593 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 590 class UpdateCollectionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |