Autogenerated update (2018-08-23)

Update:
- adexperiencereport_v1
- container_v1beta1
- dlp_v2
This commit is contained in:
Google APIs 2018-08-23 00:36:00 +00:00
parent e1f7b734d1
commit cb71c93fb8
12 changed files with 4566 additions and 11 deletions

View File

@ -34791,7 +34791,14 @@
"/container:v1beta1/UsableSubnetwork": usable_subnetwork
"/container:v1beta1/UsableSubnetwork/ipCidrRange": ip_cidr_range
"/container:v1beta1/UsableSubnetwork/network": network
"/container:v1beta1/UsableSubnetwork/secondaryIpRanges": secondary_ip_ranges
"/container:v1beta1/UsableSubnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range
"/container:v1beta1/UsableSubnetwork/statusMessage": status_message
"/container:v1beta1/UsableSubnetwork/subnetwork": subnetwork
"/container:v1beta1/UsableSubnetworkSecondaryRange": usable_subnetwork_secondary_range
"/container:v1beta1/UsableSubnetworkSecondaryRange/ipCidrRange": ip_cidr_range
"/container:v1beta1/UsableSubnetworkSecondaryRange/rangeName": range_name
"/container:v1beta1/UsableSubnetworkSecondaryRange/status": status
"/container:v1beta1/WorkloadMetadataConfig": workload_metadata_config
"/container:v1beta1/WorkloadMetadataConfig/nodeMetadata": node_metadata
"/container:v1beta1/container.projects.aggregated.usableSubnetworks.list": list_project_aggregated_usable_subnetworks
@ -66163,6 +66170,336 @@
"/jobs:v2/jobs.jobs.searchForAlert": search_job_for_alert
"/jobs:v2/key": key
"/jobs:v2/quotaUser": quota_user
"/jobs:v3/ApplicationInfo": application_info
"/jobs:v3/ApplicationInfo/emails": emails
"/jobs:v3/ApplicationInfo/emails/email": email
"/jobs:v3/ApplicationInfo/instruction": instruction
"/jobs:v3/ApplicationInfo/uris": uris
"/jobs:v3/ApplicationInfo/uris/uri": uri
"/jobs:v3/BatchDeleteJobsRequest": batch_delete_jobs_request
"/jobs:v3/BatchDeleteJobsRequest/filter": filter
"/jobs:v3/BucketRange": bucket_range
"/jobs:v3/BucketRange/from": from
"/jobs:v3/BucketRange/to": to
"/jobs:v3/BucketizedCount": bucketized_count
"/jobs:v3/BucketizedCount/count": count
"/jobs:v3/BucketizedCount/range": range
"/jobs:v3/CommuteFilter": commute_filter
"/jobs:v3/CommuteFilter/allowImpreciseAddresses": allow_imprecise_addresses
"/jobs:v3/CommuteFilter/commuteMethod": commute_method
"/jobs:v3/CommuteFilter/departureTime": departure_time
"/jobs:v3/CommuteFilter/roadTraffic": road_traffic
"/jobs:v3/CommuteFilter/startCoordinates": start_coordinates
"/jobs:v3/CommuteFilter/travelDuration": travel_duration
"/jobs:v3/CommuteInfo": commute_info
"/jobs:v3/CommuteInfo/jobLocation": job_location
"/jobs:v3/CommuteInfo/travelDuration": travel_duration
"/jobs:v3/Company": company
"/jobs:v3/Company/careerSiteUri": career_site_uri
"/jobs:v3/Company/derivedInfo": derived_info
"/jobs:v3/Company/displayName": display_name
"/jobs:v3/Company/eeoText": eeo_text
"/jobs:v3/Company/externalId": external_id
"/jobs:v3/Company/headquartersAddress": headquarters_address
"/jobs:v3/Company/hiringAgency": hiring_agency
"/jobs:v3/Company/imageUri": image_uri
"/jobs:v3/Company/keywordSearchableJobCustomAttributes": keyword_searchable_job_custom_attributes
"/jobs:v3/Company/keywordSearchableJobCustomAttributes/keyword_searchable_job_custom_attribute": keyword_searchable_job_custom_attribute
"/jobs:v3/Company/name": name
"/jobs:v3/Company/size": size
"/jobs:v3/Company/suspended": suspended
"/jobs:v3/Company/websiteUri": website_uri
"/jobs:v3/CompanyDerivedInfo": company_derived_info
"/jobs:v3/CompanyDerivedInfo/headquartersLocation": headquarters_location
"/jobs:v3/CompensationEntry": compensation_entry
"/jobs:v3/CompensationEntry/amount": amount
"/jobs:v3/CompensationEntry/description": description
"/jobs:v3/CompensationEntry/expectedUnitsPerYear": expected_units_per_year
"/jobs:v3/CompensationEntry/range": range
"/jobs:v3/CompensationEntry/type": type
"/jobs:v3/CompensationEntry/unit": unit
"/jobs:v3/CompensationFilter": compensation_filter
"/jobs:v3/CompensationFilter/includeJobsWithUnspecifiedCompensationRange": include_jobs_with_unspecified_compensation_range
"/jobs:v3/CompensationFilter/range": range
"/jobs:v3/CompensationFilter/type": type
"/jobs:v3/CompensationFilter/units": units
"/jobs:v3/CompensationFilter/units/unit": unit
"/jobs:v3/CompensationHistogramRequest": compensation_histogram_request
"/jobs:v3/CompensationHistogramRequest/bucketingOption": bucketing_option
"/jobs:v3/CompensationHistogramRequest/type": type
"/jobs:v3/CompensationHistogramResult": compensation_histogram_result
"/jobs:v3/CompensationHistogramResult/result": result
"/jobs:v3/CompensationHistogramResult/type": type
"/jobs:v3/CompensationInfo": compensation_info
"/jobs:v3/CompensationInfo/annualizedBaseCompensationRange": annualized_base_compensation_range
"/jobs:v3/CompensationInfo/annualizedTotalCompensationRange": annualized_total_compensation_range
"/jobs:v3/CompensationInfo/entries": entries
"/jobs:v3/CompensationInfo/entries/entry": entry
"/jobs:v3/CompensationRange": compensation_range
"/jobs:v3/CompensationRange/maxCompensation": max_compensation
"/jobs:v3/CompensationRange/minCompensation": min_compensation
"/jobs:v3/CompleteQueryResponse": complete_query_response
"/jobs:v3/CompleteQueryResponse/completionResults": completion_results
"/jobs:v3/CompleteQueryResponse/completionResults/completion_result": completion_result
"/jobs:v3/CompleteQueryResponse/metadata": metadata
"/jobs:v3/CompletionResult": completion_result
"/jobs:v3/CompletionResult/imageUri": image_uri
"/jobs:v3/CompletionResult/suggestion": suggestion
"/jobs:v3/CompletionResult/type": type
"/jobs:v3/CreateCompanyRequest": create_company_request
"/jobs:v3/CreateCompanyRequest/company": company
"/jobs:v3/CreateJobRequest": create_job_request
"/jobs:v3/CreateJobRequest/job": job
"/jobs:v3/CustomAttribute": custom_attribute
"/jobs:v3/CustomAttribute/filterable": filterable
"/jobs:v3/CustomAttribute/longValues": long_values
"/jobs:v3/CustomAttribute/longValues/long_value": long_value
"/jobs:v3/CustomAttribute/stringValues": string_values
"/jobs:v3/CustomAttribute/stringValues/string_value": string_value
"/jobs:v3/CustomAttributeHistogramRequest": custom_attribute_histogram_request
"/jobs:v3/CustomAttributeHistogramRequest/key": key
"/jobs:v3/CustomAttributeHistogramRequest/longValueHistogramBucketingOption": long_value_histogram_bucketing_option
"/jobs:v3/CustomAttributeHistogramRequest/stringValueHistogram": string_value_histogram
"/jobs:v3/CustomAttributeHistogramResult": custom_attribute_histogram_result
"/jobs:v3/CustomAttributeHistogramResult/key": key
"/jobs:v3/CustomAttributeHistogramResult/longValueHistogramResult": long_value_histogram_result
"/jobs:v3/CustomAttributeHistogramResult/stringValueHistogramResult": string_value_histogram_result
"/jobs:v3/CustomAttributeHistogramResult/stringValueHistogramResult/string_value_histogram_result": string_value_histogram_result
"/jobs:v3/DeviceInfo": device_info
"/jobs:v3/DeviceInfo/deviceType": device_type
"/jobs:v3/DeviceInfo/id": id
"/jobs:v3/Empty": empty
"/jobs:v3/HistogramFacets": histogram_facets
"/jobs:v3/HistogramFacets/compensationHistogramFacets": compensation_histogram_facets
"/jobs:v3/HistogramFacets/compensationHistogramFacets/compensation_histogram_facet": compensation_histogram_facet
"/jobs:v3/HistogramFacets/customAttributeHistogramFacets": custom_attribute_histogram_facets
"/jobs:v3/HistogramFacets/customAttributeHistogramFacets/custom_attribute_histogram_facet": custom_attribute_histogram_facet
"/jobs:v3/HistogramFacets/simpleHistogramFacets": simple_histogram_facets
"/jobs:v3/HistogramFacets/simpleHistogramFacets/simple_histogram_facet": simple_histogram_facet
"/jobs:v3/HistogramResult": histogram_result
"/jobs:v3/HistogramResult/searchType": search_type
"/jobs:v3/HistogramResult/values": values
"/jobs:v3/HistogramResult/values/value": value
"/jobs:v3/HistogramResults": histogram_results
"/jobs:v3/HistogramResults/compensationHistogramResults": compensation_histogram_results
"/jobs:v3/HistogramResults/compensationHistogramResults/compensation_histogram_result": compensation_histogram_result
"/jobs:v3/HistogramResults/customAttributeHistogramResults": custom_attribute_histogram_results
"/jobs:v3/HistogramResults/customAttributeHistogramResults/custom_attribute_histogram_result": custom_attribute_histogram_result
"/jobs:v3/HistogramResults/simpleHistogramResults": simple_histogram_results
"/jobs:v3/HistogramResults/simpleHistogramResults/simple_histogram_result": simple_histogram_result
"/jobs:v3/Job": job
"/jobs:v3/Job/addresses": addresses
"/jobs:v3/Job/addresses/address": address
"/jobs:v3/Job/applicationInfo": application_info
"/jobs:v3/Job/companyDisplayName": company_display_name
"/jobs:v3/Job/companyName": company_name
"/jobs:v3/Job/compensationInfo": compensation_info
"/jobs:v3/Job/customAttributes": custom_attributes
"/jobs:v3/Job/customAttributes/custom_attribute": custom_attribute
"/jobs:v3/Job/degreeTypes": degree_types
"/jobs:v3/Job/degreeTypes/degree_type": degree_type
"/jobs:v3/Job/department": department
"/jobs:v3/Job/derivedInfo": derived_info
"/jobs:v3/Job/description": description
"/jobs:v3/Job/employmentTypes": employment_types
"/jobs:v3/Job/employmentTypes/employment_type": employment_type
"/jobs:v3/Job/incentives": incentives
"/jobs:v3/Job/jobBenefits": job_benefits
"/jobs:v3/Job/jobBenefits/job_benefit": job_benefit
"/jobs:v3/Job/jobEndTime": job_end_time
"/jobs:v3/Job/jobLevel": job_level
"/jobs:v3/Job/jobStartTime": job_start_time
"/jobs:v3/Job/languageCode": language_code
"/jobs:v3/Job/name": name
"/jobs:v3/Job/postingCreateTime": posting_create_time
"/jobs:v3/Job/postingExpireTime": posting_expire_time
"/jobs:v3/Job/postingPublishTime": posting_publish_time
"/jobs:v3/Job/postingRegion": posting_region
"/jobs:v3/Job/postingUpdateTime": posting_update_time
"/jobs:v3/Job/processingOptions": processing_options
"/jobs:v3/Job/promotionValue": promotion_value
"/jobs:v3/Job/qualifications": qualifications
"/jobs:v3/Job/requisitionId": requisition_id
"/jobs:v3/Job/responsibilities": responsibilities
"/jobs:v3/Job/title": title
"/jobs:v3/Job/visibility": visibility
"/jobs:v3/JobDerivedInfo": job_derived_info
"/jobs:v3/JobDerivedInfo/jobCategories": job_categories
"/jobs:v3/JobDerivedInfo/jobCategories/job_category": job_category
"/jobs:v3/JobDerivedInfo/locations": locations
"/jobs:v3/JobDerivedInfo/locations/location": location
"/jobs:v3/JobQuery": job_query
"/jobs:v3/JobQuery/commuteFilter": commute_filter
"/jobs:v3/JobQuery/companyDisplayNames": company_display_names
"/jobs:v3/JobQuery/companyDisplayNames/company_display_name": company_display_name
"/jobs:v3/JobQuery/companyNames": company_names
"/jobs:v3/JobQuery/companyNames/company_name": company_name
"/jobs:v3/JobQuery/compensationFilter": compensation_filter
"/jobs:v3/JobQuery/customAttributeFilter": custom_attribute_filter
"/jobs:v3/JobQuery/disableSpellCheck": disable_spell_check
"/jobs:v3/JobQuery/employmentTypes": employment_types
"/jobs:v3/JobQuery/employmentTypes/employment_type": employment_type
"/jobs:v3/JobQuery/jobCategories": job_categories
"/jobs:v3/JobQuery/jobCategories/job_category": job_category
"/jobs:v3/JobQuery/languageCodes": language_codes
"/jobs:v3/JobQuery/languageCodes/language_code": language_code
"/jobs:v3/JobQuery/locationFilters": location_filters
"/jobs:v3/JobQuery/locationFilters/location_filter": location_filter
"/jobs:v3/JobQuery/publishTimeRange": publish_time_range
"/jobs:v3/JobQuery/query": query
"/jobs:v3/LatLng": lat_lng
"/jobs:v3/LatLng/latitude": latitude
"/jobs:v3/LatLng/longitude": longitude
"/jobs:v3/ListCompaniesResponse": list_companies_response
"/jobs:v3/ListCompaniesResponse/companies": companies
"/jobs:v3/ListCompaniesResponse/companies/company": company
"/jobs:v3/ListCompaniesResponse/metadata": metadata
"/jobs:v3/ListCompaniesResponse/nextPageToken": next_page_token
"/jobs:v3/ListJobsResponse": list_jobs_response
"/jobs:v3/ListJobsResponse/jobs": jobs
"/jobs:v3/ListJobsResponse/jobs/job": job
"/jobs:v3/ListJobsResponse/metadata": metadata
"/jobs:v3/ListJobsResponse/nextPageToken": next_page_token
"/jobs:v3/Location": location
"/jobs:v3/Location/latLng": lat_lng
"/jobs:v3/Location/locationType": location_type
"/jobs:v3/Location/postalAddress": postal_address
"/jobs:v3/Location/radiusInMiles": radius_in_miles
"/jobs:v3/LocationFilter": location_filter
"/jobs:v3/LocationFilter/address": address
"/jobs:v3/LocationFilter/distanceInMiles": distance_in_miles
"/jobs:v3/LocationFilter/latLng": lat_lng
"/jobs:v3/LocationFilter/regionCode": region_code
"/jobs:v3/LocationFilter/telecommutePreference": telecommute_preference
"/jobs:v3/MatchingJob": matching_job
"/jobs:v3/MatchingJob/commuteInfo": commute_info
"/jobs:v3/MatchingJob/job": job
"/jobs:v3/MatchingJob/jobSummary": job_summary
"/jobs:v3/MatchingJob/jobTitleSnippet": job_title_snippet
"/jobs:v3/MatchingJob/searchTextSnippet": search_text_snippet
"/jobs:v3/Money": money
"/jobs:v3/Money/currencyCode": currency_code
"/jobs:v3/Money/nanos": nanos
"/jobs:v3/Money/units": units
"/jobs:v3/NumericBucketingOption": numeric_bucketing_option
"/jobs:v3/NumericBucketingOption/bucketBounds": bucket_bounds
"/jobs:v3/NumericBucketingOption/bucketBounds/bucket_bound": bucket_bound
"/jobs:v3/NumericBucketingOption/requiresMinMax": requires_min_max
"/jobs:v3/NumericBucketingResult": numeric_bucketing_result
"/jobs:v3/NumericBucketingResult/counts": counts
"/jobs:v3/NumericBucketingResult/counts/count": count
"/jobs:v3/NumericBucketingResult/maxValue": max_value
"/jobs:v3/NumericBucketingResult/minValue": min_value
"/jobs:v3/PostalAddress": postal_address
"/jobs:v3/PostalAddress/addressLines": address_lines
"/jobs:v3/PostalAddress/addressLines/address_line": address_line
"/jobs:v3/PostalAddress/administrativeArea": administrative_area
"/jobs:v3/PostalAddress/languageCode": language_code
"/jobs:v3/PostalAddress/locality": locality
"/jobs:v3/PostalAddress/organization": organization
"/jobs:v3/PostalAddress/postalCode": postal_code
"/jobs:v3/PostalAddress/recipients": recipients
"/jobs:v3/PostalAddress/recipients/recipient": recipient
"/jobs:v3/PostalAddress/regionCode": region_code
"/jobs:v3/PostalAddress/revision": revision
"/jobs:v3/PostalAddress/sortingCode": sorting_code
"/jobs:v3/PostalAddress/sublocality": sublocality
"/jobs:v3/ProcessingOptions": processing_options
"/jobs:v3/ProcessingOptions/disableStreetAddressResolution": disable_street_address_resolution
"/jobs:v3/ProcessingOptions/htmlSanitization": html_sanitization
"/jobs:v3/RequestMetadata": request_metadata
"/jobs:v3/RequestMetadata/deviceInfo": device_info
"/jobs:v3/RequestMetadata/domain": domain
"/jobs:v3/RequestMetadata/sessionId": session_id
"/jobs:v3/RequestMetadata/userId": user_id
"/jobs:v3/ResponseMetadata": response_metadata
"/jobs:v3/ResponseMetadata/requestId": request_id
"/jobs:v3/SearchJobsRequest": search_jobs_request
"/jobs:v3/SearchJobsRequest/disableKeywordMatch": disable_keyword_match
"/jobs:v3/SearchJobsRequest/enableBroadening": enable_broadening
"/jobs:v3/SearchJobsRequest/histogramFacets": histogram_facets
"/jobs:v3/SearchJobsRequest/jobQuery": job_query
"/jobs:v3/SearchJobsRequest/jobView": job_view
"/jobs:v3/SearchJobsRequest/offset": offset
"/jobs:v3/SearchJobsRequest/orderBy": order_by
"/jobs:v3/SearchJobsRequest/pageSize": page_size
"/jobs:v3/SearchJobsRequest/pageToken": page_token
"/jobs:v3/SearchJobsRequest/requestMetadata": request_metadata
"/jobs:v3/SearchJobsRequest/requirePreciseResultSize": require_precise_result_size
"/jobs:v3/SearchJobsRequest/searchMode": search_mode
"/jobs:v3/SearchJobsResponse": search_jobs_response
"/jobs:v3/SearchJobsResponse/broadenedQueryJobsCount": broadened_query_jobs_count
"/jobs:v3/SearchJobsResponse/estimatedTotalSize": estimated_total_size
"/jobs:v3/SearchJobsResponse/histogramResults": histogram_results
"/jobs:v3/SearchJobsResponse/locationFilters": location_filters
"/jobs:v3/SearchJobsResponse/locationFilters/location_filter": location_filter
"/jobs:v3/SearchJobsResponse/matchingJobs": matching_jobs
"/jobs:v3/SearchJobsResponse/matchingJobs/matching_job": matching_job
"/jobs:v3/SearchJobsResponse/metadata": metadata
"/jobs:v3/SearchJobsResponse/nextPageToken": next_page_token
"/jobs:v3/SearchJobsResponse/spellCorrection": spell_correction
"/jobs:v3/SearchJobsResponse/totalSize": total_size
"/jobs:v3/SpellingCorrection": spelling_correction
"/jobs:v3/SpellingCorrection/corrected": corrected
"/jobs:v3/SpellingCorrection/correctedText": corrected_text
"/jobs:v3/TimeOfDay": time_of_day
"/jobs:v3/TimeOfDay/hours": hours
"/jobs:v3/TimeOfDay/minutes": minutes
"/jobs:v3/TimeOfDay/nanos": nanos
"/jobs:v3/TimeOfDay/seconds": seconds
"/jobs:v3/TimestampRange": timestamp_range
"/jobs:v3/TimestampRange/endTime": end_time
"/jobs:v3/TimestampRange/startTime": start_time
"/jobs:v3/UpdateCompanyRequest": update_company_request
"/jobs:v3/UpdateCompanyRequest/company": company
"/jobs:v3/UpdateCompanyRequest/updateMask": update_mask
"/jobs:v3/UpdateJobRequest": update_job_request
"/jobs:v3/UpdateJobRequest/job": job
"/jobs:v3/UpdateJobRequest/updateMask": update_mask
"/jobs:v3/fields": fields
"/jobs:v3/jobs.projects.companies.create": create_company
"/jobs:v3/jobs.projects.companies.create/parent": parent
"/jobs:v3/jobs.projects.companies.delete": delete_project_company
"/jobs:v3/jobs.projects.companies.delete/name": name
"/jobs:v3/jobs.projects.companies.get": get_project_company
"/jobs:v3/jobs.projects.companies.get/name": name
"/jobs:v3/jobs.projects.companies.list": list_project_companies
"/jobs:v3/jobs.projects.companies.list/pageSize": page_size
"/jobs:v3/jobs.projects.companies.list/pageToken": page_token
"/jobs:v3/jobs.projects.companies.list/parent": parent
"/jobs:v3/jobs.projects.companies.list/requireOpenJobs": require_open_jobs
"/jobs:v3/jobs.projects.companies.patch": patch_project_company
"/jobs:v3/jobs.projects.companies.patch/name": name
"/jobs:v3/jobs.projects.complete": complete_project
"/jobs:v3/jobs.projects.complete/companyName": company_name
"/jobs:v3/jobs.projects.complete/languageCode": language_code
"/jobs:v3/jobs.projects.complete/name": name
"/jobs:v3/jobs.projects.complete/pageSize": page_size
"/jobs:v3/jobs.projects.complete/query": query
"/jobs:v3/jobs.projects.complete/scope": scope
"/jobs:v3/jobs.projects.complete/type": type
"/jobs:v3/jobs.projects.jobs.batchDelete": batch_delete_jobs
"/jobs:v3/jobs.projects.jobs.batchDelete/parent": parent
"/jobs:v3/jobs.projects.jobs.create": create_job
"/jobs:v3/jobs.projects.jobs.create/parent": parent
"/jobs:v3/jobs.projects.jobs.delete": delete_project_job
"/jobs:v3/jobs.projects.jobs.delete/name": name
"/jobs:v3/jobs.projects.jobs.get": get_project_job
"/jobs:v3/jobs.projects.jobs.get/name": name
"/jobs:v3/jobs.projects.jobs.list": list_project_jobs
"/jobs:v3/jobs.projects.jobs.list/filter": filter
"/jobs:v3/jobs.projects.jobs.list/jobView": job_view
"/jobs:v3/jobs.projects.jobs.list/pageSize": page_size
"/jobs:v3/jobs.projects.jobs.list/pageToken": page_token
"/jobs:v3/jobs.projects.jobs.list/parent": parent
"/jobs:v3/jobs.projects.jobs.patch": patch_project_job
"/jobs:v3/jobs.projects.jobs.patch/name": name
"/jobs:v3/jobs.projects.jobs.search": search_jobs
"/jobs:v3/jobs.projects.jobs.search/parent": parent
"/jobs:v3/jobs.projects.jobs.searchForAlert": search_project_job_for_alert
"/jobs:v3/jobs.projects.jobs.searchForAlert/parent": parent
"/jobs:v3/key": key
"/jobs:v3/quotaUser": quota_user
"/kgsearch:v1/SearchResponse": search_response
"/kgsearch:v1/SearchResponse/@context": _context
"/kgsearch:v1/SearchResponse/@type": _type

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-experience-report/
module AdexperiencereportV1
VERSION = 'V1'
REVISION = '20180807'
REVISION = '20180821'
# Test scope for access to the Zoo service
AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1beta1
VERSION = 'V1beta1'
REVISION = '20180807'
REVISION = '20180813'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -276,7 +276,10 @@ module Google
# @return [Fixnum]
attr_accessor :current_node_count
# [Output only] The current version of the node software components.
# [Output only] Deprecated, use
# [NodePool.version](/kubernetes-engine/docs/reference/rest/v1beta1/projects.
# zones.clusters.nodePool)
# instead. The current version of the node software components.
# If they are currently at multiple versions because they're in the process
# of being upgraded, this reflects the minimum version of all nodes.
# Corresponds to the JSON property `currentNodeVersion`
@ -3262,6 +3265,19 @@ module Google
# @return [String]
attr_accessor :network
# Secondary IP ranges.
# Corresponds to the JSON property `secondaryIpRanges`
# @return [Array<Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange>]
attr_accessor :secondary_ip_ranges
# A human readable status message representing the reasons for cases where
# the caller cannot use the secondary ranges under the subnet. For example if
# the secondary_ip_ranges is empty due to a permission issue, an insufficient
# permission message will be given by status_message.
# Corresponds to the JSON property `statusMessage`
# @return [String]
attr_accessor :status_message
# Subnetwork Name.
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
# Corresponds to the JSON property `subnetwork`
@ -3276,10 +3292,44 @@ module Google
def update!(**args)
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
@network = args[:network] if args.key?(:network)
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
@status_message = args[:status_message] if args.key?(:status_message)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
end
end
# Secondary IP range of a usable subnetwork.
class UsableSubnetworkSecondaryRange
include Google::Apis::Core::Hashable
# The range of IP addresses belonging to this subnetwork secondary range.
# Corresponds to the JSON property `ipCidrRange`
# @return [String]
attr_accessor :ip_cidr_range
# The name associated with this subnetwork secondary range, used when adding
# an alias IP range to a VM instance.
# Corresponds to the JSON property `rangeName`
# @return [String]
attr_accessor :range_name
# This field is to determine the status of the secondary range programmably.
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
@range_name = args[:range_name] if args.key?(:range_name)
@status = args[:status] if args.key?(:status)
end
end
# WorkloadMetadataConfig defines the metadata configuration to expose to
# workloads on the node pool.
class WorkloadMetadataConfig

View File

@ -406,6 +406,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UsableSubnetworkSecondaryRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkloadMetadataConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1149,10 +1155,22 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_cidr_range, as: 'ipCidrRange'
property :network, as: 'network'
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange::Representation
property :status_message, as: 'statusMessage'
property :subnetwork, as: 'subnetwork'
end
end
class UsableSubnetworkSecondaryRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_cidr_range, as: 'ipCidrRange'
property :range_name, as: 'rangeName'
property :status, as: 'status'
end
end
class WorkloadMetadataConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2
VERSION = 'V2'
REVISION = '20180814'
REVISION = '20180821'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -656,8 +656,8 @@ module Google
end
end
# Options defining a file or a set of files (path ending with *) within
# a Google Cloud Storage bucket.
# Options defining a file or a set of files within a Google Cloud Storage
# bucket.
class GooglePrivacyDlpV2CloudStorageOptions
include Google::Apis::Core::Hashable
@ -2097,8 +2097,8 @@ module Google
class GooglePrivacyDlpV2FileSet
include Google::Apis::Core::Hashable
# The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
# path is allowed.
# The Cloud Storage url of the file(s) to scan, in the format
# `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
# Corresponds to the JSON property `url`
# @return [String]
attr_accessor :url
@ -4373,7 +4373,9 @@ module Google
class GooglePrivacyDlpV2Regex
include Google::Apis::Core::Hashable
# Pattern defining the regular expression.
# Pattern defining the regular expression. Its syntax
# (https://github.com/google/re2/wiki/Syntax) can be found under the
# google/re2 repository on GitHub.
# Corresponds to the JSON property `pattern`
# @return [String]
attr_accessor :pattern
@ -4716,8 +4718,8 @@ module Google
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions]
attr_accessor :big_query_options
# Options defining a file or a set of files (path ending with *) within
# a Google Cloud Storage bucket.
# Options defining a file or a set of files within a Google Cloud Storage
# bucket.
# Corresponds to the JSON property `cloudStorageOptions`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageOptions]
attr_accessor :cloud_storage_options

