Class: Google::Apis::DfareportingV2_8::Recipient
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DfareportingV2_8::Recipient
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_8/classes.rb,
 generated/google/apis/dfareporting_v2_8/representations.rb,
 generated/google/apis/dfareporting_v2_8/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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Recipient
Returns a new instance of Recipient
| 9372 9373 9374 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9372 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#delivery_type ⇒ String
The delivery type for the recipient.
Corresponds to the JSON property deliveryType
| 9360 9361 9362 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9360 def delivery_type @delivery_type end | 
#email ⇒ String
The email address of the recipient.
Corresponds to the JSON property email
| 9365 9366 9367 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9365 def email @email end | 
#kind ⇒ String
The kind of resource this is, in this case dfareporting#recipient.
Corresponds to the JSON property kind
| 9370 9371 9372 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9370 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 9377 9378 9379 9380 9381 | # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 9377 def update!(**args) @delivery_type = args[:delivery_type] if args.key?(:delivery_type) @email = args[:email] if args.key?(:email) @kind = args[:kind] if args.key?(:kind) end |