public sealed class CreateQueueRequest : IMessage<CreateQueueRequest>, IEquatable<CreateQueueRequest>, IDeepCloneable<CreateQueueRequest>, IBufferMessage, IMessage
Request message for [CreateQueue][google.cloud.tasks.v2.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"]],[["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\u003eThis webpage details the \u003ccode\u003eCreateQueueRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Tasks.V2\u003c/code\u003e namespace, used for creating a new queue in Cloud Tasks.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateQueueRequest\u003c/code\u003e class implements interfaces such as \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\u003eKey properties of \u003ccode\u003eCreateQueueRequest\u003c/code\u003e include \u003ccode\u003eParent\u003c/code\u003e, specifying the location for the new queue, \u003ccode\u003eParentAsLocationName\u003c/code\u003e which is a resource name typed view over the Parent property, and \u003ccode\u003eQueue\u003c/code\u003e which contains the details of the queue to be created.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.5.0, with older versions ranging down to 2.2.0 accessible on the page, and the page highlights version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor, \u003ccode\u003eCreateQueueRequest()\u003c/code\u003e, and one that accepts another \u003ccode\u003eCreateQueueRequest\u003c/code\u003e object, \u003ccode\u003eCreateQueueRequest(CreateQueueRequest other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]