Class: Google::Cloud::Dataproc::V1::CreateBatchRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::CreateBatchRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1/batches.rb
Overview
A request to create a batch workload.
Instance Attribute Summary collapse
-
#batch ⇒ ::Google::Cloud::Dataproc::V1::Batch
Required.
-
#batch_id ⇒ ::String
Optional.
-
#parent ⇒ ::String
Required.
-
#request_id ⇒ ::String
Optional.
Instance Attribute Details
#batch ⇒ ::Google::Cloud::Dataproc::V1::Batch
Returns Required. The batch to create.
51 52 53 54 |
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 51 class CreateBatchRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#batch_id ⇒ ::String
Returns 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]-/
.
51 52 53 54 |
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 51 class CreateBatchRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The parent resource where this batch will be created.
51 52 53 54 |
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 51 class CreateBatchRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#request_id ⇒ ::String
Returns 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.
51 52 53 54 |
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 51 class CreateBatchRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |