Cloud Run Admin v2 API - Class DeleteRevisionRequest (2.4.0)

public sealed class DeleteRevisionRequest : IMessage<DeleteRevisionRequest>, IEquatable<DeleteRevisionRequest>, IDeepCloneable<DeleteRevisionRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Run Admin v2 API class DeleteRevisionRequest.

Request message for deleting a retired Revision. Revision lifecycle is usually managed by making changes to the parent Service. Only retired revisions can be deleted with this API.

Inheritance

object > DeleteRevisionRequest

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

DeleteRevisionRequest()

public DeleteRevisionRequest()

DeleteRevisionRequest(DeleteRevisionRequest)

public DeleteRevisionRequest(DeleteRevisionRequest other)
Parameter
NameDescription
otherDeleteRevisionRequest

Properties

Etag

public string Etag { get; set; }

A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Required. The name of the Revision to delete. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision}

Property Value
TypeDescription
string

RevisionName

public RevisionName RevisionName { get; set; }

RevisionName-typed view over the Name resource name property.

Property Value
TypeDescription
RevisionName

ValidateOnly

public bool ValidateOnly { get; set; }

Indicates that the request should be validated without actually deleting any resources.

Property Value
TypeDescription
bool