Class: Google::Apis::JobsV3::JobEvent
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3::JobEvent
- 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
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
Instance Attribute Summary collapse
-
#jobs ⇒ Array<String>
Required.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobEvent
constructor
A new instance of JobEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobEvent
Returns a new instance of JobEvent.
1437 1438 1439 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 1437 def initialize(**args) update!(**args) end |
Instance Attribute Details
#jobs ⇒ Array<String>
Required. The job name(s) associated with this event.
For example, if this is an impression event,
this field contains the identifiers of all jobs shown to the job seeker.
If this was a view event, this field contains the
identifier of the viewed job.
Corresponds to the JSON property jobs
1430 1431 1432 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 1430 def jobs @jobs end |
#type ⇒ String
Required. The type of the event (see JobEventType).
Corresponds to the JSON property type
1435 1436 1437 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 1435 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1442 1443 1444 1445 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 1442 def update!(**args) @jobs = args[:jobs] if args.key?(:jobs) @type = args[:type] if args.key?(:type) end |