Google Assistant API
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
API Assistant Google
Service : embeddedassistant.googleapis.com
Le nom de service embeddedassistant.googleapis.com
est nécessaire pour créer des bouchons de client RPC.
Méthodes |
Converse
|
Démarre ou poursuit une conversation avec le service d'assistance intégré. |
Méthodes |
Assist
|
Lance ou poursuit une conversation avec le service Assistant intégré. |
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/29 (UTC).
[null,null,["Dernière mise à jour le 2025/07/29 (UTC)."],[[["\u003cp\u003eThe Google Assistant API provides access to the \u003ccode\u003eembeddedassistant.googleapis.com\u003c/code\u003e service for creating RPC client stubs.\u003c/p\u003e\n"],["\u003cp\u003eThe API includes methods for managing devices, such as registering, deleting, and retrieving device information.\u003c/p\u003e\n"],["\u003cp\u003eDevice models can be created, deleted, updated, and listed using the provided methods.\u003c/p\u003e\n"],["\u003cp\u003eThe API supports initiating and continuing conversations with the Google Assistant through the \u003ccode\u003eConverse\u003c/code\u003e and \u003ccode\u003eAssist\u003c/code\u003e methods.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers functionality across different versions like v1alpha1 and v1alpha2 for EmbeddedAssistant and v1alpha2 for device management.\u003c/p\u003e\n"]]],[],null,["# Google Assistant API\n\nService: embeddedassistant.googleapis.com\n-----------------------------------------\n\nThe Service name `embeddedassistant.googleapis.com` is needed to create RPC client stubs.\n\n[google.assistant.devices.v1alpha2.DevicesPlatformService](/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#google.assistant.devices.v1alpha2.DevicesPlatformService)\n-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| [CreateDevice](/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#google.assistant.devices.v1alpha2.DevicesPlatformService.CreateDevice) | Register one device, return the device if succeed or error if the device already exists or failed. |\n| [CreateDeviceModel](/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#google.assistant.devices.v1alpha2.DevicesPlatformService.CreateDeviceModel) | Create a 3p device model. |\n| [DeleteDevice](/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#google.assistant.devices.v1alpha2.DevicesPlatformService.DeleteDevice) | Deletes a specific device user owns. |\n| [DeleteDeviceModel](/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#google.assistant.devices.v1alpha2.DevicesPlatformService.DeleteDeviceModel) | Delete a 3p device model. |\n| [GetDevice](/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#google.assistant.devices.v1alpha2.DevicesPlatformService.GetDevice) | Get setting info of a specific device user owns, return the device if succeeded or error if failed. |\n| [GetDeviceModel](/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#google.assistant.devices.v1alpha2.DevicesPlatformService.GetDeviceModel) | Given a device model id, return a device model. |\n| [ListDeviceModels](/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#google.assistant.devices.v1alpha2.DevicesPlatformService.ListDeviceModels) | List device models for the project ID associated with this REST API call. |\n| [ListDevices](/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#google.assistant.devices.v1alpha2.DevicesPlatformService.ListDevices) | Get list of devices user owns belonging to the given project_id in oauth token. |\n| [UpdateDeviceModel](/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#google.assistant.devices.v1alpha2.DevicesPlatformService.UpdateDeviceModel) | Updates a device model, returns the new version of the model. |\n\n[google.assistant.embedded.v1alpha1.EmbeddedAssistant](/assistant/sdk/reference/rpc/google.assistant.embedded.v1alpha1#google.assistant.embedded.v1alpha1.EmbeddedAssistant)\n----------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|\n| [Converse](/assistant/sdk/reference/rpc/google.assistant.embedded.v1alpha1#google.assistant.embedded.v1alpha1.EmbeddedAssistant.Converse) | Initiates or continues a conversation with the embedded assistant service. |\n\n[google.assistant.embedded.v1alpha2.EmbeddedAssistant](/assistant/sdk/reference/rpc/google.assistant.embedded.v1alpha2#google.assistant.embedded.v1alpha2.EmbeddedAssistant)\n----------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|\n| [Assist](/assistant/sdk/reference/rpc/google.assistant.embedded.v1alpha2#google.assistant.embedded.v1alpha2.EmbeddedAssistant.Assist) | Initiates or continues a conversation with the embedded Assistant Service. |"]]