Dataplex V1 API - Class Google::Cloud::Dataplex::V1::DataScanService::Rest::ServiceStub (v0.22.0)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#generate_data_quality_rules

def generate_data_quality_rules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::GenerateDataQualityRulesResponse

Baseline implementation for the generate_data_quality_rules REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)