Version
Stay organized with collections
Save and categorize content based on your preferences.
Definition of version resource.
YAML representation |
name: string
versionState:
object (VersionState )
creator: string
updateTime: string |
Fields |
name |
string
The unique identifier of the version in the following format. projects/{project}/versions/{version} .
|
versionState |
object (VersionState )
The current state of the version.
|
creator |
string
Email of the user who created this version.
|
updateTime |
string (Timestamp format)
Timestamp of the last change to this version. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .
|
VersionState
Represents the current state of the version.
YAML representation |
state: enum (State )
message: string |
Fields |
state |
enum (State )
The current state of the version.
|
message |
string
User-friendly message for the current state of the version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eDefines the \u003ccode\u003eVersion\u003c/code\u003e resource, providing identification, state, creator, and update timestamp details.\u003c/p\u003e\n"],["\u003cp\u003eIntroduces \u003ccode\u003eVersionState\u003c/code\u003e, which indicates the current state and includes a user-friendly status message.\u003c/p\u003e\n"],["\u003cp\u003eOutlines the specific fields and data types associated with both \u003ccode\u003eVersion\u003c/code\u003e and \u003ccode\u003eVersionState\u003c/code\u003e for clarity.\u003c/p\u003e\n"]]],["This document defines the structure of a \"version\" resource and its state. A version has a unique `name`, `versionState`, `creator`, and `updateTime`. The `name` is a string identifier, the `creator` is the creator's email, and `updateTime` represents the last modification timestamp. The `versionState`, composed of an enum `state` and a string `message`, provides details about the current status of the version. The document specifies how to represent these details in YAML format.\n"],null,["# Version\n\n- [YAML representation](#SCHEMA_REPRESENTATION)\n- [VersionState](#VersionState)\n - [YAML representation](#VersionState.SCHEMA_REPRESENTATION)\n\nDefinition of version resource.\n\n| YAML representation ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` name: string versionState: object (/assistant/actionssdk/reference/rest/Shared.Types/Version#VersionState) creator: string updateTime: string ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The unique identifier of the version in the following format. `projects/{project}/versions/{version}`. |\n| `versionState` | `object (`[VersionState](/assistant/actionssdk/reference/rest/Shared.Types/Version#VersionState)`)` The current state of the version. |\n| `creator` | `string` Email of the user who created this version. |\n| `updateTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Timestamp of the last change to this version. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n\nVersionState\n------------\n\nRepresents the current state of the version.\n\n| YAML representation ||\n|-----------------------------------------------------------------------------------------------|---|\n| ``` state: enum (/assistant/actionssdk/reference/rest/Shared.Types/State) message: string ``` |\n\n| Fields ||\n|-----------|---------------------------------------------------------------------------------------------------------------|\n| `state` | `enum (`[State](/assistant/actionssdk/reference/rest/Shared.Types/State)`)` The current state of the version. |\n| `message` | `string` User-friendly message for the current state of the version. |"]]