Class: Google::Apis::PartnersV2::HistoricalOffer
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PartnersV2::HistoricalOffer
 
 
- 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
Historical information about a Google Partners Offer.
Instance Attribute Summary collapse
- 
  
    
      #adwords_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Client's AdWords page URL.
 - 
  
    
      #client_email  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Email address for client.
 - 
  
    
      #client_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
ID of client.
 - 
  
    
      #client_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Name of the client.
 - 
  
    
      #creation_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Time offer was first created.
 - 
  
    
      #expiration_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Time this offer expires.
 - 
  
    
      #last_modified_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Time last action was taken.
 - 
  
    
      #offer_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Offer code.
 - 
  
    
      #offer_country_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Country Code for the offer country.
 - 
  
    
      #offer_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Type of offer.
 - 
  
    
      #sender_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Name (First + Last) of the partners user to whom the incentive is allocated.
 - 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Status of the offer.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ HistoricalOffer 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of HistoricalOffer.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HistoricalOffer
Returns a new instance of HistoricalOffer
      1018 1019 1020  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1018 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#adwords_url ⇒ String
Client's AdWords page URL.
Corresponds to the JSON property adwordsUrl
      961 962 963  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 961 def adwords_url @adwords_url end  | 
  
#client_email ⇒ String
Email address for client.
Corresponds to the JSON property clientEmail
      966 967 968  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 966 def client_email @client_email end  | 
  
#client_id ⇒ Fixnum
ID of client.
Corresponds to the JSON property clientId
      971 972 973  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 971 def client_id @client_id end  | 
  
#client_name ⇒ String
Name of the client.
Corresponds to the JSON property clientName
      976 977 978  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 976 def client_name @client_name end  | 
  
#creation_time ⇒ String
Time offer was first created.
Corresponds to the JSON property creationTime
      981 982 983  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 981 def creation_time @creation_time end  | 
  
#expiration_time ⇒ String
Time this offer expires.
Corresponds to the JSON property expirationTime
      986 987 988  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 986 def expiration_time @expiration_time end  | 
  
#last_modified_time ⇒ String
Time last action was taken.
Corresponds to the JSON property lastModifiedTime
      991 992 993  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 991 def last_modified_time @last_modified_time end  | 
  
#offer_code ⇒ String
Offer code.
Corresponds to the JSON property offerCode
      996 997 998  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 996 def offer_code @offer_code end  | 
  
#offer_country_code ⇒ String
Country Code for the offer country.
Corresponds to the JSON property offerCountryCode
      1001 1002 1003  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1001 def offer_country_code @offer_country_code end  | 
  
#offer_type ⇒ String
Type of offer.
Corresponds to the JSON property offerType
      1006 1007 1008  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1006 def offer_type @offer_type end  | 
  
#sender_name ⇒ String
Name (First + Last) of the partners user to whom the incentive is allocated.
Corresponds to the JSON property senderName
      1011 1012 1013  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1011 def sender_name @sender_name end  | 
  
#status ⇒ String
Status of the offer.
Corresponds to the JSON property status
      1016 1017 1018  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1016 def status @status end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1023 def update!(**args) @adwords_url = args[:adwords_url] if args.key?(:adwords_url) @client_email = args[:client_email] if args.key?(:client_email) @client_id = args[:client_id] if args.key?(:client_id) @client_name = args[:client_name] if args.key?(:client_name) @creation_time = args[:creation_time] if args.key?(:creation_time) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) @offer_code = args[:offer_code] if args.key?(:offer_code) @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) @offer_type = args[:offer_type] if args.key?(:offer_type) @sender_name = args[:sender_name] if args.key?(:sender_name) @status = args[:status] if args.key?(:status) end  |