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

The "sizes" collection of methods. More...

Inheritance diagram for Google_Service_Dfareporting_Sizes_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($profileId, $id, $optParams=array())
 Gets one size by ID.
 
 insert ($profileId, Google_Service_Dfareporting_Size $postBody, $optParams=array())
 Inserts a new size.
 
 listSizes ($profileId, $optParams=array())
 Retrieves a list of sizes, possibly filtered.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "sizes" collection of methods.

Typical usage is: $dfareportingService = new Google_Service_Dfareporting(...); $sizes = $dfareportingService->sizes;

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

◆ get()

Google_Service_Dfareporting_Sizes_Resource::get ( $profileId,
$id,
$optParams = array() )

Gets one size by ID.

(sizes.get)

Parameters
string$profileIdUser profile ID associated with this request.
string$idSize ID.
array$optParamsOptional parameters.
Return values
Google_Service_Dfareporting_Size

◆ insert()

Google_Service_Dfareporting_Sizes_Resource::insert ( $profileId,
Google_Service_Dfareporting_Size $postBody,
$optParams = array() )

Inserts a new size.

(sizes.insert)

Parameters
string$profileIdUser profile ID associated with this request.
Google_Size$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Dfareporting_Size

◆ listSizes()

Google_Service_Dfareporting_Sizes_Resource::listSizes ( $profileId,
$optParams = array() )

Retrieves a list of sizes, possibly filtered.

(sizes.listSizes)

Parameters
string$profileIdUser profile ID associated with this request.
array$optParamsOptional parameters.

@opt_param bool iabStandard Select only IAB standard sizes. @opt_param int width Select only sizes with this width. @opt_param string ids Select only sizes with these IDs. @opt_param int height Select only sizes with this height.

Return values
Google_Service_Dfareporting_SizesListResponse

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