Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Service_AndroidEnterprise_Collections_Resource Class Reference

The "collections" collection of methods. More...

Inheritance diagram for Google_Service_AndroidEnterprise_Collections_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($enterpriseId, $collectionId, $optParams=array())
 Deletes a collection.
 
 get ($enterpriseId, $collectionId, $optParams=array())
 Retrieves the details of a collection.
 
 insert ($enterpriseId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams=array())
 Creates a new collection.
 
 listCollections ($enterpriseId, $optParams=array())
 Retrieves the IDs of all the collections for an enterprise.
 
 patch ($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams=array())
 Updates a collection.
 
 update ($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams=array())
 Updates a collection.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "collections" collection of methods.

Typical usage is: $androidenterpriseService = new Google_Service_AndroidEnterprise(...); $collections = $androidenterpriseService->collections;

Member Function Documentation

◆ 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

◆ delete()

Google_Service_AndroidEnterprise_Collections_Resource::delete ( $enterpriseId,
$collectionId,
$optParams = array() )

Deletes a collection.

(collections.delete)

Parameters
string$enterpriseIdThe ID of the enterprise.
string$collectionIdThe ID of the collection.
array$optParamsOptional parameters.

◆ get()

Google_Service_AndroidEnterprise_Collections_Resource::get ( $enterpriseId,
$collectionId,
$optParams = array() )

Retrieves the details of a collection.

(collections.get)

Parameters
string$enterpriseIdThe ID of the enterprise.
string$collectionIdThe ID of the collection.
array$optParamsOptional parameters.
Return values
Google_Service_AndroidEnterprise_Collection

◆ insert()

Google_Service_AndroidEnterprise_Collections_Resource::insert ( $enterpriseId,
Google_Service_AndroidEnterprise_Collection $postBody,
$optParams = array() )

Creates a new collection.

(collections.insert)

Parameters
string$enterpriseIdThe ID of the enterprise.
Google_Collection$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AndroidEnterprise_Collection

◆ listCollections()

Google_Service_AndroidEnterprise_Collections_Resource::listCollections ( $enterpriseId,
$optParams = array() )

Retrieves the IDs of all the collections for an enterprise.

(collections.listCollections)

Parameters
string$enterpriseIdThe ID of the enterprise.
array$optParamsOptional parameters.
Return values
Google_Service_AndroidEnterprise_CollectionsListResponse

◆ patch()

Google_Service_AndroidEnterprise_Collections_Resource::patch ( $enterpriseId,
$collectionId,
Google_Service_AndroidEnterprise_Collection $postBody,
$optParams = array() )

Updates a collection.

This method supports patch semantics. (collections.patch)

Parameters
string$enterpriseIdThe ID of the enterprise.
string$collectionIdThe ID of the collection.
Google_Collection$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AndroidEnterprise_Collection

◆ update()

Google_Service_AndroidEnterprise_Collections_Resource::update ( $enterpriseId,
$collectionId,
Google_Service_AndroidEnterprise_Collection $postBody,
$optParams = array() )

Updates a collection.

(collections.update)

Parameters
string$enterpriseIdThe ID of the enterprise.
string$collectionIdThe ID of the collection.
Google_Collection$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AndroidEnterprise_Collection

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