Class BatchCreateTasksRequest
The BatchCreateTask
request message.
Implements
Namespace: Google.Maps.FleetEngine.Delivery.V1
Assembly: Google.Maps.FleetEngine.Delivery.V1.dll
Syntax
public sealed class BatchCreateTasksRequest : IMessage<BatchCreateTasksRequest>, IEquatable<BatchCreateTasksRequest>, IDeepCloneable<BatchCreateTasksRequest>, IBufferMessage, IMessage
Constructors
BatchCreateTasksRequest()
Declaration
public BatchCreateTasksRequest()
BatchCreateTasksRequest(BatchCreateTasksRequest)
Declaration
public BatchCreateTasksRequest(BatchCreateTasksRequest other)
Parameters
Type | Name | Description |
---|---|---|
BatchCreateTasksRequest | other |
Properties
Header
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.
Declaration
public DeliveryRequestHeader Header { get; set; }
Property Value
Type | Description |
---|---|
DeliveryRequestHeader |
Parent
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.
Declaration
public string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
ParentAsProviderName
ProviderName-typed view over the Parent resource name property.
Declaration
public ProviderName ParentAsProviderName { get; set; }
Property Value
Type | Description |
---|---|
ProviderName |
Requests
Required. The request message that specifies the resources to create. Note: You can create a maximum of 500 tasks in a batch.
Declaration
public RepeatedField<CreateTaskRequest> Requests { get; }
Property Value
Type | Description |
---|---|
RepeatedField<CreateTaskRequest> |