Class: Google::Cloud::Tasks::V2beta3::BufferTaskRequest

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

Overview

Request message for BufferTask.

Instance Attribute Summary collapse

Instance Attribute Details

#body::Google::Api::HttpBody

Returns Optional. Body of the HTTP request.

The body can take any generic value. The value is written to the [HttpRequest][payload] of the [Task].

Returns:

  • (::Google::Api::HttpBody)

    Optional. Body of the HTTP request.

    The body can take any generic value. The value is written to the [HttpRequest][payload] of the [Task].



412
413
414
415
# File 'proto_docs/google/cloud/tasks/v2beta3/cloudtasks.rb', line 412

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

#queue::String

Returns Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`

The queue must already exist.

Returns:

  • (::String)

    Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`

    The queue must already exist.



412
413
414
415
# File 'proto_docs/google/cloud/tasks/v2beta3/cloudtasks.rb', line 412

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

#task_id::String

Returns Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.

Returns:

  • (::String)

    Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.



412
413
414
415
# File 'proto_docs/google/cloud/tasks/v2beta3/cloudtasks.rb', line 412

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