Class: Google::Apis::DfareportingV2_6::Report::Delivery
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_6::Report::Delivery
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_6/classes.rb,
generated/google/apis/dfareporting_v2_6/representations.rb,
generated/google/apis/dfareporting_v2_6/representations.rb
Overview
The report's email delivery settings.
Instance Attribute Summary collapse
-
#email_owner ⇒ Boolean
(also: #email_owner?)
Whether the report should be emailed to the report owner.
-
#email_owner_delivery_type ⇒ String
The type of delivery for the owner to receive, if enabled.
-
#message ⇒ String
The message to be sent with each email.
-
#recipients ⇒ Array<Google::Apis::DfareportingV2_6::Recipient>
The list of recipients to which to email the report.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Delivery
constructor
A new instance of Delivery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Delivery
Returns a new instance of Delivery.
9681 9682 9683 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 9681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email_owner ⇒ Boolean Also known as: email_owner?
Whether the report should be emailed to the report owner.
Corresponds to the JSON property emailOwner
9663 9664 9665 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 9663 def email_owner @email_owner end |
#email_owner_delivery_type ⇒ String
The type of delivery for the owner to receive, if enabled.
Corresponds to the JSON property emailOwnerDeliveryType
9669 9670 9671 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 9669 def email_owner_delivery_type @email_owner_delivery_type end |
#message ⇒ String
The message to be sent with each email.
Corresponds to the JSON property message
9674 9675 9676 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 9674 def @message end |
#recipients ⇒ Array<Google::Apis::DfareportingV2_6::Recipient>
The list of recipients to which to email the report.
Corresponds to the JSON property recipients
9679 9680 9681 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 9679 def recipients @recipients end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9686 9687 9688 9689 9690 9691 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 9686 def update!(**args) @email_owner = args[:email_owner] if args.key?(:email_owner) @email_owner_delivery_type = args[:email_owner_delivery_type] if args.key?(:email_owner_delivery_type) @message = args[:message] if args.key?(:message) @recipients = args[:recipients] if args.key?(:recipients) end |