Reference documentation and code samples for the Cloud Tasks V2beta2 API class Google::Cloud::Tasks::V2beta2::BufferTaskRequest.
LINT.IfChange Request message for BufferTask.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#body
def body() -> ::Google::Api::HttpBody
-
(::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
-
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].
-
(::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
-
(::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
-
value (::String) — Required. The parent queue name. For example:
projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
The queue must already exist.
-
(::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
- (::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
- value (::String) — Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.
- (::String) — Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.