Common metadata for a resource where project_id or space_id must be present.

interface ResourceMeta {
    commit_info?: WatsonXAI.ResourceCommitInfo;
    created_at: string;
    description?: string;
    id: string;
    modified_at?: string;
    name?: string;
    owner?: string;
    parent_id?: string;
    project_id?: string;
    rev?: string;
    space_id?: string;
    tags?: string[];
}

Properties

Information related to the revision.

created_at: string

The time when the resource was created.

description?: string

A description of the resource.

id: string

The id of the resource.

modified_at?: string

The time when the resource was last modified.

name?: string

The name of the resource.

owner?: string

The user id which created this resource.

parent_id?: string

The id of the parent resource where applicable.

project_id?: string

The project that contains the resource. Either space_id or project_id has to be given.

rev?: string

The revision of the resource.

space_id?: string

The space that contains the resource. Either space_id or project_id has to be given.

tags?: string[]

A list of tags for this resource.