Class: Google::Apis::DfareportingV3_3::Report::Delivery

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_3/classes.rb,
generated/google/apis/dfareporting_v3_3/representations.rb,
generated/google/apis/dfareporting_v3_3/representations.rb

Overview

The report's email delivery settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Delivery

Returns a new instance of Delivery.



9992
9993
9994
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9992

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#email_ownerBoolean Also known as: email_owner?

Whether the report should be emailed to the report owner. Corresponds to the JSON property emailOwner

Returns:

  • (Boolean)


9974
9975
9976
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9974

def email_owner
  @email_owner
end

#email_owner_delivery_typeString

The type of delivery for the owner to receive, if enabled. Corresponds to the JSON property emailOwnerDeliveryType

Returns:

  • (String)


9980
9981
9982
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9980

def email_owner_delivery_type
  @email_owner_delivery_type
end

#messageString

The message to be sent with each email. Corresponds to the JSON property message

Returns:

  • (String)


9985
9986
9987
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9985

def message
  @message
end

#recipientsArray<Google::Apis::DfareportingV3_3::Recipient>

The list of recipients to which to email the report. Corresponds to the JSON property recipients



9990
9991
9992
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9990

def recipients
  @recipients
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9997
9998
9999
10000
10001
10002
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9997

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