Dataplex V1 API - Class Google::Cloud::Dataplex::V1::DataScan (v0.15.0)

Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataScan.

Represents a user-visible job which provides the insights for the related data source.

For example:

  • Data Quality: generates queries based on the rules and runs against the data to get data quality check results.
  • Data Profile: analyzes the data in table(s) and generates insights about the structure, content and relationships (such as null percent, cardinality, min/max/mean, etc).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#data

def data() -> ::Google::Cloud::Dataplex::V1::DataSource
Returns

#data=

def data=(value) -> ::Google::Cloud::Dataplex::V1::DataSource
Parameter
Returns

#data_profile_result

def data_profile_result() -> ::Google::Cloud::Dataplex::V1::DataProfileResult
Returns

#data_profile_spec

def data_profile_spec() -> ::Google::Cloud::Dataplex::V1::DataProfileSpec
Returns

#data_profile_spec=

def data_profile_spec=(value) -> ::Google::Cloud::Dataplex::V1::DataProfileSpec
Parameter
Returns

#data_quality_result

def data_quality_result() -> ::Google::Cloud::Dataplex::V1::DataQualityResult
Returns

#data_quality_spec

def data_quality_spec() -> ::Google::Cloud::Dataplex::V1::DataQualitySpec
Returns

#data_quality_spec=

def data_quality_spec=(value) -> ::Google::Cloud::Dataplex::V1::DataQualitySpec
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) —

    Optional. Description of the scan.

    • Must be between 1-1024 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) —

    Optional. Description of the scan.

    • Must be between 1-1024 characters.
Returns
  • (::String) —

    Optional. Description of the scan.

    • Must be between 1-1024 characters.

#display_name

def display_name() -> ::String
Returns
  • (::String) —

    Optional. User friendly display name.

    • Must be between 1-256 characters.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) —

    Optional. User friendly display name.

    • Must be between 1-256 characters.
Returns
  • (::String) —

    Optional. User friendly display name.

    • Must be between 1-256 characters.

#execution_spec

def execution_spec() -> ::Google::Cloud::Dataplex::V1::DataScan::ExecutionSpec
Returns

#execution_spec=

def execution_spec=(value) -> ::Google::Cloud::Dataplex::V1::DataScan::ExecutionSpec
Parameter
Returns

#execution_status

def execution_status() -> ::Google::Cloud::Dataplex::V1::DataScan::ExecutionStatus
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the scan.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the scan.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the scan.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.

#state

def state() -> ::Google::Cloud::Dataplex::V1::State
Returns

#type

def type() -> ::Google::Cloud::Dataplex::V1::DataScanType
Returns

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. System generated globally unique ID for the scan. This ID will be different if the scan is deleted and re-created with the same name.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns