* $artifactregistryService = new Google\Service\ArtifactRegistry(...); * $gooGetArtifacts = $artifactregistryService->gooGetArtifacts; * */ class ProjectsLocationsRepositoriesGooGetArtifacts extends \Google\Service\Resource { /** * Imports GooGet artifacts. The returned Operation will complete once the * resources are imported. Package, Version, and File resources are created * based on the imported artifacts. Imported artifacts that conflict with * existing resources are ignored. (gooGetArtifacts.import) * * @param string $parent The name of the parent resource where the artifacts * will be imported. * @param ImportGooGetArtifactsRequest $postBody * @param array $optParams Optional parameters. * @return Operation */ public function import($parent, ImportGooGetArtifactsRequest $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('import', [$params], Operation::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsRepositoriesGooGetArtifacts::class, 'Google_Service_ArtifactRegistry_Resource_ProjectsLocationsRepositoriesGooGetArtifacts');