Class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource
The "versions" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource
Constructors
VersionsResource(IClientService)
Constructs a new resource.
Declaration
public VersionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
BatchDelete(BatchDeleteVersionsRequest, string)
Deletes multiple versions across a repository. The returned operation will complete once the versions have been deleted.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.BatchDeleteRequest BatchDelete(BatchDeleteVersionsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteVersionsRequest | body | The body of the request. |
string | parent | The name of the repository holding all requested versions. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.BatchDeleteRequest |
Delete(string)
Deletes a version and all of its content. The returned operation will complete once the version has been deleted.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the version to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.DeleteRequest |
Get(string)
Gets a version
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the version to retrieve. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.GetRequest |
List(string)
Lists versions.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | The name of the parent resource whose versions will be listed. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.ListRequest |
Patch(Version, string)
Updates a version.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.PatchRequest Patch(Version body, string name)
Parameters
Type | Name | Description |
---|---|---|
Version | body | The body of the request. |
string | name | The name of the version, for example:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.PatchRequest |