Cloud Tasks V2beta3 API - Class Google::Cloud::Tasks::V2beta3::BufferTaskRequest (v0.10.2)

Reference documentation and code samples for the Cloud Tasks V2beta3 API class Google::Cloud::Tasks::V2beta3::BufferTaskRequest.

Request message for BufferTask.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#body

def body() -> ::Google::Api::HttpBody
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].

#body=

def body=(value) -> ::Google::Api::HttpBody
Parameter
  • value (::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].

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

#queue

def queue() -> ::String
Returns
  • (::String) — Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`

    The queue must already exist.

#queue=

def queue=(value) -> ::String
Parameter
  • value (::String) — 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.

#task_id

def task_id() -> ::String
Returns
  • (::String) — Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.

#task_id=

def task_id=(value) -> ::String
Parameter
  • value (::String) — 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.