Google Drive API (drive:v3)

2024-10-10

2 new methods

Additions

    Methods
  • drive.files.accessproposals.resolve

      Path: files/{fileId}/accessproposals/{proposalId}:resolve

      Flat Path: files/{fileId}/accessproposals/{proposalId}:resolve

      HTTP Method: POST

      Parameters:

        fileId

          Description: Required. The id of the item the request is on.

          Location: path

          Required: Yes

          Type: string

        proposalId

          Description: Required. The id of the access proposal to resolve.

          Location: path

          Required: Yes

          Type: string

        role

          Description: Optional. The roles the approver has allowed, if any.

          Location: query

          Repeated: Yes

          Type: string

        view

          Description: Optional. Indicates the view for this access proposal. This should only be set when the proposal belongs to a view. `published` is the only supported value.

          Location: query

          Type: string

        action

          Description: Required. The action to take on the AccessProposal.

          Location: query

          Type: string

          Enum Descriptions:

        • Unspecified action
        • The user accepts the proposal
        • The user denies the proposal
        • Enum:

        • ACTION_UNSPECIFIED
        • ACCEPT
        • DENY

        sendNotification

          Description: Optional. Whether to send an email to the requester when the AccessProposal is denied or accepted.

          Location: query

          Type: boolean

      Parameter Order:

    • fileId
    • proposalId
    • Scopes:

    • https://www.googleapis.com/auth/drive
    • https://www.googleapis.com/auth/drive.file
    • Description: Used to approve or deny an Access Proposal.

  • drive.files.accessproposals.list