All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.directory.model.Token.html Maven / Gradle / Ivy

There is a newer version: directory_v1-rev20240709-2.0.0
Show newest version






Token (Admin SDK API directory_v1-rev20220125-1.32.1)












com.google.api.services.directory.model

Class Token

    • Constructor Detail

      • Token

        public Token()
    • Method Detail

      • getAnonymous

        public Boolean getAnonymous()
        Whether the application is registered with Google. The value is `true` if the application has an anonymous Client ID.
        Returns:
        value or null for none
      • setAnonymous

        public Token setAnonymous(Boolean anonymous)
        Whether the application is registered with Google. The value is `true` if the application has an anonymous Client ID.
        Parameters:
        anonymous - anonymous or null for none
      • getClientId

        public String getClientId()
        The Client ID of the application the token is issued to.
        Returns:
        value or null for none
      • setClientId

        public Token setClientId(String clientId)
        The Client ID of the application the token is issued to.
        Parameters:
        clientId - clientId or null for none
      • getDisplayText

        public String getDisplayText()
        The displayable name of the application the token is issued to.
        Returns:
        value or null for none
      • setDisplayText

        public Token setDisplayText(String displayText)
        The displayable name of the application the token is issued to.
        Parameters:
        displayText - displayText or null for none
      • getEtag

        public String getEtag()
        ETag of the resource.
        Returns:
        value or null for none
      • setEtag

        public Token setEtag(String etag)
        ETag of the resource.
        Parameters:
        etag - etag or null for none
      • getKind

        public String getKind()
        The type of the API resource. This is always `admin#directory#token`.
        Returns:
        value or null for none
      • setKind

        public Token setKind(String kind)
        The type of the API resource. This is always `admin#directory#token`.
        Parameters:
        kind - kind or null for none
      • getNativeApp

        public Boolean getNativeApp()
        Whether the token is issued to an installed application. The value is `true` if the application is installed to a desktop or mobile device.
        Returns:
        value or null for none
      • setNativeApp

        public Token setNativeApp(Boolean nativeApp)
        Whether the token is issued to an installed application. The value is `true` if the application is installed to a desktop or mobile device.
        Parameters:
        nativeApp - nativeApp or null for none
      • getScopes

        public List<String> getScopes()
        A list of authorization scopes the application is granted.
        Returns:
        value or null for none
      • setScopes

        public Token setScopes(List<String> scopes)
        A list of authorization scopes the application is granted.
        Parameters:
        scopes - scopes or null for none
      • getUserKey

        public String getUserKey()
        The unique ID of the user that issued the token.
        Returns:
        value or null for none
      • setUserKey

        public Token setUserKey(String userKey)
        The unique ID of the user that issued the token.
        Parameters:
        userKey - userKey or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy