Cloud Tasks V2beta3 API - Class Google::Cloud::Tasks::V2beta3::BatchCreateTasksRequest (v0.20.0)

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

Request message for [BatchCreateTasks].

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

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

    The queue must already exist.

#parent=

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

    The queue must already exist.

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

    The queue must already exist.

#request_id

def request_id() -> ::String
Returns
  • (::String) — Optional. This field will be used to identify the long running operation, avoiding duplication when user retries. If not provided, then a UUID will be generated at server side.

#request_id=

def request_id=(value) -> ::String
Parameter
  • value (::String) — Optional. This field will be used to identify the long running operation, avoiding duplication when user retries. If not provided, then a UUID will be generated at server side.
Returns
  • (::String) — Optional. This field will be used to identify the long running operation, avoiding duplication when user retries. If not provided, then a UUID will be generated at server side.

#requests

def requests() -> ::Array<::Google::Cloud::Tasks::V2beta3::CreateTaskRequest>
Returns
  • (::Array<::Google::Cloud::Tasks::V2beta3::CreateTaskRequest>) — Required. The list of requests to create tasks. The queue specified in parent field of each CreateTaskRequest will be the same. This validation happens on the client side as well as in the handler. BatchCreateTasksRequest.parent will also be the same value as the individual CreateTaskRequest.parent . The maximum number of requests is 100.

#requests=

def requests=(value) -> ::Array<::Google::Cloud::Tasks::V2beta3::CreateTaskRequest>
Parameter
  • value (::Array<::Google::Cloud::Tasks::V2beta3::CreateTaskRequest>) — Required. The list of requests to create tasks. The queue specified in parent field of each CreateTaskRequest will be the same. This validation happens on the client side as well as in the handler. BatchCreateTasksRequest.parent will also be the same value as the individual CreateTaskRequest.parent . The maximum number of requests is 100.
Returns
  • (::Array<::Google::Cloud::Tasks::V2beta3::CreateTaskRequest>) — Required. The list of requests to create tasks. The queue specified in parent field of each CreateTaskRequest will be the same. This validation happens on the client side as well as in the handler. BatchCreateTasksRequest.parent will also be the same value as the individual CreateTaskRequest.parent . The maximum number of requests is 100.