Class: Google::Apis::DfareportingV2_1::Recipient
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::Recipient
- 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
Represents a recipient.
Instance Attribute Summary collapse
-
#delivery_type ⇒ String
The delivery type for the recipient.
-
#email ⇒ String
The email address of the recipient.
-
#kind ⇒ String
The kind of resource this is, in this case dfareporting#recipient.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Recipient
constructor
A new instance of Recipient.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Recipient
Returns a new instance of Recipient
8548 8549 8550 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8548 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delivery_type ⇒ String
The delivery type for the recipient.
Corresponds to the JSON property deliveryType
8536 8537 8538 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8536 def delivery_type @delivery_type end |
#email ⇒ String
The email address of the recipient.
Corresponds to the JSON property email
8541 8542 8543 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8541 def email @email end |
#kind ⇒ String
The kind of resource this is, in this case dfareporting#recipient.
Corresponds to the JSON property kind
8546 8547 8548 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8546 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8553 8554 8555 8556 8557 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8553 def update!(**args) @delivery_type = args[:delivery_type] unless args[:delivery_type].nil? @email = args[:email] unless args[:email].nil? @kind = args[:kind] unless args[:kind].nil? end |