Class: Google::Cloud::Talent::V4beta1::EmployerFilter
- Inherits:
-
Object
- Object
- Google::Cloud::Talent::V4beta1::EmployerFilter
- Defined in:
- lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb
Overview
Input only.
Employer filter of the search.
Defined Under Namespace
Modules: EmployerFilterMode
Instance Attribute Summary collapse
-
#employer ⇒ String
Required.
-
#mode ⇒ Google::Cloud::Talent::V4beta1::EmployerFilter::EmployerFilterMode
Optional.
-
#negated ⇒ true, false
Optional.
Instance Attribute Details
#employer ⇒ String
Returns Required.
The name of the employer, for example "Google", "Alphabet".
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 594 class EmployerFilter # Enum indicating which set of {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records} to search # against. module EmployerFilterMode # Default value. EMPLOYER_FILTER_MODE_UNSPECIFIED = 0 # Apply to all employers in {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records}. ALL_EMPLOYMENT_RECORDS = 1 # Apply only to current employer in {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records}. CURRENT_EMPLOYMENT_RECORDS_ONLY = 2 # Apply only to past (not current) employers in # {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records}. PAST_EMPLOYMENT_RECORDS_ONLY = 3 end end |
#mode ⇒ Google::Cloud::Talent::V4beta1::EmployerFilter::EmployerFilterMode
Returns Optional.
Define set of EmploymentRecords to search against.
Defaults to EmployerFilterMode::ALL_EMPLOYMENT_RECORDS.
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 594 class EmployerFilter # Enum indicating which set of {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records} to search # against. module EmployerFilterMode # Default value. EMPLOYER_FILTER_MODE_UNSPECIFIED = 0 # Apply to all employers in {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records}. ALL_EMPLOYMENT_RECORDS = 1 # Apply only to current employer in {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records}. CURRENT_EMPLOYMENT_RECORDS_ONLY = 2 # Apply only to past (not current) employers in # {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records}. PAST_EMPLOYMENT_RECORDS_ONLY = 3 end end |
#negated ⇒ true, false
Returns Optional.
Whether to apply negation to the filter so profiles matching the filter is excluded.
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 594 class EmployerFilter # Enum indicating which set of {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records} to search # against. module EmployerFilterMode # Default value. EMPLOYER_FILTER_MODE_UNSPECIFIED = 0 # Apply to all employers in {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records}. ALL_EMPLOYMENT_RECORDS = 1 # Apply only to current employer in {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records}. CURRENT_EMPLOYMENT_RECORDS_ONLY = 2 # Apply only to past (not current) employers in # {Google::Cloud::Talent::V4beta1::Profile#employment_records Profile#employment_records}. PAST_EMPLOYMENT_RECORDS_ONLY = 3 end end |