Version
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
YAML 表示法 |
name: string
versionState:
object (VersionState )
creator: string
updateTime: string |
字段 |
name |
string
版本的唯一标识符,格式如下。projects/{project}/versions/{version} 。
|
versionState |
object (VersionState )
版本的当前状态。
|
creator |
string
创建此版本的用户的电子邮件地址。
|
updateTime |
string (Timestamp format)
上次更改此版本的时间戳。 时间戳采用 RFC3339 世界协调时间(UTC,即“祖鲁时”)格式,精确到纳秒,最多九个小数位。示例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
VersionState
YAML 表示法 |
state: enum (State )
message: string |
字段 |
state |
enum (State )
版本的当前状态。
|
message |
string
有关版本当前状态的简单易懂的消息。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]