Cloud Tasks V2 API - Class Google::Cloud::Tasks::V2::CreateQueueRequest (v1.0.1)

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
Returns
  • (::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 ::Google::Cloud::Location::Locations::Client#list_locations.

#parent=

def parent=(value) -> ::String
Parameter
  • 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 ::Google::Cloud::Location::Locations::Client#list_locations.

Returns
  • (::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 ::Google::Cloud::Location::Locations::Client#list_locations.

#queue

def queue() -> ::Google::Cloud::Tasks::V2::Queue
Returns

#queue=

def queue=(value) -> ::Google::Cloud::Tasks::V2::Queue
Parameter
  • 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.

Returns