class ProjectsLocationsRepositoriesGoogetArtifacts extends Resource (View source)

The "googetArtifacts" collection of methods.

Typical usage is:

 $artifactregistryService = new Google\Service\ArtifactRegistry(...);
 $googetArtifacts = $artifactregistryService->projects_locations_repositories_googetArtifacts;

Methods

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

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)

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

Directly uploads a GooGet 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. (googetArtifacts.upload)

Details

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

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)

Parameters

string $parent

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

ImportGoogetArtifactsRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Directly uploads a GooGet 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. (googetArtifacts.upload)

Parameters

string $parent

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

UploadGoogetArtifactRequest $postBody
array $optParams

Optional parameters.

Return Value

UploadGoogetArtifactMediaResponse

Exceptions

Exception