Autogenerated update (2019-07-19)

Update:
- bigquery_v2
- jobs_v2
- jobs_v3
- jobs_v3p1beta1
- people_v1
This commit is contained in:
Google APIs 2019-07-19 00:38:19 +00:00
parent 835292f54a
commit 2b5f7ed02b
17 changed files with 826 additions and 643 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/ # @see https://cloud.google.com/bigquery/
module BigqueryV2 module BigqueryV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190630' REVISION = '20190712'
# View and manage your data in Google BigQuery # View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -2969,6 +2969,12 @@ module Google
# @return [Array<Google::Apis::BigqueryV2::ExplainQueryStage>] # @return [Array<Google::Apis::BigqueryV2::ExplainQueryStage>]
attr_accessor :query_plan attr_accessor :query_plan
# [Output-only] Referenced routines (persistent user-defined functions and
# stored procedures) for the job.
# Corresponds to the JSON property `referencedRoutines`
# @return [Array<Google::Apis::BigqueryV2::RoutineReference>]
attr_accessor :referenced_routines
# [Output-only] Referenced tables for the job. Queries that reference more than # [Output-only] Referenced tables for the job. Queries that reference more than
# 50 tables will not have a complete list. # 50 tables will not have a complete list.
# Corresponds to the JSON property `referencedTables` # Corresponds to the JSON property `referencedTables`
@ -3064,6 +3070,7 @@ module Google
@model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration) @model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows) @num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
@query_plan = args[:query_plan] if args.key?(:query_plan) @query_plan = args[:query_plan] if args.key?(:query_plan)
@referenced_routines = args[:referenced_routines] if args.key?(:referenced_routines)
@referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables) @referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables)
@reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage) @reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
@schema = args[:schema] if args.key?(:schema) @schema = args[:schema] if args.key?(:schema)

View File

@ -1288,6 +1288,8 @@ module Google
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows' property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation
collection :referenced_routines, as: 'referencedRoutines', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
collection :referenced_tables, as: 'referencedTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation collection :referenced_tables, as: 'referencedTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics2::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics2::ReservationUsage::Representation collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics2::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics2::ReservationUsage::Representation

View File

@ -47,7 +47,7 @@ module Google
attr_accessor :user_ip attr_accessor :user_ip
def initialize def initialize
super('https://bigquery.googleapis.com/', 'bigquery/v2/') super('https://www.googleapis.com/', 'bigquery/v2/')
@batch_path = 'batch/bigquery/v2' @batch_path = 'batch/bigquery/v2'
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/ # @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV2 module JobsV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190712' REVISION = '20190713'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

File diff suppressed because it is too large Load Diff

View File

