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

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

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






TeamDrive (Google Drive API v2-rev20240521-2.0.0)












com.google.api.services.drive.model

Class TeamDrive

    • Constructor Detail

      • TeamDrive

        public TeamDrive()
    • Method Detail

      • getBackgroundImageFile

        public TeamDrive.BackgroundImageFile getBackgroundImageFile()
        An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on `drive.teamdrives.update` requests that don't set `themeId`. When specified, all fields of the `backgroundImageFile` must be set.
        Returns:
        value or null for none
      • setBackgroundImageFile

        public TeamDrive setBackgroundImageFile(TeamDrive.BackgroundImageFile backgroundImageFile)
        An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on `drive.teamdrives.update` requests that don't set `themeId`. When specified, all fields of the `backgroundImageFile` must be set.
        Parameters:
        backgroundImageFile - backgroundImageFile or null for none
      • getBackgroundImageLink

        public String getBackgroundImageLink()
        A short-lived link to this Team Drive's background image.
        Returns:
        value or null for none
      • setBackgroundImageLink

        public TeamDrive setBackgroundImageLink(String backgroundImageLink)
        A short-lived link to this Team Drive's background image.
        Parameters:
        backgroundImageLink - backgroundImageLink or null for none
      • getCapabilities

        public TeamDrive.Capabilities getCapabilities()
        Capabilities the current user has on this Team Drive.
        Returns:
        value or null for none
      • setCapabilities

        public TeamDrive setCapabilities(TeamDrive.Capabilities capabilities)
        Capabilities the current user has on this Team Drive.
        Parameters:
        capabilities - capabilities or null for none
      • getColorRgb

        public String getColorRgb()
        The color of this Team Drive as an RGB hex string. It can only be set on a `drive.teamdrives.update` request that does not set `themeId`.
        Returns:
        value or null for none
      • setColorRgb

        public TeamDrive setColorRgb(String colorRgb)
        The color of this Team Drive as an RGB hex string. It can only be set on a `drive.teamdrives.update` request that does not set `themeId`.
        Parameters:
        colorRgb - colorRgb or null for none
      • getCreatedDate

        public com.google.api.client.util.DateTime getCreatedDate()
        The time at which the Team Drive was created (RFC 3339 date-time).
        Returns:
        value or null for none
      • setCreatedDate

        public TeamDrive setCreatedDate(com.google.api.client.util.DateTime createdDate)
        The time at which the Team Drive was created (RFC 3339 date-time).
        Parameters:
        createdDate - createdDate or null for none
      • getId

        public String getId()
        The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
        Returns:
        value or null for none
      • setId

        public TeamDrive setId(String id)
        The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
        Parameters:
        id - id or null for none
      • getKind

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

        public TeamDrive setKind(String kind)
        This is always `drive#teamDrive`
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        The name of this Team Drive.
        Returns:
        value or null for none
      • setName

        public TeamDrive setName(String name)
        The name of this Team Drive.
        Parameters:
        name - name or null for none
      • getOrgUnitId

        public String getOrgUnitId()
        The organizational unit of this shared drive. This field is only populated on `drives.list` responses when the `useDomainAdminAccess` parameter is set to `true`.
        Returns:
        value or null for none
      • setOrgUnitId

        public TeamDrive setOrgUnitId(String orgUnitId)
        The organizational unit of this shared drive. This field is only populated on `drives.list` responses when the `useDomainAdminAccess` parameter is set to `true`.
        Parameters:
        orgUnitId - orgUnitId or null for none
      • getRestrictions

        public TeamDrive.Restrictions getRestrictions()
        A set of restrictions that apply to this Team Drive or items inside this Team Drive.
        Returns:
        value or null for none
      • setRestrictions

        public TeamDrive setRestrictions(TeamDrive.Restrictions restrictions)
        A set of restrictions that apply to this Team Drive or items inside this Team Drive.
        Parameters:
        restrictions - restrictions or null for none
      • getThemeId

        public String getThemeId()
        The ID of the theme from which the background image and color will be set. The set of possible `teamDriveThemes` can be retrieved from a `drive.about.get` response. When not specified on a `drive.teamdrives.insert` request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set `colorRgb` or `backgroundImageFile`.
        Returns:
        value or null for none
      • setThemeId

        public TeamDrive setThemeId(String themeId)
        The ID of the theme from which the background image and color will be set. The set of possible `teamDriveThemes` can be retrieved from a `drive.about.get` response. When not specified on a `drive.teamdrives.insert` request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set `colorRgb` or `backgroundImageFile`.
        Parameters:
        themeId - themeId or null for none
      • set

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

        public TeamDrive 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