Class: Google::Cloud::Talent::V4beta1::EmployerFilter

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#employerString

Returns Required.

The name of the employer, for example "Google", "Alphabet".

Returns:

  • (String)

    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

#modeGoogle::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

#negatedtrue, false

Returns Optional.

Whether to apply negation to the filter so profiles matching the filter is excluded.

Returns:

  • (true, false)

    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