CollectionItem

CollectionItem はコレクション内のアイテムです。各アイテムは、コレクション内の元のリソースへの参照です。

JSON 表現
{
  "collection": string,
  "type": enum (Type),
  "itemResource": string
}
フィールド
collection

string

必須。このアイテムが属するコレクションの名前。形式: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}

type

enum (Type)

必須。アイテムのタイプ。

itemResource

string

必須。CollectionItem の名前。形式は上記の type によって異なります。ASSET の場合: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

タイプ

CollectionItem の種類。

列挙型
TYPE_UNSPECIFIED デフォルトのアイテム タイプは使用しないでください。
ASSET アセットタイプの項目。