target.apidocs.com.google.api.services.drive.model.AccessProposal.html Maven / Gradle / Ivy
AccessProposal (Google Drive API v3-rev20241027-2.0.0)
com.google.api.services.drive.model
Class AccessProposal
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.drive.model.AccessProposal
-
public final class AccessProposal
extends com.google.api.client.json.GenericJson
The Access Proposal resource for outstanding access proposals on a file
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Google Drive API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
AccessProposal()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccessProposal
clone()
String
getCreateTime()
The creation time
String
getFileId()
The file id that the proposal for access is on
String
getProposalId()
The id of the access proposal
String
getRecipientEmailAddress()
The email address of the user that will receive permissions if accepted
String
getRequesterEmailAddress()
The email address of the requesting user
String
getRequestMessage()
The message that the requester added to the proposal
List<AccessProposalRoleAndView>
getRolesAndViews()
A wrapper for the role and view of an access proposal.
AccessProposal
set(String fieldName,
Object value)
AccessProposal
setCreateTime(String createTime)
The creation time
AccessProposal
setFileId(String fileId)
The file id that the proposal for access is on
AccessProposal
setProposalId(String proposalId)
The id of the access proposal
AccessProposal
setRecipientEmailAddress(String recipientEmailAddress)
The email address of the user that will receive permissions if accepted
AccessProposal
setRequesterEmailAddress(String requesterEmailAddress)
The email address of the requesting user
AccessProposal
setRequestMessage(String requestMessage)
The message that the requester added to the proposal
AccessProposal
setRolesAndViews(List<AccessProposalRoleAndView> rolesAndViews)
A wrapper for the role and view of an access proposal.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCreateTime
public String getCreateTime()
The creation time
- Returns:
- value or
null
for none
-
setCreateTime
public AccessProposal setCreateTime(String createTime)
The creation time
- Parameters:
createTime
- createTime or null
for none
-
getFileId
public String getFileId()
The file id that the proposal for access is on
- Returns:
- value or
null
for none
-
setFileId
public AccessProposal setFileId(String fileId)
The file id that the proposal for access is on
- Parameters:
fileId
- fileId or null
for none
-
getProposalId
public String getProposalId()
The id of the access proposal
- Returns:
- value or
null
for none
-
setProposalId
public AccessProposal setProposalId(String proposalId)
The id of the access proposal
- Parameters:
proposalId
- proposalId or null
for none
-
getRecipientEmailAddress
public String getRecipientEmailAddress()
The email address of the user that will receive permissions if accepted
- Returns:
- value or
null
for none
-
setRecipientEmailAddress
public AccessProposal setRecipientEmailAddress(String recipientEmailAddress)
The email address of the user that will receive permissions if accepted
- Parameters:
recipientEmailAddress
- recipientEmailAddress or null
for none
-
getRequestMessage
public String getRequestMessage()
The message that the requester added to the proposal
- Returns:
- value or
null
for none
-
setRequestMessage
public AccessProposal setRequestMessage(String requestMessage)
The message that the requester added to the proposal
- Parameters:
requestMessage
- requestMessage or null
for none
-
getRequesterEmailAddress
public String getRequesterEmailAddress()
The email address of the requesting user
- Returns:
- value or
null
for none
-
setRequesterEmailAddress
public AccessProposal setRequesterEmailAddress(String requesterEmailAddress)
The email address of the requesting user
- Parameters:
requesterEmailAddress
- requesterEmailAddress or null
for none
-
getRolesAndViews
public List<AccessProposalRoleAndView> getRolesAndViews()
A wrapper for the role and view of an access proposal.
- Returns:
- value or
null
for none
-
setRolesAndViews
public AccessProposal setRolesAndViews(List<AccessProposalRoleAndView> rolesAndViews)
A wrapper for the role and view of an access proposal.
- Parameters:
rolesAndViews
- rolesAndViews or null
for none
-
set
public AccessProposal set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public AccessProposal clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy