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

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

Overview

The report event request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreateClientEventRequest

Returns a new instance of CreateClientEventRequest.



753
754
755
# File 'generated/google/apis/jobs_v3/classes.rb', line 753

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



751
752
753
# File 'generated/google/apis/jobs_v3/classes.rb', line 751

def client_event
  @client_event
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



758
759
760
# File 'generated/google/apis/jobs_v3/classes.rb', line 758

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