@ -80,7 +80,8 @@ module Google
# Deletes the specified company. # Deletes the specified company.
# @param [String] name # @param [String] name
# Required. The resource name of the company to be deleted, # Required.
# The resource name of the company to be deleted,
# such as, "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd". # such as, "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -111,7 +112,8 @@ module Google
# Retrieves the specified company. # Retrieves the specified company.
# @param [String] name # @param [String] name
# Required. Resource name of the company to retrieve, # Required.
# Resource name of the company to retrieve,
# such as "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd". # such as "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -142,15 +144,18 @@ module Google
# Lists all companies associated with a Cloud Talent Solution account. # Lists all companies associated with a Cloud Talent Solution account.
# @param [Boolean] must_have_open_jobs # @param [Boolean] must_have_open_jobs
# Optional. Set to true if the companies request must have open jobs. # Optional.
# Set to true if the companies request must have open jobs.
# Defaults to false. # Defaults to false.
# If true, at most page_size of companies are fetched, among which # If true, at most page_size of companies are fetched, among which
# only those with open jobs are returned. # only those with open jobs are returned.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Optional. The maximum number of companies to be returned, at most 100. # Optional.
# The maximum number of companies to be returned, at most 100.
# Default is 100 if a non-positive number is provided. # Default is 100 if a non-positive number is provided.
# @param [String] page_token # @param [String] page_token
# Optional. The starting indicator from which to return results. # Optional.
# The starting indicator from which to return results.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -241,11 +246,12 @@ module Google
# Deprecated. Use ListJobs instead. # Deprecated. Use ListJobs instead.
# Lists all jobs associated with a company. # Lists all jobs associated with a company.
# @param [String] company_name # @param [String] company_name
# Required. The resource name of the company that owns the jobs to be listed, # Required.
# The resource name of the company that owns the jobs to be listed,
# such as, "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd". # such as, "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
# @param [Boolean] ids_only # @param [Boolean] ids_only
# Optional. If set to `true`, only job ID, job requisition ID and language code # Optional.
# will be # If set to `true`, only job ID, job requisition ID and language code will be
# returned. # returned.
# A typical use is to synchronize job repositories. # A typical use is to synchronize job repositories.
# Defaults to false. # Defaults to false.
@ -256,17 +262,19 @@ module Google
# Set to true if the total number of open jobs is to be returned. # Set to true if the total number of open jobs is to be returned.
# Defaults to false. # Defaults to false.
# @param [String] job_requisition_id # @param [String] job_requisition_id
# Optional. The requisition ID, also known as posting ID, assigned by the # Optional.
# company # The requisition ID, also known as posting ID, assigned by the company
# to the job. # to the job.
# The maximum number of allowable characters is 225. # The maximum number of allowable characters is 225.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Optional. The maximum number of jobs to be returned per page of results. # Optional.
# The maximum number of jobs to be returned per page of results.
# If ids_only is set to true, the maximum allowed page size # If ids_only is set to true, the maximum allowed page size
# is 1000. Otherwise, the maximum allowed page size is 100. # is 1000. Otherwise, the maximum allowed page size is 100.
# Default is 100 if empty or a number < 1 is specified. # Default is 100 if empty or a number < 1 is specified.
# @param [String] page_token # @param [String] page_token
# Optional. The starting point of a query result. # Optional.
# The starting point of a query result.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -365,7 +373,8 @@ module Google
# Typically, the job becomes unsearchable within 10 seconds, but it may take # Typically, the job becomes unsearchable within 10 seconds, but it may take
# up to 5 minutes. # up to 5 minutes.
# @param [String] name # @param [String] name
# Required. The resource name of the job to be deleted, such as "jobs/11111111". # Required.
# The resource name of the job to be deleted, such as "jobs/11111111".
# @param [Boolean] disable_fast_process # @param [Boolean] disable_fast_process
# Deprecated. This field is not working anymore. # Deprecated. This field is not working anymore.
# Optional. # Optional.
@ -436,7 +445,8 @@ module Google
# Retrieves the specified job, whose status is OPEN or recently EXPIRED # Retrieves the specified job, whose status is OPEN or recently EXPIRED
# within the last 90 days. # within the last 90 days.
# @param [String] name # @param [String] name
# Required. The resource name of the job to retrieve, such as "jobs/11111111". # Required.
# The resource name of the job to retrieve, such as "jobs/11111111".
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -506,7 +516,8 @@ module Google
# Lists jobs by filter. # Lists jobs by filter.
# @param [String] filter # @param [String] filter
# Required. The filter string specifies the jobs to be enumerated. # Required.
# The filter string specifies the jobs to be enumerated.
# Supported operator: =, AND # Supported operator: =, AND
# The fields eligible for filtering are: # The fields eligible for filtering are:
# * `companyName` (Required) # * `companyName` (Required)
@ -515,17 +526,20 @@ module Google
# * companyName = "companies/123" # * companyName = "companies/123"
# * companyName = "companies/123" AND requisitionId = "req-1" # * companyName = "companies/123" AND requisitionId = "req-1"
# @param [Boolean] ids_only # @param [Boolean] ids_only
# Optional. If set to `true`, only Job.name, Job.requisition_id and # Optional.
# If set to `true`, only Job.name, Job.requisition_id and
# Job.language_code will be returned. # Job.language_code will be returned.
# A typical use case is to synchronize job repositories. # A typical use case is to synchronize job repositories.
# Defaults to false. # Defaults to false.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Optional. The maximum number of jobs to be returned per page of results. # Optional.
# The maximum number of jobs to be returned per page of results.
# If ids_only is set to true, the maximum allowed page size # If ids_only is set to true, the maximum allowed page size
# is 1000. Otherwise, the maximum allowed page size is 100. # is 1000. Otherwise, the maximum allowed page size is 100.
# Default is 100 if empty or a number < 1 is specified. # Default is 100 if empty or a number < 1 is specified.
# @param [String] page_token # @param [String] page_token
# Optional. The starting point of a query result. # Optional.
# The starting point of a query result.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -667,9 +681,11 @@ module Google
# Completes the specified prefix with job keyword suggestions. # Completes the specified prefix with job keyword suggestions.
# Intended for use by a job search auto-complete search box. # Intended for use by a job search auto-complete search box.
# @param [String] company_name # @param [String] company_name
# Optional. If provided, restricts completion to the specified company. # Optional.
# If provided, restricts completion to the specified company.
# @param [String] language_code # @param [String] language_code
# Required. The language of the query. This is # Required.
# The language of the query. This is
# the BCP-47 language code, such as "en-US" or "sr-Latn". # the BCP-47 language code, such as "en-US" or "sr-Latn".
# For more information, see # For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
@ -682,14 +698,18 @@ module Google
# language_code or companies having open jobs with same # language_code or companies having open jobs with same
# language_code are returned. # language_code are returned.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Required. Completion result count. # Required.
# Completion result count.
# The maximum allowed page size is 10. # The maximum allowed page size is 10.
# @param [String] query # @param [String] query
# Required. The query used to generate suggestions. # Required.
# The query used to generate suggestions.
# @param [String] scope # @param [String] scope
# Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC. # Optional.
# The scope of the completion. The defaults is CompletionScope.PUBLIC.
# @param [String] type # @param [String] type
# Optional. The completion topic. The default is CompletionType.COMBINED. # Optional.
# The completion topic. The default is CompletionType.COMBINED.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/ # @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3 module JobsV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20190629' REVISION = '20190712'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -75,8 +75,7 @@ module Google
class BatchDeleteJobsRequest class BatchDeleteJobsRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. The filter string specifies the jobs to be deleted.
# The filter string specifies the jobs to be deleted.
# Supported operator: =, AND # Supported operator: =, AND
# The fields eligible for filtering are: # The fields eligible for filtering are:
# * `companyName` (Required) # * `companyName` (Required)
@ -155,22 +154,21 @@ module Google
class ClientEvent class ClientEvent
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. The timestamp of the event.
# The timestamp of the event.
# Corresponds to the JSON property `createTime` # Corresponds to the JSON property `createTime`
# @return [String] # @return [String]
attr_accessor :create_time attr_accessor :create_time
# Required. # Required. A unique identifier, generated by the client application. This `
# A unique identifier, generated by the client application. This `event_id` # event_id`
# is used to establish the relationship between different events # is used to establish the relationship between different events
# (see parent_event_id). # (see parent_event_id).
# Corresponds to the JSON property `eventId` # Corresponds to the JSON property `eventId`
# @return [String] # @return [String]
attr_accessor :event_id attr_accessor :event_id
# Optional. # Optional. Extra information about this event. Used for storing information
# Extra information about this event. Used for storing information with no # with no
# matching field in event payload, for example, user application specific # matching field in event payload, for example, user application specific
# context or details. # context or details.
# At most 20 keys are supported. The maximum total size of all keys and # At most 20 keys are supported. The maximum total size of all keys and
@ -185,8 +183,8 @@ module Google
# @return [Google::Apis::JobsV3::JobEvent] # @return [Google::Apis::JobsV3::JobEvent]
attr_accessor :job_event attr_accessor :job_event
# Optional. # Optional. The event_id of an event that resulted in the current event. For
# The event_id of an event that resulted in the current event. For example, a # example, a
# Job view event usually follows a parent # Job view event usually follows a parent
# impression event: A job seeker first does a # impression event: A job seeker first does a
# search where a list of jobs appears # search where a list of jobs appears
@ -197,8 +195,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :parent_event_id attr_accessor :parent_event_id
# Required. # Required. A unique ID generated in the API responses. It can be found in
# A unique ID generated in the API responses. It can be found in
# ResponseMetadata.request_id. # ResponseMetadata.request_id.
# Corresponds to the JSON property `requestId` # Corresponds to the JSON property `requestId`
# @return [String] # @return [String]
@ -224,8 +221,8 @@ module Google
class CommuteFilter class CommuteFilter
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. If true, jobs without "precise" addresses (street level addresses or
# If true, jobs without "precise" addresses (street level addresses or GPS # GPS
# coordinates) might also be returned. For city and coarser level addresses, # coordinates) might also be returned. For city and coarser level addresses,
# text matching is used. If this field is set to false or is not specified, # text matching is used. If this field is set to false or is not specified,
# only jobs that include precise addresses are returned by Commute # only jobs that include precise addresses are returned by Commute
@ -239,8 +236,7 @@ module Google
attr_accessor :allow_imprecise_addresses attr_accessor :allow_imprecise_addresses
alias_method :allow_imprecise_addresses?, :allow_imprecise_addresses alias_method :allow_imprecise_addresses?, :allow_imprecise_addresses
# Required. # Required. The method of transportation for which to calculate the commute time.
# The method of transportation for which to calculate the commute time.
# Corresponds to the JSON property `commuteMethod` # Corresponds to the JSON property `commuteMethod`
# @return [String] # @return [String]
attr_accessor :commute_method attr_accessor :commute_method
@ -252,8 +248,7 @@ module Google
# @return [Google::Apis::JobsV3::TimeOfDay] # @return [Google::Apis::JobsV3::TimeOfDay]
attr_accessor :departure_time attr_accessor :departure_time
# Optional. # Optional. Specifies the traffic density to use when calculating commute time.
# Specifies the traffic density to use when calculating commute time.
# Corresponds to the JSON property `roadTraffic` # Corresponds to the JSON property `roadTraffic`
# @return [String] # @return [String]
attr_accessor :road_traffic attr_accessor :road_traffic
@ -267,8 +262,8 @@ module Google
# @return [Google::Apis::JobsV3::LatLng] # @return [Google::Apis::JobsV3::LatLng]
attr_accessor :start_coordinates attr_accessor :start_coordinates
# Required. # Required. The maximum travel time in seconds. The maximum allowed value is `
# The maximum travel time in seconds. The maximum allowed value is `3600s` # 3600s`
# (one hour). Format is `123s`. # (one hour). Format is `123s`.
# Corresponds to the JSON property `travelDuration` # Corresponds to the JSON property `travelDuration`
# @return [String] # @return [String]
@ -325,8 +320,8 @@ module Google
class Company class Company
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. The URI to employer's career site or careers page on the employer's
# The URI to employer's career site or careers page on the employer's web # web
# site, for example, "https://careers.google.com". # site, for example, "https://careers.google.com".
# Corresponds to the JSON property `careerSiteUri` # Corresponds to the JSON property `careerSiteUri`
# @return [String] # @return [String]
@ -337,14 +332,12 @@ module Google
# @return [Google::Apis::JobsV3::CompanyDerivedInfo] # @return [Google::Apis::JobsV3::CompanyDerivedInfo]
attr_accessor :derived_info attr_accessor :derived_info
# Required. # Required. The display name of the company, for example, "Google LLC".
# The display name of the company, for example, "Google, LLC".
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# Optional. # Optional. Equal Employment Opportunity legal disclaimer text to be
# Equal Employment Opportunity legal disclaimer text to be
# associated with all jobs, and typically to be displayed in all # associated with all jobs, and typically to be displayed in all
# roles. # roles.
# The maximum number of allowed characters is 500. # The maximum number of allowed characters is 500.
@ -352,16 +345,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :eeo_text attr_accessor :eeo_text
# Required. # Required. Client side company identifier, used to uniquely identify the
# Client side company identifier, used to uniquely identify the
# company. # company.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# Corresponds to the JSON property `externalId` # Corresponds to the JSON property `externalId`
# @return [String] # @return [String]
attr_accessor :external_id attr_accessor :external_id
# Optional. # Optional. The street address of the company's main headquarters, which may be
# The street address of the company's main headquarters, which may be
# different from the job location. The service attempts # different from the job location. The service attempts
# to geolocate the provided address, and populates a more specific # to geolocate the provided address, and populates a more specific
# location wherever possible in DerivedInfo.headquarters_location. # location wherever possible in DerivedInfo.headquarters_location.
@ -369,8 +360,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :headquarters_address attr_accessor :headquarters_address
# Optional. # Optional. Set to true if it is the hiring agency that post jobs for other
# Set to true if it is the hiring agency that post jobs for other
# employers. # employers.
# Defaults to false if not provided. # Defaults to false if not provided.
# Corresponds to the JSON property `hiringAgency` # Corresponds to the JSON property `hiringAgency`
@ -378,14 +368,12 @@ module Google
attr_accessor :hiring_agency attr_accessor :hiring_agency
alias_method :hiring_agency?, :hiring_agency alias_method :hiring_agency?, :hiring_agency
# Optional. # Optional. A URI that hosts the employer's company logo.
# A URI that hosts the employer's company logo.
# Corresponds to the JSON property `imageUri` # Corresponds to the JSON property `imageUri`
# @return [String] # @return [String]
attr_accessor :image_uri attr_accessor :image_uri
# Optional. # Optional. A list of keys of filterable Job.custom_attributes, whose
# A list of keys of filterable Job.custom_attributes, whose
# corresponding `string_values` are used in keyword search. Jobs with # corresponding `string_values` are used in keyword search. Jobs with
# `string_values` under these specified field keys are returned if any # `string_values` under these specified field keys are returned if any
# of the values matches the search keyword. Custom field values with # of the values matches the search keyword. Custom field values with
@ -404,8 +392,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Optional. # Optional. The employer's company size.
# The employer's company size.
# Corresponds to the JSON property `size` # Corresponds to the JSON property `size`
# @return [String] # @return [String]
attr_accessor :size attr_accessor :size
@ -418,8 +405,7 @@ module Google
attr_accessor :suspended attr_accessor :suspended
alias_method :suspended?, :suspended alias_method :suspended?, :suspended
# Optional. # Optional. The URI representing the company's primary web site or home page,
# The URI representing the company's primary web site or home page,
# for example, "https://www.google.com". # for example, "https://www.google.com".
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# Corresponds to the JSON property `websiteUri` # Corresponds to the JSON property `websiteUri`
@ -483,16 +469,14 @@ module Google
# @return [Google::Apis::JobsV3::Money] # @return [Google::Apis::JobsV3::Money]
attr_accessor :amount attr_accessor :amount
# Optional. # Optional. Compensation description. For example, could
# Compensation description. For example, could
# indicate equity terms or provide additional context to an estimated # indicate equity terms or provide additional context to an estimated
# bonus. # bonus.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# Optional. # Optional. Expected number of units paid each year. If not specified, when
# Expected number of units paid each year. If not specified, when
# Job.employment_types is FULLTIME, a default value is inferred # Job.employment_types is FULLTIME, a default value is inferred
# based on unit. Default values: # based on unit. Default values:
# - HOURLY: 2080 # - HOURLY: 2080
@ -509,15 +493,13 @@ module Google
# @return [Google::Apis::JobsV3::CompensationRange] # @return [Google::Apis::JobsV3::CompensationRange]
attr_accessor :range attr_accessor :range
# Optional. # Optional. Compensation type.
# Compensation type.
# Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED. # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type
# Optional. # Optional. Frequency of the specified amount.
# Frequency of the specified amount.
# Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED. # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
# Corresponds to the JSON property `unit` # Corresponds to the JSON property `unit`
# @return [String] # @return [String]
@ -543,8 +525,7 @@ module Google
class CompensationFilter class CompensationFilter
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. If set to true, jobs with unspecified compensation range fields are
# If set to true, jobs with unspecified compensation range fields are
# included. # included.
# Corresponds to the JSON property `includeJobsWithUnspecifiedCompensationRange` # Corresponds to the JSON property `includeJobsWithUnspecifiedCompensationRange`
# @return [Boolean] # @return [Boolean]
@ -556,14 +537,12 @@ module Google
# @return [Google::Apis::JobsV3::CompensationRange] # @return [Google::Apis::JobsV3::CompensationRange]
attr_accessor :range attr_accessor :range
# Required. # Required. Type of filter.
# Type of filter.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type
# Required. # Required. Specify desired `base compensation entry's`
# Specify desired `base compensation entry's`
# CompensationInfo.CompensationUnit. # CompensationInfo.CompensationUnit.
# Corresponds to the JSON property `units` # Corresponds to the JSON property `units`
# @return [Array<String>] # @return [Array<String>]
@ -593,8 +572,8 @@ module Google
# @return [Google::Apis::JobsV3::NumericBucketingOption] # @return [Google::Apis::JobsV3::NumericBucketingOption]
attr_accessor :bucketing_option attr_accessor :bucketing_option
# Required. # Required. Type of the request, representing which field the histogramming
# Type of the request, representing which field the histogramming should be # should be
# performed over. A single request can only specify one histogram of each # performed over. A single request can only specify one histogram of each
# `CompensationHistogramRequestType`. # `CompensationHistogramRequestType`.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
@ -654,8 +633,7 @@ module Google
# @return [Google::Apis::JobsV3::CompensationRange] # @return [Google::Apis::JobsV3::CompensationRange]
attr_accessor :annualized_total_compensation_range attr_accessor :annualized_total_compensation_range
# Optional. # Optional. Job compensation information.
# Job compensation information.
# At most one entry can be of type # At most one entry can be of type
# CompensationInfo.CompensationType.BASE, which is # CompensationInfo.CompensationType.BASE, which is
# referred as ** base compensation entry ** for the job. # referred as ** base compensation entry ** for the job.
@ -830,8 +808,7 @@ module Google
class CustomAttribute class CustomAttribute
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. If the `filterable` flag is true, custom field values are searchable.
# If the `filterable` flag is true, custom field values are searchable.
# If false, values are not searchable. # If false, values are not searchable.
# Default is false. # Default is false.
# Corresponds to the JSON property `filterable` # Corresponds to the JSON property `filterable`
@ -879,8 +856,8 @@ module Google
class CustomAttributeHistogramRequest class CustomAttributeHistogramRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. Specifies the custom field key to perform a histogram on. If
# Specifies the custom field key to perform a histogram on. If specified # specified
# without `long_value_histogram_bucketing_option`, histogram on string values # without `long_value_histogram_bucketing_option`, histogram on string values
# of the given `key` is triggered, otherwise histogram is performed on long # of the given `key` is triggered, otherwise histogram is performed on long
# values. # values.
@ -953,14 +930,12 @@ module Google
class DeviceInfo class DeviceInfo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. Type of the device.
# Type of the device.
# Corresponds to the JSON property `deviceType` # Corresponds to the JSON property `deviceType`
# @return [String] # @return [String]
attr_accessor :device_type attr_accessor :device_type
# Optional. # Optional. A device-specific ID. The ID must be a unique identifier that
# A device-specific ID. The ID must be a unique identifier that
# distinguishes the device from other devices. # distinguishes the device from other devices.
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
# @return [String] # @return [String]
@ -1001,23 +976,20 @@ module Google
class HistogramFacets class HistogramFacets
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. Specifies compensation field-based histogram requests.
# Specifies compensation field-based histogram requests.
# Duplicate values of CompensationHistogramRequest.type are not allowed. # Duplicate values of CompensationHistogramRequest.type are not allowed.
# Corresponds to the JSON property `compensationHistogramFacets` # Corresponds to the JSON property `compensationHistogramFacets`
# @return [Array<Google::Apis::JobsV3::CompensationHistogramRequest>] # @return [Array<Google::Apis::JobsV3::CompensationHistogramRequest>]
attr_accessor :compensation_histogram_facets attr_accessor :compensation_histogram_facets
# Optional. # Optional. Specifies the custom attributes histogram requests.
# Specifies the custom attributes histogram requests.
# Duplicate values of CustomAttributeHistogramRequest.key are not # Duplicate values of CustomAttributeHistogramRequest.key are not
# allowed. # allowed.
# Corresponds to the JSON property `customAttributeHistogramFacets` # Corresponds to the JSON property `customAttributeHistogramFacets`
# @return [Array<Google::Apis::JobsV3::CustomAttributeHistogramRequest>] # @return [Array<Google::Apis::JobsV3::CustomAttributeHistogramRequest>]
attr_accessor :custom_attribute_histogram_facets attr_accessor :custom_attribute_histogram_facets
# Optional. # Optional. Specifies the simple type of histogram facets, for example,
# Specifies the simple type of histogram facets, for example,
# `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc. # `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc.
# Corresponds to the JSON property `simpleHistogramFacets` # Corresponds to the JSON property `simpleHistogramFacets`
# @return [Array<String>] # @return [Array<String>]
@ -1136,8 +1108,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :company_display_name attr_accessor :company_display_name
# Required. # Required. The resource name of the company listing the job, such as
# The resource name of the company listing the job, such as
# "projects/api-test-project/companies/foo". # "projects/api-test-project/companies/foo".
# Corresponds to the JSON property `companyName` # Corresponds to the JSON property `companyName`
# @return [String] # @return [String]
@ -1148,8 +1119,8 @@ module Google
# @return [Google::Apis::JobsV3::CompensationInfo] # @return [Google::Apis::JobsV3::CompensationInfo]
attr_accessor :compensation_info attr_accessor :compensation_info
# Optional. # Optional. A map of fields to hold both filterable and non-filterable custom
# A map of fields to hold both filterable and non-filterable custom job # job
# attributes that are not covered by the provided structured fields. # attributes that are not covered by the provided structured fields.
# The keys of the map are strings up to 64 bytes and must match the # The keys of the map are strings up to 64 bytes and must match the
# pattern: a-zA-Z*. For example, key0LikeThis or # pattern: a-zA-Z*. For example, key0LikeThis or
@ -1163,14 +1134,13 @@ module Google
# @return [Hash<String,Google::Apis::JobsV3::CustomAttribute>] # @return [Hash<String,Google::Apis::JobsV3::CustomAttribute>]
attr_accessor :custom_attributes attr_accessor :custom_attributes
# Optional. # Optional. The desired education degrees for the job, such as Bachelors,
# The desired education degrees for the job, such as Bachelors, Masters. # Masters.
# Corresponds to the JSON property `degreeTypes` # Corresponds to the JSON property `degreeTypes`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :degree_types attr_accessor :degree_types
# Optional. # Optional. The department or functional area within the company with the open
# The department or functional area within the company with the open
# position. # position.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# Corresponds to the JSON property `department` # Corresponds to the JSON property `department`
@ -1183,8 +1153,8 @@ module Google
# @return [Google::Apis::JobsV3::JobDerivedInfo] # @return [Google::Apis::JobsV3::JobDerivedInfo]
attr_accessor :derived_info attr_accessor :derived_info
# Required. # Required. The description of the job, which typically includes a multi-
# The description of the job, which typically includes a multi-paragraph # paragraph
# description of the company and related information. Separate fields are # description of the company and related information. Separate fields are
# provided on the job object for responsibilities, # provided on the job object for responsibilities,
# qualifications, and other job characteristics. Use of # qualifications, and other job characteristics. Use of
@ -1196,50 +1166,45 @@ module Google
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# Optional. # Optional. The employment type(s) of a job, for example,
# The employment type(s) of a job, for example,
# full time or # full time or
# part time. # part time.
# Corresponds to the JSON property `employmentTypes` # Corresponds to the JSON property `employmentTypes`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :employment_types attr_accessor :employment_types
# Optional. # Optional. A description of bonus, commission, and other compensation
# A description of bonus, commission, and other compensation
# incentives associated with the job not including salary or pay. # incentives associated with the job not including salary or pay.
# The maximum number of allowed characters is 10,000. # The maximum number of allowed characters is 10,000.
# Corresponds to the JSON property `incentives` # Corresponds to the JSON property `incentives`
# @return [String] # @return [String]
attr_accessor :incentives attr_accessor :incentives
# Optional. # Optional. The benefits included with the job.
# The benefits included with the job.
# Corresponds to the JSON property `jobBenefits` # Corresponds to the JSON property `jobBenefits`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :job_benefits attr_accessor :job_benefits
# Optional. # Optional. The end timestamp of the job. Typically this field is used for
# The end timestamp of the job. Typically this field is used for contracting # contracting
# engagements. Invalid timestamps are ignored. # engagements. Invalid timestamps are ignored.
# Corresponds to the JSON property `jobEndTime` # Corresponds to the JSON property `jobEndTime`
# @return [String] # @return [String]
attr_accessor :job_end_time attr_accessor :job_end_time
# Optional. # Optional. The experience level associated with the job, such as "Entry Level".
# The experience level associated with the job, such as "Entry Level".
# Corresponds to the JSON property `jobLevel` # Corresponds to the JSON property `jobLevel`
# @return [String] # @return [String]
attr_accessor :job_level attr_accessor :job_level
# Optional. # Optional. The start timestamp of the job in UTC time zone. Typically this
# The start timestamp of the job in UTC time zone. Typically this field # field
# is used for contracting engagements. Invalid timestamps are ignored. # is used for contracting engagements. Invalid timestamps are ignored.
# Corresponds to the JSON property `jobStartTime` # Corresponds to the JSON property `jobStartTime`
# @return [String] # @return [String]
attr_accessor :job_start_time attr_accessor :job_start_time
# Optional. # Optional. The language of the posting. This field is distinct from
# The language of the posting. This field is distinct from
# any requirements for fluency that are associated with the job. # any requirements for fluency that are associated with the job.
# Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". # Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
# For more information, see # For more information, see
@ -1299,16 +1264,15 @@ module Google
# @return [String] # @return [String]
attr_accessor :posting_expire_time attr_accessor :posting_expire_time
# Optional. # Optional. The timestamp this job posting was most recently published. The
# The timestamp this job posting was most recently published. The default # default
# value is the time the request arrives at the server. Invalid timestamps are # value is the time the request arrives at the server. Invalid timestamps are
# ignored. # ignored.
# Corresponds to the JSON property `postingPublishTime` # Corresponds to the JSON property `postingPublishTime`
# @return [String] # @return [String]
attr_accessor :posting_publish_time attr_accessor :posting_publish_time
# Optional. # Optional. The job PostingRegion (for example, state, country) throughout which
# The job PostingRegion (for example, state, country) throughout which
# the job is available. If this field is set, a # the job is available. If this field is set, a
# LocationFilter in a search query within the job region # LocationFilter in a search query within the job region
# finds this job posting if an exact location match isn't specified. # finds this job posting if an exact location match isn't specified.
@ -1330,8 +1294,7 @@ module Google
# @return [Google::Apis::JobsV3::ProcessingOptions] # @return [Google::Apis::JobsV3::ProcessingOptions]
attr_accessor :processing_options attr_accessor :processing_options
# Optional. # Optional. A promotion value of the job, as determined by the client.
# A promotion value of the job, as determined by the client.
# The value determines the sort order of the jobs returned when searching for # The value determines the sort order of the jobs returned when searching for
# jobs using the featured jobs search call, with higher promotional values # jobs using the featured jobs search call, with higher promotional values
# being returned first and ties being resolved by relevance sort. Only the # being returned first and ties being resolved by relevance sort. Only the
@ -1341,8 +1304,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :promotion_value attr_accessor :promotion_value
# Optional. # Optional. A description of the qualifications required to perform the
# A description of the qualifications required to perform the
# job. The use of this field is recommended # job. The use of this field is recommended
# as an alternative to using the more general description field. # as an alternative to using the more general description field.
# This field accepts and sanitizes HTML input, and also accepts # This field accepts and sanitizes HTML input, and also accepts
@ -1352,8 +1314,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :qualifications attr_accessor :qualifications
# Required. # Required. The requisition ID, also referred to as the posting ID, assigned by
# The requisition ID, also referred to as the posting ID, assigned by the # the
# client to identify a job. This field is intended to be used by clients # client to identify a job. This field is intended to be used by clients
# for client identification and tracking of postings. A job is not allowed # for client identification and tracking of postings. A job is not allowed
# to be created if there is another job with the same [company_name], # to be created if there is another job with the same [company_name],
@ -1363,8 +1325,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :requisition_id attr_accessor :requisition_id
# Optional. # Optional. A description of job responsibilities. The use of this field is
# A description of job responsibilities. The use of this field is
# recommended as an alternative to using the more general description # recommended as an alternative to using the more general description
# field. # field.
# This field accepts and sanitizes HTML input, and also accepts # This field accepts and sanitizes HTML input, and also accepts
@ -1374,15 +1335,13 @@ module Google
# @return [String] # @return [String]
attr_accessor :responsibilities attr_accessor :responsibilities
# Required. # Required. The title of the job, such as "Software Engineer"
# The title of the job, such as "Software Engineer"
# The maximum number of allowed characters is 500. # The maximum number of allowed characters is 500.
# Corresponds to the JSON property `title` # Corresponds to the JSON property `title`
# @return [String] # @return [String]
attr_accessor :title attr_accessor :title
# Optional. # Optional. The visibility of the job.
# The visibility of the job.
# Defaults to Visibility.ACCOUNT_ONLY if not specified. # Defaults to Visibility.ACCOUNT_ONLY if not specified.
# Corresponds to the JSON property `visibility` # Corresponds to the JSON property `visibility`
# @return [String] # @return [String]
@ -1460,8 +1419,7 @@ module Google
class JobEvent class JobEvent
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. The job name(s) associated with this event.
# The job name(s) associated with this event.
# For example, if this is an impression event, # For example, if this is an impression event,
# this field contains the identifiers of all jobs shown to the job seeker. # this field contains the identifiers of all jobs shown to the job seeker.
# If this was a view event, this field contains the # If this was a view event, this field contains the
@ -1470,8 +1428,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :jobs attr_accessor :jobs
# Required. # Required. The type of the event (see JobEventType).
# The type of the event (see JobEventType).
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type
@ -1498,8 +1455,7 @@ module Google
# @return [Google::Apis::JobsV3::CommuteFilter] # @return [Google::Apis::JobsV3::CommuteFilter]
attr_accessor :commute_filter attr_accessor :commute_filter
# Optional. # Optional. This filter specifies the exact company display
# This filter specifies the exact company display
# name of the jobs to search against. # name of the jobs to search against.
# If a value isn't specified, jobs within the search results are # If a value isn't specified, jobs within the search results are
# associated with any company. # associated with any company.
@ -1510,8 +1466,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :company_display_names attr_accessor :company_display_names
# Optional. # Optional. This filter specifies the company entities to search against.
# This filter specifies the company entities to search against.
# If a value isn't specified, jobs are searched for against all # If a value isn't specified, jobs are searched for against all
# companies. # companies.
# If multiple values are specified, jobs are searched against the # If multiple values are specified, jobs are searched against the
@ -1529,8 +1484,7 @@ module Google
# @return [Google::Apis::JobsV3::CompensationFilter] # @return [Google::Apis::JobsV3::CompensationFilter]
attr_accessor :compensation_filter attr_accessor :compensation_filter
# Optional. # Optional. This filter specifies a structured syntax to match against the
# This filter specifies a structured syntax to match against the
# Job.custom_attributes marked as `filterable`. # Job.custom_attributes marked as `filterable`.
# The syntax for this expression is a subset of SQL syntax. # The syntax for this expression is a subset of SQL syntax.
# Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the # Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the
@ -1543,7 +1497,7 @@ module Google
# Boolean expressions (AND/OR/NOT) are supported up to 3 levels of # Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
# nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 # nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
# comparisons or functions are allowed in the expression. The expression # comparisons or functions are allowed in the expression. The expression
# must be < 3000 bytes in length. # must be < 6000 bytes in length.
# Sample Query: # Sample Query:
# `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND # `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
# driving_years > 10` # driving_years > 10`
@ -1551,8 +1505,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :custom_attribute_filter attr_accessor :custom_attribute_filter
# Optional. # Optional. This flag controls the spell-check feature. If false, the
# This flag controls the spell-check feature. If false, the
# service attempts to correct a misspelled query, # service attempts to correct a misspelled query,
# for example, "enginee" is corrected to "engineer". # for example, "enginee" is corrected to "engineer".
# Defaults to false: a spell check is performed. # Defaults to false: a spell check is performed.
@ -1561,8 +1514,7 @@ module Google
attr_accessor :disable_spell_check attr_accessor :disable_spell_check
alias_method :disable_spell_check?, :disable_spell_check alias_method :disable_spell_check?, :disable_spell_check
# Optional. # Optional. The employment type filter specifies the employment type of jobs to
# The employment type filter specifies the employment type of jobs to
# search against, such as EmploymentType.FULL_TIME. # search against, such as EmploymentType.FULL_TIME.
# If a value is not specified, jobs in the search results includes any # If a value is not specified, jobs in the search results includes any
# employment type. # employment type.
@ -1572,8 +1524,8 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :employment_types attr_accessor :employment_types
# Optional. # Optional. The category filter specifies the categories of jobs to search
# The category filter specifies the categories of jobs to search against. # against.
# See Category for more information. # See Category for more information.
# If a value is not specified, jobs from any category are searched against. # If a value is not specified, jobs from any category are searched against.
# If multiple values are specified, jobs from any of the specified # If multiple values are specified, jobs from any of the specified
@ -1582,8 +1534,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :job_categories attr_accessor :job_categories
# Optional. # Optional. This filter specifies the locale of jobs to search against,
# This filter specifies the locale of jobs to search against,
# for example, "en-US". # for example, "en-US".
# If a value isn't specified, the search results can contain jobs in any # If a value isn't specified, the search results can contain jobs in any
# locale. # locale.
@ -1595,8 +1546,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :language_codes attr_accessor :language_codes
# Optional. # Optional. The location filter specifies geo-regions containing the jobs to
# The location filter specifies geo-regions containing the jobs to
# search against. See LocationFilter for more information. # search against. See LocationFilter for more information.
# If a location value isn't specified, jobs fitting the other search # If a location value isn't specified, jobs fitting the other search
# criteria are retrieved regardless of where they're located. # criteria are retrieved regardless of where they're located.
@ -1614,8 +1564,8 @@ module Google
# @return [Google::Apis::JobsV3::TimestampRange] # @return [Google::Apis::JobsV3::TimestampRange]
attr_accessor :publish_time_range attr_accessor :publish_time_range
# Optional. # Optional. The query string that matches against the job title, description,
# The query string that matches against the job title, description, and # and
# location fields. # location fields.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# Corresponds to the JSON property `query` # Corresponds to the JSON property `query`
@ -1771,7 +1721,7 @@ module Google
# existing data, depending on the type of process. # existing data, depending on the type of process.
# Advice on address input / editing: # Advice on address input / editing:
# - Use an i18n-ready address widget such as # - Use an i18n-ready address widget such as
# https://github.com/googlei18n/libaddressinput) # https://github.com/google/libaddressinput)
# - Users should not be presented with UI elements for input or editing of # - Users should not be presented with UI elements for input or editing of
# fields outside countries where that field is used. # fields outside countries where that field is used.
# For more guidance on how to use this schema, please see: # For more guidance on how to use this schema, please see:
@ -1807,14 +1757,13 @@ module Google
class LocationFilter class LocationFilter
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. The address name, such as "Mountain View" or "Bay Area".
# The address name, such as "Mountain View" or "Bay Area".
# Corresponds to the JSON property `address` # Corresponds to the JSON property `address`
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# Optional. # Optional. The distance_in_miles is applied when the location being searched
# The distance_in_miles is applied when the location being searched for is # for is
# identified as a city or smaller. When the location being searched for is a # identified as a city or smaller. When the location being searched for is a
# state or larger, this field is ignored. # state or larger, this field is ignored.
# Corresponds to the JSON property `distanceInMiles` # Corresponds to the JSON property `distanceInMiles`
@ -1830,8 +1779,7 @@ module Google
# @return [Google::Apis::JobsV3::LatLng] # @return [Google::Apis::JobsV3::LatLng]
attr_accessor :lat_lng attr_accessor :lat_lng
# Optional. # Optional. CLDR region code of the country/region of the address. This is used
# CLDR region code of the country/region of the address. This is used
# to address ambiguity of the user-input location, for example, "Liverpool" # to address ambiguity of the user-input location, for example, "Liverpool"
# against "Liverpool, NY, US" or "Liverpool, UK". # against "Liverpool, NY, US" or "Liverpool, UK".
# Set this field if all the jobs to search against are from a same region, # Set this field if all the jobs to search against are from a same region,
@ -1843,8 +1791,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :region_code attr_accessor :region_code
# Optional. # Optional. Allows the client to return jobs without a
# Allows the client to return jobs without a
# set location, specifically, telecommuting jobs (telecommuting is considered # set location, specifically, telecommuting jobs (telecommuting is considered
# by the service as a special location. # by the service as a special location.
# Job.posting_region indicates if a job permits telecommuting. # Job.posting_region indicates if a job permits telecommuting.
@ -1972,8 +1919,7 @@ module Google
class NumericBucketingOption class NumericBucketingOption
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. Two adjacent values form a histogram bucket. Values should be in
# Two adjacent values form a histogram bucket. Values should be in
# ascending order. For example, if [5, 10, 15] are provided, four buckets are # ascending order. For example, if [5, 10, 15] are provided, four buckets are
# created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20 # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20
# [buckets_bound is supported. # [buckets_bound is supported.
@ -1981,8 +1927,7 @@ module Google
# @return [Array<Float>] # @return [Array<Float>]
attr_accessor :bucket_bounds attr_accessor :bucket_bounds
# Optional. # Optional. If set to true, the histogram result includes minimum/maximum
# If set to true, the histogram result includes minimum/maximum
# value of the numeric field. # value of the numeric field.
# Corresponds to the JSON property `requiresMinMax` # Corresponds to the JSON property `requiresMinMax`
# @return [Boolean] # @return [Boolean]
@ -2044,7 +1989,7 @@ module Google
# existing data, depending on the type of process. # existing data, depending on the type of process.
# Advice on address input / editing: # Advice on address input / editing:
# - Use an i18n-ready address widget such as # - Use an i18n-ready address widget such as
# https://github.com/googlei18n/libaddressinput) # https://github.com/google/libaddressinput)
# - Users should not be presented with UI elements for input or editing of # - Users should not be presented with UI elements for input or editing of
# fields outside countries where that field is used. # fields outside countries where that field is used.
# For more guidance on how to use this schema, please see: # For more guidance on how to use this schema, please see:
@ -2184,16 +2129,14 @@ module Google
class ProcessingOptions class ProcessingOptions
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. If set to `true`, the service does not attempt to resolve a
# If set to `true`, the service does not attempt to resolve a
# more precise address for the job. # more precise address for the job.
# Corresponds to the JSON property `disableStreetAddressResolution` # Corresponds to the JSON property `disableStreetAddressResolution`
# @return [Boolean] # @return [Boolean]
attr_accessor :disable_street_address_resolution attr_accessor :disable_street_address_resolution
alias_method :disable_street_address_resolution?, :disable_street_address_resolution alias_method :disable_street_address_resolution?, :disable_street_address_resolution
# Optional. # Optional. Option for job HTML content sanitization. Applied fields are:
# Option for job HTML content sanitization. Applied fields are:
# * description # * description
# * applicationInfo.instruction # * applicationInfo.instruction
# * incentives # * incentives
@ -2231,8 +2174,8 @@ module Google
# @return [Google::Apis::JobsV3::DeviceInfo] # @return [Google::Apis::JobsV3::DeviceInfo]
attr_accessor :device_info attr_accessor :device_info
# Required. # Required. The client-defined scope or source of the service call, which
# The client-defined scope or source of the service call, which typically # typically
# is the domain on # is the domain on
# which the service has been implemented and is currently being run. # which the service has been implemented and is currently being run.
# For example, if the service is being run by client <em>Foo, Inc.</em>, on # For example, if the service is being run by client <em>Foo, Inc.</em>, on
@ -2247,8 +2190,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :domain attr_accessor :domain
# Required. # Required. A unique session identification string. A session is defined as the
# A unique session identification string. A session is defined as the
# duration of an end user's interaction with the service over a certain # duration of an end user's interaction with the service over a certain
# period. # period.
# Obfuscate this field for privacy concerns before # Obfuscate this field for privacy concerns before
@ -2261,8 +2203,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :session_id attr_accessor :session_id
# Required. # Required. A unique user identification string, as determined by the client.
# A unique user identification string, as determined by the client.
# To have the strongest positive impact on search quality # To have the strongest positive impact on search quality
# make sure the client-level is unique. # make sure the client-level is unique.
# Obfuscate this field for privacy concerns before # Obfuscate this field for privacy concerns before
@ -2314,8 +2255,7 @@ module Google
class SearchJobsRequest class SearchJobsRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. Controls whether to disable exact keyword match on Job.job_title,
# Controls whether to disable exact keyword match on Job.job_title,
# Job.description, Job.company_display_name, Job.locations, # Job.description, Job.company_display_name, Job.locations,
# Job.qualifications. When disable keyword match is turned off, a # Job.qualifications. When disable keyword match is turned off, a
# keyword match returns jobs that do not match given category filters when # keyword match returns jobs that do not match given category filters when
@ -2336,8 +2276,8 @@ module Google
attr_accessor :disable_keyword_match attr_accessor :disable_keyword_match
alias_method :disable_keyword_match?, :disable_keyword_match alias_method :disable_keyword_match?, :disable_keyword_match
# Optional. # Optional. Controls whether highly similar jobs are returned next to each other
# Controls whether highly similar jobs are returned next to each other in # in
# the search results. Jobs are identified as highly similar based on # the search results. Jobs are identified as highly similar based on
# their titles, job categories, and locations. Highly similar results are # their titles, job categories, and locations. Highly similar results are
# clustered so that only one representative job of the cluster is # clustered so that only one representative job of the cluster is
@ -2349,8 +2289,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :diversification_level attr_accessor :diversification_level
# Optional. # Optional. Controls whether to broaden the search when it produces sparse
# Controls whether to broaden the search when it produces sparse results. # results.
# Broadened queries append results to the end of the matching results # Broadened queries append results to the end of the matching results
# list. # list.
# Defaults to false. # Defaults to false.
@ -2371,15 +2311,14 @@ module Google
# @return [Google::Apis::JobsV3::JobQuery] # @return [Google::Apis::JobsV3::JobQuery]
attr_accessor :job_query attr_accessor :job_query
# Optional. # Optional. The desired job attributes returned for jobs in the
# The desired job attributes returned for jobs in the
# search response. Defaults to JobView.SMALL if no value is specified. # search response. Defaults to JobView.SMALL if no value is specified.
# Corresponds to the JSON property `jobView` # Corresponds to the JSON property `jobView`
# @return [String] # @return [String]
attr_accessor :job_view attr_accessor :job_view
# Optional. # Optional. An integer that specifies the current offset (that is, starting
# An integer that specifies the current offset (that is, starting result # result
# location, amongst the jobs deemed by the API as relevant) in search # location, amongst the jobs deemed by the API as relevant) in search
# results. This field is only considered if page_token is unset. # results. This field is only considered if page_token is unset.
# For example, 0 means to return results starting from the first matching # For example, 0 means to return results starting from the first matching
@ -2390,8 +2329,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :offset attr_accessor :offset
# Optional. # Optional. The criteria determining how search results are sorted. Default is
# The criteria determining how search results are sorted. Default is
# "relevance desc". # "relevance desc".
# Supported options are: # Supported options are:
# * `"relevance desc"`: By relevance descending, as determined by the API # * `"relevance desc"`: By relevance descending, as determined by the API
@ -2423,16 +2361,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :order_by attr_accessor :order_by
# Optional. # Optional. A limit on the number of jobs returned in the search results.
# A limit on the number of jobs returned in the search results.
# Increasing this value above the default value of 10 can increase search # Increasing this value above the default value of 10 can increase search
# response time. The value can be between 1 and 100. # response time. The value can be between 1 and 100.
# Corresponds to the JSON property `pageSize` # Corresponds to the JSON property `pageSize`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :page_size attr_accessor :page_size
# Optional. # Optional. The token specifying the current offset within
# The token specifying the current offset within
# search results. See SearchJobsResponse.next_page_token for # search results. See SearchJobsResponse.next_page_token for
# an explanation of how to obtain the next set of query results. # an explanation of how to obtain the next set of query results.
# Corresponds to the JSON property `pageToken` # Corresponds to the JSON property `pageToken`
@ -2447,8 +2383,7 @@ module Google
# @return [Google::Apis::JobsV3::RequestMetadata] # @return [Google::Apis::JobsV3::RequestMetadata]
attr_accessor :request_metadata attr_accessor :request_metadata
# Optional. # Optional. Controls if the search job request requires the return of a precise
# Controls if the search job request requires the return of a precise
# count of the first 300 results. Setting this to `true` ensures # count of the first 300 results. Setting this to `true` ensures
# consistency in the number of results per page. Best practice is to set this # consistency in the number of results per page. Best practice is to set this
# value to true if a client allows users to jump directly to a # value to true if a client allows users to jump directly to a
@ -2460,8 +2395,7 @@ module Google
attr_accessor :require_precise_result_size attr_accessor :require_precise_result_size
alias_method :require_precise_result_size?, :require_precise_result_size alias_method :require_precise_result_size?, :require_precise_result_size
# Optional. # Optional. Mode of a search.
# Mode of a search.
# Defaults to SearchMode.JOB_SEARCH. # Defaults to SearchMode.JOB_SEARCH.
# Corresponds to the JSON property `searchMode` # Corresponds to the JSON property `searchMode`
# @return [String] # @return [String]

View File

@ -51,13 +51,11 @@ module Google
# Completes the specified prefix with keyword suggestions. # Completes the specified prefix with keyword suggestions.
# Intended for use by a job search auto-complete search box. # Intended for use by a job search auto-complete search box.
# @param [String] name # @param [String] name
# Required. # Required. Resource name of project the completion is performed within.
# Resource name of project the completion is performed within.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [String] company_name # @param [String] company_name
# Optional. # Optional. If provided, restricts completion to specified company.
# If provided, restricts completion to specified company.
# The format is "projects/`project_id`/companies/`company_id`", for example, # The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo". # "projects/api-test-project/companies/foo".
# @param [String] language_code # @param [String] language_code
@ -77,8 +75,7 @@ module Google
# language_code are returned. # language_code are returned.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# @param [Array<String>, String] language_codes # @param [Array<String>, String] language_codes
# Optional. # Optional. The list of languages of the query. This is
# The list of languages of the query. This is
# the BCP-47 language code, such as "en-US" or "sr-Latn". # the BCP-47 language code, such as "en-US" or "sr-Latn".
# For more information, see # For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
@ -92,19 +89,15 @@ module Google
# language_codes are returned. # language_codes are returned.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Required. # Required. Completion result count.
# Completion result count.
# The maximum allowed page size is 10. # The maximum allowed page size is 10.
# @param [String] query # @param [String] query
# Required. # Required. The query used to generate suggestions.
# The query used to generate suggestions.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# @param [String] scope # @param [String] scope
# Optional. # Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC.
# The scope of the completion. The defaults is CompletionScope.PUBLIC.
# @param [String] type # @param [String] type
# Optional. # Optional. The completion topic. The default is CompletionType.COMBINED.
# The completion topic. The default is CompletionType.COMBINED.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -180,8 +173,7 @@ module Google
# Creates a new company entity. # Creates a new company entity.
# @param [String] parent # @param [String] parent
# Required. # Required. Resource name of the project under which the company is created.
# Resource name of the project under which the company is created.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Google::Apis::JobsV3::CreateCompanyRequest] create_company_request_object # @param [Google::Apis::JobsV3::CreateCompanyRequest] create_company_request_object
@ -217,8 +209,7 @@ module Google
# Deletes specified company. # Deletes specified company.
# Prerequisite: The company has no jobs associated with it. # Prerequisite: The company has no jobs associated with it.
# @param [String] name # @param [String] name
# Required. # Required. The resource name of the company to be deleted.
# The resource name of the company to be deleted.
# The format is "projects/`project_id`/companies/`company_id`", for example, # The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo". # "projects/api-test-project/companies/foo".
# @param [String] fields # @param [String] fields
@ -250,8 +241,7 @@ module Google
# Retrieves specified company. # Retrieves specified company.
# @param [String] name # @param [String] name
# Required. # Required. The resource name of the company to be retrieved.
# The resource name of the company to be retrieved.
# The format is "projects/`project_id`/companies/`company_id`", for example, # The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo". # "projects/api-test-project/companies/foo".
# @param [String] fields # @param [String] fields
@ -283,20 +273,16 @@ module Google
# Lists all companies associated with the service account. # Lists all companies associated with the service account.
# @param [String] parent # @param [String] parent
# Required. # Required. Resource name of the project under which the company is created.
# Resource name of the project under which the company is created.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Optional. # Optional. The maximum number of companies to be returned, at most 100.
# The maximum number of companies to be returned, at most 100.
# Default is 100 if a non-positive number is provided. # Default is 100 if a non-positive number is provided.
# @param [String] page_token # @param [String] page_token
# Optional. # Optional. The starting indicator from which to return results.
# The starting indicator from which to return results.
# @param [Boolean] require_open_jobs # @param [Boolean] require_open_jobs
# Optional. # Optional. Set to true if the companies requested must have open jobs.
# Set to true if the companies requested must have open jobs.
# Defaults to false. # Defaults to false.
# If true, at most page_size of companies are fetched, among which # If true, at most page_size of companies are fetched, among which
# only those with open jobs are returned. # only those with open jobs are returned.
@ -371,8 +357,7 @@ module Google
# Deletes a list of Jobs by filter. # Deletes a list of Jobs by filter.
# @param [String] parent # @param [String] parent
# Required. # Required. The resource name of the project under which the job is created.
# The resource name of the project under which the job is created.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Google::Apis::JobsV3::BatchDeleteJobsRequest] batch_delete_jobs_request_object # @param [Google::Apis::JobsV3::BatchDeleteJobsRequest] batch_delete_jobs_request_object
@ -409,8 +394,7 @@ module Google
# Typically, the job becomes searchable within 10 seconds, but it may take # Typically, the job becomes searchable within 10 seconds, but it may take
# up to 5 minutes. # up to 5 minutes.
# @param [String] parent # @param [String] parent
# Required. # Required. The resource name of the project under which the job is created.
# The resource name of the project under which the job is created.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Google::Apis::JobsV3::CreateJobRequest] create_job_request_object # @param [Google::Apis::JobsV3::CreateJobRequest] create_job_request_object
@ -447,8 +431,7 @@ module Google
# Typically, the job becomes unsearchable within 10 seconds, but it may take # Typically, the job becomes unsearchable within 10 seconds, but it may take
# up to 5 minutes. # up to 5 minutes.
# @param [String] name # @param [String] name
# Required. # Required. The resource name of the job to be deleted.
# The resource name of the job to be deleted.
# The format is "projects/`project_id`/jobs/`job_id`", # The format is "projects/`project_id`/jobs/`job_id`",
# for example, "projects/api-test-project/jobs/1234". # for example, "projects/api-test-project/jobs/1234".
# @param [String] fields # @param [String] fields
@ -481,8 +464,7 @@ module Google
# Retrieves the specified job, whose status is OPEN or recently EXPIRED # Retrieves the specified job, whose status is OPEN or recently EXPIRED
# within the last 90 days. # within the last 90 days.
# @param [String] name # @param [String] name
# Required. # Required. The resource name of the job to retrieve.
# The resource name of the job to retrieve.
# The format is "projects/`project_id`/jobs/`job_id`", # The format is "projects/`project_id`/jobs/`job_id`",
# for example, "projects/api-test-project/jobs/1234". # for example, "projects/api-test-project/jobs/1234".
# @param [String] fields # @param [String] fields
@ -514,13 +496,11 @@ module Google
# Lists jobs by filter. # Lists jobs by filter.
# @param [String] parent # @param [String] parent
# Required. # Required. The resource name of the project under which the job is created.
# The resource name of the project under which the job is created.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [String] filter # @param [String] filter
# Required. # Required. The filter string specifies the jobs to be enumerated.
# The filter string specifies the jobs to be enumerated.
# Supported operator: =, AND # Supported operator: =, AND
# The fields eligible for filtering are: # The fields eligible for filtering are:
# * `companyName` (Required) # * `companyName` (Required)
@ -530,19 +510,16 @@ module Google
# * companyName = "projects/api-test-project/companies/123" AND requisitionId # * companyName = "projects/api-test-project/companies/123" AND requisitionId
# = "req-1" # = "req-1"
# @param [String] job_view # @param [String] job_view
# Optional. # Optional. The desired job attributes returned for jobs in the
# The desired job attributes returned for jobs in the
# search response. Defaults to JobView.JOB_VIEW_FULL if no value is # search response. Defaults to JobView.JOB_VIEW_FULL if no value is
# specified. # specified.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Optional. # Optional. The maximum number of jobs to be returned per page of results.
# The maximum number of jobs to be returned per page of results.
# If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed # If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed
# page size is 1000. Otherwise, the maximum allowed page size is 100. # page size is 1000. Otherwise, the maximum allowed page size is 100.
# Default is 100 if empty or a number < 1 is specified. # Default is 100 if empty or a number < 1 is specified.
# @param [String] page_token # @param [String] page_token
# Optional. # Optional. The starting point of a query result.
# The starting point of a query result.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -620,8 +597,7 @@ module Google
# present in the database, and only returns jobs that the caller has # present in the database, and only returns jobs that the caller has
# permission to search against. # permission to search against.
# @param [String] parent # @param [String] parent
# Required. # Required. The resource name of the project to search within.
# The resource name of the project to search within.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Google::Apis::JobsV3::SearchJobsRequest] search_jobs_request_object # @param [Google::Apis::JobsV3::SearchJobsRequest] search_jobs_request_object
@ -663,8 +639,7 @@ module Google
# present in the database, and only returns jobs the caller has # present in the database, and only returns jobs the caller has
# permission to search against. # permission to search against.
# @param [String] parent # @param [String] parent
# Required. # Required. The resource name of the project to search within.
# The resource name of the project to search within.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Google::Apis::JobsV3::SearchJobsRequest] search_jobs_request_object # @param [Google::Apis::JobsV3::SearchJobsRequest] search_jobs_request_object

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/ # @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3p1beta1 module JobsV3p1beta1
VERSION = 'V3p1beta1' VERSION = 'V3p1beta1'
REVISION = '20190629' REVISION = '20190712'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -75,8 +75,7 @@ module Google
class BatchDeleteJobsRequest class BatchDeleteJobsRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. The filter string specifies the jobs to be deleted.
# The filter string specifies the jobs to be deleted.
# Supported operator: =, AND # Supported operator: =, AND
# The fields eligible for filtering are: # The fields eligible for filtering are:
# * `companyName` (Required) # * `companyName` (Required)
@ -155,22 +154,21 @@ module Google
class ClientEvent class ClientEvent
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. The timestamp of the event.
# The timestamp of the event.
# Corresponds to the JSON property `createTime` # Corresponds to the JSON property `createTime`
# @return [String] # @return [String]
attr_accessor :create_time attr_accessor :create_time
# Required. # Required. A unique identifier, generated by the client application. This `
# A unique identifier, generated by the client application. This `event_id` # event_id`
# is used to establish the relationship between different events # is used to establish the relationship between different events
# (see parent_event_id). # (see parent_event_id).
# Corresponds to the JSON property `eventId` # Corresponds to the JSON property `eventId`
# @return [String] # @return [String]
attr_accessor :event_id attr_accessor :event_id
# Optional. # Optional. Extra information about this event. Used for storing information
# Extra information about this event. Used for storing information with no # with no
# matching field in event payload, for example, user application specific # matching field in event payload, for example, user application specific
# context or details. # context or details.
# At most 20 keys are supported. The maximum total size of all keys and # At most 20 keys are supported. The maximum total size of all keys and
@ -185,8 +183,8 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::JobEvent] # @return [Google::Apis::JobsV3p1beta1::JobEvent]
attr_accessor :job_event attr_accessor :job_event
# Optional. # Optional. The event_id of an event that resulted in the current event. For
# The event_id of an event that resulted in the current event. For example, a # example, a
# Job view event usually follows a parent # Job view event usually follows a parent
# impression event: A job seeker first does a # impression event: A job seeker first does a
# search where a list of jobs appears # search where a list of jobs appears
@ -197,8 +195,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :parent_event_id attr_accessor :parent_event_id
# Required. # Required. A unique ID generated in the API responses. It can be found in
# A unique ID generated in the API responses. It can be found in
# ResponseMetadata.request_id. # ResponseMetadata.request_id.
# Corresponds to the JSON property `requestId` # Corresponds to the JSON property `requestId`
# @return [String] # @return [String]
@ -224,8 +221,8 @@ module Google
class CommuteFilter class CommuteFilter
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. If true, jobs without "precise" addresses (street level addresses or
# If true, jobs without "precise" addresses (street level addresses or GPS # GPS
# coordinates) might also be returned. For city and coarser level addresses, # coordinates) might also be returned. For city and coarser level addresses,
# text matching is used. If this field is set to false or is not specified, # text matching is used. If this field is set to false or is not specified,
# only jobs that include precise addresses are returned by Commute # only jobs that include precise addresses are returned by Commute
@ -239,8 +236,7 @@ module Google
attr_accessor :allow_imprecise_addresses attr_accessor :allow_imprecise_addresses
alias_method :allow_imprecise_addresses?, :allow_imprecise_addresses alias_method :allow_imprecise_addresses?, :allow_imprecise_addresses
# Required. # Required. The method of transportation for which to calculate the commute time.
# The method of transportation for which to calculate the commute time.
# Corresponds to the JSON property `commuteMethod` # Corresponds to the JSON property `commuteMethod`
# @return [String] # @return [String]
attr_accessor :commute_method attr_accessor :commute_method
@ -252,8 +248,7 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::TimeOfDay] # @return [Google::Apis::JobsV3p1beta1::TimeOfDay]
attr_accessor :departure_time attr_accessor :departure_time
# Optional. # Optional. Specifies the traffic density to use when calculating commute time.
# Specifies the traffic density to use when calculating commute time.
# Corresponds to the JSON property `roadTraffic` # Corresponds to the JSON property `roadTraffic`
# @return [String] # @return [String]
attr_accessor :road_traffic attr_accessor :road_traffic
@ -267,8 +262,8 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::LatLng] # @return [Google::Apis::JobsV3p1beta1::LatLng]
attr_accessor :start_coordinates attr_accessor :start_coordinates
# Required. # Required. The maximum travel time in seconds. The maximum allowed value is `
# The maximum travel time in seconds. The maximum allowed value is `3600s` # 3600s`
# (one hour). Format is `123s`. # (one hour). Format is `123s`.
# Corresponds to the JSON property `travelDuration` # Corresponds to the JSON property `travelDuration`
# @return [String] # @return [String]
@ -325,8 +320,8 @@ module Google
class Company class Company
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. The URI to employer's career site or careers page on the employer's
# The URI to employer's career site or careers page on the employer's web # web
# site, for example, "https://careers.google.com". # site, for example, "https://careers.google.com".
# Corresponds to the JSON property `careerSiteUri` # Corresponds to the JSON property `careerSiteUri`
# @return [String] # @return [String]
@ -337,14 +332,12 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::CompanyDerivedInfo] # @return [Google::Apis::JobsV3p1beta1::CompanyDerivedInfo]
attr_accessor :derived_info attr_accessor :derived_info
# Required. # Required. The display name of the company, for example, "Google LLC".
# The display name of the company, for example, "Google, LLC".
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# Optional. # Optional. Equal Employment Opportunity legal disclaimer text to be
# Equal Employment Opportunity legal disclaimer text to be
# associated with all jobs, and typically to be displayed in all # associated with all jobs, and typically to be displayed in all
# roles. # roles.
# The maximum number of allowed characters is 500. # The maximum number of allowed characters is 500.
@ -352,16 +345,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :eeo_text attr_accessor :eeo_text
# Required. # Required. Client side company identifier, used to uniquely identify the
# Client side company identifier, used to uniquely identify the
# company. # company.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# Corresponds to the JSON property `externalId` # Corresponds to the JSON property `externalId`
# @return [String] # @return [String]
attr_accessor :external_id attr_accessor :external_id
# Optional. # Optional. The street address of the company's main headquarters, which may be
# The street address of the company's main headquarters, which may be
# different from the job location. The service attempts # different from the job location. The service attempts
# to geolocate the provided address, and populates a more specific # to geolocate the provided address, and populates a more specific
# location wherever possible in DerivedInfo.headquarters_location. # location wherever possible in DerivedInfo.headquarters_location.
@ -369,8 +360,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :headquarters_address attr_accessor :headquarters_address
# Optional. # Optional. Set to true if it is the hiring agency that post jobs for other
# Set to true if it is the hiring agency that post jobs for other
# employers. # employers.
# Defaults to false if not provided. # Defaults to false if not provided.
# Corresponds to the JSON property `hiringAgency` # Corresponds to the JSON property `hiringAgency`
@ -378,14 +368,12 @@ module Google
attr_accessor :hiring_agency attr_accessor :hiring_agency
alias_method :hiring_agency?, :hiring_agency alias_method :hiring_agency?, :hiring_agency
# Optional. # Optional. A URI that hosts the employer's company logo.
# A URI that hosts the employer's company logo.
# Corresponds to the JSON property `imageUri` # Corresponds to the JSON property `imageUri`
# @return [String] # @return [String]
attr_accessor :image_uri attr_accessor :image_uri
# Optional. # Optional. A list of keys of filterable Job.custom_attributes, whose
# A list of keys of filterable Job.custom_attributes, whose
# corresponding `string_values` are used in keyword search. Jobs with # corresponding `string_values` are used in keyword search. Jobs with
# `string_values` under these specified field keys are returned if any # `string_values` under these specified field keys are returned if any
# of the values matches the search keyword. Custom field values with # of the values matches the search keyword. Custom field values with
@ -404,8 +392,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Optional. # Optional. The employer's company size.
# The employer's company size.
# Corresponds to the JSON property `size` # Corresponds to the JSON property `size`
# @return [String] # @return [String]
attr_accessor :size attr_accessor :size
@ -418,8 +405,7 @@ module Google
attr_accessor :suspended attr_accessor :suspended
alias_method :suspended?, :suspended alias_method :suspended?, :suspended
# Optional. # Optional. The URI representing the company's primary web site or home page,
# The URI representing the company's primary web site or home page,
# for example, "https://www.google.com". # for example, "https://www.google.com".
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# Corresponds to the JSON property `websiteUri` # Corresponds to the JSON property `websiteUri`
@ -483,16 +469,14 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::Money] # @return [Google::Apis::JobsV3p1beta1::Money]
attr_accessor :amount attr_accessor :amount
# Optional. # Optional. Compensation description. For example, could
# Compensation description. For example, could
# indicate equity terms or provide additional context to an estimated # indicate equity terms or provide additional context to an estimated
# bonus. # bonus.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# Optional. # Optional. Expected number of units paid each year. If not specified, when
# Expected number of units paid each year. If not specified, when
# Job.employment_types is FULLTIME, a default value is inferred # Job.employment_types is FULLTIME, a default value is inferred
# based on unit. Default values: # based on unit. Default values:
# - HOURLY: 2080 # - HOURLY: 2080
@ -509,15 +493,13 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::CompensationRange] # @return [Google::Apis::JobsV3p1beta1::CompensationRange]
attr_accessor :range attr_accessor :range
# Optional. # Optional. Compensation type.
# Compensation type.
# Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED. # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type
# Optional. # Optional. Frequency of the specified amount.
# Frequency of the specified amount.
# Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED. # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
# Corresponds to the JSON property `unit` # Corresponds to the JSON property `unit`
# @return [String] # @return [String]
@ -543,8 +525,7 @@ module Google
class CompensationFilter class CompensationFilter
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. If set to true, jobs with unspecified compensation range fields are
# If set to true, jobs with unspecified compensation range fields are
# included. # included.
# Corresponds to the JSON property `includeJobsWithUnspecifiedCompensationRange` # Corresponds to the JSON property `includeJobsWithUnspecifiedCompensationRange`
# @return [Boolean] # @return [Boolean]
@ -556,14 +537,12 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::CompensationRange] # @return [Google::Apis::JobsV3p1beta1::CompensationRange]
attr_accessor :range attr_accessor :range
# Required. # Required. Type of filter.
# Type of filter.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type
# Required. # Required. Specify desired `base compensation entry's`
# Specify desired `base compensation entry's`
# CompensationInfo.CompensationUnit. # CompensationInfo.CompensationUnit.
# Corresponds to the JSON property `units` # Corresponds to the JSON property `units`
# @return [Array<String>] # @return [Array<String>]
@ -593,8 +572,8 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::NumericBucketingOption] # @return [Google::Apis::JobsV3p1beta1::NumericBucketingOption]
attr_accessor :bucketing_option attr_accessor :bucketing_option
# Required. # Required. Type of the request, representing which field the histogramming
# Type of the request, representing which field the histogramming should be # should be
# performed over. A single request can only specify one histogram of each # performed over. A single request can only specify one histogram of each
# `CompensationHistogramRequestType`. # `CompensationHistogramRequestType`.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
@ -654,8 +633,7 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::CompensationRange] # @return [Google::Apis::JobsV3p1beta1::CompensationRange]
attr_accessor :annualized_total_compensation_range attr_accessor :annualized_total_compensation_range
# Optional. # Optional. Job compensation information.
# Job compensation information.
# At most one entry can be of type # At most one entry can be of type
# CompensationInfo.CompensationType.BASE, which is # CompensationInfo.CompensationType.BASE, which is
# referred as ** base compensation entry ** for the job. # referred as ** base compensation entry ** for the job.
@ -830,8 +808,7 @@ module Google
class CustomAttribute class CustomAttribute
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. If the `filterable` flag is true, custom field values are searchable.
# If the `filterable` flag is true, custom field values are searchable.
# If false, values are not searchable. # If false, values are not searchable.
# Default is false. # Default is false.
# Corresponds to the JSON property `filterable` # Corresponds to the JSON property `filterable`
@ -879,8 +856,8 @@ module Google
class CustomAttributeHistogramRequest class CustomAttributeHistogramRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. Specifies the custom field key to perform a histogram on. If
# Specifies the custom field key to perform a histogram on. If specified # specified
# without `long_value_histogram_bucketing_option`, histogram on string values # without `long_value_histogram_bucketing_option`, histogram on string values
# of the given `key` is triggered, otherwise histogram is performed on long # of the given `key` is triggered, otherwise histogram is performed on long
# values. # values.
@ -952,8 +929,7 @@ module Google
class CustomRankingInfo class CustomRankingInfo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. Controls over how important the score of
# Controls over how important the score of
# CustomRankingInfo.ranking_expression gets applied to job's final # CustomRankingInfo.ranking_expression gets applied to job's final
# ranking position. # ranking position.
# An error is thrown if not specified. # An error is thrown if not specified.
@ -961,8 +937,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :importance_level attr_accessor :importance_level
# Required. # Required. Controls over how job documents get ranked on top of existing
# Controls over how job documents get ranked on top of existing relevance # relevance
# score (determined by API algorithm). The product of ranking expression # score (determined by API algorithm). The product of ranking expression
# and relevance score is used to determine job's final ranking position. # and relevance score is used to determine job's final ranking position.
# The syntax for this expression is a subset of Google SQL syntax. # The syntax for this expression is a subset of Google SQL syntax.
@ -994,14 +970,12 @@ module Google
class DeviceInfo class DeviceInfo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. Type of the device.
# Type of the device.
# Corresponds to the JSON property `deviceType` # Corresponds to the JSON property `deviceType`
# @return [String] # @return [String]
attr_accessor :device_type attr_accessor :device_type
# Optional. # Optional. A device-specific ID. The ID must be a unique identifier that
# A device-specific ID. The ID must be a unique identifier that
# distinguishes the device from other devices. # distinguishes the device from other devices.
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
# @return [String] # @return [String]
@ -1042,23 +1016,20 @@ module Google
class HistogramFacets class HistogramFacets
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. Specifies compensation field-based histogram requests.
# Specifies compensation field-based histogram requests.
# Duplicate values of CompensationHistogramRequest.type are not allowed. # Duplicate values of CompensationHistogramRequest.type are not allowed.
# Corresponds to the JSON property `compensationHistogramFacets` # Corresponds to the JSON property `compensationHistogramFacets`
# @return [Array<Google::Apis::JobsV3p1beta1::CompensationHistogramRequest>] # @return [Array<Google::Apis::JobsV3p1beta1::CompensationHistogramRequest>]
attr_accessor :compensation_histogram_facets attr_accessor :compensation_histogram_facets
# Optional. # Optional. Specifies the custom attributes histogram requests.
# Specifies the custom attributes histogram requests.
# Duplicate values of CustomAttributeHistogramRequest.key are not # Duplicate values of CustomAttributeHistogramRequest.key are not
# allowed. # allowed.
# Corresponds to the JSON property `customAttributeHistogramFacets` # Corresponds to the JSON property `customAttributeHistogramFacets`
# @return [Array<Google::Apis::JobsV3p1beta1::CustomAttributeHistogramRequest>] # @return [Array<Google::Apis::JobsV3p1beta1::CustomAttributeHistogramRequest>]
attr_accessor :custom_attribute_histogram_facets attr_accessor :custom_attribute_histogram_facets
# Optional. # Optional. Specifies the simple type of histogram facets, for example,
# Specifies the simple type of histogram facets, for example,
# `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc. # `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc.
# Corresponds to the JSON property `simpleHistogramFacets` # Corresponds to the JSON property `simpleHistogramFacets`
# @return [Array<String>] # @return [Array<String>]
@ -1307,8 +1278,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :company_display_name attr_accessor :company_display_name
# Required. # Required. The resource name of the company listing the job, such as
# The resource name of the company listing the job, such as
# "projects/api-test-project/companies/foo". # "projects/api-test-project/companies/foo".
# Corresponds to the JSON property `companyName` # Corresponds to the JSON property `companyName`
# @return [String] # @return [String]
@ -1319,8 +1289,8 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::CompensationInfo] # @return [Google::Apis::JobsV3p1beta1::CompensationInfo]
attr_accessor :compensation_info attr_accessor :compensation_info
# Optional. # Optional. A map of fields to hold both filterable and non-filterable custom
# A map of fields to hold both filterable and non-filterable custom job # job
# attributes that are not covered by the provided structured fields. # attributes that are not covered by the provided structured fields.
# The keys of the map are strings up to 64 bytes and must match the # The keys of the map are strings up to 64 bytes and must match the
# pattern: a-zA-Z*. For example, key0LikeThis or # pattern: a-zA-Z*. For example, key0LikeThis or
@ -1334,14 +1304,13 @@ module Google
# @return [Hash<String,Google::Apis::JobsV3p1beta1::CustomAttribute>] # @return [Hash<String,Google::Apis::JobsV3p1beta1::CustomAttribute>]
attr_accessor :custom_attributes attr_accessor :custom_attributes
# Optional. # Optional. The desired education degrees for the job, such as Bachelors,
# The desired education degrees for the job, such as Bachelors, Masters. # Masters.
# Corresponds to the JSON property `degreeTypes` # Corresponds to the JSON property `degreeTypes`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :degree_types attr_accessor :degree_types
# Optional. # Optional. The department or functional area within the company with the open
# The department or functional area within the company with the open
# position. # position.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# Corresponds to the JSON property `department` # Corresponds to the JSON property `department`
@ -1354,8 +1323,8 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::JobDerivedInfo] # @return [Google::Apis::JobsV3p1beta1::JobDerivedInfo]
attr_accessor :derived_info attr_accessor :derived_info
# Required. # Required. The description of the job, which typically includes a multi-
# The description of the job, which typically includes a multi-paragraph # paragraph
# description of the company and related information. Separate fields are # description of the company and related information. Separate fields are
# provided on the job object for responsibilities, # provided on the job object for responsibilities,
# qualifications, and other job characteristics. Use of # qualifications, and other job characteristics. Use of
@ -1367,50 +1336,45 @@ module Google
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# Optional. # Optional. The employment type(s) of a job, for example,
# The employment type(s) of a job, for example,
# full time or # full time or
# part time. # part time.
# Corresponds to the JSON property `employmentTypes` # Corresponds to the JSON property `employmentTypes`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :employment_types attr_accessor :employment_types
# Optional. # Optional. A description of bonus, commission, and other compensation
# A description of bonus, commission, and other compensation
# incentives associated with the job not including salary or pay. # incentives associated with the job not including salary or pay.
# The maximum number of allowed characters is 10,000. # The maximum number of allowed characters is 10,000.
# Corresponds to the JSON property `incentives` # Corresponds to the JSON property `incentives`
# @return [String] # @return [String]
attr_accessor :incentives attr_accessor :incentives
# Optional. # Optional. The benefits included with the job.
# The benefits included with the job.
# Corresponds to the JSON property `jobBenefits` # Corresponds to the JSON property `jobBenefits`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :job_benefits attr_accessor :job_benefits
# Optional. # Optional. The end timestamp of the job. Typically this field is used for
# The end timestamp of the job. Typically this field is used for contracting # contracting
# engagements. Invalid timestamps are ignored. # engagements. Invalid timestamps are ignored.
# Corresponds to the JSON property `jobEndTime` # Corresponds to the JSON property `jobEndTime`
# @return [String] # @return [String]
attr_accessor :job_end_time attr_accessor :job_end_time
# Optional. # Optional. The experience level associated with the job, such as "Entry Level".
# The experience level associated with the job, such as "Entry Level".
# Corresponds to the JSON property `jobLevel` # Corresponds to the JSON property `jobLevel`
# @return [String] # @return [String]
attr_accessor :job_level attr_accessor :job_level
# Optional. # Optional. The start timestamp of the job in UTC time zone. Typically this
# The start timestamp of the job in UTC time zone. Typically this field # field
# is used for contracting engagements. Invalid timestamps are ignored. # is used for contracting engagements. Invalid timestamps are ignored.
# Corresponds to the JSON property `jobStartTime` # Corresponds to the JSON property `jobStartTime`
# @return [String] # @return [String]
attr_accessor :job_start_time attr_accessor :job_start_time
# Optional. # Optional. The language of the posting. This field is distinct from
# The language of the posting. This field is distinct from
# any requirements for fluency that are associated with the job. # any requirements for fluency that are associated with the job.
# Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". # Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
# For more information, see # For more information, see
@ -1470,16 +1434,15 @@ module Google
# @return [String] # @return [String]
attr_accessor :posting_expire_time attr_accessor :posting_expire_time
# Optional. # Optional. The timestamp this job posting was most recently published. The
# The timestamp this job posting was most recently published. The default # default
# value is the time the request arrives at the server. Invalid timestamps are # value is the time the request arrives at the server. Invalid timestamps are
# ignored. # ignored.
# Corresponds to the JSON property `postingPublishTime` # Corresponds to the JSON property `postingPublishTime`
# @return [String] # @return [String]
attr_accessor :posting_publish_time attr_accessor :posting_publish_time
# Optional. # Optional. The job PostingRegion (for example, state, country) throughout which
# The job PostingRegion (for example, state, country) throughout which
# the job is available. If this field is set, a # the job is available. If this field is set, a
# LocationFilter in a search query within the job region # LocationFilter in a search query within the job region
# finds this job posting if an exact location match isn't specified. # finds this job posting if an exact location match isn't specified.
@ -1501,8 +1464,7 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::ProcessingOptions] # @return [Google::Apis::JobsV3p1beta1::ProcessingOptions]
attr_accessor :processing_options attr_accessor :processing_options
# Optional. # Optional. A promotion value of the job, as determined by the client.
# A promotion value of the job, as determined by the client.
# The value determines the sort order of the jobs returned when searching for # The value determines the sort order of the jobs returned when searching for
# jobs using the featured jobs search call, with higher promotional values # jobs using the featured jobs search call, with higher promotional values
# being returned first and ties being resolved by relevance sort. Only the # being returned first and ties being resolved by relevance sort. Only the
@ -1512,8 +1474,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :promotion_value attr_accessor :promotion_value
# Optional. # Optional. A description of the qualifications required to perform the
# A description of the qualifications required to perform the
# job. The use of this field is recommended # job. The use of this field is recommended
# as an alternative to using the more general description field. # as an alternative to using the more general description field.
# This field accepts and sanitizes HTML input, and also accepts # This field accepts and sanitizes HTML input, and also accepts
@ -1523,8 +1484,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :qualifications attr_accessor :qualifications
# Required. # Required. The requisition ID, also referred to as the posting ID, assigned by
# The requisition ID, also referred to as the posting ID, assigned by the # the
# client to identify a job. This field is intended to be used by clients # client to identify a job. This field is intended to be used by clients
# for client identification and tracking of postings. A job is not allowed # for client identification and tracking of postings. A job is not allowed
# to be created if there is another job with the same [company_name], # to be created if there is another job with the same [company_name],
@ -1534,8 +1495,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :requisition_id attr_accessor :requisition_id
# Optional. # Optional. A description of job responsibilities. The use of this field is
# A description of job responsibilities. The use of this field is
# recommended as an alternative to using the more general description # recommended as an alternative to using the more general description
# field. # field.
# This field accepts and sanitizes HTML input, and also accepts # This field accepts and sanitizes HTML input, and also accepts
@ -1545,15 +1505,13 @@ module Google
# @return [String] # @return [String]
attr_accessor :responsibilities attr_accessor :responsibilities
# Required. # Required. The title of the job, such as "Software Engineer"
# The title of the job, such as "Software Engineer"
# The maximum number of allowed characters is 500. # The maximum number of allowed characters is 500.
# Corresponds to the JSON property `title` # Corresponds to the JSON property `title`
# @return [String] # @return [String]
attr_accessor :title attr_accessor :title
# Optional. # Optional. The visibility of the job.
# The visibility of the job.
# Defaults to Visibility.ACCOUNT_ONLY if not specified. # Defaults to Visibility.ACCOUNT_ONLY if not specified.
# Corresponds to the JSON property `visibility` # Corresponds to the JSON property `visibility`
# @return [String] # @return [String]
@ -1631,8 +1589,7 @@ module Google
class JobEvent class JobEvent
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. The job name(s) associated with this event.
# The job name(s) associated with this event.
# For example, if this is an impression event, # For example, if this is an impression event,
# this field contains the identifiers of all jobs shown to the job seeker. # this field contains the identifiers of all jobs shown to the job seeker.
# If this was a view event, this field contains the # If this was a view event, this field contains the
@ -1641,8 +1598,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :jobs attr_accessor :jobs
# Required. # Required. The type of the event (see JobEventType).
# The type of the event (see JobEventType).
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type
@ -1669,8 +1625,7 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::CommuteFilter] # @return [Google::Apis::JobsV3p1beta1::CommuteFilter]
attr_accessor :commute_filter attr_accessor :commute_filter
# Optional. # Optional. This filter specifies the exact company display
# This filter specifies the exact company display
# name of the jobs to search against. # name of the jobs to search against.
# If a value isn't specified, jobs within the search results are # If a value isn't specified, jobs within the search results are
# associated with any company. # associated with any company.
@ -1681,8 +1636,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :company_display_names attr_accessor :company_display_names
# Optional. # Optional. This filter specifies the company entities to search against.
# This filter specifies the company entities to search against.
# If a value isn't specified, jobs are searched for against all # If a value isn't specified, jobs are searched for against all
# companies. # companies.
# If multiple values are specified, jobs are searched against the # If multiple values are specified, jobs are searched against the
@ -1700,8 +1654,7 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::CompensationFilter] # @return [Google::Apis::JobsV3p1beta1::CompensationFilter]
attr_accessor :compensation_filter attr_accessor :compensation_filter
# Optional. # Optional. This filter specifies a structured syntax to match against the
# This filter specifies a structured syntax to match against the
# Job.custom_attributes marked as `filterable`. # Job.custom_attributes marked as `filterable`.
# The syntax for this expression is a subset of SQL syntax. # The syntax for this expression is a subset of SQL syntax.
# Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the # Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the
@ -1714,7 +1667,7 @@ module Google
# Boolean expressions (AND/OR/NOT) are supported up to 3 levels of # Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
# nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 # nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
# comparisons or functions are allowed in the expression. The expression # comparisons or functions are allowed in the expression. The expression
# must be < 3000 bytes in length. # must be < 6000 bytes in length.
# Sample Query: # Sample Query:
# `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND # `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
# driving_years > 10` # driving_years > 10`
@ -1722,8 +1675,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :custom_attribute_filter attr_accessor :custom_attribute_filter
# Optional. # Optional. This flag controls the spell-check feature. If false, the
# This flag controls the spell-check feature. If false, the
# service attempts to correct a misspelled query, # service attempts to correct a misspelled query,
# for example, "enginee" is corrected to "engineer". # for example, "enginee" is corrected to "engineer".
# Defaults to false: a spell check is performed. # Defaults to false: a spell check is performed.
@ -1732,8 +1684,7 @@ module Google
attr_accessor :disable_spell_check attr_accessor :disable_spell_check
alias_method :disable_spell_check?, :disable_spell_check alias_method :disable_spell_check?, :disable_spell_check
# Optional. # Optional. The employment type filter specifies the employment type of jobs to
# The employment type filter specifies the employment type of jobs to
# search against, such as EmploymentType.FULL_TIME. # search against, such as EmploymentType.FULL_TIME.
# If a value is not specified, jobs in the search results includes any # If a value is not specified, jobs in the search results includes any
# employment type. # employment type.
@ -1743,15 +1694,15 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :employment_types attr_accessor :employment_types
# Optional. # Optional. This filter specifies a list of job names to be excluded during
# This filter specifies a list of job names to be excluded during search. # search.
# At most 400 excluded job names are allowed. # At most 400 excluded job names are allowed.
# Corresponds to the JSON property `excludedJobs` # Corresponds to the JSON property `excludedJobs`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :excluded_jobs attr_accessor :excluded_jobs
# Optional. # Optional. The category filter specifies the categories of jobs to search
# The category filter specifies the categories of jobs to search against. # against.
# See Category for more information. # See Category for more information.
# If a value is not specified, jobs from any category are searched against. # If a value is not specified, jobs from any category are searched against.
# If multiple values are specified, jobs from any of the specified # If multiple values are specified, jobs from any of the specified
@ -1760,8 +1711,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :job_categories attr_accessor :job_categories
# Optional. # Optional. This filter specifies the locale of jobs to search against,
# This filter specifies the locale of jobs to search against,
# for example, "en-US". # for example, "en-US".
# If a value isn't specified, the search results can contain jobs in any # If a value isn't specified, the search results can contain jobs in any
# locale. # locale.
@ -1773,8 +1723,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :language_codes attr_accessor :language_codes
# Optional. # Optional. The location filter specifies geo-regions containing the jobs to
# The location filter specifies geo-regions containing the jobs to
# search against. See LocationFilter for more information. # search against. See LocationFilter for more information.
# If a location value isn't specified, jobs fitting the other search # If a location value isn't specified, jobs fitting the other search
# criteria are retrieved regardless of where they're located. # criteria are retrieved regardless of where they're located.
@ -1792,8 +1741,8 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::TimestampRange] # @return [Google::Apis::JobsV3p1beta1::TimestampRange]
attr_accessor :publish_time_range attr_accessor :publish_time_range
# Optional. # Optional. The query string that matches against the job title, description,
# The query string that matches against the job title, description, and # and
# location fields. # location fields.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# Corresponds to the JSON property `query` # Corresponds to the JSON property `query`
@ -1950,7 +1899,7 @@ module Google
# existing data, depending on the type of process. # existing data, depending on the type of process.
# Advice on address input / editing: # Advice on address input / editing:
# - Use an i18n-ready address widget such as # - Use an i18n-ready address widget such as
# https://github.com/googlei18n/libaddressinput) # https://github.com/google/libaddressinput)
# - Users should not be presented with UI elements for input or editing of # - Users should not be presented with UI elements for input or editing of
# fields outside countries where that field is used. # fields outside countries where that field is used.
# For more guidance on how to use this schema, please see: # For more guidance on how to use this schema, please see:
@ -1986,14 +1935,13 @@ module Google
class LocationFilter class LocationFilter
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. The address name, such as "Mountain View" or "Bay Area".
# The address name, such as "Mountain View" or "Bay Area".
# Corresponds to the JSON property `address` # Corresponds to the JSON property `address`
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# Optional. # Optional. The distance_in_miles is applied when the location being searched
# The distance_in_miles is applied when the location being searched for is # for is
# identified as a city or smaller. When the location being searched for is a # identified as a city or smaller. When the location being searched for is a
# state or larger, this field is ignored. # state or larger, this field is ignored.
# Corresponds to the JSON property `distanceInMiles` # Corresponds to the JSON property `distanceInMiles`
@ -2009,8 +1957,7 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::LatLng] # @return [Google::Apis::JobsV3p1beta1::LatLng]
attr_accessor :lat_lng attr_accessor :lat_lng
# Optional. # Optional. CLDR region code of the country/region of the address. This is used
# CLDR region code of the country/region of the address. This is used
# to address ambiguity of the user-input location, for example, "Liverpool" # to address ambiguity of the user-input location, for example, "Liverpool"
# against "Liverpool, NY, US" or "Liverpool, UK". # against "Liverpool, NY, US" or "Liverpool, UK".
# Set this field if all the jobs to search against are from a same region, # Set this field if all the jobs to search against are from a same region,
@ -2022,8 +1969,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :region_code attr_accessor :region_code
# Optional. # Optional. Allows the client to return jobs without a
# Allows the client to return jobs without a
# set location, specifically, telecommuting jobs (telecommuting is considered # set location, specifically, telecommuting jobs (telecommuting is considered
# by the service as a special location. # by the service as a special location.
# Job.posting_region indicates if a job permits telecommuting. # Job.posting_region indicates if a job permits telecommuting.
@ -2151,8 +2097,7 @@ module Google
class NumericBucketingOption class NumericBucketingOption
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. # Required. Two adjacent values form a histogram bucket. Values should be in
# Two adjacent values form a histogram bucket. Values should be in
# ascending order. For example, if [5, 10, 15] are provided, four buckets are # ascending order. For example, if [5, 10, 15] are provided, four buckets are
# created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20 # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20
# [buckets_bound is supported. # [buckets_bound is supported.
@ -2160,8 +2105,7 @@ module Google
# @return [Array<Float>] # @return [Array<Float>]
attr_accessor :bucket_bounds attr_accessor :bucket_bounds
# Optional. # Optional. If set to true, the histogram result includes minimum/maximum
# If set to true, the histogram result includes minimum/maximum
# value of the numeric field. # value of the numeric field.
# Corresponds to the JSON property `requiresMinMax` # Corresponds to the JSON property `requiresMinMax`
# @return [Boolean] # @return [Boolean]
@ -2287,7 +2231,7 @@ module Google
# existing data, depending on the type of process. # existing data, depending on the type of process.
# Advice on address input / editing: # Advice on address input / editing:
# - Use an i18n-ready address widget such as # - Use an i18n-ready address widget such as
# https://github.com/googlei18n/libaddressinput) # https://github.com/google/libaddressinput)
# - Users should not be presented with UI elements for input or editing of # - Users should not be presented with UI elements for input or editing of
# fields outside countries where that field is used. # fields outside countries where that field is used.
# For more guidance on how to use this schema, please see: # For more guidance on how to use this schema, please see:
@ -2427,16 +2371,14 @@ module Google
class ProcessingOptions class ProcessingOptions
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. # Optional. If set to `true`, the service does not attempt to resolve a
# If set to `true`, the service does not attempt to resolve a
# more precise address for the job. # more precise address for the job.
# Corresponds to the JSON property `disableStreetAddressResolution` # Corresponds to the JSON property `disableStreetAddressResolution`
# @return [Boolean] # @return [Boolean]
attr_accessor :disable_street_address_resolution attr_accessor :disable_street_address_resolution
alias_method :disable_street_address_resolution?, :disable_street_address_resolution alias_method :disable_street_address_resolution?, :disable_street_address_resolution
# Optional. # Optional. Option for job HTML content sanitization. Applied fields are:
# Option for job HTML content sanitization. Applied fields are:
# * description # * description
# * applicationInfo.instruction # * applicationInfo.instruction
# * incentives # * incentives
@ -2474,8 +2416,8 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::DeviceInfo] # @return [Google::Apis::JobsV3p1beta1::DeviceInfo]
attr_accessor :device_info attr_accessor :device_info
# Required. # Required. The client-defined scope or source of the service call, which
# The client-defined scope or source of the service call, which typically # typically
# is the domain on # is the domain on
# which the service has been implemented and is currently being run. # which the service has been implemented and is currently being run.
# For example, if the service is being run by client <em>Foo, Inc.</em>, on # For example, if the service is being run by client <em>Foo, Inc.</em>, on
@ -2490,8 +2432,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :domain attr_accessor :domain
# Required. # Required. A unique session identification string. A session is defined as the
# A unique session identification string. A session is defined as the
# duration of an end user's interaction with the service over a certain # duration of an end user's interaction with the service over a certain
# period. # period.
# Obfuscate this field for privacy concerns before # Obfuscate this field for privacy concerns before
@ -2504,8 +2445,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :session_id attr_accessor :session_id
# Required. # Required. A unique user identification string, as determined by the client.
# A unique user identification string, as determined by the client.
# To have the strongest positive impact on search quality # To have the strongest positive impact on search quality
# make sure the client-level is unique. # make sure the client-level is unique.
# Obfuscate this field for privacy concerns before # Obfuscate this field for privacy concerns before
@ -2563,8 +2503,7 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::CustomRankingInfo] # @return [Google::Apis::JobsV3p1beta1::CustomRankingInfo]
attr_accessor :custom_ranking_info attr_accessor :custom_ranking_info
# Optional. # Optional. Controls whether to disable exact keyword match on Job.job_title,
# Controls whether to disable exact keyword match on Job.job_title,
# Job.description, Job.company_display_name, Job.locations, # Job.description, Job.company_display_name, Job.locations,
# Job.qualifications. When disable keyword match is turned off, a # Job.qualifications. When disable keyword match is turned off, a
# keyword match returns jobs that do not match given category filters when # keyword match returns jobs that do not match given category filters when
@ -2585,8 +2524,8 @@ module Google
attr_accessor :disable_keyword_match attr_accessor :disable_keyword_match
alias_method :disable_keyword_match?, :disable_keyword_match alias_method :disable_keyword_match?, :disable_keyword_match
# Optional. # Optional. Controls whether highly similar jobs are returned next to each other
# Controls whether highly similar jobs are returned next to each other in # in
# the search results. Jobs are identified as highly similar based on # the search results. Jobs are identified as highly similar based on
# their titles, job categories, and locations. Highly similar results are # their titles, job categories, and locations. Highly similar results are
# clustered so that only one representative job of the cluster is # clustered so that only one representative job of the cluster is
@ -2598,8 +2537,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :diversification_level attr_accessor :diversification_level
# Optional. # Optional. Controls whether to broaden the search when it produces sparse
# Controls whether to broaden the search when it produces sparse results. # results.
# Broadened queries append results to the end of the matching results # Broadened queries append results to the end of the matching results
# list. # list.
# Defaults to false. # Defaults to false.
@ -2614,8 +2553,7 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::HistogramFacets] # @return [Google::Apis::JobsV3p1beta1::HistogramFacets]
attr_accessor :histogram_facets attr_accessor :histogram_facets
# Optional. # Optional. Expression based histogram requests for jobs matching JobQuery.
# Expression based histogram requests for jobs matching JobQuery.
# Corresponds to the JSON property `histogramQueries` # Corresponds to the JSON property `histogramQueries`
# @return [Array<Google::Apis::JobsV3p1beta1::HistogramQuery>] # @return [Array<Google::Apis::JobsV3p1beta1::HistogramQuery>]
attr_accessor :histogram_queries attr_accessor :histogram_queries
@ -2626,15 +2564,14 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::JobQuery] # @return [Google::Apis::JobsV3p1beta1::JobQuery]
attr_accessor :job_query attr_accessor :job_query
# Optional. # Optional. The desired job attributes returned for jobs in the
# The desired job attributes returned for jobs in the
# search response. Defaults to JobView.SMALL if no value is specified. # search response. Defaults to JobView.SMALL if no value is specified.
# Corresponds to the JSON property `jobView` # Corresponds to the JSON property `jobView`
# @return [String] # @return [String]
attr_accessor :job_view attr_accessor :job_view
# Optional. # Optional. An integer that specifies the current offset (that is, starting
# An integer that specifies the current offset (that is, starting result # result
# location, amongst the jobs deemed by the API as relevant) in search # location, amongst the jobs deemed by the API as relevant) in search
# results. This field is only considered if page_token is unset. # results. This field is only considered if page_token is unset.
# For example, 0 means to return results starting from the first matching # For example, 0 means to return results starting from the first matching
@ -2645,8 +2582,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :offset attr_accessor :offset
# Optional. # Optional. The criteria determining how search results are sorted. Default is
# The criteria determining how search results are sorted. Default is
# "relevance desc". # "relevance desc".
# Supported options are: # Supported options are:
# * `"relevance desc"`: By relevance descending, as determined by the API # * `"relevance desc"`: By relevance descending, as determined by the API
@ -2698,16 +2634,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :order_by attr_accessor :order_by
# Optional. # Optional. A limit on the number of jobs returned in the search results.
# A limit on the number of jobs returned in the search results.
# Increasing this value above the default value of 10 can increase search # Increasing this value above the default value of 10 can increase search
# response time. The value can be between 1 and 100. # response time. The value can be between 1 and 100.
# Corresponds to the JSON property `pageSize` # Corresponds to the JSON property `pageSize`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :page_size attr_accessor :page_size
# Optional. # Optional. The token specifying the current offset within
# The token specifying the current offset within
# search results. See SearchJobsResponse.next_page_token for # search results. See SearchJobsResponse.next_page_token for
# an explanation of how to obtain the next set of query results. # an explanation of how to obtain the next set of query results.
# Corresponds to the JSON property `pageToken` # Corresponds to the JSON property `pageToken`
@ -2722,8 +2656,7 @@ module Google
# @return [Google::Apis::JobsV3p1beta1::RequestMetadata] # @return [Google::Apis::JobsV3p1beta1::RequestMetadata]
attr_accessor :request_metadata attr_accessor :request_metadata
# Optional. # Optional. Controls if the search job request requires the return of a precise
# Controls if the search job request requires the return of a precise
# count of the first 300 results. Setting this to `true` ensures # count of the first 300 results. Setting this to `true` ensures
# consistency in the number of results per page. Best practice is to set this # consistency in the number of results per page. Best practice is to set this
# value to true if a client allows users to jump directly to a # value to true if a client allows users to jump directly to a
@ -2735,8 +2668,7 @@ module Google
attr_accessor :require_precise_result_size attr_accessor :require_precise_result_size
alias_method :require_precise_result_size?, :require_precise_result_size alias_method :require_precise_result_size?, :require_precise_result_size
# Optional. # Optional. Mode of a search.
# Mode of a search.
# Defaults to SearchMode.JOB_SEARCH. # Defaults to SearchMode.JOB_SEARCH.
# Corresponds to the JSON property `searchMode` # Corresponds to the JSON property `searchMode`
# @return [String] # @return [String]

