* $artifactregistryService = new Google\Service\ArtifactRegistry(...); * $dockerImages = $artifactregistryService->dockerImages; * */ class ProjectsLocationsRepositoriesDockerImages extends \Google\Service\Resource { /** * Gets a docker image. (dockerImages.get) * * @param string $name Required. The name of the docker images. * @param array $optParams Optional parameters. * @return DockerImage */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('get', [$params], DockerImage::class); } /** * Lists docker images. * (dockerImages.listProjectsLocationsRepositoriesDockerImages) * * @param string $parent Required. The name of the parent resource whose docker * images will be listed. * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of artifacts to return. * @opt_param string pageToken The next_page_token value returned from a * previous list request, if any. * @return ListDockerImagesResponse */ public function listProjectsLocationsRepositoriesDockerImages($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListDockerImagesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsRepositoriesDockerImages::class, 'Google_Service_ArtifactRegistry_Resource_ProjectsLocationsRepositoriesDockerImages');