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

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

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






Permission.PermissionDetails (Google Drive API v2-rev20240521-2.0.0)












com.google.api.services.drive.model

Class Permission.PermissionDetails

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


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

      • PermissionDetails

        public PermissionDetails()
    • Method Detail

      • getAdditionalRoles

        public List<String> getAdditionalRoles()
        Output only. 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.PermissionDetails setAdditionalRoles(List<String> additionalRoles)
        Output only. 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()
        Output only. 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.PermissionDetails setInherited(Boolean inherited)
        Output only. 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()
        Output only. The ID of the item from which this permission is inherited. This is an output-only field.
        Returns:
        value or null for none
      • setInheritedFrom

        public Permission.PermissionDetails setInheritedFrom(String inheritedFrom)
        Output only. The ID of the item from which this permission is inherited. This is an output-only field.
        Parameters:
        inheritedFrom - inheritedFrom or null for none
      • getPermissionType

        public String getPermissionType()
        Output only. The 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
      • setPermissionType

        public Permission.PermissionDetails setPermissionType(String permissionType)
        Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
        Parameters:
        permissionType - permissionType or null for none
      • getRole

        public String getRole()
        Output only. 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.PermissionDetails setRole(String role)
        Output only. 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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy