ProjectsLocationsRepositoriesGenericArtifacts
class ProjectsLocationsRepositoriesGenericArtifacts extends Resource (View source)
The "genericArtifacts" collection of methods.
Typical usage is:
$artifactregistryService = new Google\Service\ArtifactRegistry(...);
$genericArtifacts = $artifactregistryService->projects_locations_repositories_genericArtifacts;
Methods
Directly uploads a Generic artifact. The returned operation will complete
once the resources are uploaded. Package, version, and file resources are
created based on the uploaded artifact. Uploaded artifacts that conflict with
existing resources will raise an ALREADY_EXISTS
error.
Details
UploadGenericArtifactMediaResponse
upload(string $parent, UploadGenericArtifactRequest $postBody, array $optParams = [])
Directly uploads a Generic artifact. The returned operation will complete
once the resources are uploaded. Package, version, and file resources are
created based on the uploaded artifact. Uploaded artifacts that conflict with
existing resources will raise an ALREADY_EXISTS
error.
(genericArtifacts.upload)