* $dfareportingService = new Google\Service\Dfareporting(...); * $userProfiles = $dfareportingService->userProfiles; * */ class UserProfiles extends \Google\Service\Resource { /** * Gets one user profile by ID. (userProfiles.get) * * @param string $profileId The user profile ID. * @param array $optParams Optional parameters. * @return UserProfile */ public function get($profileId, $optParams = []) { $params = ['profileId' => $profileId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], UserProfile::class); } /** * Retrieves list of user profiles for a user. (userProfiles.listUserProfiles) * * @param array $optParams Optional parameters. * @return UserProfileList */ public function listUserProfiles($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('list', [$params], UserProfileList::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(UserProfiles::class, 'Google_Service_Dfareporting_Resource_UserProfiles');