View File

@ -1461,6 +1461,8 @@ module Google
# - `create_time`: corresponds to time the triggeredJob was created.
# - `update_time`: corresponds to time the triggeredJob was last updated.
# - `name`: corresponds to JobTrigger's name.
# - `display_name`: corresponds to JobTrigger's display name.
# - `status`: corresponds to JobTrigger's status.
# @param [Fixnum] page_size
# Optional size of the page, can be limited by a server.
# @param [String] page_token

View File

@ -0,0 +1,38 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/jobs_v3/service.rb'
require 'google/apis/jobs_v3/classes.rb'
require 'google/apis/jobs_v3/representations.rb'
module Google
module Apis
# Cloud Talent Solution API
#
# Cloud Talent Solution provides the capability to create, read, update, and
# delete job postings, as well as search jobs based on keywords and filters.
#
# @see https://cloud.google.com/job-discovery/docs
module JobsV3
VERSION = 'V3'
REVISION = '20180820'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
# Manage job postings
AUTH_JOBS = 'https://www.googleapis.com/auth/jobs'
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,872 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module JobsV3
class ApplicationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BatchDeleteJobsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BucketRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BucketizedCount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CommuteFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CommuteInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Company
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompanyDerivedInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompensationEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompensationFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompensationHistogramRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompensationHistogramResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompensationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompensationRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompleteQueryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompletionResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateCompanyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateJobRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomAttributeHistogramRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomAttributeHistogramResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeviceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HistogramFacets
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HistogramResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HistogramResults
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Job
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class JobDerivedInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class JobQuery
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LatLng
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListCompaniesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListJobsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Location
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationFilter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MatchingJob
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Money
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NumericBucketingOption
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NumericBucketingResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PostalAddress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ProcessingOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RequestMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResponseMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SearchJobsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SearchJobsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SpellingCorrection
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TimeOfDay
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TimestampRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateCompanyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateJobRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ApplicationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :emails, as: 'emails'
property :instruction, as: 'instruction'
collection :uris, as: 'uris'
end
end
class BatchDeleteJobsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :filter, as: 'filter'
end
end
class BucketRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :from, as: 'from'
property :to, as: 'to'
end
end
class BucketizedCount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :count, as: 'count'
property :range, as: 'range', class: Google::Apis::JobsV3::BucketRange, decorator: Google::Apis::JobsV3::BucketRange::Representation
end
end
class CommuteFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_imprecise_addresses, as: 'allowImpreciseAddresses'
property :commute_method, as: 'commuteMethod'
property :departure_time, as: 'departureTime', class: Google::Apis::JobsV3::TimeOfDay, decorator: Google::Apis::JobsV3::TimeOfDay::Representation
property :road_traffic, as: 'roadTraffic'
property :start_coordinates, as: 'startCoordinates', class: Google::Apis::JobsV3::LatLng, decorator: Google::Apis::JobsV3::LatLng::Representation
property :travel_duration, as: 'travelDuration'
end
end
class CommuteInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :job_location, as: 'jobLocation', class: Google::Apis::JobsV3::Location, decorator: Google::Apis::JobsV3::Location::Representation
property :travel_duration, as: 'travelDuration'
end
end
class Company
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :career_site_uri, as: 'careerSiteUri'
property :derived_info, as: 'derivedInfo', class: Google::Apis::JobsV3::CompanyDerivedInfo, decorator: Google::Apis::JobsV3::CompanyDerivedInfo::Representation
property :display_name, as: 'displayName'
property :eeo_text, as: 'eeoText'
property :external_id, as: 'externalId'
property :headquarters_address, as: 'headquartersAddress'
property :hiring_agency, as: 'hiringAgency'
property :image_uri, as: 'imageUri'
collection :keyword_searchable_job_custom_attributes, as: 'keywordSearchableJobCustomAttributes'
property :name, as: 'name'
property :size, as: 'size'
property :suspended, as: 'suspended'
property :website_uri, as: 'websiteUri'
end
end
class CompanyDerivedInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :headquarters_location, as: 'headquartersLocation', class: Google::Apis::JobsV3::Location, decorator: Google::Apis::JobsV3::Location::Representation
end
end
class CompensationEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount, as: 'amount', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
property :description, as: 'description'
property :expected_units_per_year, as: 'expectedUnitsPerYear'
property :range, as: 'range', class: Google::Apis::JobsV3::CompensationRange, decorator: Google::Apis::JobsV3::CompensationRange::Representation
property :type, as: 'type'
property :unit, as: 'unit'
end
end
class CompensationFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :include_jobs_with_unspecified_compensation_range, as: 'includeJobsWithUnspecifiedCompensationRange'
property :range, as: 'range', class: Google::Apis::JobsV3::CompensationRange, decorator: Google::Apis::JobsV3::CompensationRange::Representation
property :type, as: 'type'
collection :units, as: 'units'
end
end
class CompensationHistogramRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bucketing_option, as: 'bucketingOption', class: Google::Apis::JobsV3::NumericBucketingOption, decorator: Google::Apis::JobsV3::NumericBucketingOption::Representation
property :type, as: 'type'
end
end
class CompensationHistogramResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :result, as: 'result', class: Google::Apis::JobsV3::NumericBucketingResult, decorator: Google::Apis::JobsV3::NumericBucketingResult::Representation
property :type, as: 'type'
end
end
class CompensationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :annualized_base_compensation_range, as: 'annualizedBaseCompensationRange', class: Google::Apis::JobsV3::CompensationRange, decorator: Google::Apis::JobsV3::CompensationRange::Representation
property :annualized_total_compensation_range, as: 'annualizedTotalCompensationRange', class: Google::Apis::JobsV3::CompensationRange, decorator: Google::Apis::JobsV3::CompensationRange::Representation
collection :entries, as: 'entries', class: Google::Apis::JobsV3::CompensationEntry, decorator: Google::Apis::JobsV3::CompensationEntry::Representation
end
end
class CompensationRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_compensation, as: 'maxCompensation', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
property :min_compensation, as: 'minCompensation', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
end
end
class CompleteQueryResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :completion_results, as: 'completionResults', class: Google::Apis::JobsV3::CompletionResult, decorator: Google::Apis::JobsV3::CompletionResult::Representation
property :metadata, as: 'metadata', class: Google::Apis::JobsV3::ResponseMetadata, decorator: Google::Apis::JobsV3::ResponseMetadata::Representation
end
end
class CompletionResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_uri, as: 'imageUri'
property :suggestion, as: 'suggestion'
property :type, as: 'type'
end
end
class CreateCompanyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :company, as: 'company', class: Google::Apis::JobsV3::Company, decorator: Google::Apis::JobsV3::Company::Representation
end
end
class CreateJobRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :job, as: 'job', class: Google::Apis::JobsV3::Job, decorator: Google::Apis::JobsV3::Job::Representation
end
end
class CustomAttribute
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :filterable, as: 'filterable'
collection :long_values, as: 'longValues'
collection :string_values, as: 'stringValues'
end
end
class CustomAttributeHistogramRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :long_value_histogram_bucketing_option, as: 'longValueHistogramBucketingOption', class: Google::Apis::JobsV3::NumericBucketingOption, decorator: Google::Apis::JobsV3::NumericBucketingOption::Representation
property :string_value_histogram, as: 'stringValueHistogram'
end
end
class CustomAttributeHistogramResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :long_value_histogram_result, as: 'longValueHistogramResult', class: Google::Apis::JobsV3::NumericBucketingResult, decorator: Google::Apis::JobsV3::NumericBucketingResult::Representation
hash :string_value_histogram_result, as: 'stringValueHistogramResult'
end
end
class DeviceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :device_type, as: 'deviceType'
property :id, as: 'id'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class HistogramFacets
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :compensation_histogram_facets, as: 'compensationHistogramFacets', class: Google::Apis::JobsV3::CompensationHistogramRequest, decorator: Google::Apis::JobsV3::CompensationHistogramRequest::Representation
collection :custom_attribute_histogram_facets, as: 'customAttributeHistogramFacets', class: Google::Apis::JobsV3::CustomAttributeHistogramRequest, decorator: Google::Apis::JobsV3::CustomAttributeHistogramRequest::Representation
collection :simple_histogram_facets, as: 'simpleHistogramFacets'
end
end
class HistogramResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :search_type, as: 'searchType'
hash :values, as: 'values'
end
end
class HistogramResults
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :compensation_histogram_results, as: 'compensationHistogramResults', class: Google::Apis::JobsV3::CompensationHistogramResult, decorator: Google::Apis::JobsV3::CompensationHistogramResult::Representation
collection :custom_attribute_histogram_results, as: 'customAttributeHistogramResults', class: Google::Apis::JobsV3::CustomAttributeHistogramResult, decorator: Google::Apis::JobsV3::CustomAttributeHistogramResult::Representation
collection :simple_histogram_results, as: 'simpleHistogramResults', class: Google::Apis::JobsV3::HistogramResult, decorator: Google::Apis::JobsV3::HistogramResult::Representation
end
end
class Job
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :addresses, as: 'addresses'
property :application_info, as: 'applicationInfo', class: Google::Apis::JobsV3::ApplicationInfo, decorator: Google::Apis::JobsV3::ApplicationInfo::Representation
property :company_display_name, as: 'companyDisplayName'
property :company_name, as: 'companyName'
property :compensation_info, as: 'compensationInfo', class: Google::Apis::JobsV3::CompensationInfo, decorator: Google::Apis::JobsV3::CompensationInfo::Representation
hash :custom_attributes, as: 'customAttributes', class: Google::Apis::JobsV3::CustomAttribute, decorator: Google::Apis::JobsV3::CustomAttribute::Representation
collection :degree_types, as: 'degreeTypes'
property :department, as: 'department'
property :derived_info, as: 'derivedInfo', class: Google::Apis::JobsV3::JobDerivedInfo, decorator: Google::Apis::JobsV3::JobDerivedInfo::Representation
property :description, as: 'description'
collection :employment_types, as: 'employmentTypes'
property :incentives, as: 'incentives'
collection :job_benefits, as: 'jobBenefits'
property :job_end_time, as: 'jobEndTime'
property :job_level, as: 'jobLevel'
property :job_start_time, as: 'jobStartTime'
property :language_code, as: 'languageCode'
property :name, as: 'name'
property :posting_create_time, as: 'postingCreateTime'
property :posting_expire_time, as: 'postingExpireTime'
property :posting_publish_time, as: 'postingPublishTime'
property :posting_region, as: 'postingRegion'
property :posting_update_time, as: 'postingUpdateTime'
property :processing_options, as: 'processingOptions', class: Google::Apis::JobsV3::ProcessingOptions, decorator: Google::Apis::JobsV3::ProcessingOptions::Representation
property :promotion_value, as: 'promotionValue'
property :qualifications, as: 'qualifications'
property :requisition_id, as: 'requisitionId'
property :responsibilities, as: 'responsibilities'
property :title, as: 'title'
property :visibility, as: 'visibility'
end
end
class JobDerivedInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_categories, as: 'jobCategories'
collection :locations, as: 'locations', class: Google::Apis::JobsV3::Location, decorator: Google::Apis::JobsV3::Location::Representation
end
end
class JobQuery
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :commute_filter, as: 'commuteFilter', class: Google::Apis::JobsV3::CommuteFilter, decorator: Google::Apis::JobsV3::CommuteFilter::Representation
collection :company_display_names, as: 'companyDisplayNames'
collection :company_names, as: 'companyNames'
property :compensation_filter, as: 'compensationFilter', class: Google::Apis::JobsV3::CompensationFilter, decorator: Google::Apis::JobsV3::CompensationFilter::Representation
property :custom_attribute_filter, as: 'customAttributeFilter'
property :disable_spell_check, as: 'disableSpellCheck'
collection :employment_types, as: 'employmentTypes'
collection :job_categories, as: 'jobCategories'
collection :language_codes, as: 'languageCodes'
collection :location_filters, as: 'locationFilters', class: Google::Apis::JobsV3::LocationFilter, decorator: Google::Apis::JobsV3::LocationFilter::Representation
property :publish_time_range, as: 'publishTimeRange', class: Google::Apis::JobsV3::TimestampRange, decorator: Google::Apis::JobsV3::TimestampRange::Representation
property :query, as: 'query'
end
end
class LatLng
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :latitude, as: 'latitude'
property :longitude, as: 'longitude'
end
end
class ListCompaniesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :companies, as: 'companies', class: Google::Apis::JobsV3::Company, decorator: Google::Apis::JobsV3::Company::Representation
property :metadata, as: 'metadata', class: Google::Apis::JobsV3::ResponseMetadata, decorator: Google::Apis::JobsV3::ResponseMetadata::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListJobsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :jobs, as: 'jobs', class: Google::Apis::JobsV3::Job, decorator: Google::Apis::JobsV3::Job::Representation
property :metadata, as: 'metadata', class: Google::Apis::JobsV3::ResponseMetadata, decorator: Google::Apis::JobsV3::ResponseMetadata::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lat_lng, as: 'latLng', class: Google::Apis::JobsV3::LatLng, decorator: Google::Apis::JobsV3::LatLng::Representation
property :location_type, as: 'locationType'
property :postal_address, as: 'postalAddress', class: Google::Apis::JobsV3::PostalAddress, decorator: Google::Apis::JobsV3::PostalAddress::Representation
property :radius_in_miles, as: 'radiusInMiles'
end
end
class LocationFilter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address, as: 'address'
property :distance_in_miles, as: 'distanceInMiles'
property :lat_lng, as: 'latLng', class: Google::Apis::JobsV3::LatLng, decorator: Google::Apis::JobsV3::LatLng::Representation
property :region_code, as: 'regionCode'
property :telecommute_preference, as: 'telecommutePreference'
end
end
class MatchingJob
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :commute_info, as: 'commuteInfo', class: Google::Apis::JobsV3::CommuteInfo, decorator: Google::Apis::JobsV3::CommuteInfo::Representation
property :job, as: 'job', class: Google::Apis::JobsV3::Job, decorator: Google::Apis::JobsV3::Job::Representation
property :job_summary, as: 'jobSummary'
property :job_title_snippet, as: 'jobTitleSnippet'
property :search_text_snippet, as: 'searchTextSnippet'
end
end
class Money
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :currency_code, as: 'currencyCode'
property :nanos, as: 'nanos'
property :units, :numeric_string => true, as: 'units'
end
end
class NumericBucketingOption
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :bucket_bounds, as: 'bucketBounds'
property :requires_min_max, as: 'requiresMinMax'
end
end
class NumericBucketingResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :counts, as: 'counts', class: Google::Apis::JobsV3::BucketizedCount, decorator: Google::Apis::JobsV3::BucketizedCount::Representation
property :max_value, as: 'maxValue'
property :min_value, as: 'minValue'
end
end
class PostalAddress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :address_lines, as: 'addressLines'
property :administrative_area, as: 'administrativeArea'
property :language_code, as: 'languageCode'
property :locality, as: 'locality'
property :organization, as: 'organization'
property :postal_code, as: 'postalCode'
collection :recipients, as: 'recipients'
property :region_code, as: 'regionCode'
property :revision, as: 'revision'
property :sorting_code, as: 'sortingCode'
property :sublocality, as: 'sublocality'
end
end
class ProcessingOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disable_street_address_resolution, as: 'disableStreetAddressResolution'
property :html_sanitization, as: 'htmlSanitization'
end
end
class RequestMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :device_info, as: 'deviceInfo', class: Google::Apis::JobsV3::DeviceInfo, decorator: Google::Apis::JobsV3::DeviceInfo::Representation
property :domain, as: 'domain'
property :session_id, as: 'sessionId'
property :user_id, as: 'userId'
end
end
class ResponseMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :request_id, as: 'requestId'
end
end
class SearchJobsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disable_keyword_match, as: 'disableKeywordMatch'
property :enable_broadening, as: 'enableBroadening'
property :histogram_facets, as: 'histogramFacets', class: Google::Apis::JobsV3::HistogramFacets, decorator: Google::Apis::JobsV3::HistogramFacets::Representation
property :job_query, as: 'jobQuery', class: Google::Apis::JobsV3::JobQuery, decorator: Google::Apis::JobsV3::JobQuery::Representation
property :job_view, as: 'jobView'
property :offset, as: 'offset'
property :order_by, as: 'orderBy'
property :page_size, as: 'pageSize'
property :page_token, as: 'pageToken'
property :request_metadata, as: 'requestMetadata', class: Google::Apis::JobsV3::RequestMetadata, decorator: Google::Apis::JobsV3::RequestMetadata::Representation
property :require_precise_result_size, as: 'requirePreciseResultSize'
property :search_mode, as: 'searchMode'
end
end
class SearchJobsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :broadened_query_jobs_count, as: 'broadenedQueryJobsCount'
property :estimated_total_size, as: 'estimatedTotalSize'
property :histogram_results, as: 'histogramResults', class: Google::Apis::JobsV3::HistogramResults, decorator: Google::Apis::JobsV3::HistogramResults::Representation
collection :location_filters, as: 'locationFilters', class: Google::Apis::JobsV3::Location, decorator: Google::Apis::JobsV3::Location::Representation
collection :matching_jobs, as: 'matchingJobs', class: Google::Apis::JobsV3::MatchingJob, decorator: Google::Apis::JobsV3::MatchingJob::Representation
property :metadata, as: 'metadata', class: Google::Apis::JobsV3::ResponseMetadata, decorator: Google::Apis::JobsV3::ResponseMetadata::Representation
property :next_page_token, as: 'nextPageToken'
property :spell_correction, as: 'spellCorrection', class: Google::Apis::JobsV3::SpellingCorrection, decorator: Google::Apis::JobsV3::SpellingCorrection::Representation
property :total_size, as: 'totalSize'
end
end
class SpellingCorrection
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :corrected, as: 'corrected'
property :corrected_text, as: 'correctedText'
end
end
class TimeOfDay
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :hours, as: 'hours'
property :minutes, as: 'minutes'
property :nanos, as: 'nanos'
property :seconds, as: 'seconds'
end
end
class TimestampRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime'
property :start_time, as: 'startTime'
end
end
class UpdateCompanyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :company, as: 'company', class: Google::Apis::JobsV3::Company, decorator: Google::Apis::JobsV3::Company::Representation
property :update_mask, as: 'updateMask'
end
end
class UpdateJobRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :job, as: 'job', class: Google::Apis::JobsV3::Job, decorator: Google::Apis::JobsV3::Job::Representation
property :update_mask, as: 'updateMask'
end
end
end
end
end

