Class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource
The "versions" collection of methods.
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1beta1
Assembly: Google.Apis.ArtifactRegistry.v1beta1.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
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 |