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

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

defbody()->::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=

defbody=(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

defqueue()->::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=

defqueue=(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

deftask_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=

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.