public sealed class CreateQueueRequest : IMessage<CreateQueueRequest>, IEquatable<CreateQueueRequest>, IDeepCloneable<CreateQueueRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Tasks v2 API class CreateQueueRequest.
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\u003eThe \u003ccode\u003eCreateQueueRequest\u003c/code\u003e class is used to send a request to create a queue in the Google Cloud Tasks v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eObject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties for setting the parent location (\u003ccode\u003eParent\u003c/code\u003e and \u003ccode\u003eParentAsLocationName\u003c/code\u003e) and the queue to be created (\u003ccode\u003eQueue\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, one empty and one that copies the values of an existing \u003ccode\u003eCreateQueueRequest\u003c/code\u003e object, useful for creating a new object based on an old one.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available for the Cloud Tasks V2 API, the most recent being version 3.5.0.\u003c/p\u003e\n"]]],[],null,[]]