Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::CreateBatchRequest.
A request to create a batch workload.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#batch
def batch() -> ::Google::Cloud::Dataproc::V1::Batch
- (::Google::Cloud::Dataproc::V1::Batch) — Required. The batch to create.
#batch=
def batch=(value) -> ::Google::Cloud::Dataproc::V1::Batch
- value (::Google::Cloud::Dataproc::V1::Batch) — Required. The batch to create.
- (::Google::Cloud::Dataproc::V1::Batch) — Required. The batch to create.
#batch_id
def batch_id() -> ::String
-
(::String) — 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]-/
.
#batch_id=
def batch_id=(value) -> ::String
-
value (::String) — 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]-/
.
-
(::String) — 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]-/
.
#parent
def parent() -> ::String
- (::String) — Required. The parent resource where this batch will be created.
#parent=
def parent=(value) -> ::String
- value (::String) — Required. The parent resource where this batch will be created.
- (::String) — Required. The parent resource where this batch will be created.
#request_id
def request_id() -> ::String
-
(::String) — 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.
#request_id=
def request_id=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.