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 "Zulu"، با وضوح نانوثانیه و حداکثر نه رقم کسری. مثالها: "2014-10-02T15:01:23Z" و "2014-10-02T15:01:23.045123456Z" . |
VersionState
وضعیت فعلی نسخه را نشان می دهد.
نمایندگی YAML |
---|
state: enum (State )
message: string |
فیلدها |
---|
state | enum ( State ) وضعیت فعلی نسخه. |
message | string پیام کاربر پسند برای وضعیت فعلی نسخه. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]