Class: Google::Cloud::Talent::V4::SearchJobsResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/talent/v4/job_service.rb

Overview

Response for SearchJob method.

Defined Under Namespace

Classes: CommuteInfo, MatchingJob

Instance Attribute Summary collapse

Instance Attribute Details

#broadened_query_jobs_count::Integer

Returns If query broadening is enabled, we may append additional results from the broadened query. This number indicates how many of the jobs returned in the jobs field are from the broadened query. These results are always at the end of the jobs list. In particular, a value of 0, or if the field isn’t set, all the jobs in the jobs list are from the original (without broadening) query. If this field is non-zero, subsequent requests with offset after this result set should contain all broadened results.

Returns:

  • (::Integer)

    If query broadening is enabled, we may append additional results from the broadened query. This number indicates how many of the jobs returned in the jobs field are from the broadened query. These results are always at the end of the jobs list. In particular, a value of 0, or if the field isn’t set, all the jobs in the jobs list are from the original (without broadening) query. If this field is non-zero, subsequent requests with offset after this result set should contain all broadened results.



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# File 'proto_docs/google/cloud/talent/v4/job_service.rb', line 677

class SearchJobsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Job entry with metadata inside
  # {::Google::Cloud::Talent::V4::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [::Google::Cloud::Talent::V4::Job]
  #     Job resource that matches the specified
  #     {::Google::Cloud::Talent::V4::SearchJobsRequest SearchJobsRequest}.
  # @!attribute [rw] job_summary
  #   @return [::String]
  #     A summary of the job with core information that's displayed on the search
  #     results listing page.
  # @!attribute [rw] job_title_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#title Job.title} field most closely matching
  #     a search query's keywords, if available. The matching query keywords are
  #     enclosed in HTML bold tags.
  # @!attribute [rw] search_text_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#description Job.description} and similar
  #     fields that most closely match a search query's keywords, if available.
  #     All HTML tags in the original fields are stripped when returned in this
  #     field, and matching query keywords are enclosed in HTML bold tags.
  # @!attribute [rw] commute_info
  #   @return [::Google::Cloud::Talent::V4::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {::Google::Cloud::Talent::V4::CommuteFilter CommuteFilter}.
  class MatchingJob
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [::Google::Cloud::Talent::V4::Location]
  #     Location used as the destination in the commute calculation.
  # @!attribute [rw] travel_duration
  #   @return [::Google::Protobuf::Duration]
  #     The number of seconds required to travel to the job location from the
  #     query location. A duration of 0 seconds indicates that the job isn't
  #     reachable within the requested duration, but was returned as part of an
  #     expanded query.
  class CommuteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#histogram_query_results::Array<::Google::Cloud::Talent::V4::HistogramQueryResult>

Returns The histogram results that match with specified SearchJobsRequest.histogram_queries.

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# File 'proto_docs/google/cloud/talent/v4/job_service.rb', line 677

class SearchJobsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Job entry with metadata inside
  # {::Google::Cloud::Talent::V4::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [::Google::Cloud::Talent::V4::Job]
  #     Job resource that matches the specified
  #     {::Google::Cloud::Talent::V4::SearchJobsRequest SearchJobsRequest}.
  # @!attribute [rw] job_summary
  #   @return [::String]
  #     A summary of the job with core information that's displayed on the search
  #     results listing page.
  # @!attribute [rw] job_title_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#title Job.title} field most closely matching
  #     a search query's keywords, if available. The matching query keywords are
  #     enclosed in HTML bold tags.
  # @!attribute [rw] search_text_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#description Job.description} and similar
  #     fields that most closely match a search query's keywords, if available.
  #     All HTML tags in the original fields are stripped when returned in this
  #     field, and matching query keywords are enclosed in HTML bold tags.
  # @!attribute [rw] commute_info
  #   @return [::Google::Cloud::Talent::V4::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {::Google::Cloud::Talent::V4::CommuteFilter CommuteFilter}.
  class MatchingJob
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [::Google::Cloud::Talent::V4::Location]
  #     Location used as the destination in the commute calculation.
  # @!attribute [rw] travel_duration
  #   @return [::Google::Protobuf::Duration]
  #     The number of seconds required to travel to the job location from the
  #     query location. A duration of 0 seconds indicates that the job isn't
  #     reachable within the requested duration, but was returned as part of an
  #     expanded query.
  class CommuteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#location_filters::Array<::Google::Cloud::Talent::V4::Location>

Returns The location filters that the service applied to the specified query. If any filters are lat-lng based, the Location.location_type is Location.LocationType.LOCATION_TYPE_UNSPECIFIED.

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# File 'proto_docs/google/cloud/talent/v4/job_service.rb', line 677

class SearchJobsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Job entry with metadata inside
  # {::Google::Cloud::Talent::V4::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [::Google::Cloud::Talent::V4::Job]
  #     Job resource that matches the specified
  #     {::Google::Cloud::Talent::V4::SearchJobsRequest SearchJobsRequest}.
  # @!attribute [rw] job_summary
  #   @return [::String]
  #     A summary of the job with core information that's displayed on the search
  #     results listing page.
  # @!attribute [rw] job_title_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#title Job.title} field most closely matching
  #     a search query's keywords, if available. The matching query keywords are
  #     enclosed in HTML bold tags.
  # @!attribute [rw] search_text_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#description Job.description} and similar
  #     fields that most closely match a search query's keywords, if available.
  #     All HTML tags in the original fields are stripped when returned in this
  #     field, and matching query keywords are enclosed in HTML bold tags.
  # @!attribute [rw] commute_info
  #   @return [::Google::Cloud::Talent::V4::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {::Google::Cloud::Talent::V4::CommuteFilter CommuteFilter}.
  class MatchingJob
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [::Google::Cloud::Talent::V4::Location]
  #     Location used as the destination in the commute calculation.
  # @!attribute [rw] travel_duration
  #   @return [::Google::Protobuf::Duration]
  #     The number of seconds required to travel to the job location from the
  #     query location. A duration of 0 seconds indicates that the job isn't
  #     reachable within the requested duration, but was returned as part of an
  #     expanded query.
  class CommuteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#matching_jobs::Array<::Google::Cloud::Talent::V4::SearchJobsResponse::MatchingJob>

Returns The Job entities that match the specified SearchJobsRequest.

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# File 'proto_docs/google/cloud/talent/v4/job_service.rb', line 677

class SearchJobsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Job entry with metadata inside
  # {::Google::Cloud::Talent::V4::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [::Google::Cloud::Talent::V4::Job]
  #     Job resource that matches the specified
  #     {::Google::Cloud::Talent::V4::SearchJobsRequest SearchJobsRequest}.
  # @!attribute [rw] job_summary
  #   @return [::String]
  #     A summary of the job with core information that's displayed on the search
  #     results listing page.
  # @!attribute [rw] job_title_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#title Job.title} field most closely matching
  #     a search query's keywords, if available. The matching query keywords are
  #     enclosed in HTML bold tags.
  # @!attribute [rw] search_text_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#description Job.description} and similar
  #     fields that most closely match a search query's keywords, if available.
  #     All HTML tags in the original fields are stripped when returned in this
  #     field, and matching query keywords are enclosed in HTML bold tags.
  # @!attribute [rw] commute_info
  #   @return [::Google::Cloud::Talent::V4::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {::Google::Cloud::Talent::V4::CommuteFilter CommuteFilter}.
  class MatchingJob
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [::Google::Cloud::Talent::V4::Location]
  #     Location used as the destination in the commute calculation.
  # @!attribute [rw] travel_duration
  #   @return [::Google::Protobuf::Duration]
  #     The number of seconds required to travel to the job location from the
  #     query location. A duration of 0 seconds indicates that the job isn't
  #     reachable within the requested duration, but was returned as part of an
  #     expanded query.
  class CommuteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#metadata::Google::Cloud::Talent::V4::ResponseMetadata

Returns Additional information for the API invocation, such as the request tracking id.

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# File 'proto_docs/google/cloud/talent/v4/job_service.rb', line 677

class SearchJobsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Job entry with metadata inside
  # {::Google::Cloud::Talent::V4::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [::Google::Cloud::Talent::V4::Job]
  #     Job resource that matches the specified
  #     {::Google::Cloud::Talent::V4::SearchJobsRequest SearchJobsRequest}.
  # @!attribute [rw] job_summary
  #   @return [::String]
  #     A summary of the job with core information that's displayed on the search
  #     results listing page.
  # @!attribute [rw] job_title_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#title Job.title} field most closely matching
  #     a search query's keywords, if available. The matching query keywords are
  #     enclosed in HTML bold tags.
  # @!attribute [rw] search_text_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#description Job.description} and similar
  #     fields that most closely match a search query's keywords, if available.
  #     All HTML tags in the original fields are stripped when returned in this
  #     field, and matching query keywords are enclosed in HTML bold tags.
  # @!attribute [rw] commute_info
  #   @return [::Google::Cloud::Talent::V4::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {::Google::Cloud::Talent::V4::CommuteFilter CommuteFilter}.
  class MatchingJob
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [::Google::Cloud::Talent::V4::Location]
  #     Location used as the destination in the commute calculation.
  # @!attribute [rw] travel_duration
  #   @return [::Google::Protobuf::Duration]
  #     The number of seconds required to travel to the job location from the
  #     query location. A duration of 0 seconds indicates that the job isn't
  #     reachable within the requested duration, but was returned as part of an
  #     expanded query.
  class CommuteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#next_page_token::String

Returns The token that specifies the starting position of the next page of results. This field is empty if there are no more results.

Returns:

  • (::String)

    The token that specifies the starting position of the next page of results. This field is empty if there are no more results.



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# File 'proto_docs/google/cloud/talent/v4/job_service.rb', line 677

class SearchJobsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Job entry with metadata inside
  # {::Google::Cloud::Talent::V4::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [::Google::Cloud::Talent::V4::Job]
  #     Job resource that matches the specified
  #     {::Google::Cloud::Talent::V4::SearchJobsRequest SearchJobsRequest}.
  # @!attribute [rw] job_summary
  #   @return [::String]
  #     A summary of the job with core information that's displayed on the search
  #     results listing page.
  # @!attribute [rw] job_title_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#title Job.title} field most closely matching
  #     a search query's keywords, if available. The matching query keywords are
  #     enclosed in HTML bold tags.
  # @!attribute [rw] search_text_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#description Job.description} and similar
  #     fields that most closely match a search query's keywords, if available.
  #     All HTML tags in the original fields are stripped when returned in this
  #     field, and matching query keywords are enclosed in HTML bold tags.
  # @!attribute [rw] commute_info
  #   @return [::Google::Cloud::Talent::V4::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {::Google::Cloud::Talent::V4::CommuteFilter CommuteFilter}.
  class MatchingJob
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [::Google::Cloud::Talent::V4::Location]
  #     Location used as the destination in the commute calculation.
  # @!attribute [rw] travel_duration
  #   @return [::Google::Protobuf::Duration]
  #     The number of seconds required to travel to the job location from the
  #     query location. A duration of 0 seconds indicates that the job isn't
  #     reachable within the requested duration, but was returned as part of an
  #     expanded query.
  class CommuteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#spell_correction::Google::Cloud::Talent::V4::SpellingCorrection

Returns The spell checking result, and correction.

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# File 'proto_docs/google/cloud/talent/v4/job_service.rb', line 677

class SearchJobsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Job entry with metadata inside
  # {::Google::Cloud::Talent::V4::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [::Google::Cloud::Talent::V4::Job]
  #     Job resource that matches the specified
  #     {::Google::Cloud::Talent::V4::SearchJobsRequest SearchJobsRequest}.
  # @!attribute [rw] job_summary
  #   @return [::String]
  #     A summary of the job with core information that's displayed on the search
  #     results listing page.
  # @!attribute [rw] job_title_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#title Job.title} field most closely matching
  #     a search query's keywords, if available. The matching query keywords are
  #     enclosed in HTML bold tags.
  # @!attribute [rw] search_text_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#description Job.description} and similar
  #     fields that most closely match a search query's keywords, if available.
  #     All HTML tags in the original fields are stripped when returned in this
  #     field, and matching query keywords are enclosed in HTML bold tags.
  # @!attribute [rw] commute_info
  #   @return [::Google::Cloud::Talent::V4::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {::Google::Cloud::Talent::V4::CommuteFilter CommuteFilter}.
  class MatchingJob
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [::Google::Cloud::Talent::V4::Location]
  #     Location used as the destination in the commute calculation.
  # @!attribute [rw] travel_duration
  #   @return [::Google::Protobuf::Duration]
  #     The number of seconds required to travel to the job location from the
  #     query location. A duration of 0 seconds indicates that the job isn't
  #     reachable within the requested duration, but was returned as part of an
  #     expanded query.
  class CommuteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#total_size::Integer

Returns Number of jobs that match the specified query.

Note: This size is precise only if the total is less than 100,000.

Returns:

  • (::Integer)

    Number of jobs that match the specified query.

    Note: This size is precise only if the total is less than 100,000.



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# File 'proto_docs/google/cloud/talent/v4/job_service.rb', line 677

class SearchJobsResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Job entry with metadata inside
  # {::Google::Cloud::Talent::V4::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [::Google::Cloud::Talent::V4::Job]
  #     Job resource that matches the specified
  #     {::Google::Cloud::Talent::V4::SearchJobsRequest SearchJobsRequest}.
  # @!attribute [rw] job_summary
  #   @return [::String]
  #     A summary of the job with core information that's displayed on the search
  #     results listing page.
  # @!attribute [rw] job_title_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#title Job.title} field most closely matching
  #     a search query's keywords, if available. The matching query keywords are
  #     enclosed in HTML bold tags.
  # @!attribute [rw] search_text_snippet
  #   @return [::String]
  #     Contains snippets of text from the
  #     {::Google::Cloud::Talent::V4::Job#description Job.description} and similar
  #     fields that most closely match a search query's keywords, if available.
  #     All HTML tags in the original fields are stripped when returned in this
  #     field, and matching query keywords are enclosed in HTML bold tags.
  # @!attribute [rw] commute_info
  #   @return [::Google::Cloud::Talent::V4::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {::Google::Cloud::Talent::V4::CommuteFilter CommuteFilter}.
  class MatchingJob
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [::Google::Cloud::Talent::V4::Location]
  #     Location used as the destination in the commute calculation.
  # @!attribute [rw] travel_duration
  #   @return [::Google::Protobuf::Duration]
  #     The number of seconds required to travel to the job location from the
  #     query location. A duration of 0 seconds indicates that the job isn't
  #     reachable within the requested duration, but was returned as part of an
  #     expanded query.
  class CommuteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end