Version
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Định nghĩa về tài nguyên phiên bản.
Biểu diễn dưới dạng JSON |
{
"name": string,
"versionState": {
object (VersionState )
},
"creator": string,
"updateTime": string
} |
Trường |
name |
string
Giá trị nhận dạng duy nhất của phiên bản ở định dạng sau. projects/{project}/versions/{version} .
|
versionState |
object (VersionState )
Trạng thái hiện tại của phiên bản.
|
creator |
string
Email của người dùng đã tạo phiên bản này.
|
updateTime |
string (Timestamp format)
Dấu thời gian của lần thay đổi gần đây nhất đối với phiên bản này. Dấu thời gian theo múi giờ "Zulu" RFC3339 (giờ UTC) với độ phân giải nano giây và lên đến 9 chữ số phân số. Ví dụ: "2014-10-02T15:01:23Z" và "2014-10-02T15:01:23.045123456Z" .
|
VersionState
Biểu thị trạng thái hiện tại của phiên bản.
Biểu diễn dưới dạng JSON |
{
"state": enum (State ),
"message": string
} |
Trường |
state |
enum (State )
Trạng thái hiện tại của phiên bản.
|
message |
string
Thông báo thân thiện với người dùng về trạng thái hiện tại của phiên bản.
|
Tiểu bang
Enum cho biết các trạng thái mà một Phiên bản có thể sử dụng. Enum này chưa được cố định và các giá trị có thể được thêm vào sau này.
Enum |
STATE_UNSPECIFIED |
Giá trị mặc định của Trạng thái. |
CREATION_IN_PROGRESS |
Đang tạo phiên bản. |
CREATION_FAILED |
Không tạo được phiên bản. |
CREATED |
Phiên bản đã được tạo thành công. |
REVIEW_IN_PROGRESS |
Phiên bản này đang được đánh giá việc tuân thủ chính sách (còn gọi là Phê duyệt). |
APPROVED |
Phiên bản này đã được phê duyệt để đánh giá việc tuân thủ chính sách và có thể triển khai. |
CONDITIONALLY_APPROVED |
Phiên bản này đã được phê duyệt có điều kiện nhưng đang chờ xem xét lần cuối. Yêu cầu này có thể được thu hồi nếu lần xem xét cuối cùng bị từ chối. |
DENIED |
Phiên bản này đã bị từ chối đánh giá việc tuân thủ chính sách. |
UNDER_TAKEDOWN |
Phiên bản đã bị gỡ bỏ vì toàn bộ nhân viên hỗ trợ và tất cả các phiên bản đều bị gỡ bỏ. |
DELETED |
Phiên bản này đã bị xoá. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\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. |"]]