Class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.DeleteRequest
Deletes a version and all of its content. The returned operation will complete once the version has been deleted.
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1beta2
Assembly: Google.Apis.ArtifactRegistry.v1beta2.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.DeleteRequest : ArtifactRegistryBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
Force
By default, a version that is tagged may not be deleted. If force=true, the version and any tags pointing to the version are deleted.
Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
Type | Description |
---|---|
bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
The name of the version to delete.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()