class Google::Apis::DfareportingV2_1::Report::Delivery

The report's email delivery settings.

Attributes

email_owner[RW]

Whether the report should be emailed to the report owner. Corresponds to the JSON property `emailOwner` @return [Boolean]

email_owner?[RW]

Whether the report should be emailed to the report owner. Corresponds to the JSON property `emailOwner` @return [Boolean]

email_owner_delivery_type[RW]

The type of delivery for the owner to receive, if enabled. Corresponds to the JSON property `emailOwnerDeliveryType` @return [String]

message[RW]

The message to be sent with each email. Corresponds to the JSON property `message` @return [String]

recipients[RW]

The list of recipients to which to email the report. Corresponds to the JSON property `recipients` @return [Array<Google::Apis::DfareportingV2_1::Recipient>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 9069
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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