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.
1193 1194 1195 |
# File 'lib/google/apis/dataform_v1/classes.rb', line 1193 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
1185 1186 1187 |
# File 'lib/google/apis/dataform_v1/classes.rb', line 1185 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
1191 1192 1193 |
# File 'lib/google/apis/dataform_v1/classes.rb', line 1191 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1198 1199 1200 1201 |
# File 'lib/google/apis/dataform_v1/classes.rb', line 1198 def update!(**args) @retention_days = args[:retention_days] if args.key?(:retention_days) @target = args[:target] if args.key?(:target) end |