Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::BatchController::Rest::ServiceStub (v1.9.1)
Stay organized with collections
Save and categorize content based on your preferences.
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
defcreate_batch(request_pb,options=nil){|result,operation|...}->::Google::Longrunning::OperationBaseline 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
defdelete_batch(request_pb,options=nil){|result,operation|...}->::Google::Protobuf::EmptyBaseline 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
defendpoint()->StringThe effective endpoint
- (String)
#get_batch
defget_batch(request_pb,options=nil){|result,operation|...}->::Google::Cloud::Dataproc::V1::BatchBaseline 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)
#list_batches
deflist_batches(request_pb,options=nil){|result,operation|...}->::Google::Cloud::Dataproc::V1::ListBatchesResponseBaseline 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)
#logger
deflogger(stub:false)->LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
defuniverse_domain()->StringThe effective universe domain
- (String)