Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataSource
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataplexV1::GoogleCloudDataplexV1DataSource
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb 
Overview
The data source for DataScan.
Instance Attribute Summary collapse
- 
  
    
      #entity  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Immutable.
 - 
  
    
      #resource  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Immutable.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudDataplexV1DataSource 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudDataplexV1DataSource.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataSource
Returns a new instance of GoogleCloudDataplexV1DataSource.
      3533 3534 3535  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 3533 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#entity ⇒ String
Immutable. The Dataplex entity that represents the data source (e.g. BigQuery
table) for DataScan, of the form: projects/project_number/locations/
location_id/lakes/lake_id/zones/zone_id/entities/entity_id.
Corresponds to the JSON property entity
      3523 3524 3525  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 3523 def entity @entity end  | 
  
#resource ⇒ String
Immutable. The service-qualified full resource name of the cloud resource for
a DataScan job to scan against. The field could be: BigQuery table of type "
TABLE" for DataProfileScan/DataQualityScan Format: //bigquery.googleapis.com/
projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
Corresponds to the JSON property resource
      3531 3532 3533  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 3531 def resource @resource end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3538 3539 3540 3541  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 3538 def update!(**args) @entity = args[:entity] if args.key?(:entity) @resource = args[:resource] if args.key?(:resource) end  |