Google Apps Script API
Preparing search index...
google-apps-script-events
GoogleAppsScript
Drive
Collection
PermissionsCollection
Interface PermissionsCollection
interface
PermissionsCollection
{
get
(
fileId
:
string
,
permissionId
:
string
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
;
get
(
fileId
:
string
,
permissionId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
;
getIdForEmail
(
email
:
string
)
:
PermissionId
;
insert
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
;
insert
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
;
list
(
fileId
:
string
)
:
GoogleAppsScript
.
Drive
.
Schema
.
PermissionList
;
list
(
fileId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
PermissionList
;
patch
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
permissionId
:
string
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
;
patch
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
permissionId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
;
remove
(
fileId
:
string
,
permissionId
:
string
)
:
void
;
remove
(
fileId
:
string
,
permissionId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
void
;
update
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
permissionId
:
string
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
;
update
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
permissionId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
;
}
Index
Methods
get
get
Id
For
Email
insert
list
patch
remove
update
Methods
get
get
(
fileId
:
string
,
permissionId
:
string
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
Parameters
fileId
:
string
permissionId
:
string
Returns
GoogleAppsScript
.
Drive
.
Schema
.
Permission
get
(
fileId
:
string
,
permissionId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
Parameters
fileId
:
string
permissionId
:
string
optionalArgs
:
Record
<
string
,
any
>
Returns
GoogleAppsScript
.
Drive
.
Schema
.
Permission
get
Id
For
Email
getIdForEmail
(
email
:
string
)
:
PermissionId
Parameters
email
:
string
Returns
PermissionId
insert
insert
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
Parameters
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
fileId
:
string
Returns
GoogleAppsScript
.
Drive
.
Schema
.
Permission
insert
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
Parameters
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
fileId
:
string
optionalArgs
:
Record
<
string
,
any
>
Returns
GoogleAppsScript
.
Drive
.
Schema
.
Permission
list
list
(
fileId
:
string
)
:
GoogleAppsScript
.
Drive
.
Schema
.
PermissionList
Parameters
fileId
:
string
Returns
GoogleAppsScript
.
Drive
.
Schema
.
PermissionList
list
(
fileId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
PermissionList
Parameters
fileId
:
string
optionalArgs
:
Record
<
string
,
any
>
Returns
GoogleAppsScript
.
Drive
.
Schema
.
PermissionList
patch
patch
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
permissionId
:
string
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
Parameters
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
fileId
:
string
permissionId
:
string
Returns
GoogleAppsScript
.
Drive
.
Schema
.
Permission
patch
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
permissionId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
Parameters
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
fileId
:
string
permissionId
:
string
optionalArgs
:
Record
<
string
,
any
>
Returns
GoogleAppsScript
.
Drive
.
Schema
.
Permission
remove
remove
(
fileId
:
string
,
permissionId
:
string
)
:
void
Parameters
fileId
:
string
permissionId
:
string
Returns
void
remove
(
fileId
:
string
,
permissionId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
void
Parameters
fileId
:
string
permissionId
:
string
optionalArgs
:
Record
<
string
,
any
>
Returns
void
update
update
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
permissionId
:
string
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
Parameters
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
fileId
:
string
permissionId
:
string
Returns
GoogleAppsScript
.
Drive
.
Schema
.
Permission
update
(
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
,
fileId
:
string
,
permissionId
:
string
,
optionalArgs
:
Record
<
string
,
any
>
,
)
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
Parameters
resource
:
GoogleAppsScript
.
Drive
.
Schema
.
Permission
fileId
:
string
permissionId
:
string
optionalArgs
:
Record
<
string
,
any
>
Returns
GoogleAppsScript
.
Drive
.
Schema
.
Permission
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
get
Id
For
Email
insert
list
patch
remove
update
Google Apps Script API
Loading...