Version
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Definición del recurso de versión.
Representación JSON |
{
"name": string,
"versionState": {
object (VersionState )
},
"creator": string,
"updateTime": string
} |
Campos |
name |
string
El identificador único de la versión en el siguiente formato. projects/{project}/versions/{version} .
|
versionState |
object (VersionState )
El estado actual de la versión.
|
creator |
string
El correo electrónico del usuario que creó esta versión.
|
updateTime |
string (Timestamp format)
Marca de tiempo del último cambio que se realizó a esta versión. Una marca de tiempo en formato RFC3339 UTC “Zulú”, con una resolución de nanosegundos y hasta nueve dígitos fraccionarios. Ejemplos: "2014-10-02T15:01:23Z" y "2014-10-02T15:01:23.045123456Z" .
|
VersionState
Representa el estado actual de la versión.
Representación JSON |
{
"state": enum (State ),
"message": string
} |
Campos |
state |
enum (State )
El estado actual de la versión.
|
message |
string
Es un mensaje fácil de usar sobre el estado actual de la versión.
|
Estado
Es una enumeración que indica los estados que puede tomar una versión. Esta enum aún no está inmovilizada, por lo que es posible que los valores se agreguen más adelante.
Enumeraciones |
STATE_UNSPECIFIED |
Valor predeterminado de State. |
CREATION_IN_PROGRESS |
La creación de la versión está en curso. |
CREATION_FAILED |
No se pudo crear la versión. |
CREATED |
Se creó correctamente la versión. |
REVIEW_IN_PROGRESS |
La versión está en proceso de revisión de políticas (también conocida como aprobación). |
APPROVED |
La versión se aprobó para la revisión de políticas y se puede implementar. |
CONDITIONALLY_APPROVED |
La versión se aprobó de forma condicional, pero está pendiente de revisión final. Es posible que se revierta si se rechaza la revisión final. |
DENIED |
Se rechazó la versión para la revisión de políticas. |
UNDER_TAKEDOWN |
La versión se elimina como agente completo y se eliminan todas las versiones. |
DELETED |
Se borró la versión. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 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. |"]]