Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectSource
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectSource
- 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
Information related to the source system of the aspect.
Instance Attribute Summary collapse
-
#create_time ⇒ String
The time the aspect was created in the source system.
-
#data_version ⇒ String
The version of the data format used to produce this data.
-
#update_time ⇒ String
The time the aspect was last updated in the source system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1AspectSource
constructor
A new instance of GoogleCloudDataplexV1AspectSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1AspectSource
Returns a new instance of GoogleCloudDataplexV1AspectSource.
407 408 409 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 407 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
The time the aspect was created in the source system.
Corresponds to the JSON property createTime
393 394 395 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 393 def create_time @create_time end |
#data_version ⇒ String
The version of the data format used to produce this data. This field is used
to indicated when the underlying data format changes (e.g., schema
modifications, changes to the source URL format definition, etc).
Corresponds to the JSON property dataVersion
400 401 402 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 400 def data_version @data_version end |
#update_time ⇒ String
The time the aspect was last updated in the source system.
Corresponds to the JSON property updateTime
405 406 407 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 405 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
412 413 414 415 416 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 412 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @data_version = args[:data_version] if args.key?(:data_version) @update_time = args[:update_time] if args.key?(:update_time) end |