Class: Google::Apis::BigquerydatatransferV1::EmailPreferences
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatatransferV1::EmailPreferences
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquerydatatransfer_v1/classes.rb,
lib/google/apis/bigquerydatatransfer_v1/representations.rb,
lib/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.
322 323 324 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 322 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
319 320 321 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 319 def enable_failure_email @enable_failure_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
327 328 329 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 327 def update!(**args) @enable_failure_email = args[:enable_failure_email] if args.key?(:enable_failure_email) end |