Class: Google::Apis::DataformV1::ErrorTable
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1::ErrorTable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataform_v1/classes.rb,
lib/google/apis/dataform_v1/representations.rb,
lib/google/apis/dataform_v1/representations.rb
Overview
Error table information, used to write error data into a BigQuery table.
Instance Attribute Summary collapse
-
#retention_days ⇒ Fixnum
Error table partition expiration in days.
-
#target ⇒ Google::Apis::DataformV1::Target
Represents an action identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ErrorTable
constructor
A new instance of ErrorTable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ErrorTable
Returns a new instance of ErrorTable.
1207 1208 1209 |
# File 'lib/google/apis/dataform_v1/classes.rb', line 1207 def initialize(**args) update!(**args) end |
Instance Attribute Details
#retention_days ⇒ Fixnum
Error table partition expiration in days. Only positive values are allowed.
Corresponds to the JSON property retentionDays
1199 1200 1201 |
# File 'lib/google/apis/dataform_v1/classes.rb', line 1199 def retention_days @retention_days end |
#target ⇒ Google::Apis::DataformV1::Target
Represents an action identifier. If the action writes output, the output will
be written to the referenced database object.
Corresponds to the JSON property target
1205 1206 1207 |
# File 'lib/google/apis/dataform_v1/classes.rb', line 1205 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1212 1213 1214 1215 |
# File 'lib/google/apis/dataform_v1/classes.rb', line 1212 def update!(**args) @retention_days = args[:retention_days] if args.key?(:retention_days) @target = args[:target] if args.key?(:target) end |