Class CreateQueueRequest (3.0.0)

public sealed class CreateQueueRequest : IMessage<CreateQueueRequest>, IEquatable<CreateQueueRequest>, IDeepCloneable<CreateQueueRequest>, IBufferMessage, IMessage

Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].

Inheritance

Object > CreateQueueRequest

Namespace

Google.Cloud.Tasks.V2

Assembly

Google.Cloud.Tasks.V2.dll

Constructors

CreateQueueRequest()

public CreateQueueRequest()

CreateQueueRequest(CreateQueueRequest)

public CreateQueueRequest(CreateQueueRequest other)
Parameter
NameDescription
otherCreateQueueRequest

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
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
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
TypeDescription
Queue