public sealed class CreateBatchRequest : IMessage<CreateBatchRequest>, IEquatable<CreateBatchRequest>, IDeepCloneable<CreateBatchRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class CreateBatchRequest.
A request to create a batch workload.
Implements
IMessageCreateBatchRequest, IEquatableCreateBatchRequest, IDeepCloneableCreateBatchRequest, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.DataprocV1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
CreateBatchRequest()
public CreateBatchRequest()
CreateBatchRequest(CreateBatchRequest)
public CreateBatchRequest(CreateBatchRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateBatchRequest |
Properties
Batch
public Batch Batch { get; set; }
Required. The batch to create.
Property Value | |
---|---|
Type | Description |
Batch |
BatchId
public string BatchId { get; set; }
Optional. The ID to use for the batch, which will become the final component of the batch's resource name.
This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/
.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The parent resource where this batch will be created.
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
RequestId
public string RequestId { get; set; }
Optional. A unique ID used to identify the request. If the service receives two CreateBatchRequests with the same request_id, the second request is ignored and the Operation that corresponds to the first Batch created and stored in the backend is returned.
Recommendation: Set this value to a UUID.
The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
Property Value | |
---|---|
Type | Description |
string |