Class: Google::Apis::JobsV3::CreateClientEventRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/jobs_v3/classes.rb,
lib/google/apis/jobs_v3/representations.rb,
lib/google/apis/jobs_v3/representations.rb

Overview

The report event request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateClientEventRequest

Returns a new instance of CreateClientEventRequest.



708
709
710
# File 'lib/google/apis/jobs_v3/classes.rb', line 708

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#client_eventGoogle::Apis::JobsV3::ClientEvent

An event issued when an end user interacts with the application that implements Cloud Talent Solution. Providing this information improves the quality of search and recommendation for the API clients, enabling the service to perform optimally. The number of events sent must be consistent with other calls, such as job searches, issued to the service by the client. Corresponds to the JSON property clientEvent



706
707
708
# File 'lib/google/apis/jobs_v3/classes.rb', line 706

def client_event
  @client_event
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



713
714
715
# File 'lib/google/apis/jobs_v3/classes.rb', line 713

def update!(**args)
  @client_event = args[:client_event] if args.key?(:client_event)
end