class ProjectsLocationsRepositoriesAptArtifacts extends Resource (View source)

The "aptArtifacts" collection of methods.

Typical usage is:

 $artifactregistryService = new Google\Service\ArtifactRegistry(...);
 $aptArtifacts = $artifactregistryService->projects_locations_repositories_aptArtifacts;

Methods

import(string $parent, ImportAptArtifactsRequest $postBody, array $optParams = [])

Imports Apt 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. (aptArtifacts.import)

upload(string $parent, UploadAptArtifactRequest $postBody, array $optParams = [])

Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored. (aptArtifacts.upload)

Details

Operation import(string $parent, ImportAptArtifactsRequest $postBody, array $optParams = [])

Imports Apt 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. (aptArtifacts.import)

Parameters

string $parent

The name of the parent resource where the artifacts will be imported.

ImportAptArtifactsRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

UploadAptArtifactMediaResponse upload(string $parent, UploadAptArtifactRequest $postBody, array $optParams = [])

Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored. (aptArtifacts.upload)

Parameters

string $parent

The name of the parent resource where the artifacts will be uploaded.

UploadAptArtifactRequest $postBody
array $optParams

Optional parameters.

Return Value

UploadAptArtifactMediaResponse

Exceptions

Exception