Google Cloud Dataproc v1 API - Class CreateBatchRequest (5.2.0)

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.

Inheritance

Object > CreateBatchRequest

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

CreateBatchRequest()

public CreateBatchRequest()

CreateBatchRequest(CreateBatchRequest)

public CreateBatchRequest(CreateBatchRequest other)
Parameter
NameDescription
otherCreateBatchRequest

Properties

Batch

public Batch Batch { get; set; }

Required. The batch to create.

Property Value
TypeDescription
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
TypeDescription
String

Parent

public string Parent { get; set; }

Required. The parent resource where this batch will be created.

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
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
TypeDescription
String