Class: Google::Cloud::Tasks::V2beta2::CreateQueueRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/tasks/v2beta2/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.



129
130
131
132
# File 'proto_docs/google/cloud/tasks/v2beta2/cloudtasks.rb', line 129

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

#queue::Google::Cloud::Tasks::V2beta2::Queue

Returns Required. The queue to create.

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

Returns:



129
130
131
132
# File 'proto_docs/google/cloud/tasks/v2beta2/cloudtasks.rb', line 129

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