From ffa8bfcb51d821d925fad32089c9a4a5fee94e5f Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sun, 4 Oct 2020 00:39:12 +0000 Subject: [PATCH] Autogenerated update (2020-10-04) Update: - file_v1 - file_v1beta1 - jobs_v2 - jobs_v3p1beta1 - videointelligence_v1 - videointelligence_v1p1beta1 --- api_names_out.yaml | 313 +++++++ generated/google/apis/file_v1.rb | 2 +- generated/google/apis/file_v1/classes.rb | 2 +- generated/google/apis/file_v1beta1.rb | 2 +- generated/google/apis/file_v1beta1/classes.rb | 2 +- generated/google/apis/jobs_v2.rb | 2 +- generated/google/apis/jobs_v2/classes.rb | 798 ++++++++++++++++++ .../google/apis/jobs_v2/representations.rb | 272 ++++++ generated/google/apis/jobs_v3p1beta1.rb | 2 +- .../google/apis/jobs_v3p1beta1/classes.rb | 759 +++++++++++++++++ .../apis/jobs_v3p1beta1/representations.rb | 257 ++++++ generated/google/apis/videointelligence_v1.rb | 2 +- .../apis/videointelligence_v1/classes.rb | 321 ++++++- .../videointelligence_v1/representations.rb | 165 +++- .../apis/videointelligence_v1p1beta1.rb | 2 +- .../videointelligence_v1p1beta1/classes.rb | 321 ++++++- .../representations.rb | 165 +++- 17 files changed, 3347 insertions(+), 40 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index c1ff27edf..d2af56388 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -107946,6 +107946,104 @@ "/jobs:v2/GetHistogramResponse/metadata": metadata "/jobs:v2/GetHistogramResponse/results": results "/jobs:v2/GetHistogramResponse/results/result": result +"/jobs:v2/GoogleCloudTalentV4BatchCreateJobsResponse": google_cloud_talent_v4_batch_create_jobs_response +"/jobs:v2/GoogleCloudTalentV4BatchCreateJobsResponse/jobResults": job_results +"/jobs:v2/GoogleCloudTalentV4BatchCreateJobsResponse/jobResults/job_result": job_result +"/jobs:v2/GoogleCloudTalentV4BatchDeleteJobsResponse": google_cloud_talent_v4_batch_delete_jobs_response +"/jobs:v2/GoogleCloudTalentV4BatchDeleteJobsResponse/jobResults": job_results +"/jobs:v2/GoogleCloudTalentV4BatchDeleteJobsResponse/jobResults/job_result": job_result +"/jobs:v2/GoogleCloudTalentV4BatchOperationMetadata": google_cloud_talent_v4_batch_operation_metadata +"/jobs:v2/GoogleCloudTalentV4BatchOperationMetadata/createTime": create_time +"/jobs:v2/GoogleCloudTalentV4BatchOperationMetadata/endTime": end_time +"/jobs:v2/GoogleCloudTalentV4BatchOperationMetadata/failureCount": failure_count +"/jobs:v2/GoogleCloudTalentV4BatchOperationMetadata/state": state +"/jobs:v2/GoogleCloudTalentV4BatchOperationMetadata/stateDescription": state_description +"/jobs:v2/GoogleCloudTalentV4BatchOperationMetadata/successCount": success_count +"/jobs:v2/GoogleCloudTalentV4BatchOperationMetadata/totalCount": total_count +"/jobs:v2/GoogleCloudTalentV4BatchOperationMetadata/updateTime": update_time +"/jobs:v2/GoogleCloudTalentV4BatchUpdateJobsResponse": google_cloud_talent_v4_batch_update_jobs_response +"/jobs:v2/GoogleCloudTalentV4BatchUpdateJobsResponse/jobResults": job_results +"/jobs:v2/GoogleCloudTalentV4BatchUpdateJobsResponse/jobResults/job_result": job_result +"/jobs:v2/GoogleCloudTalentV4CompensationInfo": google_cloud_talent_v4_compensation_info +"/jobs:v2/GoogleCloudTalentV4CompensationInfo/annualizedBaseCompensationRange": annualized_base_compensation_range +"/jobs:v2/GoogleCloudTalentV4CompensationInfo/annualizedTotalCompensationRange": annualized_total_compensation_range +"/jobs:v2/GoogleCloudTalentV4CompensationInfo/entries": entries +"/jobs:v2/GoogleCloudTalentV4CompensationInfo/entries/entry": entry +"/jobs:v2/GoogleCloudTalentV4CompensationInfoCompensationEntry": google_cloud_talent_v4_compensation_info_compensation_entry +"/jobs:v2/GoogleCloudTalentV4CompensationInfoCompensationEntry/amount": amount +"/jobs:v2/GoogleCloudTalentV4CompensationInfoCompensationEntry/description": description +"/jobs:v2/GoogleCloudTalentV4CompensationInfoCompensationEntry/expectedUnitsPerYear": expected_units_per_year +"/jobs:v2/GoogleCloudTalentV4CompensationInfoCompensationEntry/range": range +"/jobs:v2/GoogleCloudTalentV4CompensationInfoCompensationEntry/type": type +"/jobs:v2/GoogleCloudTalentV4CompensationInfoCompensationEntry/unit": unit +"/jobs:v2/GoogleCloudTalentV4CompensationInfoCompensationRange": google_cloud_talent_v4_compensation_info_compensation_range +"/jobs:v2/GoogleCloudTalentV4CompensationInfoCompensationRange/maxCompensation": max_compensation +"/jobs:v2/GoogleCloudTalentV4CompensationInfoCompensationRange/minCompensation": min_compensation +"/jobs:v2/GoogleCloudTalentV4CustomAttribute": google_cloud_talent_v4_custom_attribute +"/jobs:v2/GoogleCloudTalentV4CustomAttribute/filterable": filterable +"/jobs:v2/GoogleCloudTalentV4CustomAttribute/keywordSearchable": keyword_searchable +"/jobs:v2/GoogleCloudTalentV4CustomAttribute/longValues": long_values +"/jobs:v2/GoogleCloudTalentV4CustomAttribute/longValues/long_value": long_value +"/jobs:v2/GoogleCloudTalentV4CustomAttribute/stringValues": string_values +"/jobs:v2/GoogleCloudTalentV4CustomAttribute/stringValues/string_value": string_value +"/jobs:v2/GoogleCloudTalentV4Job": google_cloud_talent_v4_job +"/jobs:v2/GoogleCloudTalentV4Job/addresses": addresses +"/jobs:v2/GoogleCloudTalentV4Job/addresses/address": address +"/jobs:v2/GoogleCloudTalentV4Job/applicationInfo": application_info +"/jobs:v2/GoogleCloudTalentV4Job/company": company +"/jobs:v2/GoogleCloudTalentV4Job/companyDisplayName": company_display_name +"/jobs:v2/GoogleCloudTalentV4Job/compensationInfo": compensation_info +"/jobs:v2/GoogleCloudTalentV4Job/customAttributes": custom_attributes +"/jobs:v2/GoogleCloudTalentV4Job/customAttributes/custom_attribute": custom_attribute +"/jobs:v2/GoogleCloudTalentV4Job/degreeTypes": degree_types +"/jobs:v2/GoogleCloudTalentV4Job/degreeTypes/degree_type": degree_type +"/jobs:v2/GoogleCloudTalentV4Job/department": department +"/jobs:v2/GoogleCloudTalentV4Job/derivedInfo": derived_info +"/jobs:v2/GoogleCloudTalentV4Job/description": description +"/jobs:v2/GoogleCloudTalentV4Job/employmentTypes": employment_types +"/jobs:v2/GoogleCloudTalentV4Job/employmentTypes/employment_type": employment_type +"/jobs:v2/GoogleCloudTalentV4Job/incentives": incentives +"/jobs:v2/GoogleCloudTalentV4Job/jobBenefits": job_benefits +"/jobs:v2/GoogleCloudTalentV4Job/jobBenefits/job_benefit": job_benefit +"/jobs:v2/GoogleCloudTalentV4Job/jobEndTime": job_end_time +"/jobs:v2/GoogleCloudTalentV4Job/jobLevel": job_level +"/jobs:v2/GoogleCloudTalentV4Job/jobStartTime": job_start_time +"/jobs:v2/GoogleCloudTalentV4Job/languageCode": language_code +"/jobs:v2/GoogleCloudTalentV4Job/name": name +"/jobs:v2/GoogleCloudTalentV4Job/postingCreateTime": posting_create_time +"/jobs:v2/GoogleCloudTalentV4Job/postingExpireTime": posting_expire_time +"/jobs:v2/GoogleCloudTalentV4Job/postingPublishTime": posting_publish_time +"/jobs:v2/GoogleCloudTalentV4Job/postingRegion": posting_region +"/jobs:v2/GoogleCloudTalentV4Job/postingUpdateTime": posting_update_time +"/jobs:v2/GoogleCloudTalentV4Job/processingOptions": processing_options +"/jobs:v2/GoogleCloudTalentV4Job/promotionValue": promotion_value +"/jobs:v2/GoogleCloudTalentV4Job/qualifications": qualifications +"/jobs:v2/GoogleCloudTalentV4Job/requisitionId": requisition_id +"/jobs:v2/GoogleCloudTalentV4Job/responsibilities": responsibilities +"/jobs:v2/GoogleCloudTalentV4Job/title": title +"/jobs:v2/GoogleCloudTalentV4Job/visibility": visibility +"/jobs:v2/GoogleCloudTalentV4JobApplicationInfo": google_cloud_talent_v4_job_application_info +"/jobs:v2/GoogleCloudTalentV4JobApplicationInfo/emails": emails +"/jobs:v2/GoogleCloudTalentV4JobApplicationInfo/emails/email": email +"/jobs:v2/GoogleCloudTalentV4JobApplicationInfo/instruction": instruction +"/jobs:v2/GoogleCloudTalentV4JobApplicationInfo/uris": uris +"/jobs:v2/GoogleCloudTalentV4JobApplicationInfo/uris/uri": uri +"/jobs:v2/GoogleCloudTalentV4JobDerivedInfo": google_cloud_talent_v4_job_derived_info +"/jobs:v2/GoogleCloudTalentV4JobDerivedInfo/jobCategories": job_categories +"/jobs:v2/GoogleCloudTalentV4JobDerivedInfo/jobCategories/job_category": job_category +"/jobs:v2/GoogleCloudTalentV4JobDerivedInfo/locations": locations +"/jobs:v2/GoogleCloudTalentV4JobDerivedInfo/locations/location": location +"/jobs:v2/GoogleCloudTalentV4JobProcessingOptions": google_cloud_talent_v4_job_processing_options +"/jobs:v2/GoogleCloudTalentV4JobProcessingOptions/disableStreetAddressResolution": disable_street_address_resolution +"/jobs:v2/GoogleCloudTalentV4JobProcessingOptions/htmlSanitization": html_sanitization +"/jobs:v2/GoogleCloudTalentV4JobResult": google_cloud_talent_v4_job_result +"/jobs:v2/GoogleCloudTalentV4JobResult/job": job +"/jobs:v2/GoogleCloudTalentV4JobResult/status": status +"/jobs:v2/GoogleCloudTalentV4Location": google_cloud_talent_v4_location +"/jobs:v2/GoogleCloudTalentV4Location/latLng": lat_lng +"/jobs:v2/GoogleCloudTalentV4Location/locationType": location_type +"/jobs:v2/GoogleCloudTalentV4Location/postalAddress": postal_address +"/jobs:v2/GoogleCloudTalentV4Location/radiusMiles": radius_miles "/jobs:v2/HistogramFacets": histogram_facets "/jobs:v2/HistogramFacets/compensationHistogramFacets": compensation_histogram_facets "/jobs:v2/HistogramFacets/compensationHistogramFacets/compensation_histogram_facet": compensation_histogram_facet @@ -108193,6 +108291,12 @@ "/jobs:v2/SpellingCorrection": spelling_correction "/jobs:v2/SpellingCorrection/corrected": corrected "/jobs:v2/SpellingCorrection/correctedText": corrected_text +"/jobs:v2/Status": status +"/jobs:v2/Status/code": code +"/jobs:v2/Status/details": details +"/jobs:v2/Status/details/detail": detail +"/jobs:v2/Status/details/detail/detail": detail +"/jobs:v2/Status/message": message "/jobs:v2/StringValues": string_values "/jobs:v2/StringValues/values": values "/jobs:v2/StringValues/values/value": value @@ -108841,6 +108945,104 @@ "/jobs:v3p1beta1/DeviceInfo/deviceType": device_type "/jobs:v3p1beta1/DeviceInfo/id": id "/jobs:v3p1beta1/Empty": empty +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchCreateJobsResponse": google_cloud_talent_v4_batch_create_jobs_response +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchCreateJobsResponse/jobResults": job_results +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchCreateJobsResponse/jobResults/job_result": job_result +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchDeleteJobsResponse": google_cloud_talent_v4_batch_delete_jobs_response +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchDeleteJobsResponse/jobResults": job_results +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchDeleteJobsResponse/jobResults/job_result": job_result +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchOperationMetadata": google_cloud_talent_v4_batch_operation_metadata +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchOperationMetadata/createTime": create_time +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchOperationMetadata/endTime": end_time +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchOperationMetadata/failureCount": failure_count +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchOperationMetadata/state": state +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchOperationMetadata/stateDescription": state_description +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchOperationMetadata/successCount": success_count +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchOperationMetadata/totalCount": total_count +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchOperationMetadata/updateTime": update_time +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchUpdateJobsResponse": google_cloud_talent_v4_batch_update_jobs_response +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchUpdateJobsResponse/jobResults": job_results +"/jobs:v3p1beta1/GoogleCloudTalentV4BatchUpdateJobsResponse/jobResults/job_result": job_result +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfo": google_cloud_talent_v4_compensation_info +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfo/annualizedBaseCompensationRange": annualized_base_compensation_range +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfo/annualizedTotalCompensationRange": annualized_total_compensation_range +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfo/entries": entries +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfo/entries/entry": entry +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfoCompensationEntry": google_cloud_talent_v4_compensation_info_compensation_entry +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfoCompensationEntry/amount": amount +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfoCompensationEntry/description": description +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfoCompensationEntry/expectedUnitsPerYear": expected_units_per_year +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfoCompensationEntry/range": range +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfoCompensationEntry/type": type +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfoCompensationEntry/unit": unit +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfoCompensationRange": google_cloud_talent_v4_compensation_info_compensation_range +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfoCompensationRange/maxCompensation": max_compensation +"/jobs:v3p1beta1/GoogleCloudTalentV4CompensationInfoCompensationRange/minCompensation": min_compensation +"/jobs:v3p1beta1/GoogleCloudTalentV4CustomAttribute": google_cloud_talent_v4_custom_attribute +"/jobs:v3p1beta1/GoogleCloudTalentV4CustomAttribute/filterable": filterable +"/jobs:v3p1beta1/GoogleCloudTalentV4CustomAttribute/keywordSearchable": keyword_searchable +"/jobs:v3p1beta1/GoogleCloudTalentV4CustomAttribute/longValues": long_values +"/jobs:v3p1beta1/GoogleCloudTalentV4CustomAttribute/longValues/long_value": long_value +"/jobs:v3p1beta1/GoogleCloudTalentV4CustomAttribute/stringValues": string_values +"/jobs:v3p1beta1/GoogleCloudTalentV4CustomAttribute/stringValues/string_value": string_value +"/jobs:v3p1beta1/GoogleCloudTalentV4Job": google_cloud_talent_v4_job +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/addresses": addresses +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/addresses/address": address +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/applicationInfo": application_info +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/company": company +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/companyDisplayName": company_display_name +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/compensationInfo": compensation_info +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/customAttributes": custom_attributes +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/customAttributes/custom_attribute": custom_attribute +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/degreeTypes": degree_types +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/degreeTypes/degree_type": degree_type +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/department": department +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/derivedInfo": derived_info +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/description": description +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/employmentTypes": employment_types +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/employmentTypes/employment_type": employment_type +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/incentives": incentives +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/jobBenefits": job_benefits +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/jobBenefits/job_benefit": job_benefit +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/jobEndTime": job_end_time +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/jobLevel": job_level +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/jobStartTime": job_start_time +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/languageCode": language_code +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/name": name +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/postingCreateTime": posting_create_time +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/postingExpireTime": posting_expire_time +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/postingPublishTime": posting_publish_time +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/postingRegion": posting_region +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/postingUpdateTime": posting_update_time +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/processingOptions": processing_options +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/promotionValue": promotion_value +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/qualifications": qualifications +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/requisitionId": requisition_id +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/responsibilities": responsibilities +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/title": title +"/jobs:v3p1beta1/GoogleCloudTalentV4Job/visibility": visibility +"/jobs:v3p1beta1/GoogleCloudTalentV4JobApplicationInfo": google_cloud_talent_v4_job_application_info +"/jobs:v3p1beta1/GoogleCloudTalentV4JobApplicationInfo/emails": emails +"/jobs:v3p1beta1/GoogleCloudTalentV4JobApplicationInfo/emails/email": email +"/jobs:v3p1beta1/GoogleCloudTalentV4JobApplicationInfo/instruction": instruction +"/jobs:v3p1beta1/GoogleCloudTalentV4JobApplicationInfo/uris": uris +"/jobs:v3p1beta1/GoogleCloudTalentV4JobApplicationInfo/uris/uri": uri +"/jobs:v3p1beta1/GoogleCloudTalentV4JobDerivedInfo": google_cloud_talent_v4_job_derived_info +"/jobs:v3p1beta1/GoogleCloudTalentV4JobDerivedInfo/jobCategories": job_categories +"/jobs:v3p1beta1/GoogleCloudTalentV4JobDerivedInfo/jobCategories/job_category": job_category +"/jobs:v3p1beta1/GoogleCloudTalentV4JobDerivedInfo/locations": locations +"/jobs:v3p1beta1/GoogleCloudTalentV4JobDerivedInfo/locations/location": location +"/jobs:v3p1beta1/GoogleCloudTalentV4JobProcessingOptions": google_cloud_talent_v4_job_processing_options +"/jobs:v3p1beta1/GoogleCloudTalentV4JobProcessingOptions/disableStreetAddressResolution": disable_street_address_resolution +"/jobs:v3p1beta1/GoogleCloudTalentV4JobProcessingOptions/htmlSanitization": html_sanitization +"/jobs:v3p1beta1/GoogleCloudTalentV4JobResult": google_cloud_talent_v4_job_result +"/jobs:v3p1beta1/GoogleCloudTalentV4JobResult/job": job +"/jobs:v3p1beta1/GoogleCloudTalentV4JobResult/status": status +"/jobs:v3p1beta1/GoogleCloudTalentV4Location": google_cloud_talent_v4_location +"/jobs:v3p1beta1/GoogleCloudTalentV4Location/latLng": lat_lng +"/jobs:v3p1beta1/GoogleCloudTalentV4Location/locationType": location_type +"/jobs:v3p1beta1/GoogleCloudTalentV4Location/postalAddress": postal_address +"/jobs:v3p1beta1/GoogleCloudTalentV4Location/radiusMiles": radius_miles "/jobs:v3p1beta1/HistogramFacets": histogram_facets "/jobs:v3p1beta1/HistogramFacets/compensationHistogramFacets": compensation_histogram_facets "/jobs:v3p1beta1/HistogramFacets/compensationHistogramFacets/compensation_histogram_facet": compensation_histogram_facet @@ -143787,6 +143989,12 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1_ExplicitContentFrame": google_cloud_videointelligence_v1_explicit_content_frame "/videointelligence:v1/GoogleCloudVideointelligenceV1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1/GoogleCloudVideointelligenceV1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation": google_cloud_videointelligence_v1_face_detection_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation/version": version +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionConfig": google_cloud_videointelligence_v1_face_detection_config +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionConfig/includeAttributes": include_attributes +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionConfig/includeBoundingBoxes": include_bounding_boxes +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionConfig/model": model "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelAnnotation": google_cloud_videointelligence_v1_label_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -143838,6 +144046,14 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1_ObjectTrackingFrame": google_cloud_videointelligence_v1_object_tracking_frame "/videointelligence:v1/GoogleCloudVideointelligenceV1_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box "/videointelligence:v1/GoogleCloudVideointelligenceV1_ObjectTrackingFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1_PersonDetectionAnnotation": google_cloud_videointelligence_v1_person_detection_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1_PersonDetectionAnnotation/tracks": tracks +"/videointelligence:v1/GoogleCloudVideointelligenceV1_PersonDetectionAnnotation/tracks/track": track +"/videointelligence:v1/GoogleCloudVideointelligenceV1_PersonDetectionAnnotation/version": version +"/videointelligence:v1/GoogleCloudVideointelligenceV1_PersonDetectionConfig": google_cloud_videointelligence_v1_person_detection_config +"/videointelligence:v1/GoogleCloudVideointelligenceV1_PersonDetectionConfig/includeAttributes": include_attributes +"/videointelligence:v1/GoogleCloudVideointelligenceV1_PersonDetectionConfig/includeBoundingBoxes": include_bounding_boxes +"/videointelligence:v1/GoogleCloudVideointelligenceV1_PersonDetectionConfig/includePoseLandmarks": include_pose_landmarks "/videointelligence:v1/GoogleCloudVideointelligenceV1_ShotChangeDetectionConfig": google_cloud_videointelligence_v1_shot_change_detection_config "/videointelligence:v1/GoogleCloudVideointelligenceV1_ShotChangeDetectionConfig/model": model "/videointelligence:v1/GoogleCloudVideointelligenceV1_SpeechContext": google_cloud_videointelligence_v1_speech_context @@ -143905,6 +144121,8 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults": google_cloud_videointelligence_v1_video_annotation_results "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/error": error "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation": face_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/frameLabelAnnotations": frame_label_annotations "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation": frame_label_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/inputUri": input_uri @@ -143913,6 +144131,9 @@ : logo_recognition_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/objectAnnotations": object_annotations "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/personDetectionAnnotations": person_detection_annotations +? "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/personDetectionAnnotations/person_detection_annotation" +: person_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/segment": segment "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation": segment_label_annotation @@ -143932,8 +144153,10 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/textAnnotations/text_annotation": text_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoContext": google_cloud_videointelligence_v1_video_context "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoContext/explicitContentDetectionConfig": explicit_content_detection_config +"/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoContext/faceDetectionConfig": face_detection_config "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoContext/labelDetectionConfig": label_detection_config "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoContext/objectTrackingConfig": object_tracking_config +"/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoContext/personDetectionConfig": person_detection_config "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoContext/segments": segments "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoContext/segments/segment": segment "/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoContext/shotChangeDetectionConfig": shot_change_detection_config @@ -144012,6 +144235,8 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame": google_cloud_videointelligence_v1beta2_explicit_content_frame "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation": google_cloud_videointelligence_v1beta2_face_detection_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/version": version "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation": google_cloud_videointelligence_v1beta2_label_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -144055,6 +144280,10 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame": google_cloud_videointelligence_v1beta2_object_tracking_frame "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation": google_cloud_videointelligence_v1beta2_person_detection_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation/tracks": tracks +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation/tracks/track": track +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation/version": version "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative": google_cloud_videointelligence_v1beta2_speech_recognition_alternative "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative/confidence": confidence "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative/transcript": transcript @@ -144101,6 +144330,9 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults": google_cloud_videointelligence_v1beta2_video_annotation_results "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/error": error "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations +? "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" +: face_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/frameLabelAnnotations": frame_label_annotations "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation": frame_label_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/inputUri": input_uri @@ -144109,6 +144341,9 @@ : logo_recognition_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/objectAnnotations": object_annotations "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/personDetectionAnnotations": person_detection_annotations +? "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/personDetectionAnnotations/person_detection_annotation" +: person_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/segment": segment "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations ? "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation" @@ -144169,6 +144404,7 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/frames/frame": frame "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/segments": segments "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/segments/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/version": version "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAttribute": google_cloud_videointelligence_v1p1beta1_face_detection_attribute "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAttribute/emotions": emotions "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAttribute/emotions/emotion": emotion @@ -144222,6 +144458,10 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame": google_cloud_videointelligence_v1p1beta1_object_tracking_frame "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation": google_cloud_videointelligence_v1p1beta1_person_detection_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation/tracks": tracks +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation/tracks/track": track +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation/version": version "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative": google_cloud_videointelligence_v1p1beta1_speech_recognition_alternative "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative/confidence": confidence "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative/transcript": transcript @@ -144279,6 +144519,9 @@ : logo_recognition_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/objectAnnotations": object_annotations "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/personDetectionAnnotations": person_detection_annotations +? "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/personDetectionAnnotations/person_detection_annotation" +: person_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/segment": segment "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations ? "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation" @@ -144331,6 +144574,8 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p2beta1_explicit_content_frame "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p2beta1_face_detection_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/version": version "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation": google_cloud_videointelligence_v1p2beta1_label_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -144374,6 +144619,10 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame": google_cloud_videointelligence_v1p2beta1_object_tracking_frame "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation": google_cloud_videointelligence_v1p2beta1_person_detection_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation/tracks": tracks +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation/tracks/track": track +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation/version": version "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative": google_cloud_videointelligence_v1p2beta1_speech_recognition_alternative "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative/confidence": confidence "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative/transcript": transcript @@ -144423,6 +144672,9 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p2beta1_video_annotation_results "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/error": error "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations +? "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" +: face_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/frameLabelAnnotations": frame_label_annotations "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation": frame_label_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/inputUri": input_uri @@ -144431,6 +144683,9 @@ : logo_recognition_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/objectAnnotations": object_annotations "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/personDetectionAnnotations": person_detection_annotations +? "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/personDetectionAnnotations/person_detection_annotation" +: person_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/segment": segment "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations ? "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation" @@ -146239,6 +146494,8 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame": google_cloud_videointelligence_v1_explicit_content_frame "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation": google_cloud_videointelligence_v1_face_detection_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation/version": version "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation": google_cloud_videointelligence_v1_label_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -146282,6 +146539,10 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_ObjectTrackingFrame": google_cloud_videointelligence_v1_object_tracking_frame "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_ObjectTrackingFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_PersonDetectionAnnotation": google_cloud_videointelligence_v1_person_detection_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_PersonDetectionAnnotation/tracks": tracks +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_PersonDetectionAnnotation/tracks/track": track +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_PersonDetectionAnnotation/version": version "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative": google_cloud_videointelligence_v1_speech_recognition_alternative "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative/confidence": confidence "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative/transcript": transcript @@ -146328,6 +146589,9 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults": google_cloud_videointelligence_v1_video_annotation_results "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/error": error "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations +? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" +: face_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/frameLabelAnnotations": frame_label_annotations "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation": frame_label_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/inputUri": input_uri @@ -146336,6 +146600,9 @@ : logo_recognition_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/objectAnnotations": object_annotations "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/personDetectionAnnotations": person_detection_annotations +? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/personDetectionAnnotations/person_detection_annotation" +: person_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/segment": segment "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation" @@ -146388,6 +146655,8 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame": google_cloud_videointelligence_v1beta2_explicit_content_frame "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation": google_cloud_videointelligence_v1beta2_face_detection_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/version": version "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation": google_cloud_videointelligence_v1beta2_label_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -146431,6 +146700,10 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame": google_cloud_videointelligence_v1beta2_object_tracking_frame "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation": google_cloud_videointelligence_v1beta2_person_detection_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation/tracks": tracks +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation/tracks/track": track +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation/version": version "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative": google_cloud_videointelligence_v1beta2_speech_recognition_alternative "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative/confidence": confidence "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative/transcript": transcript @@ -146477,6 +146750,9 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults": google_cloud_videointelligence_v1beta2_video_annotation_results "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/error": error "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations +? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" +: face_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/frameLabelAnnotations": frame_label_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation" : frame_label_annotation @@ -146486,6 +146762,9 @@ : logo_recognition_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/objectAnnotations": object_annotations "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/personDetectionAnnotations": person_detection_annotations +? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/personDetectionAnnotations/person_detection_annotation" +: person_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/segment": segment "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation" @@ -146550,6 +146829,12 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p1beta1_explicit_content_frame "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p1beta1_face_detection_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionConfig": google_cloud_videointelligence_v1p1beta1_face_detection_config +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionConfig/includeAttributes": include_attributes +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionConfig/includeBoundingBoxes": include_bounding_boxes +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionConfig/model": model "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation": google_cloud_videointelligence_v1p1beta1_label_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -146601,6 +146886,14 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame": google_cloud_videointelligence_v1p1beta1_object_tracking_frame "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation": google_cloud_videointelligence_v1p1beta1_person_detection_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation/tracks": tracks +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation/tracks/track": track +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation/version": version +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionConfig": google_cloud_videointelligence_v1p1beta1_person_detection_config +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionConfig/includeAttributes": include_attributes +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionConfig/includeBoundingBoxes": include_bounding_boxes +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_PersonDetectionConfig/includePoseLandmarks": include_pose_landmarks "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_ShotChangeDetectionConfig": google_cloud_videointelligence_v1p1beta1_shot_change_detection_config "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_ShotChangeDetectionConfig/model": model "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechContext": google_cloud_videointelligence_v1p1beta1_speech_context @@ -146671,6 +146964,9 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p1beta1_video_annotation_results "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/error": error "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations +? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" +: face_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/frameLabelAnnotations": frame_label_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation" : frame_label_annotation @@ -146680,6 +146976,9 @@ : logo_recognition_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/objectAnnotations": object_annotations "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/personDetectionAnnotations": person_detection_annotations +? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/personDetectionAnnotations/person_detection_annotation" +: person_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/segment": segment "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation" @@ -146702,8 +147001,10 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/textAnnotations/text_annotation": text_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoContext": google_cloud_videointelligence_v1p1beta1_video_context "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoContext/explicitContentDetectionConfig": explicit_content_detection_config +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoContext/faceDetectionConfig": face_detection_config "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoContext/labelDetectionConfig": label_detection_config "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoContext/objectTrackingConfig": object_tracking_config +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoContext/personDetectionConfig": person_detection_config "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoContext/segments": segments "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoContext/segments/segment": segment "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoContext/shotChangeDetectionConfig": shot_change_detection_config @@ -146743,6 +147044,8 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p2beta1_explicit_content_frame "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p2beta1_face_detection_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/version": version "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation": google_cloud_videointelligence_v1p2beta1_label_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -146786,6 +147089,10 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame": google_cloud_videointelligence_v1p2beta1_object_tracking_frame "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation": google_cloud_videointelligence_v1p2beta1_person_detection_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation/tracks": tracks +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation/tracks/track": track +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation/version": version "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative": google_cloud_videointelligence_v1p2beta1_speech_recognition_alternative "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative/confidence": confidence "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative/transcript": transcript @@ -146835,6 +147142,9 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p2beta1_video_annotation_results "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/error": error "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations +? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" +: face_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/frameLabelAnnotations": frame_label_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation" : frame_label_annotation @@ -146844,6 +147154,9 @@ : logo_recognition_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/objectAnnotations": object_annotations "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/personDetectionAnnotations": person_detection_annotations +? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/personDetectionAnnotations/person_detection_annotation" +: person_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/segment": segment "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation" diff --git a/generated/google/apis/file_v1.rb b/generated/google/apis/file_v1.rb index ddeb2aafb..693a5b3d1 100644 --- a/generated/google/apis/file_v1.rb +++ b/generated/google/apis/file_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/filestore/ module FileV1 VERSION = 'V1' - REVISION = '20200819' + REVISION = '20201001' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/file_v1/classes.rb b/generated/google/apis/file_v1/classes.rb index 4c6c68bb3..0a65a1498 100644 --- a/generated/google/apis/file_v1/classes.rb +++ b/generated/google/apis/file_v1/classes.rb @@ -111,7 +111,7 @@ module Google attr_accessor :maintenance_policy_names # The MaintenanceSchedule contains the scheduling information of published - # maintenance schedule. + # maintenance schedule with same key as software_versions. # Corresponds to the JSON property `maintenanceSchedules` # @return [Hash] attr_accessor :maintenance_schedules diff --git a/generated/google/apis/file_v1beta1.rb b/generated/google/apis/file_v1beta1.rb index 96d56d9eb..c5bba2b9f 100644 --- a/generated/google/apis/file_v1beta1.rb +++ b/generated/google/apis/file_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/filestore/ module FileV1beta1 VERSION = 'V1beta1' - REVISION = '20200819' + REVISION = '20201001' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/file_v1beta1/classes.rb b/generated/google/apis/file_v1beta1/classes.rb index 0abf87d83..39dd393cb 100644 --- a/generated/google/apis/file_v1beta1/classes.rb +++ b/generated/google/apis/file_v1beta1/classes.rb @@ -211,7 +211,7 @@ module Google attr_accessor :maintenance_policy_names # The MaintenanceSchedule contains the scheduling information of published - # maintenance schedule. + # maintenance schedule with same key as software_versions. # Corresponds to the JSON property `maintenanceSchedules` # @return [Hash] attr_accessor :maintenance_schedules diff --git a/generated/google/apis/jobs_v2.rb b/generated/google/apis/jobs_v2.rb index c3adfe493..bc6659bf3 100644 --- a/generated/google/apis/jobs_v2.rb +++ b/generated/google/apis/jobs_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV2 VERSION = 'V2' - REVISION = '20200828' + REVISION = '20200929' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/jobs_v2/classes.rb b/generated/google/apis/jobs_v2/classes.rb index 446b0568d..6aa55d9a9 100644 --- a/generated/google/apis/jobs_v2/classes.rb +++ b/generated/google/apis/jobs_v2/classes.rb @@ -1306,6 +1306,765 @@ module Google end end + # The result of JobService.BatchCreateJobs. It's used to replace google. + # longrunning.Operation.response in case of success. + class GoogleCloudTalentV4BatchCreateJobsResponse + include Google::Apis::Core::Hashable + + # List of job mutation results from a batch create operation. It can change + # until operation status is FINISHED, FAILED or CANCELLED. + # Corresponds to the JSON property `jobResults` + # @return [Array] + attr_accessor :job_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_results = args[:job_results] if args.key?(:job_results) + end + end + + # The result of JobService.BatchDeleteJobs. It's used to replace google. + # longrunning.Operation.response in case of success. + class GoogleCloudTalentV4BatchDeleteJobsResponse + include Google::Apis::Core::Hashable + + # List of job mutation results from a batch delete operation. It can change + # until operation status is FINISHED, FAILED or CANCELLED. + # Corresponds to the JSON property `jobResults` + # @return [Array] + attr_accessor :job_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_results = args[:job_results] if args.key?(:job_results) + end + end + + # Metadata used for long running operations returned by CTS batch APIs. It's + # used to replace google.longrunning.Operation.metadata. + class GoogleCloudTalentV4BatchOperationMetadata + include Google::Apis::Core::Hashable + + # The time when the batch operation is created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The time when the batch operation is finished and google.longrunning.Operation. + # done is set to `true`. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Count of failed item(s) inside an operation. + # Corresponds to the JSON property `failureCount` + # @return [Fixnum] + attr_accessor :failure_count + + # The state of a long running operation. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # More detailed information about operation state. + # Corresponds to the JSON property `stateDescription` + # @return [String] + attr_accessor :state_description + + # Count of successful item(s) inside an operation. + # Corresponds to the JSON property `successCount` + # @return [Fixnum] + attr_accessor :success_count + + # Count of total item(s) inside an operation. + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + # The time when the batch operation status is updated. The metadata and the + # update_time is refreshed every minute otherwise cached data is returned. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @end_time = args[:end_time] if args.key?(:end_time) + @failure_count = args[:failure_count] if args.key?(:failure_count) + @state = args[:state] if args.key?(:state) + @state_description = args[:state_description] if args.key?(:state_description) + @success_count = args[:success_count] if args.key?(:success_count) + @total_count = args[:total_count] if args.key?(:total_count) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # The result of JobService.BatchUpdateJobs. It's used to replace google. + # longrunning.Operation.response in case of success. + class GoogleCloudTalentV4BatchUpdateJobsResponse + include Google::Apis::Core::Hashable + + # List of job mutation results from a batch update operation. It can change + # until operation status is FINISHED, FAILED or CANCELLED. + # Corresponds to the JSON property `jobResults` + # @return [Array] + attr_accessor :job_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_results = args[:job_results] if args.key?(:job_results) + end + end + + # Job compensation details. + class GoogleCloudTalentV4CompensationInfo + include Google::Apis::Core::Hashable + + # Compensation range. + # Corresponds to the JSON property `annualizedBaseCompensationRange` + # @return [Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange] + attr_accessor :annualized_base_compensation_range + + # Compensation range. + # Corresponds to the JSON property `annualizedTotalCompensationRange` + # @return [Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange] + attr_accessor :annualized_total_compensation_range + + # Job compensation information. At most one entry can be of type + # CompensationInfo.CompensationType.BASE, which is referred as **base + # compensation entry** for the job. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range) + @annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range) + @entries = args[:entries] if args.key?(:entries) + end + end + + # A compensation entry that represents one component of compensation, such as + # base pay, bonus, or other compensation type. Annualization: One compensation + # entry can be annualized if - it contains valid amount or range. - and its + # expected_units_per_year is set or can be derived. Its annualized range is + # determined as (amount or range) times expected_units_per_year. + class GoogleCloudTalentV4CompensationInfoCompensationEntry + include Google::Apis::Core::Hashable + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `amount` + # @return [Google::Apis::JobsV2::Money] + attr_accessor :amount + + # Compensation description. For example, could indicate equity terms or provide + # additional context to an estimated bonus. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Expected number of units paid each year. If not specified, when Job. + # employment_types is FULLTIME, a default value is inferred based on unit. + # Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - + # ANNUAL: 1 + # Corresponds to the JSON property `expectedUnitsPerYear` + # @return [Float] + attr_accessor :expected_units_per_year + + # Compensation range. + # Corresponds to the JSON property `range` + # @return [Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange] + attr_accessor :range + + # Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Frequency of the specified amount. Default is CompensationUnit. + # COMPENSATION_UNIT_UNSPECIFIED. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @amount = args[:amount] if args.key?(:amount) + @description = args[:description] if args.key?(:description) + @expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year) + @range = args[:range] if args.key?(:range) + @type = args[:type] if args.key?(:type) + @unit = args[:unit] if args.key?(:unit) + end + end + + # Compensation range. + class GoogleCloudTalentV4CompensationInfoCompensationRange + include Google::Apis::Core::Hashable + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `maxCompensation` + # @return [Google::Apis::JobsV2::Money] + attr_accessor :max_compensation + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `minCompensation` + # @return [Google::Apis::JobsV2::Money] + attr_accessor :min_compensation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_compensation = args[:max_compensation] if args.key?(:max_compensation) + @min_compensation = args[:min_compensation] if args.key?(:min_compensation) + end + end + + # Custom attribute values that are either filterable or non-filterable. + class GoogleCloudTalentV4CustomAttribute + include Google::Apis::Core::Hashable + + # If the `filterable` flag is true, the custom field values may be used for + # custom attribute filters JobQuery.custom_attribute_filter. If false, these + # values may not be used for custom attribute filters. Default is false. + # Corresponds to the JSON property `filterable` + # @return [Boolean] + attr_accessor :filterable + alias_method :filterable?, :filterable + + # If the `keyword_searchable` flag is true, the keywords in custom fields are + # searchable by keyword match. If false, the values are not searchable by + # keyword match. Default is false. + # Corresponds to the JSON property `keywordSearchable` + # @return [Boolean] + attr_accessor :keyword_searchable + alias_method :keyword_searchable?, :keyword_searchable + + # Exactly one of string_values or long_values must be specified. This field is + # used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over + # filterable `long_value`. Currently at most 1 long_values is supported. + # Corresponds to the JSON property `longValues` + # @return [Array] + attr_accessor :long_values + + # Exactly one of string_values or long_values must be specified. This field is + # used to perform a string match (`CASE_SENSITIVE_MATCH` or ` + # CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum + # total number of 200 values is allowed, with each `string_value` has a byte + # size of no more than 500B. For unfilterable `string_values`, the maximum total + # byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed. + # Corresponds to the JSON property `stringValues` + # @return [Array] + attr_accessor :string_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filterable = args[:filterable] if args.key?(:filterable) + @keyword_searchable = args[:keyword_searchable] if args.key?(:keyword_searchable) + @long_values = args[:long_values] if args.key?(:long_values) + @string_values = args[:string_values] if args.key?(:string_values) + end + end + + # A Job resource represents a job posting (also referred to as a "job listing" + # or "job requisition"). A job belongs to a Company, which is the hiring entity + # responsible for the job. + class GoogleCloudTalentV4Job + include Google::Apis::Core::Hashable + + # Strongly recommended for the best service experience. Location(s) where the + # employer is looking to hire for this job posting. Specifying the full street + # address(es) of the hiring location enables better API results, especially job + # searches by commute time. At most 50 locations are allowed for best search + # performance. If a job has more locations, it is suggested to split it into + # multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA- + # 2', and so on.) as multiple jobs with the same company, language_code and + # requisition_id are not allowed. If the original requisition_id must be + # preserved, a custom field should be used for storage. It is also suggested to + # group the locations that close to each other in the same job for better search + # experience. The maximum number of allowed characters is 500. + # Corresponds to the JSON property `addresses` + # @return [Array] + attr_accessor :addresses + + # Application related details of a job posting. + # Corresponds to the JSON property `applicationInfo` + # @return [Google::Apis::JobsV2::GoogleCloudTalentV4JobApplicationInfo] + attr_accessor :application_info + + # Required. The resource name of the company listing the job. The format is " + # projects/`project_id`/tenants/`tenant_id`/companies/`company_id`". For example, + # "projects/foo/tenants/bar/companies/baz". + # Corresponds to the JSON property `company` + # @return [String] + attr_accessor :company + + # Output only. Display name of the company listing the job. + # Corresponds to the JSON property `companyDisplayName` + # @return [String] + attr_accessor :company_display_name + + # Job compensation details. + # Corresponds to the JSON property `compensationInfo` + # @return [Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfo] + attr_accessor :compensation_info + + # A map of fields to hold both filterable and non-filterable custom job + # 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 pattern: a-zA-Z*. For + # example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most + # 100 unfilterable keys are supported. For filterable `string_values`, across + # all keys at most 200 values are allowed, with each string no more than 255 + # characters. For unfilterable `string_values`, the maximum total size of ` + # string_values` across all keys is 50KB. + # Corresponds to the JSON property `customAttributes` + # @return [Hash] + attr_accessor :custom_attributes + + # The desired education degrees for the job, such as Bachelors, Masters. + # Corresponds to the JSON property `degreeTypes` + # @return [Array] + attr_accessor :degree_types + + # The department or functional area within the company with the open position. + # The maximum number of allowed characters is 255. + # Corresponds to the JSON property `department` + # @return [String] + attr_accessor :department + + # Derived details about the job posting. + # Corresponds to the JSON property `derivedInfo` + # @return [Google::Apis::JobsV2::GoogleCloudTalentV4JobDerivedInfo] + attr_accessor :derived_info + + # Required. The description of the job, which typically includes a multi- + # paragraph description of the company and related information. Separate fields + # are provided on the job object for responsibilities, qualifications, and other + # job characteristics. Use of these separate job fields is recommended. This + # field accepts and sanitizes HTML input, and also accepts bold, italic, ordered + # list, and unordered list markup tags. The maximum number of allowed characters + # is 100,000. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The employment type(s) of a job, for example, full time or part time. + # Corresponds to the JSON property `employmentTypes` + # @return [Array] + attr_accessor :employment_types + + # A description of bonus, commission, and other compensation incentives + # associated with the job not including salary or pay. The maximum number of + # allowed characters is 10,000. + # Corresponds to the JSON property `incentives` + # @return [String] + attr_accessor :incentives + + # The benefits included with the job. + # Corresponds to the JSON property `jobBenefits` + # @return [Array] + attr_accessor :job_benefits + + # The end timestamp of the job. Typically this field is used for contracting + # engagements. Invalid timestamps are ignored. + # Corresponds to the JSON property `jobEndTime` + # @return [String] + attr_accessor :job_end_time + + # The experience level associated with the job, such as "Entry Level". + # Corresponds to the JSON property `jobLevel` + # @return [String] + attr_accessor :job_level + + # The start timestamp of the job in UTC time zone. Typically this field is used + # for contracting engagements. Invalid timestamps are ignored. + # Corresponds to the JSON property `jobStartTime` + # @return [String] + attr_accessor :job_start_time + + # The language of the posting. This field is distinct from 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". For more information, see [Tags for + # Identifying Languages](https://tools.ietf.org/html/bcp47)`: class="external" + # target="_blank" `. If this field is unspecified and Job.description is present, + # detected language code based on Job.description is assigned, otherwise + # defaults to 'en_US'. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # 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`/ + # tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/tenants/bar/ + # jobs/baz". Use of this field in job queries and API calls is preferred over + # the use of requisition_id since this value is unique. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. The timestamp when this job posting was created. + # Corresponds to the JSON property `postingCreateTime` + # @return [String] + attr_accessor :posting_create_time + + # Strongly recommended for the best service experience. The expiration timestamp + # of the job. After this timestamp, the job is marked as expired, and it no + # longer appears in search results. The expired job can't be listed by the + # ListJobs API, but it can be retrieved with the GetJob API or updated with the + # UpdateJob API or deleted with the DeleteJob API. An expired job can be updated + # and opened again by using a future expiration timestamp. Updating an expired + # job fails if there is another existing open job with same company, + # language_code and requisition_id. The expired jobs are retained in our system + # for 90 days. However, the overall expired job count cannot exceed 3 times the + # maximum number of open jobs over previous 7 days. If this threshold is + # exceeded, expired jobs are cleaned out in order of earliest expire time. + # Expired jobs are no longer accessible after they are cleaned out. Invalid + # timestamps are ignored, and treated as expire time not provided. If the + # timestamp is before the instant request is made, the job is treated as expired + # immediately on creation. This kind of job can not be updated. And when + # creating a job with past timestamp, the posting_publish_time must be set + # before posting_expire_time. The purpose of this feature is to allow other + # objects, such as Application, to refer a job that didn't exist in the system + # prior to becoming expired. If you want to modify a job that was expired on + # creation, delete it and create a new one. If this value isn't provided at the + # time of job creation or is invalid, the job posting expires after 30 days from + # the job's creation time. For example, if the job was created on 2017/01/01 13: + # 00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 + # 13:00AM UTC. If this value isn't provided on job update, it depends on the + # field masks set by UpdateJobRequest.update_mask. If the field masks include + # job_end_time, or the masks are empty meaning that every field is updated, the + # job posting expires after 30 days from the job's last update time. Otherwise + # the expiration date isn't updated. + # Corresponds to the JSON property `postingExpireTime` + # @return [String] + attr_accessor :posting_expire_time + + # The timestamp this job posting was most recently published. The default value + # is the time the request arrives at the server. Invalid timestamps are ignored. + # Corresponds to the JSON property `postingPublishTime` + # @return [String] + attr_accessor :posting_publish_time + + # The job PostingRegion (for example, state, country) throughout which the job + # is available. If this field is set, a LocationFilter in a search query within + # the job region finds this job posting if an exact location match isn't + # specified. If this field is set to PostingRegion.NATION or PostingRegion. + # ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as + # this field is strongly recommended. + # Corresponds to the JSON property `postingRegion` + # @return [String] + attr_accessor :posting_region + + # Output only. The timestamp when this job posting was last updated. + # Corresponds to the JSON property `postingUpdateTime` + # @return [String] + attr_accessor :posting_update_time + + # Options for job processing. + # Corresponds to the JSON property `processingOptions` + # @return [Google::Apis::JobsV2::GoogleCloudTalentV4JobProcessingOptions] + attr_accessor :processing_options + + # A promotion value of the job, as determined by the client. The value + # determines the sort order of the jobs returned when searching for jobs using + # the featured jobs search call, with higher promotional values being returned + # first and ties being resolved by relevance sort. Only the jobs with a + # promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0, + # and negative values are treated as 0. + # Corresponds to the JSON property `promotionValue` + # @return [Fixnum] + attr_accessor :promotion_value + + # A description of the qualifications required to perform the job. The use of + # this field is recommended as an alternative to using the more general + # description field. This field accepts and sanitizes HTML input, and also + # accepts bold, italic, ordered list, and unordered list markup tags. The + # maximum number of allowed characters is 10,000. + # Corresponds to the JSON property `qualifications` + # @return [String] + attr_accessor :qualifications + + # Required. The requisition ID, also referred to as the posting ID, is assigned + # by the client to identify a job. This field is intended to be used by clients + # for client identification and tracking of postings. A job isn't allowed to be + # created if there is another job with the same company, language_code and + # requisition_id. The maximum number of allowed characters is 255. + # Corresponds to the JSON property `requisitionId` + # @return [String] + attr_accessor :requisition_id + + # A description of job responsibilities. The use of this field is recommended as + # an alternative to using the more general description field. This field accepts + # and sanitizes HTML input, and also accepts bold, italic, ordered list, and + # unordered list markup tags. The maximum number of allowed characters is 10,000. + # Corresponds to the JSON property `responsibilities` + # @return [String] + attr_accessor :responsibilities + + # Required. The title of the job, such as "Software Engineer" The maximum number + # of allowed characters is 500. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # Deprecated. The job is only visible to the owner. The visibility of the job. + # Defaults to Visibility.ACCOUNT_ONLY if not specified. + # Corresponds to the JSON property `visibility` + # @return [String] + attr_accessor :visibility + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @addresses = args[:addresses] if args.key?(:addresses) + @application_info = args[:application_info] if args.key?(:application_info) + @company = args[:company] if args.key?(:company) + @company_display_name = args[:company_display_name] if args.key?(:company_display_name) + @compensation_info = args[:compensation_info] if args.key?(:compensation_info) + @custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes) + @degree_types = args[:degree_types] if args.key?(:degree_types) + @department = args[:department] if args.key?(:department) + @derived_info = args[:derived_info] if args.key?(:derived_info) + @description = args[:description] if args.key?(:description) + @employment_types = args[:employment_types] if args.key?(:employment_types) + @incentives = args[:incentives] if args.key?(:incentives) + @job_benefits = args[:job_benefits] if args.key?(:job_benefits) + @job_end_time = args[:job_end_time] if args.key?(:job_end_time) + @job_level = args[:job_level] if args.key?(:job_level) + @job_start_time = args[:job_start_time] if args.key?(:job_start_time) + @language_code = args[:language_code] if args.key?(:language_code) + @name = args[:name] if args.key?(:name) + @posting_create_time = args[:posting_create_time] if args.key?(:posting_create_time) + @posting_expire_time = args[:posting_expire_time] if args.key?(:posting_expire_time) + @posting_publish_time = args[:posting_publish_time] if args.key?(:posting_publish_time) + @posting_region = args[:posting_region] if args.key?(:posting_region) + @posting_update_time = args[:posting_update_time] if args.key?(:posting_update_time) + @processing_options = args[:processing_options] if args.key?(:processing_options) + @promotion_value = args[:promotion_value] if args.key?(:promotion_value) + @qualifications = args[:qualifications] if args.key?(:qualifications) + @requisition_id = args[:requisition_id] if args.key?(:requisition_id) + @responsibilities = args[:responsibilities] if args.key?(:responsibilities) + @title = args[:title] if args.key?(:title) + @visibility = args[:visibility] if args.key?(:visibility) + end + end + + # Application related details of a job posting. + class GoogleCloudTalentV4JobApplicationInfo + include Google::Apis::Core::Hashable + + # Use this field to specify email address(es) to which resumes or applications + # can be sent. The maximum number of allowed characters for each entry is 255. + # Corresponds to the JSON property `emails` + # @return [Array] + attr_accessor :emails + + # Use this field to provide instructions, such as "Mail your application to ...", + # that a candidate can follow to apply for the job. This field accepts and + # sanitizes HTML input, and also accepts bold, italic, ordered list, and + # unordered list markup tags. The maximum number of allowed characters is 3,000. + # Corresponds to the JSON property `instruction` + # @return [String] + attr_accessor :instruction + + # Use this URI field to direct an applicant to a website, for example to link to + # an online application form. The maximum number of allowed characters for each + # entry is 2,000. + # Corresponds to the JSON property `uris` + # @return [Array] + attr_accessor :uris + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @emails = args[:emails] if args.key?(:emails) + @instruction = args[:instruction] if args.key?(:instruction) + @uris = args[:uris] if args.key?(:uris) + end + end + + # Derived details about the job posting. + class GoogleCloudTalentV4JobDerivedInfo + include Google::Apis::Core::Hashable + + # Job categories derived from Job.title and Job.description. + # Corresponds to the JSON property `jobCategories` + # @return [Array] + attr_accessor :job_categories + + # Structured locations of the job, resolved from Job.addresses. locations are + # exactly matched to Job.addresses in the same order. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_categories = args[:job_categories] if args.key?(:job_categories) + @locations = args[:locations] if args.key?(:locations) + end + end + + # Options for job processing. + class GoogleCloudTalentV4JobProcessingOptions + include Google::Apis::Core::Hashable + + # If set to `true`, the service does not attempt to resolve a more precise + # address for the job. + # Corresponds to the JSON property `disableStreetAddressResolution` + # @return [Boolean] + attr_accessor :disable_street_address_resolution + alias_method :disable_street_address_resolution?, :disable_street_address_resolution + + # Option for job HTML content sanitization. Applied fields are: * description * + # applicationInfo.instruction * incentives * qualifications * responsibilities + # HTML tags in these fields may be stripped if sanitiazation isn't disabled. + # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY. + # Corresponds to the JSON property `htmlSanitization` + # @return [String] + attr_accessor :html_sanitization + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution) + @html_sanitization = args[:html_sanitization] if args.key?(:html_sanitization) + end + end + + # Mutation result of a job from a batch operation. + class GoogleCloudTalentV4JobResult + include Google::Apis::Core::Hashable + + # A Job resource represents a job posting (also referred to as a "job listing" + # or "job requisition"). A job belongs to a Company, which is the hiring entity + # responsible for the job. + # Corresponds to the JSON property `job` + # @return [Google::Apis::JobsV2::GoogleCloudTalentV4Job] + attr_accessor :job + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `status` + # @return [Google::Apis::JobsV2::Status] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job = args[:job] if args.key?(:job) + @status = args[:status] if args.key?(:status) + end + end + + # A resource that represents a location with full geographic information. + class GoogleCloudTalentV4Location + include Google::Apis::Core::Hashable + + # An object representing a latitude/longitude pair. This is expressed as a pair + # of doubles representing degrees latitude and degrees longitude. Unless + # specified otherwise, this must conform to the WGS84 standard. Values must be + # within normalized ranges. + # Corresponds to the JSON property `latLng` + # @return [Google::Apis::JobsV2::LatLng] + attr_accessor :lat_lng + + # The type of a location, which corresponds to the address lines field of google. + # type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of + # LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of + # LocationType.LOCALITY. + # Corresponds to the JSON property `locationType` + # @return [String] + attr_accessor :location_type + + # Represents a postal address, e.g. for postal delivery or payments addresses. + # Given a postal address, a postal service can deliver items to a premise, P.O. + # Box or similar. It is not intended to model geographical locations (roads, + # towns, mountains). In typical usage an address would be created via user input + # or from importing existing data, depending on the type of process. Advice on + # address input / editing: - Use an i18n-ready address widget such as https:// + # github.com/google/libaddressinput) - Users should not be presented with UI + # elements for input or editing of fields outside countries where that field is + # used. For more guidance on how to use this schema, please see: https://support. + # google.com/business/answer/6397478 + # Corresponds to the JSON property `postalAddress` + # @return [Google::Apis::JobsV2::PostalAddress] + attr_accessor :postal_address + + # Radius in miles of the job location. This value is derived from the location + # bounding box in which a circle with the specified radius centered from google. + # type.LatLng covers the area associated with the job location. For example, + # currently, "Mountain View, CA, USA" has a radius of 6.17 miles. + # Corresponds to the JSON property `radiusMiles` + # @return [Float] + attr_accessor :radius_miles + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @lat_lng = args[:lat_lng] if args.key?(:lat_lng) + @location_type = args[:location_type] if args.key?(:location_type) + @postal_address = args[:postal_address] if args.key?(:postal_address) + @radius_miles = args[:radius_miles] if args.key?(:radius_miles) + end + end + # Input only. Histogram facets to be specified in SearchJobsRequest. class HistogramFacets include Google::Apis::Core::Hashable @@ -3140,6 +3899,45 @@ module Google end end + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + class Status + include Google::Apis::Core::Hashable + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # A developer-facing error message, which should be in English. Any user-facing + # error message should be localized and sent in the google.rpc.Status.details + # field, or localized by the client. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) + end + end + # Represents array of string values. class StringValues include Google::Apis::Core::Hashable diff --git a/generated/google/apis/jobs_v2/representations.rb b/generated/google/apis/jobs_v2/representations.rb index 0ead3e627..804a27f60 100644 --- a/generated/google/apis/jobs_v2/representations.rb +++ b/generated/google/apis/jobs_v2/representations.rb @@ -220,6 +220,90 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudTalentV4BatchCreateJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4BatchDeleteJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4BatchOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4BatchUpdateJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4CompensationInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4CompensationInfoCompensationEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4CompensationInfoCompensationRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4CustomAttribute + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4Job + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4JobApplicationInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4JobDerivedInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4JobProcessingOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4JobResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4Location + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class HistogramFacets class Representation < Google::Apis::Core::JsonRepresentation; end @@ -370,6 +454,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StringValues class Representation < Google::Apis::Core::JsonRepresentation; end @@ -735,6 +825,179 @@ module Google end end + class GoogleCloudTalentV4BatchCreateJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :job_results, as: 'jobResults', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult::Representation + + end + end + + class GoogleCloudTalentV4BatchDeleteJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :job_results, as: 'jobResults', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult::Representation + + end + end + + class GoogleCloudTalentV4BatchOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :end_time, as: 'endTime' + property :failure_count, as: 'failureCount' + property :state, as: 'state' + property :state_description, as: 'stateDescription' + property :success_count, as: 'successCount' + property :total_count, as: 'totalCount' + property :update_time, as: 'updateTime' + end + end + + class GoogleCloudTalentV4BatchUpdateJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :job_results, as: 'jobResults', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult::Representation + + end + end + + class GoogleCloudTalentV4CompensationInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annualized_base_compensation_range, as: 'annualizedBaseCompensationRange', class: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation + + property :annualized_total_compensation_range, as: 'annualizedTotalCompensationRange', class: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation + + collection :entries, as: 'entries', class: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationEntry, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationEntry::Representation + + end + end + + class GoogleCloudTalentV4CompensationInfoCompensationEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :amount, as: 'amount', class: Google::Apis::JobsV2::Money, decorator: Google::Apis::JobsV2::Money::Representation + + property :description, as: 'description' + property :expected_units_per_year, as: 'expectedUnitsPerYear' + property :range, as: 'range', class: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation + + property :type, as: 'type' + property :unit, as: 'unit' + end + end + + class GoogleCloudTalentV4CompensationInfoCompensationRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_compensation, as: 'maxCompensation', class: Google::Apis::JobsV2::Money, decorator: Google::Apis::JobsV2::Money::Representation + + property :min_compensation, as: 'minCompensation', class: Google::Apis::JobsV2::Money, decorator: Google::Apis::JobsV2::Money::Representation + + end + end + + class GoogleCloudTalentV4CustomAttribute + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filterable, as: 'filterable' + property :keyword_searchable, as: 'keywordSearchable' + collection :long_values, as: 'longValues' + collection :string_values, as: 'stringValues' + end + end + + class GoogleCloudTalentV4Job + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :addresses, as: 'addresses' + property :application_info, as: 'applicationInfo', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobApplicationInfo, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobApplicationInfo::Representation + + property :company, as: 'company' + property :company_display_name, as: 'companyDisplayName' + property :compensation_info, as: 'compensationInfo', class: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfo, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfo::Representation + + hash :custom_attributes, as: 'customAttributes', class: Google::Apis::JobsV2::GoogleCloudTalentV4CustomAttribute, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CustomAttribute::Representation + + collection :degree_types, as: 'degreeTypes' + property :department, as: 'department' + property :derived_info, as: 'derivedInfo', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobDerivedInfo, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobDerivedInfo::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::JobsV2::GoogleCloudTalentV4JobProcessingOptions, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobProcessingOptions::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 GoogleCloudTalentV4JobApplicationInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :emails, as: 'emails' + property :instruction, as: 'instruction' + collection :uris, as: 'uris' + end + end + + class GoogleCloudTalentV4JobDerivedInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :job_categories, as: 'jobCategories' + collection :locations, as: 'locations', class: Google::Apis::JobsV2::GoogleCloudTalentV4Location, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4Location::Representation + + end + end + + class GoogleCloudTalentV4JobProcessingOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :disable_street_address_resolution, as: 'disableStreetAddressResolution' + property :html_sanitization, as: 'htmlSanitization' + end + end + + class GoogleCloudTalentV4JobResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job, as: 'job', class: Google::Apis::JobsV2::GoogleCloudTalentV4Job, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4Job::Representation + + property :status, as: 'status', class: Google::Apis::JobsV2::Status, decorator: Google::Apis::JobsV2::Status::Representation + + end + end + + class GoogleCloudTalentV4Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lat_lng, as: 'latLng', class: Google::Apis::JobsV2::LatLng, decorator: Google::Apis::JobsV2::LatLng::Representation + + property :location_type, as: 'locationType' + property :postal_address, as: 'postalAddress', class: Google::Apis::JobsV2::PostalAddress, decorator: Google::Apis::JobsV2::PostalAddress::Representation + + property :radius_miles, as: 'radiusMiles' + end + end + class HistogramFacets # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1101,6 +1364,15 @@ module Google end end + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + class StringValues # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/jobs_v3p1beta1.rb b/generated/google/apis/jobs_v3p1beta1.rb index 7ab27efaf..a12861922 100644 --- a/generated/google/apis/jobs_v3p1beta1.rb +++ b/generated/google/apis/jobs_v3p1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV3p1beta1 VERSION = 'V3p1beta1' - REVISION = '20200828' + REVISION = '20200929' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/jobs_v3p1beta1/classes.rb b/generated/google/apis/jobs_v3p1beta1/classes.rb index 4cb0ad6f5..e8daa8852 100644 --- a/generated/google/apis/jobs_v3p1beta1/classes.rb +++ b/generated/google/apis/jobs_v3p1beta1/classes.rb @@ -953,6 +953,765 @@ module Google end end + # The result of JobService.BatchCreateJobs. It's used to replace google. + # longrunning.Operation.response in case of success. + class GoogleCloudTalentV4BatchCreateJobsResponse + include Google::Apis::Core::Hashable + + # List of job mutation results from a batch create operation. It can change + # until operation status is FINISHED, FAILED or CANCELLED. + # Corresponds to the JSON property `jobResults` + # @return [Array] + attr_accessor :job_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_results = args[:job_results] if args.key?(:job_results) + end + end + + # The result of JobService.BatchDeleteJobs. It's used to replace google. + # longrunning.Operation.response in case of success. + class GoogleCloudTalentV4BatchDeleteJobsResponse + include Google::Apis::Core::Hashable + + # List of job mutation results from a batch delete operation. It can change + # until operation status is FINISHED, FAILED or CANCELLED. + # Corresponds to the JSON property `jobResults` + # @return [Array] + attr_accessor :job_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_results = args[:job_results] if args.key?(:job_results) + end + end + + # Metadata used for long running operations returned by CTS batch APIs. It's + # used to replace google.longrunning.Operation.metadata. + class GoogleCloudTalentV4BatchOperationMetadata + include Google::Apis::Core::Hashable + + # The time when the batch operation is created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The time when the batch operation is finished and google.longrunning.Operation. + # done is set to `true`. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Count of failed item(s) inside an operation. + # Corresponds to the JSON property `failureCount` + # @return [Fixnum] + attr_accessor :failure_count + + # The state of a long running operation. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # More detailed information about operation state. + # Corresponds to the JSON property `stateDescription` + # @return [String] + attr_accessor :state_description + + # Count of successful item(s) inside an operation. + # Corresponds to the JSON property `successCount` + # @return [Fixnum] + attr_accessor :success_count + + # Count of total item(s) inside an operation. + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + # The time when the batch operation status is updated. The metadata and the + # update_time is refreshed every minute otherwise cached data is returned. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @end_time = args[:end_time] if args.key?(:end_time) + @failure_count = args[:failure_count] if args.key?(:failure_count) + @state = args[:state] if args.key?(:state) + @state_description = args[:state_description] if args.key?(:state_description) + @success_count = args[:success_count] if args.key?(:success_count) + @total_count = args[:total_count] if args.key?(:total_count) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # The result of JobService.BatchUpdateJobs. It's used to replace google. + # longrunning.Operation.response in case of success. + class GoogleCloudTalentV4BatchUpdateJobsResponse + include Google::Apis::Core::Hashable + + # List of job mutation results from a batch update operation. It can change + # until operation status is FINISHED, FAILED or CANCELLED. + # Corresponds to the JSON property `jobResults` + # @return [Array] + attr_accessor :job_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_results = args[:job_results] if args.key?(:job_results) + end + end + + # Job compensation details. + class GoogleCloudTalentV4CompensationInfo + include Google::Apis::Core::Hashable + + # Compensation range. + # Corresponds to the JSON property `annualizedBaseCompensationRange` + # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange] + attr_accessor :annualized_base_compensation_range + + # Compensation range. + # Corresponds to the JSON property `annualizedTotalCompensationRange` + # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange] + attr_accessor :annualized_total_compensation_range + + # Job compensation information. At most one entry can be of type + # CompensationInfo.CompensationType.BASE, which is referred as **base + # compensation entry** for the job. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range) + @annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range) + @entries = args[:entries] if args.key?(:entries) + end + end + + # A compensation entry that represents one component of compensation, such as + # base pay, bonus, or other compensation type. Annualization: One compensation + # entry can be annualized if - it contains valid amount or range. - and its + # expected_units_per_year is set or can be derived. Its annualized range is + # determined as (amount or range) times expected_units_per_year. + class GoogleCloudTalentV4CompensationInfoCompensationEntry + include Google::Apis::Core::Hashable + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `amount` + # @return [Google::Apis::JobsV3p1beta1::Money] + attr_accessor :amount + + # Compensation description. For example, could indicate equity terms or provide + # additional context to an estimated bonus. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Expected number of units paid each year. If not specified, when Job. + # employment_types is FULLTIME, a default value is inferred based on unit. + # Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - + # ANNUAL: 1 + # Corresponds to the JSON property `expectedUnitsPerYear` + # @return [Float] + attr_accessor :expected_units_per_year + + # Compensation range. + # Corresponds to the JSON property `range` + # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange] + attr_accessor :range + + # Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Frequency of the specified amount. Default is CompensationUnit. + # COMPENSATION_UNIT_UNSPECIFIED. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @amount = args[:amount] if args.key?(:amount) + @description = args[:description] if args.key?(:description) + @expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year) + @range = args[:range] if args.key?(:range) + @type = args[:type] if args.key?(:type) + @unit = args[:unit] if args.key?(:unit) + end + end + + # Compensation range. + class GoogleCloudTalentV4CompensationInfoCompensationRange + include Google::Apis::Core::Hashable + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `maxCompensation` + # @return [Google::Apis::JobsV3p1beta1::Money] + attr_accessor :max_compensation + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `minCompensation` + # @return [Google::Apis::JobsV3p1beta1::Money] + attr_accessor :min_compensation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_compensation = args[:max_compensation] if args.key?(:max_compensation) + @min_compensation = args[:min_compensation] if args.key?(:min_compensation) + end + end + + # Custom attribute values that are either filterable or non-filterable. + class GoogleCloudTalentV4CustomAttribute + include Google::Apis::Core::Hashable + + # If the `filterable` flag is true, the custom field values may be used for + # custom attribute filters JobQuery.custom_attribute_filter. If false, these + # values may not be used for custom attribute filters. Default is false. + # Corresponds to the JSON property `filterable` + # @return [Boolean] + attr_accessor :filterable + alias_method :filterable?, :filterable + + # If the `keyword_searchable` flag is true, the keywords in custom fields are + # searchable by keyword match. If false, the values are not searchable by + # keyword match. Default is false. + # Corresponds to the JSON property `keywordSearchable` + # @return [Boolean] + attr_accessor :keyword_searchable + alias_method :keyword_searchable?, :keyword_searchable + + # Exactly one of string_values or long_values must be specified. This field is + # used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over + # filterable `long_value`. Currently at most 1 long_values is supported. + # Corresponds to the JSON property `longValues` + # @return [Array] + attr_accessor :long_values + + # Exactly one of string_values or long_values must be specified. This field is + # used to perform a string match (`CASE_SENSITIVE_MATCH` or ` + # CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum + # total number of 200 values is allowed, with each `string_value` has a byte + # size of no more than 500B. For unfilterable `string_values`, the maximum total + # byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed. + # Corresponds to the JSON property `stringValues` + # @return [Array] + attr_accessor :string_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filterable = args[:filterable] if args.key?(:filterable) + @keyword_searchable = args[:keyword_searchable] if args.key?(:keyword_searchable) + @long_values = args[:long_values] if args.key?(:long_values) + @string_values = args[:string_values] if args.key?(:string_values) + end + end + + # A Job resource represents a job posting (also referred to as a "job listing" + # or "job requisition"). A job belongs to a Company, which is the hiring entity + # responsible for the job. + class GoogleCloudTalentV4Job + include Google::Apis::Core::Hashable + + # Strongly recommended for the best service experience. Location(s) where the + # employer is looking to hire for this job posting. Specifying the full street + # address(es) of the hiring location enables better API results, especially job + # searches by commute time. At most 50 locations are allowed for best search + # performance. If a job has more locations, it is suggested to split it into + # multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA- + # 2', and so on.) as multiple jobs with the same company, language_code and + # requisition_id are not allowed. If the original requisition_id must be + # preserved, a custom field should be used for storage. It is also suggested to + # group the locations that close to each other in the same job for better search + # experience. The maximum number of allowed characters is 500. + # Corresponds to the JSON property `addresses` + # @return [Array] + attr_accessor :addresses + + # Application related details of a job posting. + # Corresponds to the JSON property `applicationInfo` + # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobApplicationInfo] + attr_accessor :application_info + + # Required. The resource name of the company listing the job. The format is " + # projects/`project_id`/tenants/`tenant_id`/companies/`company_id`". For example, + # "projects/foo/tenants/bar/companies/baz". + # Corresponds to the JSON property `company` + # @return [String] + attr_accessor :company + + # Output only. Display name of the company listing the job. + # Corresponds to the JSON property `companyDisplayName` + # @return [String] + attr_accessor :company_display_name + + # Job compensation details. + # Corresponds to the JSON property `compensationInfo` + # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfo] + attr_accessor :compensation_info + + # A map of fields to hold both filterable and non-filterable custom job + # 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 pattern: a-zA-Z*. For + # example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most + # 100 unfilterable keys are supported. For filterable `string_values`, across + # all keys at most 200 values are allowed, with each string no more than 255 + # characters. For unfilterable `string_values`, the maximum total size of ` + # string_values` across all keys is 50KB. + # Corresponds to the JSON property `customAttributes` + # @return [Hash] + attr_accessor :custom_attributes + + # The desired education degrees for the job, such as Bachelors, Masters. + # Corresponds to the JSON property `degreeTypes` + # @return [Array] + attr_accessor :degree_types + + # The department or functional area within the company with the open position. + # The maximum number of allowed characters is 255. + # Corresponds to the JSON property `department` + # @return [String] + attr_accessor :department + + # Derived details about the job posting. + # Corresponds to the JSON property `derivedInfo` + # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobDerivedInfo] + attr_accessor :derived_info + + # Required. The description of the job, which typically includes a multi- + # paragraph description of the company and related information. Separate fields + # are provided on the job object for responsibilities, qualifications, and other + # job characteristics. Use of these separate job fields is recommended. This + # field accepts and sanitizes HTML input, and also accepts bold, italic, ordered + # list, and unordered list markup tags. The maximum number of allowed characters + # is 100,000. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The employment type(s) of a job, for example, full time or part time. + # Corresponds to the JSON property `employmentTypes` + # @return [Array] + attr_accessor :employment_types + + # A description of bonus, commission, and other compensation incentives + # associated with the job not including salary or pay. The maximum number of + # allowed characters is 10,000. + # Corresponds to the JSON property `incentives` + # @return [String] + attr_accessor :incentives + + # The benefits included with the job. + # Corresponds to the JSON property `jobBenefits` + # @return [Array] + attr_accessor :job_benefits + + # The end timestamp of the job. Typically this field is used for contracting + # engagements. Invalid timestamps are ignored. + # Corresponds to the JSON property `jobEndTime` + # @return [String] + attr_accessor :job_end_time + + # The experience level associated with the job, such as "Entry Level". + # Corresponds to the JSON property `jobLevel` + # @return [String] + attr_accessor :job_level + + # The start timestamp of the job in UTC time zone. Typically this field is used + # for contracting engagements. Invalid timestamps are ignored. + # Corresponds to the JSON property `jobStartTime` + # @return [String] + attr_accessor :job_start_time + + # The language of the posting. This field is distinct from 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". For more information, see [Tags for + # Identifying Languages](https://tools.ietf.org/html/bcp47)`: class="external" + # target="_blank" `. If this field is unspecified and Job.description is present, + # detected language code based on Job.description is assigned, otherwise + # defaults to 'en_US'. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # 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`/ + # tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/tenants/bar/ + # jobs/baz". Use of this field in job queries and API calls is preferred over + # the use of requisition_id since this value is unique. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. The timestamp when this job posting was created. + # Corresponds to the JSON property `postingCreateTime` + # @return [String] + attr_accessor :posting_create_time + + # Strongly recommended for the best service experience. The expiration timestamp + # of the job. After this timestamp, the job is marked as expired, and it no + # longer appears in search results. The expired job can't be listed by the + # ListJobs API, but it can be retrieved with the GetJob API or updated with the + # UpdateJob API or deleted with the DeleteJob API. An expired job can be updated + # and opened again by using a future expiration timestamp. Updating an expired + # job fails if there is another existing open job with same company, + # language_code and requisition_id. The expired jobs are retained in our system + # for 90 days. However, the overall expired job count cannot exceed 3 times the + # maximum number of open jobs over previous 7 days. If this threshold is + # exceeded, expired jobs are cleaned out in order of earliest expire time. + # Expired jobs are no longer accessible after they are cleaned out. Invalid + # timestamps are ignored, and treated as expire time not provided. If the + # timestamp is before the instant request is made, the job is treated as expired + # immediately on creation. This kind of job can not be updated. And when + # creating a job with past timestamp, the posting_publish_time must be set + # before posting_expire_time. The purpose of this feature is to allow other + # objects, such as Application, to refer a job that didn't exist in the system + # prior to becoming expired. If you want to modify a job that was expired on + # creation, delete it and create a new one. If this value isn't provided at the + # time of job creation or is invalid, the job posting expires after 30 days from + # the job's creation time. For example, if the job was created on 2017/01/01 13: + # 00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 + # 13:00AM UTC. If this value isn't provided on job update, it depends on the + # field masks set by UpdateJobRequest.update_mask. If the field masks include + # job_end_time, or the masks are empty meaning that every field is updated, the + # job posting expires after 30 days from the job's last update time. Otherwise + # the expiration date isn't updated. + # Corresponds to the JSON property `postingExpireTime` + # @return [String] + attr_accessor :posting_expire_time + + # The timestamp this job posting was most recently published. The default value + # is the time the request arrives at the server. Invalid timestamps are ignored. + # Corresponds to the JSON property `postingPublishTime` + # @return [String] + attr_accessor :posting_publish_time + + # The job PostingRegion (for example, state, country) throughout which the job + # is available. If this field is set, a LocationFilter in a search query within + # the job region finds this job posting if an exact location match isn't + # specified. If this field is set to PostingRegion.NATION or PostingRegion. + # ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as + # this field is strongly recommended. + # Corresponds to the JSON property `postingRegion` + # @return [String] + attr_accessor :posting_region + + # Output only. The timestamp when this job posting was last updated. + # Corresponds to the JSON property `postingUpdateTime` + # @return [String] + attr_accessor :posting_update_time + + # Options for job processing. + # Corresponds to the JSON property `processingOptions` + # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobProcessingOptions] + attr_accessor :processing_options + + # A promotion value of the job, as determined by the client. The value + # determines the sort order of the jobs returned when searching for jobs using + # the featured jobs search call, with higher promotional values being returned + # first and ties being resolved by relevance sort. Only the jobs with a + # promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0, + # and negative values are treated as 0. + # Corresponds to the JSON property `promotionValue` + # @return [Fixnum] + attr_accessor :promotion_value + + # A description of the qualifications required to perform the job. The use of + # this field is recommended as an alternative to using the more general + # description field. This field accepts and sanitizes HTML input, and also + # accepts bold, italic, ordered list, and unordered list markup tags. The + # maximum number of allowed characters is 10,000. + # Corresponds to the JSON property `qualifications` + # @return [String] + attr_accessor :qualifications + + # Required. The requisition ID, also referred to as the posting ID, is assigned + # by the client to identify a job. This field is intended to be used by clients + # for client identification and tracking of postings. A job isn't allowed to be + # created if there is another job with the same company, language_code and + # requisition_id. The maximum number of allowed characters is 255. + # Corresponds to the JSON property `requisitionId` + # @return [String] + attr_accessor :requisition_id + + # A description of job responsibilities. The use of this field is recommended as + # an alternative to using the more general description field. This field accepts + # and sanitizes HTML input, and also accepts bold, italic, ordered list, and + # unordered list markup tags. The maximum number of allowed characters is 10,000. + # Corresponds to the JSON property `responsibilities` + # @return [String] + attr_accessor :responsibilities + + # Required. The title of the job, such as "Software Engineer" The maximum number + # of allowed characters is 500. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # Deprecated. The job is only visible to the owner. The visibility of the job. + # Defaults to Visibility.ACCOUNT_ONLY if not specified. + # Corresponds to the JSON property `visibility` + # @return [String] + attr_accessor :visibility + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @addresses = args[:addresses] if args.key?(:addresses) + @application_info = args[:application_info] if args.key?(:application_info) + @company = args[:company] if args.key?(:company) + @company_display_name = args[:company_display_name] if args.key?(:company_display_name) + @compensation_info = args[:compensation_info] if args.key?(:compensation_info) + @custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes) + @degree_types = args[:degree_types] if args.key?(:degree_types) + @department = args[:department] if args.key?(:department) + @derived_info = args[:derived_info] if args.key?(:derived_info) + @description = args[:description] if args.key?(:description) + @employment_types = args[:employment_types] if args.key?(:employment_types) + @incentives = args[:incentives] if args.key?(:incentives) + @job_benefits = args[:job_benefits] if args.key?(:job_benefits) + @job_end_time = args[:job_end_time] if args.key?(:job_end_time) + @job_level = args[:job_level] if args.key?(:job_level) + @job_start_time = args[:job_start_time] if args.key?(:job_start_time) + @language_code = args[:language_code] if args.key?(:language_code) + @name = args[:name] if args.key?(:name) + @posting_create_time = args[:posting_create_time] if args.key?(:posting_create_time) + @posting_expire_time = args[:posting_expire_time] if args.key?(:posting_expire_time) + @posting_publish_time = args[:posting_publish_time] if args.key?(:posting_publish_time) + @posting_region = args[:posting_region] if args.key?(:posting_region) + @posting_update_time = args[:posting_update_time] if args.key?(:posting_update_time) + @processing_options = args[:processing_options] if args.key?(:processing_options) + @promotion_value = args[:promotion_value] if args.key?(:promotion_value) + @qualifications = args[:qualifications] if args.key?(:qualifications) + @requisition_id = args[:requisition_id] if args.key?(:requisition_id) + @responsibilities = args[:responsibilities] if args.key?(:responsibilities) + @title = args[:title] if args.key?(:title) + @visibility = args[:visibility] if args.key?(:visibility) + end + end + + # Application related details of a job posting. + class GoogleCloudTalentV4JobApplicationInfo + include Google::Apis::Core::Hashable + + # Use this field to specify email address(es) to which resumes or applications + # can be sent. The maximum number of allowed characters for each entry is 255. + # Corresponds to the JSON property `emails` + # @return [Array] + attr_accessor :emails + + # Use this field to provide instructions, such as "Mail your application to ...", + # that a candidate can follow to apply for the job. This field accepts and + # sanitizes HTML input, and also accepts bold, italic, ordered list, and + # unordered list markup tags. The maximum number of allowed characters is 3,000. + # Corresponds to the JSON property `instruction` + # @return [String] + attr_accessor :instruction + + # Use this URI field to direct an applicant to a website, for example to link to + # an online application form. The maximum number of allowed characters for each + # entry is 2,000. + # Corresponds to the JSON property `uris` + # @return [Array] + attr_accessor :uris + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @emails = args[:emails] if args.key?(:emails) + @instruction = args[:instruction] if args.key?(:instruction) + @uris = args[:uris] if args.key?(:uris) + end + end + + # Derived details about the job posting. + class GoogleCloudTalentV4JobDerivedInfo + include Google::Apis::Core::Hashable + + # Job categories derived from Job.title and Job.description. + # Corresponds to the JSON property `jobCategories` + # @return [Array] + attr_accessor :job_categories + + # Structured locations of the job, resolved from Job.addresses. locations are + # exactly matched to Job.addresses in the same order. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_categories = args[:job_categories] if args.key?(:job_categories) + @locations = args[:locations] if args.key?(:locations) + end + end + + # Options for job processing. + class GoogleCloudTalentV4JobProcessingOptions + include Google::Apis::Core::Hashable + + # If set to `true`, the service does not attempt to resolve a more precise + # address for the job. + # Corresponds to the JSON property `disableStreetAddressResolution` + # @return [Boolean] + attr_accessor :disable_street_address_resolution + alias_method :disable_street_address_resolution?, :disable_street_address_resolution + + # Option for job HTML content sanitization. Applied fields are: * description * + # applicationInfo.instruction * incentives * qualifications * responsibilities + # HTML tags in these fields may be stripped if sanitiazation isn't disabled. + # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY. + # Corresponds to the JSON property `htmlSanitization` + # @return [String] + attr_accessor :html_sanitization + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution) + @html_sanitization = args[:html_sanitization] if args.key?(:html_sanitization) + end + end + + # Mutation result of a job from a batch operation. + class GoogleCloudTalentV4JobResult + include Google::Apis::Core::Hashable + + # A Job resource represents a job posting (also referred to as a "job listing" + # or "job requisition"). A job belongs to a Company, which is the hiring entity + # responsible for the job. + # Corresponds to the JSON property `job` + # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4Job] + attr_accessor :job + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `status` + # @return [Google::Apis::JobsV3p1beta1::Status] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job = args[:job] if args.key?(:job) + @status = args[:status] if args.key?(:status) + end + end + + # A resource that represents a location with full geographic information. + class GoogleCloudTalentV4Location + include Google::Apis::Core::Hashable + + # An object representing a latitude/longitude pair. This is expressed as a pair + # of doubles representing degrees latitude and degrees longitude. Unless + # specified otherwise, this must conform to the WGS84 standard. Values must be + # within normalized ranges. + # Corresponds to the JSON property `latLng` + # @return [Google::Apis::JobsV3p1beta1::LatLng] + attr_accessor :lat_lng + + # The type of a location, which corresponds to the address lines field of google. + # type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of + # LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of + # LocationType.LOCALITY. + # Corresponds to the JSON property `locationType` + # @return [String] + attr_accessor :location_type + + # Represents a postal address, e.g. for postal delivery or payments addresses. + # Given a postal address, a postal service can deliver items to a premise, P.O. + # Box or similar. It is not intended to model geographical locations (roads, + # towns, mountains). In typical usage an address would be created via user input + # or from importing existing data, depending on the type of process. Advice on + # address input / editing: - Use an i18n-ready address widget such as https:// + # github.com/google/libaddressinput) - Users should not be presented with UI + # elements for input or editing of fields outside countries where that field is + # used. For more guidance on how to use this schema, please see: https://support. + # google.com/business/answer/6397478 + # Corresponds to the JSON property `postalAddress` + # @return [Google::Apis::JobsV3p1beta1::PostalAddress] + attr_accessor :postal_address + + # Radius in miles of the job location. This value is derived from the location + # bounding box in which a circle with the specified radius centered from google. + # type.LatLng covers the area associated with the job location. For example, + # currently, "Mountain View, CA, USA" has a radius of 6.17 miles. + # Corresponds to the JSON property `radiusMiles` + # @return [Float] + attr_accessor :radius_miles + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @lat_lng = args[:lat_lng] if args.key?(:lat_lng) + @location_type = args[:location_type] if args.key?(:location_type) + @postal_address = args[:postal_address] if args.key?(:postal_address) + @radius_miles = args[:radius_miles] if args.key?(:radius_miles) + end + end + # Input only. Histogram facets to be specified in SearchJobsRequest. class HistogramFacets include Google::Apis::Core::Hashable diff --git a/generated/google/apis/jobs_v3p1beta1/representations.rb b/generated/google/apis/jobs_v3p1beta1/representations.rb index 1e233a5bf..9ce72bbb0 100644 --- a/generated/google/apis/jobs_v3p1beta1/representations.rb +++ b/generated/google/apis/jobs_v3p1beta1/representations.rb @@ -178,6 +178,90 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudTalentV4BatchCreateJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4BatchDeleteJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4BatchOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4BatchUpdateJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4CompensationInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4CompensationInfoCompensationEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4CompensationInfoCompensationRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4CustomAttribute + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4Job + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4JobApplicationInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4JobDerivedInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4JobProcessingOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4JobResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudTalentV4Location + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class HistogramFacets class Representation < Google::Apis::Core::JsonRepresentation; end @@ -632,6 +716,179 @@ module Google end end + class GoogleCloudTalentV4BatchCreateJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobResult::Representation + + end + end + + class GoogleCloudTalentV4BatchDeleteJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobResult::Representation + + end + end + + class GoogleCloudTalentV4BatchOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :end_time, as: 'endTime' + property :failure_count, as: 'failureCount' + property :state, as: 'state' + property :state_description, as: 'stateDescription' + property :success_count, as: 'successCount' + property :total_count, as: 'totalCount' + property :update_time, as: 'updateTime' + end + end + + class GoogleCloudTalentV4BatchUpdateJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobResult::Representation + + end + end + + class GoogleCloudTalentV4CompensationInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :annualized_base_compensation_range, as: 'annualizedBaseCompensationRange', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation + + property :annualized_total_compensation_range, as: 'annualizedTotalCompensationRange', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation + + collection :entries, as: 'entries', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationEntry, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationEntry::Representation + + end + end + + class GoogleCloudTalentV4CompensationInfoCompensationEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :amount, as: 'amount', class: Google::Apis::JobsV3p1beta1::Money, decorator: Google::Apis::JobsV3p1beta1::Money::Representation + + property :description, as: 'description' + property :expected_units_per_year, as: 'expectedUnitsPerYear' + property :range, as: 'range', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation + + property :type, as: 'type' + property :unit, as: 'unit' + end + end + + class GoogleCloudTalentV4CompensationInfoCompensationRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_compensation, as: 'maxCompensation', class: Google::Apis::JobsV3p1beta1::Money, decorator: Google::Apis::JobsV3p1beta1::Money::Representation + + property :min_compensation, as: 'minCompensation', class: Google::Apis::JobsV3p1beta1::Money, decorator: Google::Apis::JobsV3p1beta1::Money::Representation + + end + end + + class GoogleCloudTalentV4CustomAttribute + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filterable, as: 'filterable' + property :keyword_searchable, as: 'keywordSearchable' + collection :long_values, as: 'longValues' + collection :string_values, as: 'stringValues' + end + end + + class GoogleCloudTalentV4Job + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :addresses, as: 'addresses' + property :application_info, as: 'applicationInfo', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobApplicationInfo, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobApplicationInfo::Representation + + property :company, as: 'company' + property :company_display_name, as: 'companyDisplayName' + property :compensation_info, as: 'compensationInfo', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfo, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfo::Representation + + hash :custom_attributes, as: 'customAttributes', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CustomAttribute, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CustomAttribute::Representation + + collection :degree_types, as: 'degreeTypes' + property :department, as: 'department' + property :derived_info, as: 'derivedInfo', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobDerivedInfo, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobDerivedInfo::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::JobsV3p1beta1::GoogleCloudTalentV4JobProcessingOptions, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobProcessingOptions::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 GoogleCloudTalentV4JobApplicationInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :emails, as: 'emails' + property :instruction, as: 'instruction' + collection :uris, as: 'uris' + end + end + + class GoogleCloudTalentV4JobDerivedInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :job_categories, as: 'jobCategories' + collection :locations, as: 'locations', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4Location, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4Location::Representation + + end + end + + class GoogleCloudTalentV4JobProcessingOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :disable_street_address_resolution, as: 'disableStreetAddressResolution' + property :html_sanitization, as: 'htmlSanitization' + end + end + + class GoogleCloudTalentV4JobResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job, as: 'job', class: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4Job, decorator: Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4Job::Representation + + property :status, as: 'status', class: Google::Apis::JobsV3p1beta1::Status, decorator: Google::Apis::JobsV3p1beta1::Status::Representation + + end + end + + class GoogleCloudTalentV4Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lat_lng, as: 'latLng', class: Google::Apis::JobsV3p1beta1::LatLng, decorator: Google::Apis::JobsV3p1beta1::LatLng::Representation + + property :location_type, as: 'locationType' + property :postal_address, as: 'postalAddress', class: Google::Apis::JobsV3p1beta1::PostalAddress, decorator: Google::Apis::JobsV3p1beta1::PostalAddress::Representation + + property :radius_miles, as: 'radiusMiles' + end + end + class HistogramFacets # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/videointelligence_v1.rb b/generated/google/apis/videointelligence_v1.rb index 3aa472267..793937cdf 100644 --- a/generated/google/apis/videointelligence_v1.rb +++ b/generated/google/apis/videointelligence_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/video-intelligence/docs/ module VideointelligenceV1 VERSION = 'V1' - REVISION = '20200831' + REVISION = '20200921' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/videointelligence_v1/classes.rb b/generated/google/apis/videointelligence_v1/classes.rb index ee4ce1176..e67a93fa2 100644 --- a/generated/google/apis/videointelligence_v1/classes.rb +++ b/generated/google/apis/videointelligence_v1/classes.rb @@ -302,6 +302,60 @@ module Google end end + # Face detection annotation. + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation + include Google::Apis::Core::Hashable + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + end + end + + # Config for FACE_DETECTION. + class GoogleCloudVideointelligenceV1FaceDetectionConfig + include Google::Apis::Core::Hashable + + # Whether to enable face attributes detection, such as glasses, dark_glasses, + # mouth_open etc. Ignored if 'include_bounding_boxes' is set to false. + # Corresponds to the JSON property `includeAttributes` + # @return [Boolean] + attr_accessor :include_attributes + alias_method :include_attributes?, :include_attributes + + # Whether bounding boxes are included in the face annotation output. + # Corresponds to the JSON property `includeBoundingBoxes` + # @return [Boolean] + attr_accessor :include_bounding_boxes + alias_method :include_bounding_boxes?, :include_bounding_boxes + + # Model to use for face detection. Supported values: "builtin/stable" (the + # default if unset) and "builtin/latest". + # Corresponds to the JSON property `model` + # @return [String] + attr_accessor :model + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @include_attributes = args[:include_attributes] if args.key?(:include_attributes) + @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes) + @model = args[:model] if args.key?(:model) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1LabelAnnotation include Google::Apis::Core::Hashable @@ -679,6 +733,68 @@ module Google end end + # Person detection annotation per video. + class GoogleCloudVideointelligenceV1PersonDetectionAnnotation + include Google::Apis::Core::Hashable + + # The detected tracks of a person. + # Corresponds to the JSON property `tracks` + # @return [Array] + attr_accessor :tracks + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tracks = args[:tracks] if args.key?(:tracks) + @version = args[:version] if args.key?(:version) + end + end + + # Config for PERSON_DETECTION. + class GoogleCloudVideointelligenceV1PersonDetectionConfig + include Google::Apis::Core::Hashable + + # Whether to enable person attributes detection, such as cloth color (black, + # blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. + # Ignored if 'include_bounding_boxes' is set to false. + # Corresponds to the JSON property `includeAttributes` + # @return [Boolean] + attr_accessor :include_attributes + alias_method :include_attributes?, :include_attributes + + # Whether bounding boxes are included in the person detection annotation output. + # Corresponds to the JSON property `includeBoundingBoxes` + # @return [Boolean] + attr_accessor :include_bounding_boxes + alias_method :include_bounding_boxes?, :include_bounding_boxes + + # Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' + # is set to false. + # Corresponds to the JSON property `includePoseLandmarks` + # @return [Boolean] + attr_accessor :include_pose_landmarks + alias_method :include_pose_landmarks?, :include_pose_landmarks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @include_attributes = args[:include_attributes] if args.key?(:include_attributes) + @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes) + @include_pose_landmarks = args[:include_pose_landmarks] if args.key?(:include_pose_landmarks) + end + end + # Config for SHOT_CHANGE_DETECTION. class GoogleCloudVideointelligenceV1ShotChangeDetectionConfig include Google::Apis::Core::Hashable @@ -1163,6 +1279,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Face detection annotations. + # Corresponds to the JSON property `faceDetectionAnnotations` + # @return [Array] + attr_accessor :face_detection_annotations + # Label annotations on frame level. There is exactly one element for each unique # label. # Corresponds to the JSON property `frameLabelAnnotations` @@ -1184,6 +1305,11 @@ module Google # @return [Array] attr_accessor :object_annotations + # Person detection annotations. + # Corresponds to the JSON property `personDetectionAnnotations` + # @return [Array] + attr_accessor :person_detection_annotations + # Video segment. # Corresponds to the JSON property `segment` # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment] @@ -1244,10 +1370,12 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @input_uri = args[:input_uri] if args.key?(:input_uri) @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) + @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations) @segment = args[:segment] if args.key?(:segment) @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations) @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations) @@ -1268,6 +1396,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig] attr_accessor :explicit_content_detection_config + # Config for FACE_DETECTION. + # Corresponds to the JSON property `faceDetectionConfig` + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionConfig] + attr_accessor :face_detection_config + # Config for LABEL_DETECTION. # Corresponds to the JSON property `labelDetectionConfig` # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelDetectionConfig] @@ -1278,6 +1411,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingConfig] attr_accessor :object_tracking_config + # Config for PERSON_DETECTION. + # Corresponds to the JSON property `personDetectionConfig` + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1PersonDetectionConfig] + attr_accessor :person_detection_config + # Video segments to annotate. The segments may overlap and are not required to # be contiguous or span the whole video. If unspecified, each video is treated # as a single segment. @@ -1307,8 +1445,10 @@ module Google # Update properties of this object def update!(**args) @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config) + @face_detection_config = args[:face_detection_config] if args.key?(:face_detection_config) @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config) @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config) + @person_detection_config = args[:person_detection_config] if args.key?(:person_detection_config) @segments = args[:segments] if args.key?(:segments) @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config) @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config) @@ -1595,6 +1735,25 @@ module Google end end + # Face detection annotation. + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation + include Google::Apis::Core::Hashable + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1beta2LabelAnnotation include Google::Apis::Core::Hashable @@ -1896,6 +2055,31 @@ module Google end end + # Person detection annotation per video. + class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation + include Google::Apis::Core::Hashable + + # The detected tracks of a person. + # Corresponds to the JSON property `tracks` + # @return [Array] + attr_accessor :tracks + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tracks = args[:tracks] if args.key?(:tracks) + @version = args[:version] if args.key?(:version) + end + end + # Alternative hypotheses (a.k.a. n-best list). class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative include Google::Apis::Core::Hashable @@ -2211,6 +2395,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Face detection annotations. + # Corresponds to the JSON property `faceDetectionAnnotations` + # @return [Array] + attr_accessor :face_detection_annotations + # Label annotations on frame level. There is exactly one element for each unique # label. # Corresponds to the JSON property `frameLabelAnnotations` @@ -2232,6 +2421,11 @@ module Google # @return [Array] attr_accessor :object_annotations + # Person detection annotations. + # Corresponds to the JSON property `personDetectionAnnotations` + # @return [Array] + attr_accessor :person_detection_annotations + # Video segment. # Corresponds to the JSON property `segment` # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment] @@ -2292,10 +2486,12 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @input_uri = args[:input_uri] if args.key?(:input_uri) @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) + @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations) @segment = args[:segment] if args.key?(:segment) @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations) @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations) @@ -2586,6 +2782,25 @@ module Google end end + # Face detection annotation. + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation + include Google::Apis::Core::Hashable + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -2887,6 +3102,31 @@ module Google end end + # Person detection annotation per video. + class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation + include Google::Apis::Core::Hashable + + # The detected tracks of a person. + # Corresponds to the JSON property `tracks` + # @return [Array] + attr_accessor :tracks + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tracks = args[:tracks] if args.key?(:tracks) + @version = args[:version] if args.key?(:version) + end + end + # Alternative hypotheses (a.k.a. n-best list). class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative include Google::Apis::Core::Hashable @@ -3202,6 +3442,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Face detection annotations. + # Corresponds to the JSON property `faceDetectionAnnotations` + # @return [Array] + attr_accessor :face_detection_annotations + # Label annotations on frame level. There is exactly one element for each unique # label. # Corresponds to the JSON property `frameLabelAnnotations` @@ -3223,6 +3468,11 @@ module Google # @return [Array] attr_accessor :object_annotations + # Person detection annotations. + # Corresponds to the JSON property `personDetectionAnnotations` + # @return [Array] + attr_accessor :person_detection_annotations + # Video segment. # Corresponds to the JSON property `segment` # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment] @@ -3283,10 +3533,12 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @input_uri = args[:input_uri] if args.key?(:input_uri) @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) + @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations) @segment = args[:segment] if args.key?(:segment) @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations) @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations) @@ -3577,6 +3829,25 @@ module Google end end + # Face detection annotation. + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation + include Google::Apis::Core::Hashable + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -3878,6 +4149,31 @@ module Google end end + # Person detection annotation per video. + class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation + include Google::Apis::Core::Hashable + + # The detected tracks of a person. + # Corresponds to the JSON property `tracks` + # @return [Array] + attr_accessor :tracks + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tracks = args[:tracks] if args.key?(:tracks) + @version = args[:version] if args.key?(:version) + end + end + # Alternative hypotheses (a.k.a. n-best list). class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative include Google::Apis::Core::Hashable @@ -4193,6 +4489,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Face detection annotations. + # Corresponds to the JSON property `faceDetectionAnnotations` + # @return [Array] + attr_accessor :face_detection_annotations + # Label annotations on frame level. There is exactly one element for each unique # label. # Corresponds to the JSON property `frameLabelAnnotations` @@ -4214,6 +4515,11 @@ module Google # @return [Array] attr_accessor :object_annotations + # Person detection annotations. + # Corresponds to the JSON property `personDetectionAnnotations` + # @return [Array] + attr_accessor :person_detection_annotations + # Video segment. # Corresponds to the JSON property `segment` # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment] @@ -4274,10 +4580,12 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @input_uri = args[:input_uri] if args.key?(:input_uri) @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) + @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations) @segment = args[:segment] if args.key?(:segment) @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations) @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations) @@ -4658,17 +4966,6 @@ module Google class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable - # The thumbnail of a person's face. - # Corresponds to the JSON property `thumbnail` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :thumbnail - - # The face tracks with attributes. - # Corresponds to the JSON property `tracks` - # @return [Array] - attr_accessor :tracks - # Feature version. # Corresponds to the JSON property `version` # @return [String] @@ -4680,8 +4977,6 @@ module Google # Update properties of this object def update!(**args) - @thumbnail = args[:thumbnail] if args.key?(:thumbnail) - @tracks = args[:tracks] if args.key?(:tracks) @version = args[:version] if args.key?(:version) end end diff --git a/generated/google/apis/videointelligence_v1/representations.rb b/generated/google/apis/videointelligence_v1/representations.rb index 2b0f28f5e..bc7bf6329 100644 --- a/generated/google/apis/videointelligence_v1/representations.rb +++ b/generated/google/apis/videointelligence_v1/representations.rb @@ -76,6 +76,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1FaceDetectionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -142,6 +154,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1PersonDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1PersonDetectionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1ShotChangeDetectionConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -280,6 +304,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -334,6 +364,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative class Representation < Google::Apis::Core::JsonRepresentation; end @@ -442,6 +478,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -496,6 +538,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative class Representation < Google::Apis::Core::JsonRepresentation; end @@ -604,6 +652,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -658,6 +712,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1045,6 +1105,22 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + end + end + + class GoogleCloudVideointelligenceV1FaceDetectionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :include_attributes, as: 'includeAttributes' + property :include_bounding_boxes, as: 'includeBoundingBoxes' + property :model, as: 'model' + end + end + class GoogleCloudVideointelligenceV1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1157,6 +1233,24 @@ module Google end end + class GoogleCloudVideointelligenceV1PersonDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track::Representation + + property :version, as: 'version' + end + end + + class GoogleCloudVideointelligenceV1PersonDetectionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :include_attributes, as: 'includeAttributes' + property :include_bounding_boxes, as: 'includeBoundingBoxes' + property :include_pose_landmarks, as: 'includePoseLandmarks' + end + end + class GoogleCloudVideointelligenceV1ShotChangeDetectionConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1290,6 +1384,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation + collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation property :input_uri, as: 'inputUri' @@ -1297,6 +1393,8 @@ module Google collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::Representation + collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation @@ -1321,10 +1419,14 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :explicit_content_detection_config, as: 'explicitContentDetectionConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig::Representation + property :face_detection_config, as: 'faceDetectionConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionConfig::Representation + property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelDetectionConfig::Representation property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingConfig::Representation + property :person_detection_config, as: 'personDetectionConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1PersonDetectionConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1PersonDetectionConfig::Representation + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment::Representation property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ShotChangeDetectionConfig::Representation @@ -1416,6 +1518,13 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1510,6 +1619,15 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Track::Representation + + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1605,6 +1723,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation + collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation property :input_uri, as: 'inputUri' @@ -1612,6 +1732,8 @@ module Google collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::Representation + collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation @@ -1711,6 +1833,13 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1805,6 +1934,15 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Track::Representation + + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1900,6 +2038,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation + collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation property :input_uri, as: 'inputUri' @@ -1907,6 +2047,8 @@ module Google collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::Representation + collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation @@ -2006,6 +2148,13 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2100,6 +2249,15 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Track::Representation + + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2195,6 +2353,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation + collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation property :input_uri, as: 'inputUri' @@ -2202,6 +2362,8 @@ module Google collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation + collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation @@ -2332,9 +2494,6 @@ module Google class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :thumbnail, :base64 => true, as: 'thumbnail' - collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track::Representation - property :version, as: 'version' end end diff --git a/generated/google/apis/videointelligence_v1p1beta1.rb b/generated/google/apis/videointelligence_v1p1beta1.rb index 462717ab2..bc5addf46 100644 --- a/generated/google/apis/videointelligence_v1p1beta1.rb +++ b/generated/google/apis/videointelligence_v1p1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/video-intelligence/docs/ module VideointelligenceV1p1beta1 VERSION = 'V1p1beta1' - REVISION = '20200824' + REVISION = '20200921' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/videointelligence_v1p1beta1/classes.rb b/generated/google/apis/videointelligence_v1p1beta1/classes.rb index ad9d7a82e..d39a8ce79 100644 --- a/generated/google/apis/videointelligence_v1p1beta1/classes.rb +++ b/generated/google/apis/videointelligence_v1p1beta1/classes.rb @@ -215,6 +215,25 @@ module Google end end + # Face detection annotation. + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation + include Google::Apis::Core::Hashable + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1LabelAnnotation include Google::Apis::Core::Hashable @@ -516,6 +535,31 @@ module Google end end + # Person detection annotation per video. + class GoogleCloudVideointelligenceV1PersonDetectionAnnotation + include Google::Apis::Core::Hashable + + # The detected tracks of a person. + # Corresponds to the JSON property `tracks` + # @return [Array] + attr_accessor :tracks + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tracks = args[:tracks] if args.key?(:tracks) + @version = args[:version] if args.key?(:version) + end + end + # Alternative hypotheses (a.k.a. n-best list). class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative include Google::Apis::Core::Hashable @@ -831,6 +875,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Face detection annotations. + # Corresponds to the JSON property `faceDetectionAnnotations` + # @return [Array] + attr_accessor :face_detection_annotations + # Label annotations on frame level. There is exactly one element for each unique # label. # Corresponds to the JSON property `frameLabelAnnotations` @@ -852,6 +901,11 @@ module Google # @return [Array] attr_accessor :object_annotations + # Person detection annotations. + # Corresponds to the JSON property `personDetectionAnnotations` + # @return [Array] + attr_accessor :person_detection_annotations + # Video segment. # Corresponds to the JSON property `segment` # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment] @@ -912,10 +966,12 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @input_uri = args[:input_uri] if args.key?(:input_uri) @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) + @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations) @segment = args[:segment] if args.key?(:segment) @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations) @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations) @@ -1206,6 +1262,25 @@ module Google end end + # Face detection annotation. + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation + include Google::Apis::Core::Hashable + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1beta2LabelAnnotation include Google::Apis::Core::Hashable @@ -1507,6 +1582,31 @@ module Google end end + # Person detection annotation per video. + class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation + include Google::Apis::Core::Hashable + + # The detected tracks of a person. + # Corresponds to the JSON property `tracks` + # @return [Array] + attr_accessor :tracks + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tracks = args[:tracks] if args.key?(:tracks) + @version = args[:version] if args.key?(:version) + end + end + # Alternative hypotheses (a.k.a. n-best list). class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative include Google::Apis::Core::Hashable @@ -1822,6 +1922,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Face detection annotations. + # Corresponds to the JSON property `faceDetectionAnnotations` + # @return [Array] + attr_accessor :face_detection_annotations + # Label annotations on frame level. There is exactly one element for each unique # label. # Corresponds to the JSON property `frameLabelAnnotations` @@ -1843,6 +1948,11 @@ module Google # @return [Array] attr_accessor :object_annotations + # Person detection annotations. + # Corresponds to the JSON property `personDetectionAnnotations` + # @return [Array] + attr_accessor :person_detection_annotations + # Video segment. # Corresponds to the JSON property `segment` # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment] @@ -1903,10 +2013,12 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @input_uri = args[:input_uri] if args.key?(:input_uri) @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) + @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations) @segment = args[:segment] if args.key?(:segment) @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations) @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations) @@ -2284,6 +2396,60 @@ module Google end end + # Face detection annotation. + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation + include Google::Apis::Core::Hashable + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + end + end + + # Config for FACE_DETECTION. + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig + include Google::Apis::Core::Hashable + + # Whether to enable face attributes detection, such as glasses, dark_glasses, + # mouth_open etc. Ignored if 'include_bounding_boxes' is set to false. + # Corresponds to the JSON property `includeAttributes` + # @return [Boolean] + attr_accessor :include_attributes + alias_method :include_attributes?, :include_attributes + + # Whether bounding boxes are included in the face annotation output. + # Corresponds to the JSON property `includeBoundingBoxes` + # @return [Boolean] + attr_accessor :include_bounding_boxes + alias_method :include_bounding_boxes?, :include_bounding_boxes + + # Model to use for face detection. Supported values: "builtin/stable" (the + # default if unset) and "builtin/latest". + # Corresponds to the JSON property `model` + # @return [String] + attr_accessor :model + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @include_attributes = args[:include_attributes] if args.key?(:include_attributes) + @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes) + @model = args[:model] if args.key?(:model) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -2661,6 +2827,68 @@ module Google end end + # Person detection annotation per video. + class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation + include Google::Apis::Core::Hashable + + # The detected tracks of a person. + # Corresponds to the JSON property `tracks` + # @return [Array] + attr_accessor :tracks + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tracks = args[:tracks] if args.key?(:tracks) + @version = args[:version] if args.key?(:version) + end + end + + # Config for PERSON_DETECTION. + class GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig + include Google::Apis::Core::Hashable + + # Whether to enable person attributes detection, such as cloth color (black, + # blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. + # Ignored if 'include_bounding_boxes' is set to false. + # Corresponds to the JSON property `includeAttributes` + # @return [Boolean] + attr_accessor :include_attributes + alias_method :include_attributes?, :include_attributes + + # Whether bounding boxes are included in the person detection annotation output. + # Corresponds to the JSON property `includeBoundingBoxes` + # @return [Boolean] + attr_accessor :include_bounding_boxes + alias_method :include_bounding_boxes?, :include_bounding_boxes + + # Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' + # is set to false. + # Corresponds to the JSON property `includePoseLandmarks` + # @return [Boolean] + attr_accessor :include_pose_landmarks + alias_method :include_pose_landmarks?, :include_pose_landmarks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @include_attributes = args[:include_attributes] if args.key?(:include_attributes) + @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes) + @include_pose_landmarks = args[:include_pose_landmarks] if args.key?(:include_pose_landmarks) + end + end + # Config for SHOT_CHANGE_DETECTION. class GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig include Google::Apis::Core::Hashable @@ -3145,6 +3373,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Face detection annotations. + # Corresponds to the JSON property `faceDetectionAnnotations` + # @return [Array] + attr_accessor :face_detection_annotations + # Label annotations on frame level. There is exactly one element for each unique # label. # Corresponds to the JSON property `frameLabelAnnotations` @@ -3166,6 +3399,11 @@ module Google # @return [Array] attr_accessor :object_annotations + # Person detection annotations. + # Corresponds to the JSON property `personDetectionAnnotations` + # @return [Array] + attr_accessor :person_detection_annotations + # Video segment. # Corresponds to the JSON property `segment` # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment] @@ -3226,10 +3464,12 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @input_uri = args[:input_uri] if args.key?(:input_uri) @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) + @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations) @segment = args[:segment] if args.key?(:segment) @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations) @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations) @@ -3250,6 +3490,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentDetectionConfig] attr_accessor :explicit_content_detection_config + # Config for FACE_DETECTION. + # Corresponds to the JSON property `faceDetectionConfig` + # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig] + attr_accessor :face_detection_config + # Config for LABEL_DETECTION. # Corresponds to the JSON property `labelDetectionConfig` # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelDetectionConfig] @@ -3260,6 +3505,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig] attr_accessor :object_tracking_config + # Config for PERSON_DETECTION. + # Corresponds to the JSON property `personDetectionConfig` + # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig] + attr_accessor :person_detection_config + # Video segments to annotate. The segments may overlap and are not required to # be contiguous or span the whole video. If unspecified, each video is treated # as a single segment. @@ -3289,8 +3539,10 @@ module Google # Update properties of this object def update!(**args) @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config) + @face_detection_config = args[:face_detection_config] if args.key?(:face_detection_config) @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config) @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config) + @person_detection_config = args[:person_detection_config] if args.key?(:person_detection_config) @segments = args[:segments] if args.key?(:segments) @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config) @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config) @@ -3577,6 +3829,25 @@ module Google end end + # Face detection annotation. + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation + include Google::Apis::Core::Hashable + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -3878,6 +4149,31 @@ module Google end end + # Person detection annotation per video. + class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation + include Google::Apis::Core::Hashable + + # The detected tracks of a person. + # Corresponds to the JSON property `tracks` + # @return [Array] + attr_accessor :tracks + + # Feature version. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tracks = args[:tracks] if args.key?(:tracks) + @version = args[:version] if args.key?(:version) + end + end + # Alternative hypotheses (a.k.a. n-best list). class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative include Google::Apis::Core::Hashable @@ -4193,6 +4489,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Face detection annotations. + # Corresponds to the JSON property `faceDetectionAnnotations` + # @return [Array] + attr_accessor :face_detection_annotations + # Label annotations on frame level. There is exactly one element for each unique # label. # Corresponds to the JSON property `frameLabelAnnotations` @@ -4214,6 +4515,11 @@ module Google # @return [Array] attr_accessor :object_annotations + # Person detection annotations. + # Corresponds to the JSON property `personDetectionAnnotations` + # @return [Array] + attr_accessor :person_detection_annotations + # Video segment. # Corresponds to the JSON property `segment` # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment] @@ -4274,10 +4580,12 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations) @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations) @input_uri = args[:input_uri] if args.key?(:input_uri) @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) + @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations) @segment = args[:segment] if args.key?(:segment) @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations) @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations) @@ -4658,17 +4966,6 @@ module Google class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable - # The thumbnail of a person's face. - # Corresponds to the JSON property `thumbnail` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :thumbnail - - # The face tracks with attributes. - # Corresponds to the JSON property `tracks` - # @return [Array] - attr_accessor :tracks - # Feature version. # Corresponds to the JSON property `version` # @return [String] @@ -4680,8 +4977,6 @@ module Google # Update properties of this object def update!(**args) - @thumbnail = args[:thumbnail] if args.key?(:thumbnail) - @tracks = args[:tracks] if args.key?(:tracks) @version = args[:version] if args.key?(:version) end end diff --git a/generated/google/apis/videointelligence_v1p1beta1/representations.rb b/generated/google/apis/videointelligence_v1p1beta1/representations.rb index 5f30c1924..00ad0d22c 100644 --- a/generated/google/apis/videointelligence_v1p1beta1/representations.rb +++ b/generated/google/apis/videointelligence_v1p1beta1/representations.rb @@ -64,6 +64,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -118,6 +124,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1PersonDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative class Representation < Google::Apis::Core::JsonRepresentation; end @@ -226,6 +238,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -280,6 +298,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative class Representation < Google::Apis::Core::JsonRepresentation; end @@ -400,6 +424,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -466,6 +502,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -604,6 +652,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -658,6 +712,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1007,6 +1067,13 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1101,6 +1168,15 @@ module Google end end + class GoogleCloudVideointelligenceV1PersonDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1Track::Representation + + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1196,6 +1272,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation + collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation property :input_uri, as: 'inputUri' @@ -1203,6 +1281,8 @@ module Google collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::Representation + collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation @@ -1302,6 +1382,13 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1396,6 +1483,15 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2Track::Representation + + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1491,6 +1587,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation + collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation property :input_uri, as: 'inputUri' @@ -1498,6 +1596,8 @@ module Google collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::Representation + collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation @@ -1617,6 +1717,22 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + end + end + + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :include_attributes, as: 'includeAttributes' + property :include_bounding_boxes, as: 'includeBoundingBoxes' + property :model, as: 'model' + end + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1729,6 +1845,24 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Track::Representation + + property :version, as: 'version' + end + end + + class GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :include_attributes, as: 'includeAttributes' + property :include_bounding_boxes, as: 'includeBoundingBoxes' + property :include_pose_landmarks, as: 'includePoseLandmarks' + end + end + class GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1862,6 +1996,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation + collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation property :input_uri, as: 'inputUri' @@ -1869,6 +2005,8 @@ module Google collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::Representation + collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation @@ -1893,10 +2031,14 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :explicit_content_detection_config, as: 'explicitContentDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentDetectionConfig::Representation + property :face_detection_config, as: 'faceDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig::Representation + property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelDetectionConfig::Representation property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig::Representation + property :person_detection_config, as: 'personDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig::Representation + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig::Representation @@ -1988,6 +2130,13 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2082,6 +2231,15 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1Track::Representation + + property :version, as: 'version' + end + end + class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2177,6 +2335,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation + collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation property :input_uri, as: 'inputUri' @@ -2184,6 +2344,8 @@ module Google collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation + collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation::Representation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation @@ -2314,9 +2476,6 @@ module Google class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :thumbnail, :base64 => true, as: 'thumbnail' - collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation - property :version, as: 'version' end end