View File

@ -51,13 +51,11 @@ module Google
# Completes the specified prefix with keyword suggestions. # Completes the specified prefix with keyword suggestions.
# Intended for use by a job search auto-complete search box. # Intended for use by a job search auto-complete search box.
# @param [String] name # @param [String] name
# Required. # Required. Resource name of project the completion is performed within.
# Resource name of project the completion is performed within.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [String] company_name # @param [String] company_name
# Optional. # Optional. If provided, restricts completion to specified company.
# If provided, restricts completion to specified company.
# The format is "projects/`project_id`/companies/`company_id`", for example, # The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo". # "projects/api-test-project/companies/foo".
# @param [String] language_code # @param [String] language_code
@ -77,8 +75,7 @@ module Google
# language_code are returned. # language_code are returned.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# @param [Array<String>, String] language_codes # @param [Array<String>, String] language_codes
# Optional. # Optional. The list of languages of the query. This is
# The list of languages of the query. This is
# the BCP-47 language code, such as "en-US" or "sr-Latn". # the BCP-47 language code, such as "en-US" or "sr-Latn".
# For more information, see # For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
@ -92,19 +89,15 @@ module Google
# language_codes are returned. # language_codes are returned.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Required. # Required. Completion result count.
# Completion result count.
# The maximum allowed page size is 10. # The maximum allowed page size is 10.
# @param [String] query # @param [String] query
# Required. # Required. The query used to generate suggestions.
# The query used to generate suggestions.
# The maximum number of allowed characters is 255. # The maximum number of allowed characters is 255.
# @param [String] scope # @param [String] scope
# Optional. # Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC.
# The scope of the completion. The defaults is CompletionScope.PUBLIC.
# @param [String] type # @param [String] type
# Optional. # Optional. The completion topic. The default is CompletionType.COMBINED.
# The completion topic. The default is CompletionType.COMBINED.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -180,8 +173,7 @@ module Google
# Creates a new company entity. # Creates a new company entity.
# @param [String] parent # @param [String] parent
# Required. # Required. Resource name of the project under which the company is created.
# Resource name of the project under which the company is created.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Google::Apis::JobsV3p1beta1::CreateCompanyRequest] create_company_request_object # @param [Google::Apis::JobsV3p1beta1::CreateCompanyRequest] create_company_request_object
@ -217,8 +209,7 @@ module Google
# Deletes specified company. # Deletes specified company.
# Prerequisite: The company has no jobs associated with it. # Prerequisite: The company has no jobs associated with it.
# @param [String] name # @param [String] name
# Required. # Required. The resource name of the company to be deleted.
# The resource name of the company to be deleted.
# The format is "projects/`project_id`/companies/`company_id`", for example, # The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo". # "projects/api-test-project/companies/foo".
# @param [String] fields # @param [String] fields
@ -250,8 +241,7 @@ module Google
# Retrieves specified company. # Retrieves specified company.
# @param [String] name # @param [String] name
# Required. # Required. The resource name of the company to be retrieved.
# The resource name of the company to be retrieved.
# The format is "projects/`project_id`/companies/`company_id`", for example, # The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo". # "projects/api-test-project/companies/foo".
# @param [String] fields # @param [String] fields
@ -283,20 +273,16 @@ module Google
# Lists all companies associated with the service account. # Lists all companies associated with the service account.
# @param [String] parent # @param [String] parent
# Required. # Required. Resource name of the project under which the company is created.
# Resource name of the project under which the company is created.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Optional. # Optional. The maximum number of companies to be returned, at most 100.
# The maximum number of companies to be returned, at most 100.
# Default is 100 if a non-positive number is provided. # Default is 100 if a non-positive number is provided.
# @param [String] page_token # @param [String] page_token
# Optional. # Optional. The starting indicator from which to return results.
# The starting indicator from which to return results.
# @param [Boolean] require_open_jobs # @param [Boolean] require_open_jobs
# Optional. # Optional. Set to true if the companies requested must have open jobs.
# Set to true if the companies requested must have open jobs.
# Defaults to false. # Defaults to false.
# If true, at most page_size of companies are fetched, among which # If true, at most page_size of companies are fetched, among which
# only those with open jobs are returned. # only those with open jobs are returned.
@ -371,8 +357,7 @@ module Google
# Deletes a list of Jobs by filter. # Deletes a list of Jobs by filter.
# @param [String] parent # @param [String] parent
# Required. # Required. The resource name of the project under which the job is created.
# The resource name of the project under which the job is created.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Google::Apis::JobsV3p1beta1::BatchDeleteJobsRequest] batch_delete_jobs_request_object # @param [Google::Apis::JobsV3p1beta1::BatchDeleteJobsRequest] batch_delete_jobs_request_object
@ -409,8 +394,7 @@ module Google
# Typically, the job becomes searchable within 10 seconds, but it may take # Typically, the job becomes searchable within 10 seconds, but it may take
# up to 5 minutes. # up to 5 minutes.
# @param [String] parent # @param [String] parent
# Required. # Required. The resource name of the project under which the job is created.
# The resource name of the project under which the job is created.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Google::Apis::JobsV3p1beta1::CreateJobRequest] create_job_request_object # @param [Google::Apis::JobsV3p1beta1::CreateJobRequest] create_job_request_object
@ -447,8 +431,7 @@ module Google
# Typically, the job becomes unsearchable within 10 seconds, but it may take # Typically, the job becomes unsearchable within 10 seconds, but it may take
# up to 5 minutes. # up to 5 minutes.
# @param [String] name # @param [String] name
# Required. # Required. The resource name of the job to be deleted.
# The resource name of the job to be deleted.
# The format is "projects/`project_id`/jobs/`job_id`", # The format is "projects/`project_id`/jobs/`job_id`",
# for example, "projects/api-test-project/jobs/1234". # for example, "projects/api-test-project/jobs/1234".
# @param [String] fields # @param [String] fields
@ -481,8 +464,7 @@ module Google
# Retrieves the specified job, whose status is OPEN or recently EXPIRED # Retrieves the specified job, whose status is OPEN or recently EXPIRED
# within the last 90 days. # within the last 90 days.
# @param [String] name # @param [String] name
# Required. # Required. The resource name of the job to retrieve.
# The resource name of the job to retrieve.
# The format is "projects/`project_id`/jobs/`job_id`", # The format is "projects/`project_id`/jobs/`job_id`",
# for example, "projects/api-test-project/jobs/1234". # for example, "projects/api-test-project/jobs/1234".
# @param [String] fields # @param [String] fields
@ -514,13 +496,11 @@ module Google
# Lists jobs by filter. # Lists jobs by filter.
# @param [String] parent # @param [String] parent
# Required. # Required. The resource name of the project under which the job is created.
# The resource name of the project under which the job is created.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [String] filter # @param [String] filter
# Required. # Required. The filter string specifies the jobs to be enumerated.
# The filter string specifies the jobs to be enumerated.
# Supported operator: =, AND # Supported operator: =, AND
# The fields eligible for filtering are: # The fields eligible for filtering are:
# * `companyName` (Required) # * `companyName` (Required)
@ -530,19 +510,16 @@ module Google
# * companyName = "projects/api-test-project/companies/123" AND requisitionId # * companyName = "projects/api-test-project/companies/123" AND requisitionId
# = "req-1" # = "req-1"
# @param [String] job_view # @param [String] job_view
# Optional. # Optional. The desired job attributes returned for jobs in the
# The desired job attributes returned for jobs in the
# search response. Defaults to JobView.JOB_VIEW_FULL if no value is # search response. Defaults to JobView.JOB_VIEW_FULL if no value is
# specified. # specified.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Optional. # Optional. The maximum number of jobs to be returned per page of results.
# The maximum number of jobs to be returned per page of results.
# If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed # If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed
# page size is 1000. Otherwise, the maximum allowed page size is 100. # page size is 1000. Otherwise, the maximum allowed page size is 100.
# Default is 100 if empty or a number < 1 is specified. # Default is 100 if empty or a number < 1 is specified.
# @param [String] page_token # @param [String] page_token
# Optional. # Optional. The starting point of a query result.
# The starting point of a query result.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -620,8 +597,7 @@ module Google
# present in the database, and only returns jobs that the caller has # present in the database, and only returns jobs that the caller has
# permission to search against. # permission to search against.
# @param [String] parent # @param [String] parent
# Required. # Required. The resource name of the project to search within.
# The resource name of the project to search within.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Google::Apis::JobsV3p1beta1::SearchJobsRequest] search_jobs_request_object # @param [Google::Apis::JobsV3p1beta1::SearchJobsRequest] search_jobs_request_object
@ -663,8 +639,7 @@ module Google
# present in the database, and only returns jobs the caller has # present in the database, and only returns jobs the caller has
# permission to search against. # permission to search against.
# @param [String] parent # @param [String] parent
# Required. # Required. The resource name of the project to search within.
# The resource name of the project to search within.
# The format is "projects/`project_id`", for example, # The format is "projects/`project_id`", for example,
# "projects/api-test-project". # "projects/api-test-project".
# @param [Google::Apis::JobsV3p1beta1::SearchJobsRequest] search_jobs_request_object # @param [Google::Apis::JobsV3p1beta1::SearchJobsRequest] search_jobs_request_object

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/people/ # @see https://developers.google.com/people/
module PeopleV1 module PeopleV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190717' REVISION = '20190718'
# See, edit, download, and permanently delete your contacts # See, edit, download, and permanently delete your contacts
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

