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 "Zulu" โดยมีความละเอียดระดับนาโนวินาทีและมีเลขเศษส่วนสูงสุด 9 หลัก ตัวอย่าง: "2014-10-02T15:01:23Z" และ "2014-10-02T15:01:23.045123456Z"
|
VersionState
แสดงสถานะปัจจุบันของเวอร์ชัน
การแสดง JSON |
{
"state": enum (State ),
"message": string
} |
ช่อง |
state |
enum (State )
สถานะปัจจุบันของเวอร์ชัน
|
message |
string
ข้อความที่เข้าใจง่ายสำหรับสถานะปัจจุบันของเวอร์ชัน
|
รัฐ
Enum ระบุสถานะที่เวอร์ชันสามารถใช้ enum นี้ยังไม่ได้ตรึงและอาจเพิ่มค่าในภายหลัง
Enum |
STATE_UNSPECIFIED |
ค่าเริ่มต้นของรัฐ |
CREATION_IN_PROGRESS |
กำลังสร้างเวอร์ชัน |
CREATION_FAILED |
การสร้างเวอร์ชันล้มเหลว |
CREATED |
สร้างเวอร์ชันนี้เรียบร้อยแล้ว |
REVIEW_IN_PROGRESS |
เวอร์ชันนี้อยู่ระหว่างการตรวจสอบนโยบาย (หรือที่เรียกว่าการอนุมัติ) |
APPROVED |
เวอร์ชันนี้ได้รับอนุมัติให้ตรวจสอบนโยบายและใช้งานได้แล้ว |
CONDITIONALLY_APPROVED |
เวอร์ชันนี้ได้รับการอนุมัติแบบมีเงื่อนไขแล้ว แต่อยู่ระหว่างรอการตรวจสอบขั้นสุดท้าย ระบบอาจเปลี่ยนกลับหากการตรวจสอบในขั้นสุดท้ายถูกปฏิเสธ |
DENIED |
เวอร์ชันนี้ถูกปฏิเสธสำหรับการตรวจสอบนโยบาย |
UNDER_TAKEDOWN |
ระบบจะลบเวอร์ชันนี้ออกจากตัวแทนทั้งหมดและจะลบเวอร์ชันทั้งหมด |
DELETED |
ลบเวอร์ชันนี้แล้ว |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]