Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataScanService::Rest::ServiceStub.
REST service stub for the DataScanService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_data_scan
def create_data_scan(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_data_scan REST call
- request_pb (::Google::Cloud::Dataplex::V1::CreateDataScanRequest) — 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_data_scan
def delete_data_scan(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_data_scan REST call
- request_pb (::Google::Cloud::Dataplex::V1::DeleteDataScanRequest) — 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)
#get_data_scan
def get_data_scan(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::DataScan
Baseline implementation for the get_data_scan REST call
- request_pb (::Google::Cloud::Dataplex::V1::GetDataScanRequest) — 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::Dataplex::V1::DataScan)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::DataScan) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_data_scan_job
def get_data_scan_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::DataScanJob
Baseline implementation for the get_data_scan_job REST call
- request_pb (::Google::Cloud::Dataplex::V1::GetDataScanJobRequest) — 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::Dataplex::V1::DataScanJob)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::DataScanJob) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_data_scan_jobs
def list_data_scan_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::ListDataScanJobsResponse
Baseline implementation for the list_data_scan_jobs REST call
- request_pb (::Google::Cloud::Dataplex::V1::ListDataScanJobsRequest) — 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::Dataplex::V1::ListDataScanJobsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::ListDataScanJobsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_data_scans
def list_data_scans(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::ListDataScansResponse
Baseline implementation for the list_data_scans REST call
- request_pb (::Google::Cloud::Dataplex::V1::ListDataScansRequest) — 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::Dataplex::V1::ListDataScansResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::ListDataScansResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#run_data_scan
def run_data_scan(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::RunDataScanResponse
Baseline implementation for the run_data_scan REST call
- request_pb (::Google::Cloud::Dataplex::V1::RunDataScanRequest) — 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::Dataplex::V1::RunDataScanResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::RunDataScanResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_data_scan
def update_data_scan(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_data_scan REST call
- request_pb (::Google::Cloud::Dataplex::V1::UpdateDataScanRequest) — 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)