Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::BatchController::Rest::ServiceStub.
REST service stub for the BatchController service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_batch
def create_batch(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_batch REST call
- request_pb (::Google::Cloud::Dataproc::V1::CreateBatchRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_batch
def delete_batch(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_batch REST call
- request_pb (::Google::Cloud::Dataproc::V1::DeleteBatchRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_batch
def get_batch(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataproc::V1::Batch
Baseline implementation for the get_batch REST call
- request_pb (::Google::Cloud::Dataproc::V1::GetBatchRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataproc::V1::Batch)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataproc::V1::Batch) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_batches
def list_batches(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataproc::V1::ListBatchesResponse
Baseline implementation for the list_batches REST call
- request_pb (::Google::Cloud::Dataproc::V1::ListBatchesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataproc::V1::ListBatchesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataproc::V1::ListBatchesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)