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

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".



668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 668

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 Define set of EmploymentRecords to search against.

Defaults to EmployerFilterMode::ALL_EMPLOYMENT_RECORDS.



668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 668

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 Whether to apply negation to the filter so profiles matching the filter is excluded.

Returns:

  • (true, false)

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



668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb', line 668

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