PermissionValue

Returned to the Action as output for actions.type.Notifications.

JSON representation
{
  "granted_permissions": [
    enum (Permission)
  ],
  "permission_status": enum (PermissionGrantedStatus),
  "additional_user_data": string (AdditionalUserData)
}
Fields
granted_permissions

enum (Permission)

Possible values for permission.

permission_status

enum (PermissionGrantedStatus)

The returned status of permission slot.

additional_user_data

enum (AdditionalUserData)

Additional data generated while updating user's permission.

Permission

Possible values for permission.

Enums
UNSPECIFIED_PERMISSION Unspecified permission.
NAME Ask for user's first and last name.
DEVICE_PRECISE_LOCATION Ask for user's precise location, latitude/longitude, and formatted address.
DEVICE_COARSE_LOCATION Ask for user's coarse location, zip code, city, and country code.
UPDATE Ask for permissions to send updates.

PermissionGrantedStatus

The returned status of permission slot.

Enums
TYPE_UNSPECIFIED Unspecified.
PERMISSION_GRANTED User granted permission.
PERMISSION_DENIED User denied permission.
ALREADY_GRANTED User has previously granted permission.
UNVERIFIED_USER Permissions cannot be requested from an unverified user.
INCOGNITO_USER Permissions cannot be requested from an incognito user.
SIGNED_OUT_USER Permissions cannot be requested from a signed-out user. Only certain permissions are available for signed-out users.