Reference documentation and code samples for the Cloud Tasks V2 API class Google::Cloud::Tasks::V2::CreateQueueRequest.
Request message for CreateQueue.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
-
(::String) — 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].
#parent=
def parent=(value) -> ::String
-
value (::String) — 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].
-
(::String) — 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].
#queue
def queue() -> ::Google::Cloud::Tasks::V2::Queue
-
(::Google::Cloud::Tasks::V2::Queue) — Required. The queue to create.
[Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
#queue=
def queue=(value) -> ::Google::Cloud::Tasks::V2::Queue
-
value (::Google::Cloud::Tasks::V2::Queue) — Required. The queue to create.
[Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
-
(::Google::Cloud::Tasks::V2::Queue) — Required. The queue to create.
[Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.