* $publiccaService = new Google\Service\PublicCertificateAuthority(...); * $externalAccountKeys = $publiccaService->projects_locations_externalAccountKeys; * */ class ProjectsLocationsExternalAccountKeys extends \Google\Service\Resource { /** * Creates a new ExternalAccountKey bound to the project. * (externalAccountKeys.create) * * @param string $parent Required. The parent resource where this * external_account_key will be created. Format: * projects/[project_id]/locations/[location]. At present only the "global" * location is supported. * @param ExternalAccountKey $postBody * @param array $optParams Optional parameters. * @return ExternalAccountKey * @throws \Google\Service\Exception */ public function create($parent, ExternalAccountKey $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('create', [$params], ExternalAccountKey::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsExternalAccountKeys::class, 'Google_Service_PublicCertificateAuthority_Resource_ProjectsLocationsExternalAccountKeys');