Resource: AccessProposal
Manage outstanding access proposals on a file.
| JSON representation | 
|---|
{
  "fileId": string,
  "proposalId": string,
  "requesterEmailAddress": string,
  "recipientEmailAddress": string,
  "rolesAndViews": [
    {
      object ( | 
              
| Fields | |
|---|---|
fileId | 
                
                   
 The file ID that the proposal for access is on.  | 
              
proposalId | 
                
                   
 The ID of the access proposal.  | 
              
requesterEmailAddress | 
                
                   
 The email address of the requesting user.  | 
              
recipientEmailAddress | 
                
                   
 The email address of the user that will receive permissions, if accepted.  | 
              
rolesAndViews[] | 
                
                   
 A wrapper for the role and view of an access proposal. For more information, see Roles and permissions.  | 
              
requestMessage | 
                
                   
 The message that the requester added to the proposal.  | 
              
createTime | 
                
                   
 The creation time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
RoleAndView
A wrapper for the role and view of an access proposal. For more information, see Roles and permissions.
| JSON representation | 
|---|
{ "role": string, "view": string }  | 
              
| Fields | |
|---|---|
role | 
                
                   
 The role that was proposed by the requester. The supported values are: 
  | 
              
view | 
                
                   
 Indicates the view for this access proposal. Only populated for proposals that belong to a view. Only   | 
              
Methods | 
            |
|---|---|
                
 | 
              Retrieves an access proposal by ID. | 
                
 | 
              List the access proposals on a file. | 
                
 | 
              Approves or denies an access proposal. |