class ProjectsLocationsRepositoriesMavenArtifacts extends Resource (View source)

The "mavenArtifacts" collection of methods.

Typical usage is:

 $artifactregistryService = new Google\Service\ArtifactRegistry(...);
 $mavenArtifacts = $artifactregistryService->projects_locations_repositories_mavenArtifacts;

Methods

get(string $name, array $optParams = [])

Gets a maven artifact. (mavenArtifacts.get)

listProjectsLocationsRepositoriesMavenArtifacts(string $parent, array $optParams = [])

Lists maven artifacts.

Details

MavenArtifact get(string $name, array $optParams = [])

Gets a maven artifact. (mavenArtifacts.get)

Parameters

string $name

Required. The name of the maven artifact.

array $optParams

Optional parameters.

Return Value

MavenArtifact

Exceptions

Exception

ListMavenArtifactsResponse listProjectsLocationsRepositoriesMavenArtifacts(string $parent, array $optParams = [])

Lists maven artifacts.

(mavenArtifacts.listProjectsLocationsRepositoriesMavenArtifacts)

Parameters

string $parent

Required. The name of the parent resource whose maven artifacts will be listed.

array $optParams

Optional parameters.

Return Value

ListMavenArtifactsResponse

Exceptions

Exception