PermissionValueSpec
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
This document outlines the specifications for requesting user permissions within an agent.
It details the structure and fields necessary to define a permission request, including context, specific permissions, and update specifications.
UpdatePermissionValueSpec
provides additional information required when requesting permission updates, such as the intent and related arguments.
JSON representations illustrate how to format the data for both permission requests and update specifications.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[],[]]