public sealed class DeleteServiceRequest : IMessage<DeleteServiceRequest>, IEquatable<DeleteServiceRequest>, IDeepCloneable<DeleteServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the App Hub v1 API class DeleteServiceRequest.
Required. Fully qualified name of the Service to delete from an
Application. Expected format:
projects/{project}/locations/{location}/applications/{application}/services/{service}.
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eDeleteServiceRequest\u003c/code\u003e class within the App Hub v1 API, detailing how to request the deletion of a service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteServiceRequest\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, \u003ccode\u003eDeleteServiceRequest()\u003c/code\u003e and \u003ccode\u003eDeleteServiceRequest(DeleteServiceRequest other)\u003c/code\u003e, allowing for the creation of new instances and copies.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eDeleteServiceRequest\u003c/code\u003e class are \u003ccode\u003eName\u003c/code\u003e, which specifies the fully qualified name of the service to delete, \u003ccode\u003eRequestId\u003c/code\u003e, which is an optional unique ID for request retries, and \u003ccode\u003eServiceName\u003c/code\u003e, which provides a typed view of the service name.\u003c/p\u003e\n"]]],[],null,["# App Hub v1 API - Class DeleteServiceRequest (1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DeleteServiceRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AppHub.V1/1.0.0/Google.Cloud.AppHub.V1.DeleteServiceRequest) \n\n public sealed class DeleteServiceRequest : IMessage\u003cDeleteServiceRequest\u003e, IEquatable\u003cDeleteServiceRequest\u003e, IDeepCloneable\u003cDeleteServiceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the App Hub v1 API class DeleteServiceRequest.\n\nRequest for DeleteService. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteServiceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteServiceRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DeleteServiceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteServiceRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DeleteServiceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteServiceRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DeleteServiceRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AppHub.V1](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AppHub.V1.dll\n\nConstructors\n------------\n\n### DeleteServiceRequest()\n\n public DeleteServiceRequest()\n\n### DeleteServiceRequest(DeleteServiceRequest)\n\n public DeleteServiceRequest(DeleteServiceRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Fully qualified name of the Service to delete from an\nApplication. Expected format:\n`projects/{project}/locations/{location}/applications/{application}/services/{service}`.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes after the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### ServiceName\n\n public ServiceName ServiceName { get; set; }\n\n[ServiceName](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.ServiceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.DeleteServiceRequest#Google_Cloud_AppHub_V1_DeleteServiceRequest_Name) resource name property."]]