Class: Google::Cloud::VisionAI::V1::UpdateCollectionRequest

Inherits:
Object
  • Object
show all
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

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}.

Returns:

  • (::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}



586
587
588
589
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 586

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_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.

Returns:

  • (::Google::Protobuf::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.


586
587
588
589
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 586

class UpdateCollectionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end