Class: Google::Cloud::Talent::V4beta1::SearchJobsResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb

Overview

Output only.

Response for SearchJob method.

Defined Under Namespace

Classes: CommuteInfo, MatchingJob

Instance Attribute Summary collapse

Instance Attribute Details

#broadened_query_jobs_countInteger

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.



633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb', line 633

class SearchJobsResponse
  # Output only.
  #
  # Job entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [Google::Cloud::Talent::V4beta1::Job]
  #     Job resource that matches the specified {Google::Cloud::Talent::V4beta1::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 {Job#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::V4beta1::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::V4beta1::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {Google::Cloud::Talent::V4beta1::CommuteFilter CommuteFilter}.
  class MatchingJob; end

  # Output only.
  #
  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [Google::Cloud::Talent::V4beta1::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; end
end

#estimated_total_sizeInteger

Returns An estimation of the number of jobs that match the specified query.

This number isn't guaranteed to be accurate. For accurate results, see Enable_precise_result_size.

Returns:

  • (Integer)

    An estimation of the number of jobs that match the specified query.

    This number isn't guaranteed to be accurate. For accurate results, see Enable_precise_result_size.



633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb', line 633

class SearchJobsResponse
  # Output only.
  #
  # Job entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [Google::Cloud::Talent::V4beta1::Job]
  #     Job resource that matches the specified {Google::Cloud::Talent::V4beta1::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 {Job#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::V4beta1::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::V4beta1::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {Google::Cloud::Talent::V4beta1::CommuteFilter CommuteFilter}.
  class MatchingJob; end

  # Output only.
  #
  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [Google::Cloud::Talent::V4beta1::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; end
end

#histogram_query_resultsArray<Google::Cloud::Talent::V4beta1::HistogramQueryResult>

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

Returns:



633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb', line 633

class SearchJobsResponse
  # Output only.
  #
  # Job entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [Google::Cloud::Talent::V4beta1::Job]
  #     Job resource that matches the specified {Google::Cloud::Talent::V4beta1::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 {Job#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::V4beta1::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::V4beta1::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {Google::Cloud::Talent::V4beta1::CommuteFilter CommuteFilter}.
  class MatchingJob; end

  # Output only.
  #
  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [Google::Cloud::Talent::V4beta1::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; end
end

#location_filtersArray<Google::Cloud::Talent::V4beta1::Location>

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

Returns:

  • (Array<Google::Cloud::Talent::V4beta1::Location>)

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



633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb', line 633

class SearchJobsResponse
  # Output only.
  #
  # Job entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [Google::Cloud::Talent::V4beta1::Job]
  #     Job resource that matches the specified {Google::Cloud::Talent::V4beta1::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 {Job#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::V4beta1::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::V4beta1::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {Google::Cloud::Talent::V4beta1::CommuteFilter CommuteFilter}.
  class MatchingJob; end

  # Output only.
  #
  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [Google::Cloud::Talent::V4beta1::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; end
end

#matching_jobsArray<Google::Cloud::Talent::V4beta1::SearchJobsResponse::MatchingJob>

Returns The Job entities that match the specified SearchJobsRequest.

Returns:



633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb', line 633

class SearchJobsResponse
  # Output only.
  #
  # Job entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [Google::Cloud::Talent::V4beta1::Job]
  #     Job resource that matches the specified {Google::Cloud::Talent::V4beta1::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 {Job#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::V4beta1::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::V4beta1::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {Google::Cloud::Talent::V4beta1::CommuteFilter CommuteFilter}.
  class MatchingJob; end

  # Output only.
  #
  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [Google::Cloud::Talent::V4beta1::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; end
end

#metadataGoogle::Cloud::Talent::V4beta1::ResponseMetadata

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

Returns:



633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb', line 633

class SearchJobsResponse
  # Output only.
  #
  # Job entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [Google::Cloud::Talent::V4beta1::Job]
  #     Job resource that matches the specified {Google::Cloud::Talent::V4beta1::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 {Job#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::V4beta1::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::V4beta1::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {Google::Cloud::Talent::V4beta1::CommuteFilter CommuteFilter}.
  class MatchingJob; end

  # Output only.
  #
  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [Google::Cloud::Talent::V4beta1::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; end
end

#next_page_tokenString

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.



633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb', line 633

class SearchJobsResponse
  # Output only.
  #
  # Job entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [Google::Cloud::Talent::V4beta1::Job]
  #     Job resource that matches the specified {Google::Cloud::Talent::V4beta1::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 {Job#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::V4beta1::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::V4beta1::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {Google::Cloud::Talent::V4beta1::CommuteFilter CommuteFilter}.
  class MatchingJob; end

  # Output only.
  #
  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [Google::Cloud::Talent::V4beta1::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; end
end

#spell_correctionGoogle::Cloud::Talent::V4beta1::SpellingCorrection

Returns The spell checking result, and correction.

Returns:



633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb', line 633

class SearchJobsResponse
  # Output only.
  #
  # Job entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [Google::Cloud::Talent::V4beta1::Job]
  #     Job resource that matches the specified {Google::Cloud::Talent::V4beta1::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 {Job#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::V4beta1::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::V4beta1::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {Google::Cloud::Talent::V4beta1::CommuteFilter CommuteFilter}.
  class MatchingJob; end

  # Output only.
  #
  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [Google::Cloud::Talent::V4beta1::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; end
end

#total_sizeInteger

Returns The precise result count, which is available only if the client set Enable_precise_result_size to true, or if the response is the last page of results. Otherwise, the value is -1.

Returns:

  • (Integer)

    The precise result count, which is available only if the client set Enable_precise_result_size to true, or if the response is the last page of results. Otherwise, the value is -1.



633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb', line 633

class SearchJobsResponse
  # Output only.
  #
  # Job entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
  # @!attribute [rw] job
  #   @return [Google::Cloud::Talent::V4beta1::Job]
  #     Job resource that matches the specified {Google::Cloud::Talent::V4beta1::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 {Job#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::V4beta1::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::V4beta1::SearchJobsResponse::CommuteInfo]
  #     Commute information which is generated based on specified
  #      {Google::Cloud::Talent::V4beta1::CommuteFilter CommuteFilter}.
  class MatchingJob; end

  # Output only.
  #
  # Commute details related to this job.
  # @!attribute [rw] job_location
  #   @return [Google::Cloud::Talent::V4beta1::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; end
end