Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_MapsEngine_RastersPermissions_Resource Class Reference

The "permissions" collection of methods. More...

Inheritance diagram for Google_Service_MapsEngine_RastersPermissions_Resource:
Google_Service_Resource

Public Member Functions

 batchDelete ($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams=array())
 Remove permission entries from an already existing asset.
 
 batchUpdate ($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams=array())
 Add or update permission entries to an already existing asset.
 
 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 listRastersPermissions ($id, $optParams=array())
 Return all of the permissions for the specified asset.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "permissions" collection of methods.

Typical usage is: $mapsengineService = new Google_Service_MapsEngine(...); $permissions = $mapsengineService->permissions;

Member Function Documentation

◆ batchDelete()

Google_Service_MapsEngine_RastersPermissions_Resource::batchDelete ( $id,
Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody,
$optParams = array() )

Remove permission entries from an already existing asset.

(permissions.batchDelete)

Parameters
string$idThe ID of the asset from which permissions will be removed.
Google_PermissionsBatchDeleteRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_MapsEngine_PermissionsBatchDeleteResponse

◆ batchUpdate()

Google_Service_MapsEngine_RastersPermissions_Resource::batchUpdate ( $id,
Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody,
$optParams = array() )

Add or update permission entries to an already existing asset.

An asset can hold up to 20 different permission entries. Each batchInsert request is atomic. (permissions.batchUpdate)

Parameters
string$idThe ID of the asset to which permissions will be added.
Google_PermissionsBatchUpdateRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_MapsEngine_PermissionsBatchUpdateResponse

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ listRastersPermissions()

Google_Service_MapsEngine_RastersPermissions_Resource::listRastersPermissions ( $id,
$optParams = array() )

Return all of the permissions for the specified asset.

(permissions.listRastersPermissions)

Parameters
string$idThe ID of the asset whose permissions will be listed.
array$optParamsOptional parameters.
Return values
Google_Service_MapsEngine_PermissionsListResponse

The documentation for this class was generated from the following file: