Content on this page might refer to the legacy Actions SDK. Refer to the main Conversational Actions documentation for guides and procedures that use Actions Builder and the current Actions SDK.

PermissionValueSpec

Spec for asking for permission.

JSON representation
{
  "optContext": string,
  "permissions": [
    enum (Permission)
  ],
  "updatePermissionValueSpec": {
    object (UpdatePermissionValueSpec)
  }
}
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.