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

The "datafeeds" collection of methods. More...

Inheritance diagram for Google_Service_ShoppingContent_Datafeeds_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 custombatch (Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams=array())
 (datafeeds.custombatch)
 
 delete ($merchantId, $datafeedId, $optParams=array())
 Deletes a datafeed from your Merchant Center account.
 
 get ($merchantId, $datafeedId, $optParams=array())
 Retrieves a datafeed from your Merchant Center account.
 
 insert ($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams=array())
 Registers a datafeed with your Merchant Center account.
 
 listDatafeeds ($merchantId, $optParams=array())
 Lists the datafeeds in your Merchant Center account.
 
 patch ($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams=array())
 Updates a datafeed of your Merchant Center account.
 
 update ($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams=array())
 Updates a datafeed of your Merchant Center account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "datafeeds" collection of methods.

Typical usage is: $contentService = new Google_Service_ShoppingContent(...); $datafeeds = $contentService->datafeeds;

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

◆ custombatch()

Google_Service_ShoppingContent_Datafeeds_Resource::custombatch ( Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody,
$optParams = array() )

(datafeeds.custombatch)

Parameters
Google_DatafeedsCustomBatchRequest$postBody
array$optParamsOptional parameters.

@opt_param bool dryRun Flag to run the request in dry-run mode.

Return values
Google_Service_ShoppingContent_DatafeedsCustomBatchResponse

◆ delete()

Google_Service_ShoppingContent_Datafeeds_Resource::delete ( $merchantId,
$datafeedId,
$optParams = array() )

Deletes a datafeed from your Merchant Center account.

(datafeeds.delete)

Parameters
string$merchantId
string$datafeedId
array$optParamsOptional parameters.

@opt_param bool dryRun Flag to run the request in dry-run mode.

◆ get()

Google_Service_ShoppingContent_Datafeeds_Resource::get ( $merchantId,
$datafeedId,
$optParams = array() )

Retrieves a datafeed from your Merchant Center account.

(datafeeds.get)

Parameters
string$merchantId
string$datafeedId
array$optParamsOptional parameters.
Return values
Google_Service_ShoppingContent_Datafeed

◆ insert()

Google_Service_ShoppingContent_Datafeeds_Resource::insert ( $merchantId,
Google_Service_ShoppingContent_Datafeed $postBody,
$optParams = array() )

Registers a datafeed with your Merchant Center account.

(datafeeds.insert)

Parameters
string$merchantId
Google_Datafeed$postBody
array$optParamsOptional parameters.

@opt_param bool dryRun Flag to run the request in dry-run mode.

Return values
Google_Service_ShoppingContent_Datafeed

◆ listDatafeeds()

Google_Service_ShoppingContent_Datafeeds_Resource::listDatafeeds ( $merchantId,
$optParams = array() )

Lists the datafeeds in your Merchant Center account.

(datafeeds.listDatafeeds)

Parameters
string$merchantIdThe ID of the managing account.
array$optParamsOptional parameters.

@opt_param string pageToken The token returned by the previous request. @opt_param string maxResults The maximum number of products to return in the response, used for paging.

Return values
Google_Service_ShoppingContent_DatafeedsListResponse

◆ patch()

Google_Service_ShoppingContent_Datafeeds_Resource::patch ( $merchantId,
$datafeedId,
Google_Service_ShoppingContent_Datafeed $postBody,
$optParams = array() )

Updates a datafeed of your Merchant Center account.

This method supports patch semantics. (datafeeds.patch)

Parameters
string$merchantId
string$datafeedId
Google_Datafeed$postBody
array$optParamsOptional parameters.

@opt_param bool dryRun Flag to run the request in dry-run mode.

Return values
Google_Service_ShoppingContent_Datafeed

◆ update()

Google_Service_ShoppingContent_Datafeeds_Resource::update ( $merchantId,
$datafeedId,
Google_Service_ShoppingContent_Datafeed $postBody,
$optParams = array() )

Updates a datafeed of your Merchant Center account.

(datafeeds.update)

Parameters
string$merchantId
string$datafeedId
Google_Datafeed$postBody
array$optParamsOptional parameters.

@opt_param bool dryRun Flag to run the request in dry-run mode.

Return values
Google_Service_ShoppingContent_Datafeed

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