Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::UpdateCollectionRequest.
Request message for UpdateCollectionRequest.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#collection
def collection() -> ::Google::Cloud::VisionAI::V1::Collection
-
(::Google::Cloud::VisionAI::V1::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}
#collection=
def collection=(value) -> ::Google::Cloud::VisionAI::V1::Collection
-
value (::Google::Cloud::VisionAI::V1::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}
-
(::Google::Cloud::VisionAI::V1::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
def update_mask() -> ::Google::Protobuf::FieldMask
-
(::Google::Protobuf::FieldMask) —
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
.
- Unset
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
-
value (::Google::Protobuf::FieldMask) —
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
.
- Unset
-
(::Google::Protobuf::FieldMask) —
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
.
- Unset