public class PermissionRequestBuilder extends BaseRequestBuilder implements IPermissionRequestBuilder
| Constructor and Description |
|---|
PermissionRequestBuilder(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for the Permission
|
| Modifier and Type | Method and Description |
|---|---|
IPermissionRequest |
buildRequest(java.util.List<? extends Option> requestOptions)
Creates the request with specific requestOptions instead of the existing requestOptions
|
IPermissionRequest |
buildRequest(Option... requestOptions)
Creates the request
|
IPermissionGrantCollectionRequestBuilder |
grant(java.util.List<java.lang.String> roles,
java.util.List<DriveRecipient> recipients) |
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClient, getRequestUrl, getRequestUrlWithAdditionalSegmentpublic PermissionRequestBuilder(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic IPermissionRequest buildRequest(Option... requestOptions)
buildRequest in interface IPermissionRequestBuilderrequestOptions - the options for this requestpublic IPermissionRequest buildRequest(java.util.List<? extends Option> requestOptions)
buildRequest in interface IPermissionRequestBuilderrequestOptions - the options for this requestpublic IPermissionGrantCollectionRequestBuilder grant(java.util.List<java.lang.String> roles, java.util.List<DriveRecipient> recipients)
grant in interface IPermissionRequestBuilder