Class: Google::Cloud::Tasks::V2::CreateQueueRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/tasks/v2/cloudtasks.rb

Overview

Request message for CreateQueue.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns 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.



115
116
117
118
# File 'proto_docs/google/cloud/tasks/v2/cloudtasks.rb', line 115

class CreateQueueRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#queue::Google::Cloud::Tasks::V2::Queue

Returns Required. The queue to create.

[Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.

Returns:



115
116
117
118
# File 'proto_docs/google/cloud/tasks/v2/cloudtasks.rb', line 115

class CreateQueueRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end