Class: Google::Apis::DfareportingV2_1::Report::Delivery
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::Report::Delivery
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/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_1::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::Hashable
Constructor Details
#initialize(**args) ⇒ Delivery
Returns a new instance of Delivery
9069 9070 9071 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9069 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
9051 9052 9053 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9051 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
9057 9058 9059 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9057 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
9062 9063 9064 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9062 def @message end |
#recipients ⇒ Array<Google::Apis::DfareportingV2_1::Recipient>
The list of recipients to which to email the report.
Corresponds to the JSON property recipients
9067 9068 9069 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9067 def recipients @recipients end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9074 9075 9076 9077 9078 9079 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9074 def update!(**args) @email_owner = args[:email_owner] unless args[:email_owner].nil? @email_owner_delivery_type = args[:email_owner_delivery_type] unless args[:email_owner_delivery_type].nil? @message = args[:message] unless args[:message].nil? @recipients = args[:recipients] unless args[:recipients].nil? end |