Class: Google::Cloud::VisionAI::V1::CreateCollectionRequest
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::CreateCollectionRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
Request message for CreateCollection.
Instance Attribute Summary collapse
-
#collection ⇒ ::Google::Cloud::VisionAI::V1::Collection
Required.
-
#collection_id ⇒ ::String
Optional.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#collection ⇒ ::Google::Cloud::VisionAI::V1::Collection
Returns Required. The collection resource to be created.
535 536 537 538 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 535 class CreateCollectionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#collection_id ⇒ ::String
Returns Optional. The ID to use for the collection, which will become the final component of the resource name if user choose to specify. Otherwise, collection id will be generated by system.
This value should be up to 55 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
535 536 537 538 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 535 class CreateCollectionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The parent resource where this collection will be created.
Format: projects/{project_number}/locations/{location}/corpora/{corpus}
.
535 536 537 538 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 535 class CreateCollectionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |