Class: Google::Apis::BigquerydatatransferV1::EmailPreferences
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatatransferV1::EmailPreferences
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquerydatatransfer_v1/classes.rb,
generated/google/apis/bigquerydatatransfer_v1/representations.rb,
generated/google/apis/bigquerydatatransfer_v1/representations.rb
Overview
Represents preferences for sending email notifications for transfer run events.
Instance Attribute Summary collapse
-
#enable_failure_email ⇒ Boolean
(also: #enable_failure_email?)
If true, email notifications will be sent on transfer run failures.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EmailPreferences
constructor
A new instance of EmailPreferences.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EmailPreferences
Returns a new instance of EmailPreferences.
327 328 329 |
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_failure_email ⇒ Boolean Also known as: enable_failure_email?
If true, email notifications will be sent on transfer run failures.
Corresponds to the JSON property enableFailureEmail
324 325 326 |
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 324 def enable_failure_email @enable_failure_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
332 333 334 |
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 332 def update!(**args) @enable_failure_email = args[:enable_failure_email] if args.key?(:enable_failure_email) end |