Package types (0.3.3)

API documentation for artifactregistry_v1beta2.types package.

Classes

CreateRepositoryRequest

The request to create a new repository. .. attribute:: parent

The name of the parent resource where the repository will be created.

:type: str

CreateTagRequest

The request to create a new tag. .. attribute:: parent

The name of the parent resource where the tag will be created.

:type: str

DeletePackageRequest

The request to delete a package. .. attribute:: name

The name of the package to delete.

:type: str

DeleteRepositoryRequest

The request to delete a repository. .. attribute:: name

The name of the repository to delete.

:type: str

DeleteTagRequest

The request to delete a tag. .. attribute:: name

The name of the tag to delete.

:type: str

DeleteVersionRequest

The request to delete a version. .. attribute:: name

The name of the version to delete.

:type: str

File

Files store content that is potentially associated with Packages or Versions.

GetFileRequest

The request to retrieve a file.

GetPackageRequest

The request to retrieve a package. .. attribute:: name

The name of the package to retrieve.

:type: str

GetRepositoryRequest

The request to retrieve a repository. .. attribute:: name

The name of the repository to retrieve.

:type: str

GetTagRequest

The request to retrieve a tag. .. attribute:: name

The name of the tag to retrieve.

:type: str

GetVersionRequest

The request to retrieve a version. .. attribute:: name

The name of the version to retrieve.

:type: str

Hash

A hash of file content.

ListFilesRequest

The request to list files.

ListFilesResponse

The response from listing files.

ListPackagesRequest

The request to list packages. .. attribute:: parent

The name of the parent resource whose packages will be listed.

:type: str

ListPackagesResponse

The response from listing packages. .. attribute:: packages

The packages returned.

:type: Sequence[google.cloud.artifactregistry_v1beta2.types.Package]

ListRepositoriesRequest

The request to list repositories. .. attribute:: parent

The name of the parent resource whose repositories will be listed.

:type: str

ListRepositoriesResponse

The response from listing repositories. .. attribute:: repositories

The repositories returned.

:type: Sequence[google.cloud.artifactregistry_v1beta2.types.Repository]

ListTagsRequest

The request to list tags. .. attribute:: parent

The name of the parent resource whose tags will be listed.

:type: str

ListTagsResponse

The response from listing tags. .. attribute:: tags

The tags returned.

:type: Sequence[google.cloud.artifactregistry_v1beta2.types.Tag]

ListVersionsRequest

The request to list versions. .. attribute:: parent

The name of the parent resource whose versions will be listed.

:type: str

ListVersionsResponse

The response from listing versions. .. attribute:: versions

The versions returned.

:type: Sequence[google.cloud.artifactregistry_v1beta2.types.Version]

OperationMetadata

Metadata type for longrunning-operations, currently empty.

Package

Packages are named collections of versions. .. attribute:: name

The name of the package, for example: "projects/p1/locations/us- central1/repositories/repo1/packages/pkg1".

:type: str

Repository

A Repository for storing artifacts with a specific format. .. attribute:: name

The name of the repository, for example: "projects/p1/locations/us- central1/repositories/repo1".

:type: str

Tag

Tags point to a version and represent an alternative name that can be used to access the version.

UpdateRepositoryRequest

The request to update a repository. .. attribute:: repository

The repository that replaces the resource on the server.

:type: google.cloud.artifactregistry_v1beta2.types.Repository

UpdateTagRequest

The request to create or update a tag. .. attribute:: tag

The tag that replaces the resource on the server.

:type: google.cloud.artifactregistry_v1beta2.types.Tag

Version

The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.

VersionView

The view, which determines what version information is returned in a response.