Enum ViewToken
Stay organized with collections
Save and categorize content based on your preferences.
ViewToken
is an enumerated type used to describe the elements of a
ResponseObject.viewToken
.
Examples
Basic usage
const viewToken = response.viewToken;
const viewId = viewToken[google.picker.ViewToken.VIEW_ID];
const label = viewToken[google.picker.ViewToken.LABEL];
const viewOptions = viewToken[google.picker.ViewToken.VIEW_OPTIONS];
Signature
export enum ViewToken
Members
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 2025-06-20 UTC.
[null,null,["Last updated 2025-06-20 UTC."],[],[],null,["# Enum ViewToken\n\n`ViewToken` is an enumerated type used to describe the elements of a\n`ResponseObject.viewToken`.\n\nExamples\n--------\n\nBasic usage \n\n const viewToken = response.viewToken;\n const viewId = viewToken[google.picker.ViewToken.VIEW_ID];\n const label = viewToken[google.picker.ViewToken.LABEL];\n const viewOptions = viewToken[google.picker.ViewToken.VIEW_OPTIONS];\n\nSignature\n---------\n\n export enum ViewToken\n\nMembers\n-------\n\n| Name | Description |\n|---------------------------------------------------|-------------|\n| [`VIEW_ID`](./picker.viewtoken.view_id) | |\n| [`LABEL`](./picker.viewtoken.label) | |\n| [`VIEW_OPTIONS`](./picker.viewtoken.view_options) | |"]]