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].
Implements
IMessage<CreateQueueRequest>, IEquatable<CreateQueueRequest>, IDeepCloneable<CreateQueueRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Tasks.V2Assembly
Google.Cloud.Tasks.V2.dll
Constructors
CreateQueueRequest()
public CreateQueueRequest()
CreateQueueRequest(CreateQueueRequest)
public CreateQueueRequest(CreateQueueRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateQueueRequest |
Properties
Parent
public string Parent { get; set; }
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].
Property Value | |
---|---|
Type | Description |
String |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
Queue
public Queue Queue { get; set; }
Required. The queue to create.
[Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
Property Value | |
---|---|
Type | Description |
Queue |