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

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

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






Asp (Admin SDK API directory_v1-rev20220802-2.0.0)












com.google.api.services.directory.model

Class Asp

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class Asp
    extends GenericJson
    An application-specific password (ASP) is used with applications that do not accept a verification code when logging into the application on certain devices. The ASP access code is used instead of the login and password you commonly use when accessing an application through a browser. For more information about ASPs and how to create one, see the [help center](https://support.google.com/a/answer/2537800#asp).

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • Asp

        public Asp()
    • Method Detail

      • getCodeId

        public Integer getCodeId()
        The unique ID of the ASP.
        Returns:
        value or null for none
      • setCodeId

        public Asp setCodeId(Integer codeId)
        The unique ID of the ASP.
        Parameters:
        codeId - codeId or null for none
      • getCreationTime

        public Long getCreationTime()
        The time when the ASP was created. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format.
        Returns:
        value or null for none
      • setCreationTime

        public Asp setCreationTime(Long creationTime)
        The time when the ASP was created. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format.
        Parameters:
        creationTime - creationTime or null for none
      • getEtag

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

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

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

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

        public Long getLastTimeUsed()
        The time when the ASP was last used. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format.
        Returns:
        value or null for none
      • setLastTimeUsed

        public Asp setLastTimeUsed(Long lastTimeUsed)
        The time when the ASP was last used. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format.
        Parameters:
        lastTimeUsed - lastTimeUsed or null for none
      • getName

        public String getName()
        The name of the application that the user, represented by their `userId`, entered when the ASP was created.
        Returns:
        value or null for none
      • setName

        public Asp setName(String name)
        The name of the application that the user, represented by their `userId`, entered when the ASP was created.
        Parameters:
        name - name or null for none
      • getUserKey

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

        public Asp setUserKey(String userKey)
        The unique ID of the user who issued the ASP.
        Parameters:
        userKey - userKey or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy