Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Aspect
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataplexV1::GoogleCloudDataplexV1Aspect
 
 
- 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
An aspect is a single piece of metadata describing an entry.
Instance Attribute Summary collapse
- 
  
    
      #aspect_source  ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectSource 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Information related to the source system of the aspect.
 - 
  
    
      #aspect_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #create_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #data  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #path  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #update_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudDataplexV1Aspect 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudDataplexV1Aspect.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1Aspect
Returns a new instance of GoogleCloudDataplexV1Aspect.
      371 372 373  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 371 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#aspect_source ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectSource
Information related to the source system of the aspect.
Corresponds to the JSON property aspectSource
      343 344 345  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 343 def aspect_source @aspect_source end  | 
  
#aspect_type ⇒ String
Output only. The resource name of the type used to create this Aspect.
Corresponds to the JSON property aspectType
      348 349 350  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 348 def aspect_type @aspect_type end  | 
  
#create_time ⇒ String
Output only. The time when the Aspect was created.
Corresponds to the JSON property createTime
      353 354 355  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 353 def create_time @create_time end  | 
  
#data ⇒ Hash<String,Object>
Required. The content of the aspect, according to its aspect type schema. The
maximum size of the field is 120KB (encoded as UTF-8).
Corresponds to the JSON property data
      359 360 361  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 359 def data @data end  | 
  
#path ⇒ String
Output only. The path in the entry under which the aspect is attached.
Corresponds to the JSON property path
      364 365 366  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 364 def path @path end  | 
  
#update_time ⇒ String
Output only. The time when the Aspect was last updated.
Corresponds to the JSON property updateTime
      369 370 371  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 369 def update_time @update_time end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      376 377 378 379 380 381 382 383  | 
    
      # File 'lib/google/apis/dataplex_v1/classes.rb', line 376 def update!(**args) @aspect_source = args[:aspect_source] if args.key?(:aspect_source) @aspect_type = args[:aspect_type] if args.key?(:aspect_type) @create_time = args[:create_time] if args.key?(:create_time) @data = args[:data] if args.key?(:data) @path = args[:path] if args.key?(:path) @update_time = args[:update_time] if args.key?(:update_time) end  |