* $androidmanagementService = new Google\Service\AndroidManagement(...); * $webTokens = $androidmanagementService->webTokens; * */ class EnterprisesWebTokens extends \Google\Service\Resource { /** * Creates a web token to access an embeddable managed Google Play web UI for a * given enterprise. (webTokens.create) * * @param string $parent The name of the enterprise in the form * enterprises/{enterpriseId}. * @param WebToken $postBody * @param array $optParams Optional parameters. * @return WebToken */ public function create($parent, WebToken $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('create', [$params], WebToken::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(EnterprisesWebTokens::class, 'Google_Service_AndroidManagement_Resource_EnterprisesWebTokens');