The collection's name field is used to identify the collection to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
The collection's name field is used to identify the collection to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
The collection's name field is used to identify the collection to be
updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::UpdateCollectionRequest (v1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-UpdateCollectionRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-UpdateCollectionRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-UpdateCollectionRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-UpdateCollectionRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-UpdateCollectionRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-UpdateCollectionRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-UpdateCollectionRequest) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::UpdateCollectionRequest.\n\nRequest message for UpdateCollectionRequest. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #collection\n\n def collection() -\u003e ::Google::Cloud::VisionAI::V1::Collection\n\n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::Collection](./Google-Cloud-VisionAI-V1-Collection)) --- Required. The collection to update.\n\n\n The collection's `name` field is used to identify the collection to be\n updated. Format:\n `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`\n\n### #collection=\n\n def collection=(value) -\u003e ::Google::Cloud::VisionAI::V1::Collection\n\n**Parameter**\n\n- **value** ([::Google::Cloud::VisionAI::V1::Collection](./Google-Cloud-VisionAI-V1-Collection)) --- Required. The collection to update.\n\n\n The collection's `name` field is used to identify the collection to be\n updated. Format:\n`projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}` \n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::Collection](./Google-Cloud-VisionAI-V1-Collection)) --- Required. The collection to update.\n\n\n The collection's `name` field is used to identify the collection to be\n updated. Format:\n `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) ---\n\n The list of fields to be updated.\n - Unset `update_mask` or set `update_mask` to be a single \"\\*\" only will update all updatable fields with the value provided in `collection`.\n - 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`.\n\n### #update_mask=\n\n def update_mask=(value) -\u003e ::Google::Protobuf::FieldMask\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) ---\n\n The list of fields to be updated.\n - Unset `update_mask` or set `update_mask` to be a single \"\\*\" only will update all updatable fields with the value provided in `collection`.\n- 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`. \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) ---\n\n The list of fields to be updated.\n - Unset `update_mask` or set `update_mask` to be a single \"\\*\" only will update all updatable fields with the value provided in `collection`.\n - 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`."]]