/var/www/flurhymez/vendor/google/apiclient-services/src/Dfareporting/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Dfareporting/Resource/Countries.php (2136B)
* $dfareportingService = new Google\Service\Dfareporting(...);
* $countries = $dfareportingService->countries;
*
*/
class Countries extends \Google\Service\Resource
{
/**
* Gets one country by ID. (countries.get)
*
* @param string $profileId User profile ID associated with this request.
* @param string $dartId Country DART ID.
* @param array $optParams Optional parameters.
* @return Country
*/
public function get($profileId, $dartId, $optParams = [])
{
$params = ['profileId' => $profileId, 'dartId' => $dartId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Country::class);
}
/**
* Retrieves a list of countries. (countries.listCountries)
*
* @param string $profileId User profile ID associated with this request.
* @param array $optParams Optional parameters.
* @return CountriesListResponse
*/
public function listCountries($profileId, $optParams = [])
{
$params = ['profileId' => $profileId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], CountriesListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Countries::class, 'Google_Service_Dfareporting_Resource_Countries');