Class: Google::Maps::FleetEngine::Delivery::V1::BatchCreateTasksRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/maps/fleetengine/delivery/v1/delivery_api.rb

Overview

The BatchCreateTask request message.

Instance Attribute Summary collapse

Instance Attribute Details

#header::Google::Maps::FleetEngine::Delivery::V1::DeliveryRequestHeader

Returns Optional. The standard Delivery API request header. Note: If you set this field, then the header field in the CreateTaskRequest messages must either be empty, or it must match this field.

Returns:



184
185
186
187
# File 'proto_docs/google/maps/fleetengine/delivery/v1/delivery_api.rb', line 184

class BatchCreateTasksRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The parent resource shared by all tasks. This value must be in the format providers/{provider}. The provider must be the Google Cloud Project ID. For example, sample-cloud-project. The parent field in the CreateTaskRequest messages must either be empty, or it must match this field.

Returns:

  • (::String)

    Required. The parent resource shared by all tasks. This value must be in the format providers/{provider}. The provider must be the Google Cloud Project ID. For example, sample-cloud-project. The parent field in the CreateTaskRequest messages must either be empty, or it must match this field.



184
185
186
187
# File 'proto_docs/google/maps/fleetengine/delivery/v1/delivery_api.rb', line 184

class BatchCreateTasksRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#requests::Array<::Google::Maps::FleetEngine::Delivery::V1::CreateTaskRequest>

Returns Required. The request message that specifies the resources to create. Note: You can create a maximum of 500 tasks in a batch.

Returns:



184
185
186
187
# File 'proto_docs/google/maps/fleetengine/delivery/v1/delivery_api.rb', line 184

class BatchCreateTasksRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end