# Class UpdateCollectionRequest (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

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

Request message for UpdateCollectionRequest.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `collection` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/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`. |