Class CreateQueueRequest (2.0.0-beta08)

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

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

Inheritance

Object > CreateQueueRequest

Namespace

Google.Cloud.Tasks.V2Beta3

Assembly

Google.Cloud.Tasks.V2Beta3.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.v2beta3.Queue.name] cannot be the same as an existing queue.

Property Value
TypeDescription
Queue