public sealed class DeleteDeploymentRequest : IMessage<DeleteDeploymentRequest>, IEquatable<DeleteDeploymentRequest>, IDeepCloneable<DeleteDeploymentRequest>, IBufferMessage, IMessage
public DeleteDeploymentRequest.Types.DeletePolicy DeletePolicy { get; set; }
Optional. Policy on how resources actuated by the deployment should be
deleted. If unspecified, the default behavior is to delete the underlying
resources.
Optional. If set to true, any revisions for this deployment will also be
deleted. (Otherwise, the request will only work if the deployment has no
revisions.)
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request ID,
the server can check if original operation with the same request ID was
received, and if so, will ignore the second request. This prevents clients
from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDeleteDeploymentRequest\u003c/code\u003e class is used to request the deletion of a deployment within the Google Cloud Config V1 service, and it implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides properties like \u003ccode\u003eDeletePolicy\u003c/code\u003e, \u003ccode\u003eDeploymentName\u003c/code\u003e, \u003ccode\u003eForce\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eRequestId\u003c/code\u003e to specify how and what to delete, along with various options such as setting a custom policy, using a deployment name object, force deletion, and a request ID for safe retries.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API referenced on this page is version 1.7.0, while this specific documentation focuses on the 1.2.0 version, and other versions are available for reference, ranging from 1.0.0 to 1.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteDeploymentRequest\u003c/code\u003e class has two constructors: a parameterless one and another that takes an existing \u003ccode\u003eDeleteDeploymentRequest\u003c/code\u003e object for parameter, and it inherits various methods from the base \u003ccode\u003eobject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property is a required field when making the deletion request, and it follows a specific format of \u003ccode\u003eprojects/{project_id}/locations/{location}/deployments/{deployment}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]