PermissionValueSpec
Stay organized with collections
Save and categorize content based on your preferences.
-
PermissionValueSpec is used for requesting permission from the user.
-
It includes fields for optional context, the list of requested permissions, and additional information for update permission requests.
-
UpdatePermissionValueSpec provides details needed for requesting update permissions, including the intent and necessary arguments.
Spec for asking for permission.
| Fields |
optContext |
string
The context why agent needs to request permission.
|
permissions[] |
enum (Permission)
List of permissions requested by the agent.
|
updatePermissionValueSpec |
object (UpdatePermissionValueSpec)
Additional information needed to fulfill update permission request.
|
UpdatePermissionValueSpec
Additional information needed for requesting an update permission.
| JSON representation |
{
"intent": string,
"arguments": [
{
object (Argument)
}
]
} |
| Fields |
intent |
string
The intent that the user wants to get updates from.
|
arguments[] |
object (Argument)
The list of arguments necessary to fulfill an update.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[],[]]