# Cloud Talent Solution V4 API - Class Google::Cloud::Talent::V4::JobEvent (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.1 0.9.1 0.8.1 0.7.0 0.6.4 Reference documentation and code samples for the Cloud Talent Solution V4 API class Google::Cloud::Talent::V4::JobEvent.

An event issued when a job seeker interacts with the application that
implements Cloud Talent Solution.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #jobs

    def jobs() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Required. The \[job name(s)\]\[google.cloud.talent.v4.Job.name\] associated with this event. For example, if this is an [impression](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType#Google__Cloud__Talent__V4__JobEvent__JobEventType__IMPRESSION "Google::Cloud::Talent::V4::JobEvent::JobEventType::IMPRESSION (constant)") event, this field contains the identifiers of all jobs shown to the job seeker. If this was a [view](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType#Google__Cloud__Talent__V4__JobEvent__JobEventType__VIEW "Google::Cloud::Talent::V4::JobEvent::JobEventType::VIEW (constant)") event, this field contains the identifier of the viewed job.


  The format is
  "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
  example, "projects/foo/tenants/bar/jobs/baz".

### #jobs=

    def jobs=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Required. The \[job name(s)\]\[google.cloud.talent.v4.Job.name\] associated with this event. For example, if this is an [impression](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType#Google__Cloud__Talent__V4__JobEvent__JobEventType__IMPRESSION "Google::Cloud::Talent::V4::JobEvent::JobEventType::IMPRESSION (constant)") event, this field contains the identifiers of all jobs shown to the job seeker. If this was a [view](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType#Google__Cloud__Talent__V4__JobEvent__JobEventType__VIEW "Google::Cloud::Talent::V4::JobEvent::JobEventType::VIEW (constant)") event, this field contains the identifier of the viewed job.


  The format is
  "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
  example, "projects/foo/tenants/bar/jobs/baz".
**Returns**

- (::Array\<::String\>) --- Required. The \[job name(s)\]\[google.cloud.talent.v4.Job.name\] associated with this event. For example, if this is an [impression](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType#Google__Cloud__Talent__V4__JobEvent__JobEventType__IMPRESSION "Google::Cloud::Talent::V4::JobEvent::JobEventType::IMPRESSION (constant)") event, this field contains the identifiers of all jobs shown to the job seeker. If this was a [view](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType#Google__Cloud__Talent__V4__JobEvent__JobEventType__VIEW "Google::Cloud::Talent::V4::JobEvent::JobEventType::VIEW (constant)") event, this field contains the identifier of the viewed job.


  The format is
  "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
  example, "projects/foo/tenants/bar/jobs/baz".

### #type

    def type() -> ::Google::Cloud::Talent::V4::JobEvent::JobEventType

**Returns**

- ([::Google::Cloud::Talent::V4::JobEvent::JobEventType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType)) --- Required. The type of the event (see [JobEventType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType "Google::Cloud::Talent::V4::JobEvent::JobEventType (module)")).

### #type=

    def type=(value) -> ::Google::Cloud::Talent::V4::JobEvent::JobEventType

**Parameter**

- **value** ([::Google::Cloud::Talent::V4::JobEvent::JobEventType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType)) --- Required. The type of the event (see [JobEventType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType "Google::Cloud::Talent::V4::JobEvent::JobEventType (module)")).
**Returns**

- ([::Google::Cloud::Talent::V4::JobEvent::JobEventType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType)) --- Required. The type of the event (see [JobEventType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-JobEvent-JobEventType "Google::Cloud::Talent::V4::JobEvent::JobEventType (module)")).