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

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

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






Change (Google Drive API v2-rev20240809-2.0.0)












com.google.api.services.drive.model

Class Change

    • Constructor Detail

      • Change

        public Change()
    • Method Detail

      • getChangeType

        public String getChangeType()
        The type of the change. Possible values are `file` and `drive`.
        Returns:
        value or null for none
      • setChangeType

        public Change setChangeType(String changeType)
        The type of the change. Possible values are `file` and `drive`.
        Parameters:
        changeType - changeType or null for none
      • getDeleted

        public Boolean getDeleted()
        Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.
        Returns:
        value or null for none
      • setDeleted

        public Change setDeleted(Boolean deleted)
        Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.
        Parameters:
        deleted - deleted or null for none
      • getDrive

        public Drive getDrive()
        The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted.
        Returns:
        value or null for none
      • setDrive

        public Change setDrive(Drive drive)
        The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted.
        Parameters:
        drive - drive or null for none
      • getDriveId

        public String getDriveId()
        The ID of the shared drive associated with this change.
        Returns:
        value or null for none
      • setDriveId

        public Change setDriveId(String driveId)
        The ID of the shared drive associated with this change.
        Parameters:
        driveId - driveId or null for none
      • getFile

        public File getFile()
        The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.
        Returns:
        value or null for none
      • setFile

        public Change setFile(File file)
        The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.
        Parameters:
        file - file or null for none
      • getFileId

        public String getFileId()
        The ID of the file associated with this change.
        Returns:
        value or null for none
      • setFileId

        public Change setFileId(String fileId)
        The ID of the file associated with this change.
        Parameters:
        fileId - fileId or null for none
      • getId

        public Long getId()
        The ID of the change.
        Returns:
        value or null for none
      • setId

        public Change setId(Long id)
        The ID of the change.
        Parameters:
        id - id or null for none
      • getKind

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

        public Change setKind(String kind)
        This is always `drive#change`.
        Parameters:
        kind - kind or null for none
      • getModificationDate

        public com.google.api.client.util.DateTime getModificationDate()
        The time of this modification.
        Returns:
        value or null for none
      • setModificationDate

        public Change setModificationDate(com.google.api.client.util.DateTime modificationDate)
        The time of this modification.
        Parameters:
        modificationDate - modificationDate or null for none
      • getSelfLink

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

        public Change setSelfLink(String selfLink)
        A link back to this change.
        Parameters:
        selfLink - selfLink or null for none
      • getTeamDrive

        public TeamDrive getTeamDrive()
        Deprecated: Use `drive` instead.
        Returns:
        value or null for none
      • setTeamDrive

        public Change setTeamDrive(TeamDrive teamDrive)
        Deprecated: Use `drive` instead.
        Parameters:
        teamDrive - teamDrive or null for none
      • getTeamDriveId

        public String getTeamDriveId()
        Deprecated: Use `driveId` instead.
        Returns:
        value or null for none
      • setTeamDriveId

        public Change setTeamDriveId(String teamDriveId)
        Deprecated: Use `driveId` instead.
        Parameters:
        teamDriveId - teamDriveId or null for none
      • getType

        public String getType()
        Deprecated: Use `changeType` instead.
        Returns:
        value or null for none
      • setType

        public Change setType(String type)
        Deprecated: Use `changeType` instead.
        Parameters:
        type - type or null for none
      • set

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

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