Version
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Définition de la ressource de version.
Représentation JSON |
{
"name": string,
"versionState": {
object (VersionState )
},
"creator": string,
"updateTime": string
} |
Champs |
name |
string
Identifiant unique de la version au format suivant. projects/{project}/versions/{version} .
|
versionState |
object (VersionState )
État actuel de la version.
|
creator |
string
Adresse e-mail de l'utilisateur qui a créé cette version.
|
updateTime |
string (Timestamp format)
Code temporel de la dernière modification apportée à cette version. Horodatage au format RFC3339 UTC "Zulu", avec une résolution de l'ordre de la nanoseconde et jusqu'à neuf chiffres décimaux. Exemples : "2014-10-02T15:01:23Z" et "2014-10-02T15:01:23.045123456Z" .
|
VersionState
Représente l'état actuel de la version.
Représentation JSON |
{
"state": enum (State ),
"message": string
} |
Champs |
state |
enum (State )
État actuel de la version.
|
message |
string
Message convivial indiquant l'état actuel de la version.
|
État
Énumération indiquant les états qu'une version peut prendre. Cette énumération n'est pas encore figée et des valeurs pourront être ajoutées ultérieurement.
Enums |
STATE_UNSPECIFIED |
Valeur par défaut de l'état. |
CREATION_IN_PROGRESS |
La création de la version est en cours. |
CREATION_FAILED |
Échec de la création de la version. |
CREATED |
La version a bien été créée. |
REVIEW_IN_PROGRESS |
La version est en cours de vérification du respect des règles (ou approbation). |
APPROVED |
La version a été approuvée pour vérification du respect des règles et peut être déployée. |
CONDITIONALLY_APPROVED |
La version a été approuvée sous conditions, mais est en attente d'examen final. Elle peut faire l'objet d'un rollback si l'examen final est refusé. |
DENIED |
La vérification du respect des règles a été refusée pour cette version. |
UNDER_TAKEDOWN |
La version est supprimée en tant qu'agent entier, et toutes les versions sont supprimées. |
DELETED |
La version a été supprimée. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 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. |"]]