Class CreateCollectionRequest (0.1.2)

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

Attributes

Name Description
parent str
Required. The parent resource where this collection will be created. Format: projects/{project_number}/locations/{location}/corpora/{corpus}
collection google.cloud.visionai_v1.types.Collection
Required. The collection resource to be created.
collection_id str
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. This field is a member of oneof_ _collection_id.