REST Resource: accessproposals

Resource: AccessProposal

The Access Proposal resource for outstanding access proposals on a file

JSON representation
{
  "fileId": string,
  "proposalId": string,
  "requesterEmailAddress": string,
  "recipientEmailAddress": string,
  "rolesAndViews": [
    {
      object (RoleAndView)
    }
  ],
  "requestMessage": string,
  "createTime": string
}
Fields
fileId

string

The file id that the proposal for access is on

proposalId

string

The id of the access proposal

requesterEmailAddress

string

The email address of the requesting user

recipientEmailAddress

string

The email address of the user that will receive permissions if accepted

rolesAndViews[]

object (RoleAndView)

A wrapper for the role and view of an access proposal.

requestMessage

string

The message that the requester added to the proposal

createTime

string (Timestamp format)

The creation time

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

RoleAndView

A wrapper for the role and view of an access proposal.

JSON representation
{
  "role": string,
  "view": string
}
Fields
role

string

The role that was proposed by the requester New values may be added in the future, but the following are currently possible: * writer * commenter * reader

view

string

Indicates the view for this access proposal. Only populated for proposals that belong to a view. published is the only supported value.

Methods

get

Retrieves an AccessProposal by ID.

list

List the AccessProposals on a file.

resolve

Used to approve or deny an Access Proposal.