Resource: RagMetadata
metadata for RagFile provided by users.
namestring
Identifier. Resource name of the RagMetadata. Format: projects/{project}/locations/{location}/ragCorpora/{ragCorpus}/ragFiles/{ragFile}/ragMetadata/{ragMetadata}
user provided metadata.
| JSON representation |
|---|
{
"name": string,
"userSpecifiedMetadata": {
object ( |
UserSpecifiedMetadata
metadata provided by users.
keystring
Required. Key of the metadata. The key must be set with type by CreateRagDataSchema.
value of the metadata. The value must be able to convert to the type according to the data schema.
| JSON representation |
|---|
{
"key": string,
"value": {
object ( |
MetadataValue
value of metadata, including all types available in data schema.
valueUnion type
value can be only one of the following:value of int type metadata.
floatValuenumber
value of float type metadata.
strValuestring
value of string type metadata.
datetimeValuestring
value of date time type metadata.
boolValueboolean
value of boolean type metadata.
value of list type metadata.
| JSON representation |
|---|
{
// value
"intValue": string,
"floatValue": number,
"strValue": string,
"datetimeValue": string,
"boolValue": boolean,
"listValue": {
object ( |
MetadataList
List representation in metadata.
The values of LIST data type metadata.
| JSON representation |
|---|
{
"values": [
{
object ( |
Methods |
|
|---|---|
|
Batch Create one or more RagMetadatas |
|
Batch Deletes one or more RagMetadata. |
|
Creates a RagMetadata. |
|
Deletes a RagMetadata. |
|
Gets a RagMetadata. |
|
Lists RagMetadata in a RagFile. |
|
Updates a RagMetadata. |