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.
Trình bày theo YAML |
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.
Trình bày theo YAML |
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.
|
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\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. |"]]