Class: Google::Apis::PartnersV2::LogUserEventRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::LogUserEventRequest
 
- 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
Request message for LogUserEvent.
Instance Attribute Summary collapse
- 
  
    
      #event_action  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The action that occurred. 
- 
  
    
      #event_category  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The category the action belongs to. 
- 
  
    
      #event_datas  ⇒ Array<Google::Apis::PartnersV2::EventData> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of event data for the event. 
- 
  
    
      #event_scope  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The scope of the event. 
- 
  
    
      #lead  ⇒ Google::Apis::PartnersV2::Lead 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A lead resource that represents an advertiser contact for a Company.
- 
  
    
      #request_metadata  ⇒ Google::Apis::PartnersV2::RequestMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Common data that is in each API request. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL where the event occurred. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LogUserEventRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of LogUserEventRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LogUserEventRequest
Returns a new instance of LogUserEventRequest
| 1616 1617 1618 | # File 'generated/google/apis/partners_v2/classes.rb', line 1616 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#event_action ⇒ String
The action that occurred.
Corresponds to the JSON property eventAction
| 1583 1584 1585 | # File 'generated/google/apis/partners_v2/classes.rb', line 1583 def event_action @event_action end | 
#event_category ⇒ String
The category the action belongs to.
Corresponds to the JSON property eventCategory
| 1588 1589 1590 | # File 'generated/google/apis/partners_v2/classes.rb', line 1588 def event_category @event_category end | 
#event_datas ⇒ Array<Google::Apis::PartnersV2::EventData>
List of event data for the event.
Corresponds to the JSON property eventDatas
| 1593 1594 1595 | # File 'generated/google/apis/partners_v2/classes.rb', line 1593 def event_datas @event_datas end | 
#event_scope ⇒ String
The scope of the event.
Corresponds to the JSON property eventScope
| 1598 1599 1600 | # File 'generated/google/apis/partners_v2/classes.rb', line 1598 def event_scope @event_scope end | 
#lead ⇒ Google::Apis::PartnersV2::Lead
A lead resource that represents an advertiser contact for a Company. These
are usually generated via Google Partner Search (the advertiser portal).
Corresponds to the JSON property lead
| 1604 1605 1606 | # File 'generated/google/apis/partners_v2/classes.rb', line 1604 def lead @lead end | 
#request_metadata ⇒ Google::Apis::PartnersV2::RequestMetadata
Common data that is in each API request.
Corresponds to the JSON property requestMetadata
| 1609 1610 1611 | # File 'generated/google/apis/partners_v2/classes.rb', line 1609 def @request_metadata end | 
#url ⇒ String
The URL where the event occurred.
Corresponds to the JSON property url
| 1614 1615 1616 | # File 'generated/google/apis/partners_v2/classes.rb', line 1614 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1621 1622 1623 1624 1625 1626 1627 1628 1629 | # File 'generated/google/apis/partners_v2/classes.rb', line 1621 def update!(**args) @event_action = args[:event_action] if args.key?(:event_action) @event_category = args[:event_category] if args.key?(:event_category) @event_datas = args[:event_datas] if args.key?(:event_datas) @event_scope = args[:event_scope] if args.key?(:event_scope) @lead = args[:lead] if args.key?(:lead) @request_metadata = args[:request_metadata] if args.key?(:request_metadata) @url = args[:url] if args.key?(:url) end |