View File

@ -0,0 +1,652 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module JobsV3
# Cloud Talent Solution API
#
# Cloud Talent Solution provides the capability to create, read, update, and
# delete job postings, as well as search jobs based on keywords and filters.
#
# @example
# require 'google/apis/jobs_v3'
#
# Jobs = Google::Apis::JobsV3 # Alias the module
# service = Jobs::CloudTalentSolutionService.new
#
# @see https://cloud.google.com/job-discovery/docs
class CloudTalentSolutionService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token.
attr_accessor :key
# @return [String]
# 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.
attr_accessor :quota_user
def initialize
super('https://jobs.googleapis.com/', '')
@batch_path = 'batch'
end
# Completes the specified prefix with keyword suggestions.
# Intended for use by a job search auto-complete search box.
# @param [String] name
# Required.
# Resource name of project the completion is performed within.
# The format is "projects/`project_id`", for example,
# "projects/api-test-project".
# @param [String] company_name
# Optional.
# If provided, restricts completion to specified company.
# The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo".
# @param [String] language_code
# Required.
# The language of the query. This is
# the BCP-47 language code, such as "en-US" or "sr-Latn".
# For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
# For CompletionType.JOB_TITLE type, only open jobs with same
# language_code are returned.
# For CompletionType.COMPANY_NAME type,
# only companies having open jobs with same language_code are
# returned.
# For CompletionType.COMBINED type, only open jobs with same
# language_code or companies having open jobs with same
# language_code are returned.
# The maximum number of allowed characters is 255.
# @param [Fixnum] page_size
# Required.
# Completion result count.
# The maximum allowed page size is 10.
# @param [String] query
# Required.
# The query used to generate suggestions.
# The maximum number of allowed characters is 255.
# @param [String] scope
# Optional.
# The scope of the completion. The defaults is CompletionScope.PUBLIC.
# @param [String] type
# Optional.
# The completion topic. The default is CompletionType.COMBINED.
# @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::JobsV3::CompleteQueryResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::CompleteQueryResponse]
#
# @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 complete_project(name, company_name: nil, language_code: nil, page_size: nil, query: nil, scope: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3/{+name}:complete', options)
command.response_representation = Google::Apis::JobsV3::CompleteQueryResponse::Representation
command.response_class = Google::Apis::JobsV3::CompleteQueryResponse
command.params['name'] = name unless name.nil?
command.query['companyName'] = company_name unless company_name.nil?
command.query['languageCode'] = language_code unless language_code.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['query'] = query unless query.nil?
command.query['scope'] = scope unless scope.nil?
command.query['type'] = type unless type.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a new company entity.
# @param [String] parent
# Required.
# Resource name of the project under which the company is created.
# The format is "projects/`project_id`", for example,
# "projects/api-test-project".
# @param [Google::Apis::JobsV3::CreateCompanyRequest] create_company_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::JobsV3::Company] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::Company]
#
# @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 create_company(parent, create_company_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v3/{+parent}/companies', options)
command.request_representation = Google::Apis::JobsV3::CreateCompanyRequest::Representation
command.request_object = create_company_request_object
command.response_representation = Google::Apis::JobsV3::Company::Representation
command.response_class = Google::Apis::JobsV3::Company
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes specified company.
# @param [String] name
# Required.
# The resource name of the company to be deleted.
# The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo".
# @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::JobsV3::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::Empty]
#
# @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_project_company(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v3/{+name}', options)
command.response_representation = Google::Apis::JobsV3::Empty::Representation
command.response_class = Google::Apis::JobsV3::Empty
command.params['name'] = name unless 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
# Retrieves specified company.
# @param [String] name
# Required.
# The resource name of the company to be retrieved.
# The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo".
# @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::JobsV3::Company] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::Company]
#
# @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 get_project_company(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3/{+name}', options)
command.response_representation = Google::Apis::JobsV3::Company::Representation
command.response_class = Google::Apis::JobsV3::Company
command.params['name'] = name unless 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
# Lists all companies associated with the service account.
# @param [String] parent
# Required.
# Resource name of the project under which the company is created.
# The format is "projects/`project_id`", for example,
# "projects/api-test-project".
# @param [Fixnum] page_size
# Optional.
# The maximum number of companies to be returned, at most 100.
# Default is 100 if a non-positive number is provided.
# @param [String] page_token
# Optional.
# The starting indicator from which to return results.
# @param [Boolean] require_open_jobs
# Optional.
# Set to true if the companies requested must have open jobs.
# Defaults to false.
# If true, at most page_size of companies are fetched, among which
# only those with open jobs are returned.
# @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::JobsV3::ListCompaniesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::ListCompaniesResponse]
#
# @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 list_project_companies(parent, page_size: nil, page_token: nil, require_open_jobs: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3/{+parent}/companies', options)
command.response_representation = Google::Apis::JobsV3::ListCompaniesResponse::Representation
command.response_class = Google::Apis::JobsV3::ListCompaniesResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['requireOpenJobs'] = require_open_jobs unless require_open_jobs.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates specified company. Company names can't be updated. To update a
# company name, delete the company and all jobs associated with it, and only
# then re-create them.
# @param [String] name
# Required during company update.
# The resource name for a company. This is generated by the service when a
# company is created.
# The format is "projects/`project_id`/companies/`company_id`", for example,
# "projects/api-test-project/companies/foo".
# @param [Google::Apis::JobsV3::UpdateCompanyRequest] update_company_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::JobsV3::Company] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::Company]
#
# @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 patch_project_company(name, update_company_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v3/{+name}', options)
command.request_representation = Google::Apis::JobsV3::UpdateCompanyRequest::Representation
command.request_object = update_company_request_object
command.response_representation = Google::Apis::JobsV3::Company::Representation
command.response_class = Google::Apis::JobsV3::Company
command.params['name'] = name unless 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
# Deletes a list of Jobs by filter.
# @param [String] parent
# Required.
# The resource name of the project under which the job is created.
# The format is "projects/`project_id`", for example,
# "projects/api-test-project".
# @param [Google::Apis::JobsV3::BatchDeleteJobsRequest] batch_delete_jobs_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::JobsV3::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::Empty]
#
# @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 batch_delete_jobs(parent, batch_delete_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v3/{+parent}/jobs:batchDelete', options)
command.request_representation = Google::Apis::JobsV3::BatchDeleteJobsRequest::Representation
command.request_object = batch_delete_jobs_request_object
command.response_representation = Google::Apis::JobsV3::Empty::Representation
command.response_class = Google::Apis::JobsV3::Empty
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a new job.
# Typically, the job becomes searchable within 10 seconds, but it may take
# up to 5 minutes.
# @param [String] parent
# Required.
# The resource name of the project under which the job is created.
# The format is "projects/`project_id`", for example,
# "projects/api-test-project".
# @param [Google::Apis::JobsV3::CreateJobRequest] create_job_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::JobsV3::Job] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::Job]
#
# @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 create_job(parent, create_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v3/{+parent}/jobs', options)
command.request_representation = Google::Apis::JobsV3::CreateJobRequest::Representation
command.request_object = create_job_request_object
command.response_representation = Google::Apis::JobsV3::Job::Representation
command.response_class = Google::Apis::JobsV3::Job
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified job.
# Typically, the job becomes unsearchable within 10 seconds, but it may take
# up to 5 minutes.
# @param [String] name
# Required.
# The resource name of the job to be deleted.
# The format is "projects/`project_id`/jobs/`job_id`",
# for example, "projects/api-test-project/jobs/1234".
# @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::JobsV3::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::Empty]
#
# @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_project_job(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v3/{+name}', options)
command.response_representation = Google::Apis::JobsV3::Empty::Representation
command.response_class = Google::Apis::JobsV3::Empty
command.params['name'] = name unless 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
# Retrieves the specified job, whose status is OPEN or recently EXPIRED
# within the last 90 days.
# @param [String] name
# Required.
# The resource name of the job to retrieve.
# The format is "projects/`project_id`/jobs/`job_id`",
# for example, "projects/api-test-project/jobs/1234".
# @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::JobsV3::Job] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::Job]
#
# @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 get_project_job(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3/{+name}', options)
command.response_representation = Google::Apis::JobsV3::Job::Representation
command.response_class = Google::Apis::JobsV3::Job
command.params['name'] = name unless 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
# Lists jobs by filter.
# @param [String] parent
# Required.
# The resource name of the project under which the job is created.
# The format is "projects/`project_id`", for example,
# "projects/api-test-project".
# @param [String] filter
# Required.
# The filter string specifies the jobs to be enumerated.
# Supported operator: =, AND
# The fields eligible for filtering are:
# * `companyName` (Required)
# * `requisitionId` (Optional)
# Sample Query:
# * companyName = "projects/api-test-project/companies/123"
# * companyName = "projects/api-test-project/companies/123" AND requisitionId
# = "req-1"
# @param [String] job_view
# Optional.
# The desired job attributes returned for jobs in the
# search response. Defaults to JobView.JOB_VIEW_FULL if no value is
# specified.
# @param [Fixnum] page_size
# Optional.
# 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
# page size is 1000. Otherwise, the maximum allowed page size is 100.
# Default is 100 if empty or a number < 1 is specified.
# @param [String] page_token
# Optional.
# The starting point of a query result.
# @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::JobsV3::ListJobsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::ListJobsResponse]
#
# @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 list_project_jobs(parent, filter: nil, job_view: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3/{+parent}/jobs', options)
command.response_representation = Google::Apis::JobsV3::ListJobsResponse::Representation
command.response_class = Google::Apis::JobsV3::ListJobsResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.nil?
command.query['jobView'] = job_view unless job_view.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates specified job.
# Typically, updated contents become visible in search results within 10
# seconds, but it may take up to 5 minutes.
# @param [String] name
# Required during job update.
# The resource name for the job. This is generated by the service when a
# job is created.
# The format is "projects/`project_id`/jobs/`job_id`",
# for example, "projects/api-test-project/jobs/1234".
# Use of this field in job queries and API calls is preferred over the use of
# requisition_id since this value is unique.
# @param [Google::Apis::JobsV3::UpdateJobRequest] update_job_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::JobsV3::Job] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::Job]
#
# @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 patch_project_job(name, update_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v3/{+name}', options)
command.request_representation = Google::Apis::JobsV3::UpdateJobRequest::Representation
command.request_object = update_job_request_object
command.response_representation = Google::Apis::JobsV3::Job::Representation
command.response_class = Google::Apis::JobsV3::Job
command.params['name'] = name unless 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
# Searches for jobs using the provided SearchJobsRequest.
# This call constrains the visibility of jobs
# present in the database, and only returns jobs that the caller has
# permission to search against.
# @param [String] parent
# Required.
# The resource name of the project to search within.
# The format is "projects/`project_id`", for example,
# "projects/api-test-project".
# @param [Google::Apis::JobsV3::SearchJobsRequest] search_jobs_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::JobsV3::SearchJobsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::SearchJobsResponse]
#
# @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 search_jobs(parent, search_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v3/{+parent}/jobs:search', options)
command.request_representation = Google::Apis::JobsV3::SearchJobsRequest::Representation
command.request_object = search_jobs_request_object
command.response_representation = Google::Apis::JobsV3::SearchJobsResponse::Representation
command.response_class = Google::Apis::JobsV3::SearchJobsResponse
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Searches for jobs using the provided SearchJobsRequest.
# This API call is intended for the use case of targeting passive job
# seekers (for example, job seekers who have signed up to receive email
# alerts about potential job opportunities), and has different algorithmic
# adjustments that are targeted to passive job seekers.
# This call constrains the visibility of jobs
# present in the database, and only returns jobs the caller has
# permission to search against.
# @param [String] parent
# Required.
# The resource name of the project to search within.
# The format is "projects/`project_id`", for example,
# "projects/api-test-project".
# @param [Google::Apis::JobsV3::SearchJobsRequest] search_jobs_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::JobsV3::SearchJobsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV3::SearchJobsResponse]
#
# @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 search_project_job_for_alert(parent, search_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v3/{+parent}/jobs:searchForAlert', options)
command.request_representation = Google::Apis::JobsV3::SearchJobsRequest::Representation
command.request_object = search_jobs_request_object
command.response_representation = Google::Apis::JobsV3::SearchJobsResponse::Representation
command.response_class = Google::Apis::JobsV3::SearchJobsResponse
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
end
end
end
end
end