Class: Google::Apis::PartnersV2::OptIns
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PartnersV2::OptIns
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/partners_v2/classes.rb,
generated/google/apis/partners_v2/representations.rb,
generated/google/apis/partners_v2/representations.rb 
Overview
A set of opt-ins for a user.
Instance Attribute Summary collapse
- 
  
    
      #market_comm  ⇒ Boolean 
    
    
      (also: #market_comm?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An opt-in about receiving email from Partners marketing teams.
 - 
  
    
      #performance_suggestions  ⇒ Boolean 
    
    
      (also: #performance_suggestions?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An opt-in about receiving email with customized AdWords campaign management tips.
 - 
  
    
      #phone_contact  ⇒ Boolean 
    
    
      (also: #phone_contact?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An opt-in to allow recieivng phone calls about their Partners account.
 - 
  
    
      #physical_mail  ⇒ Boolean 
    
    
      (also: #physical_mail?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An opt-in to receive special promotional gifts and material in the mail.
 - 
  
    
      #special_offers  ⇒ Boolean 
    
    
      (also: #special_offers?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An opt-in about receiving email regarding new features and products.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OptIns 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of OptIns.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OptIns
Returns a new instance of OptIns
      1799 1800 1801  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1799 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#market_comm ⇒ Boolean Also known as: market_comm?
An opt-in about receiving email from Partners marketing teams. Includes
member-only events and special promotional offers for Google products.
Corresponds to the JSON property marketComm
      1771 1772 1773  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1771 def market_comm @market_comm end  | 
  
#performance_suggestions ⇒ Boolean Also known as: performance_suggestions?
An opt-in about receiving email with customized AdWords campaign management
tips.
Corresponds to the JSON property performanceSuggestions
      1778 1779 1780  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1778 def performance_suggestions @performance_suggestions end  | 
  
#phone_contact ⇒ Boolean Also known as: phone_contact?
An opt-in to allow recieivng phone calls about their Partners account.
Corresponds to the JSON property phoneContact
      1784 1785 1786  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1784 def phone_contact @phone_contact end  | 
  
#physical_mail ⇒ Boolean Also known as: physical_mail?
An opt-in to receive special promotional gifts and material in the mail.
Corresponds to the JSON property physicalMail
      1790 1791 1792  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1790 def physical_mail @physical_mail end  | 
  
#special_offers ⇒ Boolean Also known as: special_offers?
An opt-in about receiving email regarding new features and products.
Corresponds to the JSON property specialOffers
      1796 1797 1798  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1796 def special_offers @special_offers end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1804 1805 1806 1807 1808 1809 1810  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1804 def update!(**args) @market_comm = args[:market_comm] if args.key?(:market_comm) @performance_suggestions = args[:performance_suggestions] if args.key?(:performance_suggestions) @phone_contact = args[:phone_contact] if args.key?(:phone_contact) @physical_mail = args[:physical_mail] if args.key?(:physical_mail) @special_offers = args[:special_offers] if args.key?(:special_offers) end  |