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

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

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






Permission.TeamDrivePermissionDetails (Drive API v2-rev20180830-1.26.0)












com.google.api.services.drive.model

Class Permission.TeamDrivePermissionDetails

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


    public static final class Permission.TeamDrivePermissionDetails
    extends com.google.api.client.json.GenericJson
    Model definition for PermissionTeamDrivePermissionDetails.
    • Constructor Detail

      • TeamDrivePermissionDetails

        public TeamDrivePermissionDetails()
    • Method Detail

      • getAdditionalRoles

        public List<String> getAdditionalRoles()
        Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
        Returns:
        value or null for none
      • setAdditionalRoles

        public Permission.TeamDrivePermissionDetails setAdditionalRoles(List<String> additionalRoles)
        Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
        Parameters:
        additionalRoles - additionalRoles or null for none
      • getInherited

        public Boolean getInherited()
        Whether this permission is inherited. This field is always populated. This is an output-only field.
        Returns:
        value or null for none
      • setInherited

        public Permission.TeamDrivePermissionDetails setInherited(Boolean inherited)
        Whether this permission is inherited. This field is always populated. This is an output-only field.
        Parameters:
        inherited - inherited or null for none
      • getInheritedFrom

        public String getInheritedFrom()
        The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the Team Drive.
        Returns:
        value or null for none
      • setInheritedFrom

        public Permission.TeamDrivePermissionDetails setInheritedFrom(String inheritedFrom)
        The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the Team Drive.
        Parameters:
        inheritedFrom - inheritedFrom or null for none
      • getRole

        public String getRole()
        The primary role for this user. While new values may be added in the future, the following are currently possible: - organizer - fileOrganizer - writer - reader
        Returns:
        value or null for none
      • setRole

        public Permission.TeamDrivePermissionDetails setRole(String role)
        The primary role for this user. While new values may be added in the future, the following are currently possible: - organizer - fileOrganizer - writer - reader
        Parameters:
        role - role or null for none
      • getTeamDrivePermissionType

        public String getTeamDrivePermissionType()
        The Team Drive permission type for this user. While new values may be added in future, the following are currently possible: - file - member
        Returns:
        value or null for none
      • setTeamDrivePermissionType

        public Permission.TeamDrivePermissionDetails setTeamDrivePermissionType(String teamDrivePermissionType)
        The Team Drive permission type for this user. While new values may be added in future, the following are currently possible: - file - member
        Parameters:
        teamDrivePermissionType - teamDrivePermissionType or null for none

Copyright © 2011–2018 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy