REST Resource: projects.locations.agents.tools.versions

Resource: ToolVersion

Tool version is a snapshot of the tool at certain timestamp.

JSON representation
{
  "name": string,
  "displayName": string,
  "tool": {
    object (Tool)
  },
  "createTime": string,
  "updateTime": string
}
Fields
name

string

Identifier. The unique identifier of the tool version. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>/versions/<VersionID>.

displayName

string

Required. The display name of the tool version.

tool

object (Tool)

Required. Snapshot of the tool to be associated with this version.

createTime

string (Timestamp format)

Output only. Last time the tool version was created or modified.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. Last time the tool version was created or modified.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

Methods

create

Creates a version for the specified Tool.

delete

Deletes the specified version of the Tool.

get

Retrieves the specified version of the Tool.

list

List versions of the specified Tool.

restore

Retrieves the specified version of the Tool and stores it as the current tool draft, returning the tool with resources updated.