Class UpdateCollectionRequest (0.1.0)

UpdateCollectionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for UpdateCollectionRequest.

Attributes

Name Description
collection google.cloud.visionai_v1.types.Collection
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}
update_mask google.protobuf.field_mask_pb2.FieldMask
The list of fields to be updated. - Unset update_mask or set update_mask to be a single "*" only will update all updatable fields with the value provided in collection. - To update display_name value to empty string, set it in the collection to empty string, and set update_mask with "display_name". Same applies to other updatable string fields in the collection.