REST Resource: projects.locations.corpora.collections

リソース: Collection

コレクションはコーパス内のリソースです。元のリソースへの参照のコンテナとして機能します。

JSON 表現
{
  "name": string,
  "displayName": string,
  "description": string
}
フィールド
name

string

出力専用。コレクションのリソース名。形式: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}

displayName

string

省略可。表示するコレクション名。名前の長さは 256 文字までです。

description

string

省略可。コレクションの説明。最大 25,000 文字です。

メソッド

addCollectionItem

コレクションにアイテムを追加します。

create

コレクションを作成します。

delete

コレクションを削除します。

get

コレクションを取得します。

list

コーパス内のコレクションを一覧表示します。

patch

コレクションを更新します。

removeCollectionItem

コレクションからアイテムを削除します。

viewCollectionItems

コレクション内のアイテムを表示する。