class ProjectsLocationsRepositoriesYumArtifacts extends Resource (View source)

The "yumArtifacts" collection of methods.

Typical usage is:

 $artifactregistryService = new Google\Service\ArtifactRegistry(...);
 $yumArtifacts = $artifactregistryService->projects_locations_repositories_yumArtifacts;

Methods

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

Imports Yum (RPM) 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. (yumArtifacts.import)

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

Directly uploads a Yum 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. (yumArtifacts.upload)

Details

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

Imports Yum (RPM) 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. (yumArtifacts.import)

Parameters

string $parent

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

ImportYumArtifactsRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Directly uploads a Yum 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. (yumArtifacts.upload)

Parameters

string $parent

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

UploadYumArtifactRequest $postBody
array $optParams

Optional parameters.

Return Value

UploadYumArtifactMediaResponse

Exceptions

Exception