Version
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"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
JSON 表示法 |
{
"state": enum (State ),
"message": string
} |
字段 |
state |
enum (State )
版本的当前状态。
|
message |
string
有关版本当前状态的简单易懂的消息。
|
州
指示版本可以采用的状态的枚举。此枚举尚未冻结,您可以稍后添加值。
枚举 |
STATE_UNSPECIFIED |
State 的默认值。 |
CREATION_IN_PROGRESS |
正在创建版本。 |
CREATION_FAILED |
版本创建失败。 |
CREATED |
已成功创建版本。 |
REVIEW_IN_PROGRESS |
该版本正在接受政策审核(也称为审批)。 |
APPROVED |
该版本已通过政策审核,可以进行部署。 |
CONDITIONALLY_APPROVED |
该版本已获得有条件批准,但正在等待最终审核。如果最终审核遭拒,该界面可能会回滚。 |
DENIED |
该版本已被拒绝接受政策审核。 |
UNDER_TAKEDOWN |
当整个代理和所有版本都被移除时,该版本将被移除。 |
DELETED |
该版本已被删除。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eA Version resource represents a specific iteration of your Action, holding details like its state, creator, and update time.\u003c/p\u003e\n"],["\u003cp\u003eVersionState indicates the current status of the version, including whether it's in progress, approved, denied, or deleted.\u003c/p\u003e\n"],["\u003cp\u003eThe State enum further categorizes the various stages a version can be in during its lifecycle.\u003c/p\u003e\n"],["\u003cp\u003eYou can uniquely identify a version using its name in the format: \u003ccode\u003eprojects/{project}/versions/{version}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eVersions undergo policy review before deployment and can be approved, conditionally approved, or denied based on those checks.\u003c/p\u003e\n"]]],[],null,["# Version\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [VersionState](#VersionState)\n - [JSON representation](#VersionState.SCHEMA_REPRESENTATION)\n- [State](#State)\n\nDefinition of version resource.\n\n| JSON representation ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"versionState\": { object (/assistant/actions/api/reference/rest/v2/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/actions/api/reference/rest/v2/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| JSON representation ||\n|-------------------------------------------------------------------------------------------------------|---|\n| ``` { \"state\": enum (/assistant/actions/api/reference/rest/v2/Version#State), \"message\": string } ``` |\n\n| Fields ||\n|-----------|--------------------------------------------------------------------------------------------------------------|\n| `state` | `enum (`[State](/assistant/actions/api/reference/rest/v2/Version#State)`)` The current state of the version. |\n| `message` | `string` User-friendly message for the current state of the version. |\n\nState\n-----\n\nEnum indicating the states that a Version can take. This enum is not yet frozen and values maybe added later.\n\n| Enums ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------|\n| `STATE_UNSPECIFIED` | Default value of State. |\n| `CREATION_IN_PROGRESS` | The version creation is in progress. |\n| `CREATION_FAILED` | The version creation failed. |\n| `CREATED` | The version has been successfully created. |\n| `REVIEW_IN_PROGRESS` | The version is under policy review (aka Approval). |\n| `APPROVED` | The version has been approved for policy review and can be deployed. |\n| `CONDITIONALLY_APPROVED` | The version has been conditionally approved but is pending final review. It may be rolled back if final review is denied. |\n| `DENIED` | The version has been denied for policy review. |\n| `UNDER_TAKEDOWN` | The version is taken down as entire agent and all versions are taken down. |\n| `DELETED` | The version has been deleted. |"]]