public sealed class CreateQueueRequest : IMessage<CreateQueueRequest>, IEquatable<CreateQueueRequest>, IDeepCloneable<CreateQueueRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Tasks v2beta3 API class CreateQueueRequest.
Request message for
[CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
Required. The location name in which the queue will be created.
For example: projects/PROJECT_ID/locations/LOCATION_ID
The list of allowed locations can be obtained by calling Cloud
Tasks' implementation of
[ListLocations][google.cloud.location.Locations.ListLocations].
[[["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\u003eThe \u003ccode\u003eCreateQueueRequest\u003c/code\u003e class is used to send a request to create a queue within the Google Cloud Tasks v2beta3 API, which is part of the Google Cloud Platform.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for various functionalities like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eParent\u003c/code\u003e (a string specifying the location name for queue creation) and \u003ccode\u003eQueue\u003c/code\u003e (the queue object to be created) that are essential for configuring the queue creation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParentAsLocationName\u003c/code\u003e property offers a typed view of the \u003ccode\u003eParent\u003c/code\u003e property, enhancing resource name management within the Google Cloud ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eCreateQueueRequest\u003c/code\u003e class: a default constructor and one that takes another \u003ccode\u003eCreateQueueRequest\u003c/code\u003e object for cloning purposes.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Tasks v2beta3 API - Class CreateQueueRequest (3.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.CreateQueueRequest)\n- [3.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/3.0.0-beta06/Google.Cloud.Tasks.V2Beta3.CreateQueueRequest)\n- [2.0.0-beta08](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/2.0.0-beta08/Google.Cloud.Tasks.V2Beta3.CreateQueueRequest) \n\n public sealed class CreateQueueRequest : IMessage\u003cCreateQueueRequest\u003e, IEquatable\u003cCreateQueueRequest\u003e, IDeepCloneable\u003cCreateQueueRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Tasks v2beta3 API class CreateQueueRequest.\n\nRequest message for\n\\[CreateQueue\\]\\[google.cloud.tasks.v2beta3.CloudTasks.CreateQueue\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateQueueRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateQueueRequest](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.CreateQueueRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateQueueRequest](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.CreateQueueRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateQueueRequest](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.CreateQueueRequest), [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.Tasks.V2Beta3](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.Tasks.V2Beta3.dll\n\nConstructors\n------------\n\n### CreateQueueRequest()\n\n public CreateQueueRequest()\n\n### CreateQueueRequest(CreateQueueRequest)\n\n public CreateQueueRequest(CreateQueueRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The location name in which the queue will be created.\nFor example: `projects/PROJECT_ID/locations/LOCATION_ID`\n\nThe list of allowed locations can be obtained by calling Cloud\nTasks' implementation of\n\\[ListLocations\\]\\[google.cloud.location.Locations.ListLocations\\].\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.CreateQueueRequest#Google_Cloud_Tasks_V2Beta3_CreateQueueRequest_Parent) resource name property.\n\n### Queue\n\n public Queue Queue { get; set; }\n\nRequired. The queue to create.\n\n\\[Queue's name\\]\\[google.cloud.tasks.v2beta3.Queue.name\\] cannot be the same as\nan existing queue."]]