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

target.apidocs.com.google.api.services.drive.model.About.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240903-2.0.0
Show newest version






About (Google Drive API v2-rev20240521-2.0.0)












com.google.api.services.drive.model

Class About

    • Constructor Detail

      • About

        public About()
    • Method Detail

      • getAdditionalRoleInfo

        public List<About.AdditionalRoleInfo> getAdditionalRoleInfo()
        Information about supported additional roles per file type. The most specific type takes precedence.
        Returns:
        value or null for none
      • setAdditionalRoleInfo

        public About setAdditionalRoleInfo(List<About.AdditionalRoleInfo> additionalRoleInfo)
        Information about supported additional roles per file type. The most specific type takes precedence.
        Parameters:
        additionalRoleInfo - additionalRoleInfo or null for none
      • getCanCreateDrives

        public Boolean getCanCreateDrives()
        Whether the user can create shared drives.
        Returns:
        value or null for none
      • setCanCreateDrives

        public About setCanCreateDrives(Boolean canCreateDrives)
        Whether the user can create shared drives.
        Parameters:
        canCreateDrives - canCreateDrives or null for none
      • getCanCreateTeamDrives

        public Boolean getCanCreateTeamDrives()
        Deprecated: Use `canCreateDrives` instead.
        Returns:
        value or null for none
      • setCanCreateTeamDrives

        public About setCanCreateTeamDrives(Boolean canCreateTeamDrives)
        Deprecated: Use `canCreateDrives` instead.
        Parameters:
        canCreateTeamDrives - canCreateTeamDrives or null for none
      • getDomainSharingPolicy

        public String getDomainSharingPolicy()
        The domain sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` * `incomingOnly` * `disallowed`
        Returns:
        value or null for none
      • setDomainSharingPolicy

        public About setDomainSharingPolicy(String domainSharingPolicy)
        The domain sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` * `incomingOnly` * `disallowed`
        Parameters:
        domainSharingPolicy - domainSharingPolicy or null for none
      • getDriveThemes

        public List<About.DriveThemes> getDriveThemes()
        A list of themes that are supported for shared drives.
        Returns:
        value or null for none
      • setDriveThemes

        public About setDriveThemes(List<About.DriveThemes> driveThemes)
        A list of themes that are supported for shared drives.
        Parameters:
        driveThemes - driveThemes or null for none
      • getEtag

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

        public About setEtag(String etag)
        The ETag of the item.
        Parameters:
        etag - etag or null for none
      • getExportFormats

        public List<About.ExportFormats> getExportFormats()
        The allowable export formats.
        Returns:
        value or null for none
      • setExportFormats

        public About setExportFormats(List<About.ExportFormats> exportFormats)
        The allowable export formats.
        Parameters:
        exportFormats - exportFormats or null for none
      • getFeatures

        public List<About.Features> getFeatures()
        List of additional features enabled on this account.
        Returns:
        value or null for none
      • setFeatures

        public About setFeatures(List<About.Features> features)
        List of additional features enabled on this account.
        Parameters:
        features - features or null for none
      • getFolderColorPalette

        public List<String> getFolderColorPalette()
        The palette of allowable folder colors as RGB hex strings.
        Returns:
        value or null for none
      • setFolderColorPalette

        public About setFolderColorPalette(List<String> folderColorPalette)
        The palette of allowable folder colors as RGB hex strings.
        Parameters:
        folderColorPalette - folderColorPalette or null for none
      • getImportFormats

        public List<About.ImportFormats> getImportFormats()
        The allowable import formats.
        Returns:
        value or null for none
      • setImportFormats

        public About setImportFormats(List<About.ImportFormats> importFormats)
        The allowable import formats.
        Parameters:
        importFormats - importFormats or null for none
      • getIsCurrentAppInstalled

        public Boolean getIsCurrentAppInstalled()
        A boolean indicating whether the authenticated app is installed by the authenticated user.
        Returns:
        value or null for none
      • setIsCurrentAppInstalled

        public About setIsCurrentAppInstalled(Boolean isCurrentAppInstalled)
        A boolean indicating whether the authenticated app is installed by the authenticated user.
        Parameters:
        isCurrentAppInstalled - isCurrentAppInstalled or null for none
      • getKind

        public String getKind()
        This is always `drive#about`.
        Returns:
        value or null for none
      • setKind

        public About setKind(String kind)
        This is always `drive#about`.
        Parameters:
        kind - kind or null for none
      • getLanguageCode

        public String getLanguageCode()
        The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).
        Returns:
        value or null for none
      • setLanguageCode

        public About setLanguageCode(String languageCode)
        The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).
        Parameters:
        languageCode - languageCode or null for none
      • getLargestChangeId

        public Long getLargestChangeId()
        The largest change id.
        Returns:
        value or null for none
      • setLargestChangeId

        public About setLargestChangeId(Long largestChangeId)
        The largest change id.
        Parameters:
        largestChangeId - largestChangeId or null for none
      • getMaxUploadSizes

        public List<About.MaxUploadSizes> getMaxUploadSizes()
        List of max upload sizes for each file type. The most specific type takes precedence.
        Returns:
        value or null for none
      • setMaxUploadSizes

        public About setMaxUploadSizes(List<About.MaxUploadSizes> maxUploadSizes)
        List of max upload sizes for each file type. The most specific type takes precedence.
        Parameters:
        maxUploadSizes - maxUploadSizes or null for none
      • getName

        public String getName()
        The name of the current user.
        Returns:
        value or null for none
      • setName

        public About setName(String name)
        The name of the current user.
        Parameters:
        name - name or null for none
      • getPermissionId

        public String getPermissionId()
        The current user's ID as visible in the permissions collection.
        Returns:
        value or null for none
      • setPermissionId

        public About setPermissionId(String permissionId)
        The current user's ID as visible in the permissions collection.
        Parameters:
        permissionId - permissionId or null for none
      • getQuotaBytesByService

        public List<About.QuotaBytesByService> getQuotaBytesByService()
        The amount of storage quota used by different Google services.
        Returns:
        value or null for none
      • setQuotaBytesByService

        public About setQuotaBytesByService(List<About.QuotaBytesByService> quotaBytesByService)
        The amount of storage quota used by different Google services.
        Parameters:
        quotaBytesByService - quotaBytesByService or null for none
      • getQuotaBytesTotal

        public Long getQuotaBytesTotal()
        The total number of quota bytes. This is only relevant when quotaType is LIMITED.
        Returns:
        value or null for none
      • setQuotaBytesTotal

        public About setQuotaBytesTotal(Long quotaBytesTotal)
        The total number of quota bytes. This is only relevant when quotaType is LIMITED.
        Parameters:
        quotaBytesTotal - quotaBytesTotal or null for none
      • getQuotaBytesUsed

        public Long getQuotaBytesUsed()
        The number of quota bytes used by Google Drive.
        Returns:
        value or null for none
      • setQuotaBytesUsed

        public About setQuotaBytesUsed(Long quotaBytesUsed)
        The number of quota bytes used by Google Drive.
        Parameters:
        quotaBytesUsed - quotaBytesUsed or null for none
      • getQuotaBytesUsedAggregate

        public Long getQuotaBytesUsedAggregate()
        The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
        Returns:
        value or null for none
      • setQuotaBytesUsedAggregate

        public About setQuotaBytesUsedAggregate(Long quotaBytesUsedAggregate)
        The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
        Parameters:
        quotaBytesUsedAggregate - quotaBytesUsedAggregate or null for none
      • getQuotaBytesUsedInTrash

        public Long getQuotaBytesUsedInTrash()
        The number of quota bytes used by trashed items.
        Returns:
        value or null for none
      • setQuotaBytesUsedInTrash

        public About setQuotaBytesUsedInTrash(Long quotaBytesUsedInTrash)
        The number of quota bytes used by trashed items.
        Parameters:
        quotaBytesUsedInTrash - quotaBytesUsedInTrash or null for none
      • getQuotaType

        public String getQuotaType()
        The type of the user's storage quota. Possible values are: * `LIMITED` * `UNLIMITED`
        Returns:
        value or null for none
      • setQuotaType

        public About setQuotaType(String quotaType)
        The type of the user's storage quota. Possible values are: * `LIMITED` * `UNLIMITED`
        Parameters:
        quotaType - quotaType or null for none
      • getRemainingChangeIds

        public Long getRemainingChangeIds()
        The number of remaining change ids, limited to no more than 2500.
        Returns:
        value or null for none
      • setRemainingChangeIds

        public About setRemainingChangeIds(Long remainingChangeIds)
        The number of remaining change ids, limited to no more than 2500.
        Parameters:
        remainingChangeIds - remainingChangeIds or null for none
      • getRootFolderId

        public String getRootFolderId()
        The id of the root folder.
        Returns:
        value or null for none
      • setRootFolderId

        public About setRootFolderId(String rootFolderId)
        The id of the root folder.
        Parameters:
        rootFolderId - rootFolderId or null for none
      • getSelfLink

        public String getSelfLink()
        A link back to this item.
        Returns:
        value or null for none
      • setSelfLink

        public About setSelfLink(String selfLink)
        A link back to this item.
        Parameters:
        selfLink - selfLink or null for none
      • getTeamDriveThemes

        public List<About.TeamDriveThemes> getTeamDriveThemes()
        Deprecated: Use `driveThemes` instead.
        Returns:
        value or null for none
      • setTeamDriveThemes

        public About setTeamDriveThemes(List<About.TeamDriveThemes> teamDriveThemes)
        Deprecated: Use `driveThemes` instead.
        Parameters:
        teamDriveThemes - teamDriveThemes or null for none
      • getUser

        public User getUser()
        The authenticated user.
        Returns:
        value or null for none
      • setUser

        public About setUser(User user)
        The authenticated user.
        Parameters:
        user - user or null for none
      • set

        public About set(String fieldName,
                         Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public About clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy