class Google::Apis::PartnersV2::LogUserEventRequest
Request message for LogUserEvent.
Attributes
The action that occurred. Corresponds to the JSON property `eventAction` @return [String]
The category the action belongs to. Corresponds to the JSON property `eventCategory` @return [String]
List of event data for the event. Corresponds to the JSON property `eventDatas` @return [Array<Google::Apis::PartnersV2::EventData>]
The scope of the event. Corresponds to the JSON property `eventScope` @return [String]
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` @return [Google::Apis::PartnersV2::Lead]
Common data that is in each API request. Corresponds to the JSON property `requestMetadata` @return [Google::Apis::PartnersV2::RequestMetadata]
The URL where the event occurred. Corresponds to the JSON property `url` @return [String]
Public Class Methods
# File generated/google/apis/partners_v2/classes.rb, line 65 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/partners_v2/classes.rb, line 70 def update!(**args) @request_metadata = args[:request_metadata] if args.key?(:request_metadata) @event_action = args[:event_action] if args.key?(:event_action) @event_category = args[:event_category] if args.key?(:event_category) @event_scope = args[:event_scope] if args.key?(:event_scope) @event_datas = args[:event_datas] if args.key?(:event_datas) @url = args[:url] if args.key?(:url) @lead = args[:lead] if args.key?(:lead) end