ProjectsLocationsRepositories
class ProjectsLocationsRepositories extends Resource (View source)
The "repositories" collection of methods.
Typical usage is:
$artifactregistryService = new Google\Service\ArtifactRegistry(...);
$repositories = $artifactregistryService->projects_locations_repositories;
Methods
Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.
Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.
Gets a repository. (repositories.get)
Gets the IAM policy for a given resource. (repositories.getIamPolicy)
Lists repositories. (repositories.listProjectsLocationsRepositories)
Updates a repository. (repositories.patch)
Updates the IAM policy for a given resource. (repositories.setIamPolicy)
Tests if the caller has a list of permissions on a resource.
Details
Operation
create(string $parent, Repository $postBody, array $optParams = [])
Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.
(repositories.create)
Operation
delete(string $name, array $optParams = [])
Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.
(repositories.delete)
Repository
get(string $name, array $optParams = [])
Gets a repository. (repositories.get)
Policy
getIamPolicy(string $resource, array $optParams = [])
Gets the IAM policy for a given resource. (repositories.getIamPolicy)
ListRepositoriesResponse
listProjectsLocationsRepositories(string $parent, array $optParams = [])
Lists repositories. (repositories.listProjectsLocationsRepositories)
Repository
patch(string $name, Repository $postBody, array $optParams = [])
Updates a repository. (repositories.patch)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Updates the IAM policy for a given resource. (repositories.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Tests if the caller has a list of permissions on a resource.
(repositories.testIamPermissions)