View File

@ -514,6 +514,29 @@ module Google
end end
end end
# The response for deleteing a contact's photo.
class DeleteContactPhotoResponse
include Google::Apis::Core::Hashable
# Information about a person merged from various data sources such as the
# authenticated user's contacts and profile data.
# Most fields can have multiple items. The items in a field have no guaranteed
# order, but each non-empty field is guaranteed to have exactly one field with
# `metadata.primary` set to true.
# Corresponds to the JSON property `person`
# @return [Google::Apis::PeopleV1::Person]
attr_accessor :person
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@person = args[:person] if args.key?(:person)
end
end
# A read-only G Suite Domain membership. # A read-only G Suite Domain membership.
class DomainMembership class DomainMembership
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2101,6 +2124,88 @@ module Google
end end
end end
# A request to update an existing contact's photo.
# All requests must have a valid photo format: JPEG or PNG.
class UpdateContactPhotoRequest
include Google::Apis::Core::Hashable
# **Optional.** Not specifying any fields will skip the post mutate read.
# A field mask to restrict which fields on the person are
# returned. Multiple fields can be specified by separating them with commas.
# Valid values are:
# * addresses
# * ageRanges
# * biographies
# * birthdays
# * braggingRights
# * coverPhotos
# * emailAddresses
# * events
# * genders
# * imClients
# * interests
# * locales
# * memberships
# * metadata
# * names
# * nicknames
# * occupations
# * organizations
# * phoneNumbers
# * photos
# * relations
# * relationshipInterests
# * relationshipStatuses
# * residences
# * sipAddresses
# * skills
# * taglines
# * urls
# * userDefined
# Corresponds to the JSON property `personFields`
# @return [String]
attr_accessor :person_fields
# Raw photo bytes
# Corresponds to the JSON property `photoBytes`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :photo_bytes
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@person_fields = args[:person_fields] if args.key?(:person_fields)
@photo_bytes = args[:photo_bytes] if args.key?(:photo_bytes)
end
end
# The response for updating a contact's photo.
class UpdateContactPhotoResponse
include Google::Apis::Core::Hashable
# Information about a person merged from various data sources such as the
# authenticated user's contacts and profile data.
# Most fields can have multiple items. The items in a field have no guaranteed
# order, but each non-empty field is guaranteed to have exactly one field with
# `metadata.primary` set to true.
# Corresponds to the JSON property `person`
# @return [Google::Apis::PeopleV1::Person]
attr_accessor :person
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@person = args[:person] if args.key?(:person)
end
end
# A person's associated URLs. # A person's associated URLs.
class Url class Url
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -100,6 +100,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DeleteContactPhotoResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DomainMembership class DomainMembership
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -310,6 +316,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class UpdateContactPhotoRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateContactPhotoResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Url class Url
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -457,6 +475,14 @@ module Google
end end
end end
class DeleteContactPhotoResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
end
end
class DomainMembership class DomainMembership
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -886,6 +912,22 @@ module Google
end end
end end
class UpdateContactPhotoRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :person_fields, as: 'personFields'
property :photo_bytes, :base64 => true, as: 'photoBytes'
end
end
class UpdateContactPhotoResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
end
end
class Url class Url
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -354,6 +354,71 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Delete a contact's photo.
# @param [String] resource_name
# The resource name of the contact whose photo will be deleted.
# @param [String] person_fields
# **Optional.** Not specifying any fields will skip the post mutate read.
# A field mask to restrict which fields on the person are
# returned. Multiple fields can be specified by separating them with commas.
# Valid values are:
# * addresses
# * ageRanges
# * biographies
# * birthdays
# * braggingRights
# * coverPhotos
# * emailAddresses
# * events
# * genders
# * imClients
# * interests
# * locales
# * memberships
# * metadata
# * names
# * nicknames
# * occupations
# * organizations
# * phoneNumbers
# * photos
# * relations
# * relationshipInterests
# * relationshipStatuses
# * residences
# * sipAddresses
# * skills
# * taglines
# * urls
# * userDefined
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::PeopleV1::DeleteContactPhotoResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::PeopleV1::DeleteContactPhotoResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_person_contact_photo(resource_name, person_fields: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+resourceName}:deleteContactPhoto', options)
command.response_representation = Google::Apis::PeopleV1::DeleteContactPhotoResponse::Representation
command.response_class = Google::Apis::PeopleV1::DeleteContactPhotoResponse
command.params['resourceName'] = resource_name unless resource_name.nil?
command.query['personFields'] = person_fields unless person_fields.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Provides information about a person by specifying a resource name. Use # Provides information about a person by specifying a resource name. Use
# `people/me` to indicate the authenticated user. # `people/me` to indicate the authenticated user.
# <br> # <br>
@ -582,6 +647,39 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Update a contact's photo.
# @param [String] resource_name
# Person resource name
# @param [Google::Apis::PeopleV1::UpdateContactPhotoRequest] update_contact_photo_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::PeopleV1::UpdateContactPhotoResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::PeopleV1::UpdateContactPhotoResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def update_person_contact_photo(resource_name, update_contact_photo_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+resourceName}:updateContactPhoto', options)
command.request_representation = Google::Apis::PeopleV1::UpdateContactPhotoRequest::Representation
command.request_object = update_contact_photo_request_object
command.response_representation = Google::Apis::PeopleV1::UpdateContactPhotoResponse::Representation
command.response_class = Google::Apis::PeopleV1::UpdateContactPhotoResponse
command.params['resourceName'] = resource_name unless resource_name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Provides a list of the authenticated user's contacts merged with any # Provides a list of the authenticated user's contacts merged with any
# connected profiles. # connected profiles.
# <br> # <br>