Reference documentation and code samples for the Google Cloud Tasks V2beta3 Client class BufferTaskRequest.
Request message for BufferTask .
Generated from protobuf message google.cloud.tasks.v2beta3.BufferTaskRequest
Namespace
Google \ Cloud \ Tasks \ V2beta3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ queue
string
Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.
↳ task_id
string
Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.
↳ body
Google\Api\HttpBody
Optional. Body of the HTTP request. The body can take any generic value. The value is written to the HttpRequest of the [Task].
getQueue
Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.
string
setQueue
Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.
var
string
$this
getTaskId
Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.
string
setTaskId
Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.
var
string
$this
getBody
Optional. Body of the HTTP request.
The body can take any generic value. The value is written to the HttpRequest of the [Task].
hasBody
clearBody
setBody
Optional. Body of the HTTP request.
The body can take any generic value. The value is written to the HttpRequest of the [Task].
$this