* $adminService = new Google\Service\Directory(...); * $twoStepVerification = $adminService->twoStepVerification; * */ class TwoStepVerification extends \Google\Service\Resource { /** * Turns off 2-Step Verification for user. (twoStepVerification.turnOff) * * @param string $userKey Identifies the user in the API request. The value can * be the user's primary email address, alias email address, or unique user ID. * @param array $optParams Optional parameters. */ public function turnOff($userKey, $optParams = []) { $params = ['userKey' => $userKey]; $params = array_merge($params, $optParams); return $this->call('turnOff', [$params]); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TwoStepVerification::class, 'Google_Service_Directory_Resource_TwoStepVerification');