From 7dc410a074af834e71ec10e9d8ebd3a2a2ef1099 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 8 Oct 2020 00:39:03 +0000 Subject: [PATCH] Autogenerated update (2020-10-08) Update: - analyticsdata_v1alpha - androidpublisher_v3 - appsmarket_v2 - cloudasset_v1p4beta1 - cloudsearch_v1 - cloudshell_v1 - composer_v1 - composer_v1beta1 - container_v1beta1 - content_v2 - content_v2_1 - dialogflow_v2beta1 - displayvideo_v1 - doubleclickbidmanager_v1_1 - licensing_v1 - memcache_v1beta2 - people_v1 - realtimebidding_v1 - remotebuildexecution_v1alpha - storagetransfer_v1 - testing_v1 - videointelligence_v1 - videointelligence_v1beta2 - videointelligence_v1p1beta1 - videointelligence_v1p2beta1 - videointelligence_v1p3beta1 --- api_names_out.yaml | 419 ++++ .../google/apis/analyticsdata_v1alpha.rb | 2 +- .../apis/analyticsdata_v1alpha/classes.rb | 31 + .../analyticsdata_v1alpha/representations.rb | 17 + .../apis/analyticsdata_v1alpha/service.rb | 39 + generated/google/apis/androidpublisher_v3.rb | 2 +- .../apis/androidpublisher_v3/service.rb | 7 +- generated/google/apis/appsmarket_v2.rb | 2 +- generated/google/apis/cloudasset_v1p4beta1.rb | 2 +- .../apis/cloudasset_v1p4beta1/classes.rb | 6 +- generated/google/apis/cloudsearch_v1.rb | 2 +- .../google/apis/cloudsearch_v1/classes.rb | 3 +- generated/google/apis/cloudshell_v1.rb | 2 +- .../google/apis/cloudshell_v1/classes.rb | 342 ++++ .../apis/cloudshell_v1/representations.rb | 200 ++ .../google/apis/cloudshell_v1/service.rb | 177 ++ generated/google/apis/composer_v1.rb | 2 +- generated/google/apis/composer_v1/classes.rb | 5 +- generated/google/apis/composer_v1beta1.rb | 2 +- .../google/apis/composer_v1beta1/classes.rb | 5 +- .../google/apis/composer_v1beta1/service.rb | 72 +- generated/google/apis/container_v1beta1.rb | 2 +- generated/google/apis/content_v2.rb | 7 +- generated/google/apis/content_v2/classes.rb | 1724 ++++++++++++----- generated/google/apis/content_v2/service.rb | 1019 ++++++---- generated/google/apis/content_v2_1.rb | 2 +- generated/google/apis/content_v2_1/classes.rb | 99 + .../apis/content_v2_1/representations.rb | 47 + generated/google/apis/content_v2_1/service.rb | 37 + generated/google/apis/dialogflow_v2beta1.rb | 2 +- .../google/apis/dialogflow_v2beta1/service.rb | 58 +- generated/google/apis/displayvideo_v1.rb | 2 +- .../google/apis/displayvideo_v1/service.rb | 23 +- .../google/apis/doubleclickbidmanager_v1_1.rb | 2 +- .../doubleclickbidmanager_v1_1/classes.rb | 4 +- generated/google/apis/licensing_v1.rb | 2 +- generated/google/apis/licensing_v1/service.rb | 4 +- generated/google/apis/memcache_v1beta2.rb | 2 +- .../google/apis/memcache_v1beta2/classes.rb | 2 +- generated/google/apis/oauth2_v2.rb | 40 + generated/google/apis/oauth2_v2/classes.rb | 165 ++ .../google/apis/oauth2_v2/representations.rb | 68 + generated/google/apis/oauth2_v2/service.rb | 158 ++ generated/google/apis/people_v1.rb | 2 +- generated/google/apis/people_v1/classes.rb | 2 +- generated/google/apis/realtimebidding_v1.rb | 2 +- .../google/apis/realtimebidding_v1/classes.rb | 45 - .../realtimebidding_v1/representations.rb | 16 - .../apis/remotebuildexecution_v1alpha.rb | 2 +- .../remotebuildexecution_v1alpha/classes.rb | 6 + .../representations.rb | 1 + generated/google/apis/storagetransfer_v1.rb | 2 +- .../google/apis/storagetransfer_v1/classes.rb | 13 + .../storagetransfer_v1/representations.rb | 12 + .../google/apis/storagetransfer_v1/service.rb | 7 +- generated/google/apis/testing_v1.rb | 2 +- generated/google/apis/testing_v1/classes.rb | 47 + .../google/apis/testing_v1/representations.rb | 20 + generated/google/apis/videointelligence_v1.rb | 2 +- .../apis/videointelligence_v1/classes.rb | 432 ++++- .../videointelligence_v1/representations.rb | 241 +++ .../google/apis/videointelligence_v1beta2.rb | 2 +- .../apis/videointelligence_v1beta2/classes.rb | 432 ++++- .../representations.rb | 241 +++ .../apis/videointelligence_v1p1beta1.rb | 2 +- .../videointelligence_v1p1beta1/classes.rb | 432 ++++- .../representations.rb | 241 +++ .../apis/videointelligence_v1p2beta1.rb | 2 +- .../videointelligence_v1p2beta1/classes.rb | 432 ++++- .../representations.rb | 241 +++ .../apis/videointelligence_v1p3beta1.rb | 2 +- .../videointelligence_v1p3beta1/classes.rb | 432 ++++- .../representations.rb | 241 +++ 73 files changed, 7310 insertions(+), 1052 deletions(-) create mode 100644 generated/google/apis/oauth2_v2.rb create mode 100644 generated/google/apis/oauth2_v2/classes.rb create mode 100644 generated/google/apis/oauth2_v2/representations.rb create mode 100644 generated/google/apis/oauth2_v2/service.rb diff --git a/api_names_out.yaml b/api_names_out.yaml index fd7538823..af2c0bfdb 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -6840,6 +6840,12 @@ "/analyticsdata:v1alpha/InListFilter/caseSensitive": case_sensitive "/analyticsdata:v1alpha/InListFilter/values": values "/analyticsdata:v1alpha/InListFilter/values/value": value +"/analyticsdata:v1alpha/Metadata": metadata +"/analyticsdata:v1alpha/Metadata/dimensions": dimensions +"/analyticsdata:v1alpha/Metadata/dimensions/dimension": dimension +"/analyticsdata:v1alpha/Metadata/metrics": metrics +"/analyticsdata:v1alpha/Metadata/metrics/metric": metric +"/analyticsdata:v1alpha/Metadata/name": name "/analyticsdata:v1alpha/Metric": metric "/analyticsdata:v1alpha/Metric/expression": expression "/analyticsdata:v1alpha/Metric/invisible": invisible @@ -6984,6 +6990,8 @@ "/analyticsdata:v1alpha/UniversalMetadata/metrics/metric": metric "/analyticsdata:v1alpha/analyticsdata.batchRunPivotReports": batch_run_pivot_reports "/analyticsdata:v1alpha/analyticsdata.batchRunReports": batch_run_reports +"/analyticsdata:v1alpha/analyticsdata.properties.getMetadata": get_property_metadata +"/analyticsdata:v1alpha/analyticsdata.properties.getMetadata/name": name "/analyticsdata:v1alpha/analyticsdata.runPivotReport": run_pivot_report "/analyticsdata:v1alpha/analyticsdata.runReport": run_report "/analyticsdata:v1alpha/fields": fields @@ -25952,7 +25960,20 @@ "/cloudsearch:v1/fields": fields "/cloudsearch:v1/key": key "/cloudsearch:v1/quotaUser": quota_user +"/cloudshell:v1/AddPublicKeyMetadata": add_public_key_metadata +"/cloudshell:v1/AddPublicKeyRequest": add_public_key_request +"/cloudshell:v1/AddPublicKeyRequest/key": key +"/cloudshell:v1/AddPublicKeyResponse": add_public_key_response +"/cloudshell:v1/AddPublicKeyResponse/key": key +"/cloudshell:v1/AuthorizeEnvironmentMetadata": authorize_environment_metadata +"/cloudshell:v1/AuthorizeEnvironmentRequest": authorize_environment_request +"/cloudshell:v1/AuthorizeEnvironmentRequest/accessToken": access_token +"/cloudshell:v1/AuthorizeEnvironmentRequest/expireTime": expire_time +"/cloudshell:v1/AuthorizeEnvironmentRequest/idToken": id_token +"/cloudshell:v1/AuthorizeEnvironmentResponse": authorize_environment_response "/cloudshell:v1/CancelOperationRequest": cancel_operation_request +"/cloudshell:v1/CreateEnvironmentMetadata": create_environment_metadata +"/cloudshell:v1/DeleteEnvironmentMetadata": delete_environment_metadata "/cloudshell:v1/Empty": empty "/cloudshell:v1/Environment": environment "/cloudshell:v1/Environment/dockerImage": docker_image @@ -25985,8 +26006,16 @@ "/cloudshell:v1/PublicKey/format": format "/cloudshell:v1/PublicKey/key": key "/cloudshell:v1/PublicKey/name": name +"/cloudshell:v1/RemovePublicKeyMetadata": remove_public_key_metadata +"/cloudshell:v1/RemovePublicKeyRequest": remove_public_key_request +"/cloudshell:v1/RemovePublicKeyRequest/key": key +"/cloudshell:v1/RemovePublicKeyResponse": remove_public_key_response "/cloudshell:v1/StartEnvironmentMetadata": start_environment_metadata "/cloudshell:v1/StartEnvironmentMetadata/state": state +"/cloudshell:v1/StartEnvironmentRequest": start_environment_request +"/cloudshell:v1/StartEnvironmentRequest/accessToken": access_token +"/cloudshell:v1/StartEnvironmentRequest/publicKeys": public_keys +"/cloudshell:v1/StartEnvironmentRequest/publicKeys/public_key": public_key "/cloudshell:v1/StartEnvironmentResponse": start_environment_response "/cloudshell:v1/StartEnvironmentResponse/environment": environment "/cloudshell:v1/Status": status @@ -26006,6 +26035,16 @@ "/cloudshell:v1/cloudshell.operations.list/name": name "/cloudshell:v1/cloudshell.operations.list/pageSize": page_size "/cloudshell:v1/cloudshell.operations.list/pageToken": page_token +"/cloudshell:v1/cloudshell.users.environments.addPublicKey": add_environment_public_key +"/cloudshell:v1/cloudshell.users.environments.addPublicKey/environment": environment +"/cloudshell:v1/cloudshell.users.environments.authorize": authorize_environment +"/cloudshell:v1/cloudshell.users.environments.authorize/name": name +"/cloudshell:v1/cloudshell.users.environments.get": get_user_environment +"/cloudshell:v1/cloudshell.users.environments.get/name": name +"/cloudshell:v1/cloudshell.users.environments.removePublicKey": remove_environment_public_key +"/cloudshell:v1/cloudshell.users.environments.removePublicKey/environment": environment +"/cloudshell:v1/cloudshell.users.environments.start": start_environment +"/cloudshell:v1/cloudshell.users.environments.start/name": name "/cloudshell:v1/fields": fields "/cloudshell:v1/key": key "/cloudshell:v1/quotaUser": quota_user @@ -55847,6 +55886,19 @@ "/content:v2.1/OrderreturnsAcknowledgeResponse": orderreturns_acknowledge_response "/content:v2.1/OrderreturnsAcknowledgeResponse/executionStatus": execution_status "/content:v2.1/OrderreturnsAcknowledgeResponse/kind": kind +"/content:v2.1/OrderreturnsCreateOrderReturnRequest": orderreturns_create_order_return_request +"/content:v2.1/OrderreturnsCreateOrderReturnRequest/lineItems": line_items +"/content:v2.1/OrderreturnsCreateOrderReturnRequest/lineItems/line_item": line_item +"/content:v2.1/OrderreturnsCreateOrderReturnRequest/operationId": operation_id +"/content:v2.1/OrderreturnsCreateOrderReturnRequest/orderId": order_id +"/content:v2.1/OrderreturnsCreateOrderReturnRequest/returnMethodType": return_method_type +"/content:v2.1/OrderreturnsCreateOrderReturnResponse": orderreturns_create_order_return_response +"/content:v2.1/OrderreturnsCreateOrderReturnResponse/executionStatus": execution_status +"/content:v2.1/OrderreturnsCreateOrderReturnResponse/kind": kind +"/content:v2.1/OrderreturnsCreateOrderReturnResponse/orderReturn": order_return +"/content:v2.1/OrderreturnsLineItem": orderreturns_line_item +"/content:v2.1/OrderreturnsLineItem/lineItemId": line_item_id +"/content:v2.1/OrderreturnsLineItem/quantity": quantity "/content:v2.1/OrderreturnsListResponse": orderreturns_list_response "/content:v2.1/OrderreturnsListResponse/kind": kind "/content:v2.1/OrderreturnsListResponse/nextPageToken": next_page_token @@ -56921,6 +56973,8 @@ "/content:v2.1/content.orderreturns.acknowledge": acknowledge_orderreturn "/content:v2.1/content.orderreturns.acknowledge/merchantId": merchant_id "/content:v2.1/content.orderreturns.acknowledge/returnId": return_id +"/content:v2.1/content.orderreturns.createorderreturn": createorderreturn_orderreturn +"/content:v2.1/content.orderreturns.createorderreturn/merchantId": merchant_id "/content:v2.1/content.orderreturns.get": get_orderreturn "/content:v2.1/content.orderreturns.get/merchantId": merchant_id "/content:v2.1/content.orderreturns.get/returnId": return_id @@ -86652,6 +86706,7 @@ "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.documents.get": get_project_agent_knowledge_basis_document "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.documents.get/name": name "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.documents.list": list_project_agent_knowledge_basis_documents +"/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.documents.list/filter": filter "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.documents.list/pageSize": page_size "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.documents.list/pageToken": page_token "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.documents.list/parent": parent @@ -86663,6 +86718,7 @@ "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.get": get_project_agent_knowledge_basis "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.get/name": name "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.list": list_project_agent_knowledge_bases +"/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.list/filter": filter "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.list/pageSize": page_size "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.list/pageToken": page_token "/dialogflow:v2beta1/dialogflow.projects.agent.knowledgeBases.list/parent": parent @@ -86847,6 +86903,7 @@ "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.documents.get": get_project_knowledge_basis_document "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.documents.get/name": name "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.documents.list": list_project_knowledge_basis_documents +"/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.documents.list/filter": filter "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.documents.list/pageSize": page_size "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.documents.list/pageToken": page_token "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.documents.list/parent": parent @@ -86858,6 +86915,7 @@ "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.get": get_project_knowledge_basis "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.get/name": name "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.list": list_project_knowledge_bases +"/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.list/filter": filter "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.list/pageSize": page_size "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.list/pageToken": page_token "/dialogflow:v2beta1/dialogflow.projects.knowledgeBases.list/parent": parent @@ -123213,6 +123271,7 @@ "/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandDurations/uploadStartTime": upload_start_time "/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents": google_devtools_remotebuildbot_command_events "/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents/dockerCacheHit": docker_cache_hit +"/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents/dockerImageName": docker_image_name "/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents/inputCacheMiss": input_cache_miss "/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents/numErrors": num_errors "/remotebuildexecution:v1alpha/GoogleDevtoolsRemotebuildbotCommandEvents/numWarnings": num_warnings @@ -140308,6 +140367,7 @@ "/storagetransfer:v1/AzureBlobStorageData/storageAccount": storage_account "/storagetransfer:v1/AzureCredentials": azure_credentials "/storagetransfer:v1/AzureCredentials/sasToken": sas_token +"/storagetransfer:v1/CancelOperationRequest": cancel_operation_request "/storagetransfer:v1/Date": date "/storagetransfer:v1/Date/day": day "/storagetransfer:v1/Date/month": month @@ -142223,6 +142283,10 @@ "/testing:v1/IosDeviceCatalog/versions/version": version "/testing:v1/IosDeviceCatalog/xcodeVersions": xcode_versions "/testing:v1/IosDeviceCatalog/xcodeVersions/xcode_version": xcode_version +"/testing:v1/IosDeviceFile": ios_device_file +"/testing:v1/IosDeviceFile/bundleId": bundle_id +"/testing:v1/IosDeviceFile/content": content +"/testing:v1/IosDeviceFile/devicePath": device_path "/testing:v1/IosDeviceList": ios_device_list "/testing:v1/IosDeviceList/iosDevices": ios_devices "/testing:v1/IosDeviceList/iosDevices/ios_device": ios_device @@ -142253,6 +142317,10 @@ "/testing:v1/IosTestSetup/additionalIpas": additional_ipas "/testing:v1/IosTestSetup/additionalIpas/additional_ipa": additional_ipa "/testing:v1/IosTestSetup/networkProfile": network_profile +"/testing:v1/IosTestSetup/pullDirectories": pull_directories +"/testing:v1/IosTestSetup/pullDirectories/pull_directory": pull_directory +"/testing:v1/IosTestSetup/pushFiles": push_files +"/testing:v1/IosTestSetup/pushFiles/push_file": push_file "/testing:v1/IosVersion": ios_version "/testing:v1/IosVersion/id": id "/testing:v1/IosVersion/majorVersion": major_version @@ -144998,12 +145066,24 @@ "/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_FaceAnnotation": google_cloud_videointelligence_v1_face_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceAnnotation/frames": frames +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceAnnotation/segments": segments +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceAnnotation/thumbnail": thumbnail "/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_FaceFrame": google_cloud_videointelligence_v1_face_frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceSegment": google_cloud_videointelligence_v1_face_segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceSegment/segment": segment "/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 @@ -145130,6 +145210,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/faceAnnotations": face_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceAnnotations/face_annotation": face_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 @@ -145244,8 +145326,20 @@ "/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_FaceAnnotation": google_cloud_videointelligence_v1beta2_face_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/frames": frames +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/frames/frame": frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments": segments +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation": google_cloud_videointelligence_v1beta2_face_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/version": version +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceFrame": google_cloud_videointelligence_v1beta2_face_frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceSegment": google_cloud_videointelligence_v1beta2_face_segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceSegment/segment": segment "/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 @@ -145339,6 +145433,8 @@ "/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/faceAnnotations": face_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -145408,6 +145504,12 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p1beta1_explicit_content_frame "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation": google_cloud_videointelligence_v1p1beta1_face_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/frames": frames +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/segments": segments +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p1beta1_face_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/frames": frames "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/frames/frame": frame @@ -145422,6 +145524,10 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionFrame/attributes": attributes "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionFrame/attributes/attribute": attribute "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame": google_cloud_videointelligence_v1p1beta1_face_frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/timeOffset": time_offset "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceSegment": google_cloud_videointelligence_v1p1beta1_face_segment "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceSegment/segment": segment "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation": google_cloud_videointelligence_v1p1beta1_label_annotation @@ -145517,6 +145623,8 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p1beta1_video_annotation_results "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/error": error "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -145583,8 +145691,20 @@ "/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_FaceAnnotation": google_cloud_videointelligence_v1p2beta1_face_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/frames": frames +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments": segments +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p2beta1_face_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame": google_cloud_videointelligence_v1p2beta1_face_frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceSegment": google_cloud_videointelligence_v1p2beta1_face_segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceSegment/segment": segment "/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 @@ -145681,6 +145801,8 @@ "/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/faceAnnotations": face_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -145759,11 +145881,23 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p3beta1_explicit_content_frame "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": google_cloud_videointelligence_v1p3beta1_face_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/frames": frames +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/segments": segments +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p3beta1_face_detection_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/thumbnail": thumbnail "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/tracks": tracks "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/tracks/track": track "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame": google_cloud_videointelligence_v1p3beta1_face_frame +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceSegment": google_cloud_videointelligence_v1p3beta1_face_segment +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_FaceSegment/segment": segment "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation": google_cloud_videointelligence_v1p3beta1_label_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -145829,6 +145963,7 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse/error": error "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults": google_cloud_videointelligence_v1p3beta1_streaming_video_annotation_results "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/frameTimestamp": frame_timestamp "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations": label_annotations "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations/label_annotation": label_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/objectAnnotations": object_annotations @@ -145873,6 +146008,8 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/celebrityRecognitionAnnotations": celebrity_recognition_annotations "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/error": error "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -146400,8 +146537,20 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_ExplicitContentFrame": google_cloud_videointelligence_v1_explicit_content_frame "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceAnnotation": google_cloud_videointelligence_v1_face_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceAnnotation/frames": frames +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceAnnotation/segments": segments +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation": google_cloud_videointelligence_v1_face_detection_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation/version": version +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceFrame": google_cloud_videointelligence_v1_face_frame +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceSegment": google_cloud_videointelligence_v1_face_segment +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_FaceSegment/segment": segment "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_LabelAnnotation": google_cloud_videointelligence_v1_label_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -146495,6 +146644,8 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_VideoAnnotationResults": google_cloud_videointelligence_v1_video_annotation_results "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_VideoAnnotationResults/error": error "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -146611,12 +146762,24 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame": google_cloud_videointelligence_v1beta2_explicit_content_frame "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceAnnotation": google_cloud_videointelligence_v1beta2_face_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/frames": frames +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/frames/frame": frame +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments": segments +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments/segment": segment +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation": google_cloud_videointelligence_v1beta2_face_detection_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/version": version "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceDetectionConfig": google_cloud_videointelligence_v1beta2_face_detection_config "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceDetectionConfig/includeAttributes": include_attributes "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceDetectionConfig/includeBoundingBoxes": include_bounding_boxes "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceDetectionConfig/model": model +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceFrame": google_cloud_videointelligence_v1beta2_face_frame +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceFrame/timeOffset": time_offset +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceSegment": google_cloud_videointelligence_v1beta2_face_segment +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_FaceSegment/segment": segment "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_LabelAnnotation": google_cloud_videointelligence_v1beta2_label_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -146743,6 +146906,8 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults": google_cloud_videointelligence_v1beta2_video_annotation_results "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/error": error "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -146824,6 +146989,12 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p1beta1_explicit_content_frame "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation": google_cloud_videointelligence_v1p1beta1_face_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/frames": frames +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/segments": segments +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p1beta1_face_detection_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/frames": frames "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/frames/frame": frame @@ -146838,6 +147009,10 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionFrame/attributes": attributes "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionFrame/attributes/attribute": attribute "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionFrame/timeOffset": time_offset +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceFrame": google_cloud_videointelligence_v1p1beta1_face_frame +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/timeOffset": time_offset "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceSegment": google_cloud_videointelligence_v1p1beta1_face_segment "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_FaceSegment/segment": segment "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation": google_cloud_videointelligence_v1p1beta1_label_annotation @@ -146933,6 +147108,8 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p1beta1_video_annotation_results "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/error": error "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -147002,8 +147179,20 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p2beta1_explicit_content_frame "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation": google_cloud_videointelligence_v1p2beta1_face_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/frames": frames +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments": segments +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p2beta1_face_detection_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceFrame": google_cloud_videointelligence_v1p2beta1_face_frame +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceSegment": google_cloud_videointelligence_v1p2beta1_face_segment +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_FaceSegment/segment": segment "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation": google_cloud_videointelligence_v1p2beta1_label_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -147100,6 +147289,8 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p2beta1_video_annotation_results "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/error": error "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -147181,11 +147372,23 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p3beta1_explicit_content_frame "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": google_cloud_videointelligence_v1p3beta1_face_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/frames": frames +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/segments": segments +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p3beta1_face_detection_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/thumbnail": thumbnail "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/tracks": tracks "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/tracks/track": track "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceFrame": google_cloud_videointelligence_v1p3beta1_face_frame +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceSegment": google_cloud_videointelligence_v1p3beta1_face_segment +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_FaceSegment/segment": segment "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation": google_cloud_videointelligence_v1p3beta1_label_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -147251,6 +147454,7 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse/error": error "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults": google_cloud_videointelligence_v1p3beta1_streaming_video_annotation_results "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/frameTimestamp": frame_timestamp "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations": label_annotations ? "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations/label_annotation" : label_annotation @@ -147297,6 +147501,8 @@ "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/celebrityRecognitionAnnotations": celebrity_recognition_annotations "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/error": error "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -147503,8 +147709,20 @@ "/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_FaceAnnotation": google_cloud_videointelligence_v1_face_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/frames": frames +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/segments": segments +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation": google_cloud_videointelligence_v1_face_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation/version": version +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceFrame": google_cloud_videointelligence_v1_face_frame +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceSegment": google_cloud_videointelligence_v1_face_segment +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_FaceSegment/segment": segment "/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 @@ -147598,6 +147816,8 @@ "/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/faceAnnotations": face_annotations +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -147664,8 +147884,20 @@ "/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_FaceAnnotation": google_cloud_videointelligence_v1beta2_face_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/frames": frames +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments": segments +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation": google_cloud_videointelligence_v1beta2_face_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/version": version +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame": google_cloud_videointelligence_v1beta2_face_frame +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceSegment": google_cloud_videointelligence_v1beta2_face_segment +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_FaceSegment/segment": segment "/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 @@ -147759,6 +147991,8 @@ "/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/faceAnnotations": face_annotations +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -147838,12 +148072,24 @@ "/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_FaceAnnotation": google_cloud_videointelligence_v1p1beta1_face_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/frames": frames +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/segments": segments +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/thumbnail": thumbnail "/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_FaceFrame": google_cloud_videointelligence_v1p1beta1_face_frame +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceSegment": google_cloud_videointelligence_v1p1beta1_face_segment +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_FaceSegment/segment": segment "/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 @@ -147973,6 +148219,8 @@ "/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/faceAnnotations": face_annotations +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -148053,8 +148301,20 @@ "/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_FaceAnnotation": google_cloud_videointelligence_v1p2beta1_face_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/frames": frames +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments": segments +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p2beta1_face_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame": google_cloud_videointelligence_v1p2beta1_face_frame +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceSegment": google_cloud_videointelligence_v1p2beta1_face_segment +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_FaceSegment/segment": segment "/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 @@ -148151,6 +148411,8 @@ "/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/faceAnnotations": face_annotations +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -148233,11 +148495,23 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p3beta1_explicit_content_frame "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": google_cloud_videointelligence_v1p3beta1_face_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/frames": frames +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/segments": segments +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p3beta1_face_detection_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/thumbnail": thumbnail "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/tracks": tracks "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/tracks/track": track "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame": google_cloud_videointelligence_v1p3beta1_face_frame +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceSegment": google_cloud_videointelligence_v1p3beta1_face_segment +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_FaceSegment/segment": segment "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation": google_cloud_videointelligence_v1p3beta1_label_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -148303,6 +148577,7 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse/error": error "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults": google_cloud_videointelligence_v1p3beta1_streaming_video_annotation_results "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/frameTimestamp": frame_timestamp "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations": label_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations/label_annotation" : label_annotation @@ -148350,6 +148625,8 @@ "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/celebrityRecognitionAnnotations": celebrity_recognition_annotations "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/error": error "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -148559,8 +148836,20 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame": google_cloud_videointelligence_v1_explicit_content_frame "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceAnnotation": google_cloud_videointelligence_v1_face_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/frames": frames +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/segments": segments +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation": google_cloud_videointelligence_v1_face_detection_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation/version": version +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceFrame": google_cloud_videointelligence_v1_face_frame +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceSegment": google_cloud_videointelligence_v1_face_segment +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_FaceSegment/segment": segment "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_LabelAnnotation": google_cloud_videointelligence_v1_label_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -148654,6 +148943,8 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults": google_cloud_videointelligence_v1_video_annotation_results "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/error": error "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -148720,8 +149011,20 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame": google_cloud_videointelligence_v1beta2_explicit_content_frame "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation": google_cloud_videointelligence_v1beta2_face_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/frames": frames +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments": segments +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation": google_cloud_videointelligence_v1beta2_face_detection_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/version": version +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame": google_cloud_videointelligence_v1beta2_face_frame +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceSegment": google_cloud_videointelligence_v1beta2_face_segment +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_FaceSegment/segment": segment "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation": google_cloud_videointelligence_v1beta2_label_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -148815,6 +149118,8 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults": google_cloud_videointelligence_v1beta2_video_annotation_results "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/error": error "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -148884,8 +149189,20 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p1beta1_explicit_content_frame "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation": google_cloud_videointelligence_v1p1beta1_face_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/frames": frames +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/segments": segments +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p1beta1_face_detection_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame": google_cloud_videointelligence_v1p1beta1_face_frame +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceSegment": google_cloud_videointelligence_v1p1beta1_face_segment +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_FaceSegment/segment": segment "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation": google_cloud_videointelligence_v1p1beta1_label_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -148979,6 +149296,8 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p1beta1_video_annotation_results "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/error": error "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -149058,12 +149377,24 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p2beta1_explicit_content_frame "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation": google_cloud_videointelligence_v1p2beta1_face_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/frames": frames +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments": segments +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p2beta1_face_detection_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/version": version "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionConfig": google_cloud_videointelligence_v1p2beta1_face_detection_config "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionConfig/includeAttributes": include_attributes "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionConfig/includeBoundingBoxes": include_bounding_boxes "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionConfig/model": model +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame": google_cloud_videointelligence_v1p2beta1_face_frame +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceSegment": google_cloud_videointelligence_v1p2beta1_face_segment +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_FaceSegment/segment": segment "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation": google_cloud_videointelligence_v1p2beta1_label_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -149190,6 +149521,8 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p2beta1_video_annotation_results "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/error": error "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -149283,11 +149616,23 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p3beta1_explicit_content_frame "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": google_cloud_videointelligence_v1p3beta1_face_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/frames": frames +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/segments": segments +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p3beta1_face_detection_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/thumbnail": thumbnail "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/tracks": tracks "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/tracks/track": track "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame": google_cloud_videointelligence_v1p3beta1_face_frame +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceSegment": google_cloud_videointelligence_v1p3beta1_face_segment +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_FaceSegment/segment": segment "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation": google_cloud_videointelligence_v1p3beta1_label_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -149353,6 +149698,7 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse/error": error "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults": google_cloud_videointelligence_v1p3beta1_streaming_video_annotation_results "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/frameTimestamp": frame_timestamp "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations": label_annotations ? "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations/label_annotation" : label_annotation @@ -149400,6 +149746,8 @@ "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/celebrityRecognitionAnnotations": celebrity_recognition_annotations "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/error": error "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p2beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -149609,8 +149957,20 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame": google_cloud_videointelligence_v1_explicit_content_frame "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceAnnotation": google_cloud_videointelligence_v1_face_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/frames": frames +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/segments": segments +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation": google_cloud_videointelligence_v1_face_detection_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation/version": version +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceFrame": google_cloud_videointelligence_v1_face_frame +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceSegment": google_cloud_videointelligence_v1_face_segment +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_FaceSegment/segment": segment "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_LabelAnnotation": google_cloud_videointelligence_v1_label_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -149704,6 +150064,8 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults": google_cloud_videointelligence_v1_video_annotation_results "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/error": error "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -149770,8 +150132,20 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame": google_cloud_videointelligence_v1beta2_explicit_content_frame "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation": google_cloud_videointelligence_v1beta2_face_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/frames": frames +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments": segments +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation": google_cloud_videointelligence_v1beta2_face_detection_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/version": version +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame": google_cloud_videointelligence_v1beta2_face_frame +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceSegment": google_cloud_videointelligence_v1beta2_face_segment +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_FaceSegment/segment": segment "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation": google_cloud_videointelligence_v1beta2_label_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -149865,6 +150239,8 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults": google_cloud_videointelligence_v1beta2_video_annotation_results "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/error": error "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -149934,8 +150310,20 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p1beta1_explicit_content_frame "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation": google_cloud_videointelligence_v1p1beta1_face_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/frames": frames +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/segments": segments +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p1beta1_face_detection_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame": google_cloud_videointelligence_v1p1beta1_face_frame +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceSegment": google_cloud_videointelligence_v1p1beta1_face_segment +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_FaceSegment/segment": segment "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation": google_cloud_videointelligence_v1p1beta1_label_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -150029,6 +150417,8 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p1beta1_video_annotation_results "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/error": error "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -150098,8 +150488,20 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p2beta1_explicit_content_frame "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation": google_cloud_videointelligence_v1p2beta1_face_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/frames": frames +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments": segments +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p2beta1_face_detection_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/version": version +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame": google_cloud_videointelligence_v1p2beta1_face_frame +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceSegment": google_cloud_videointelligence_v1p2beta1_face_segment +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_FaceSegment/segment": segment "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation": google_cloud_videointelligence_v1p2beta1_label_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -150193,6 +150595,8 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults": google_cloud_videointelligence_v1p2beta1_video_annotation_results "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/error": error "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation @@ -150285,6 +150689,12 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame": google_cloud_videointelligence_v1p3beta1_explicit_content_frame "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame/timeOffset": time_offset +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": google_cloud_videointelligence_v1p3beta1_face_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/frames": frames +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/frames/frame": frame +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/segments": segments +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/segments/segment": segment +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation/thumbnail": thumbnail "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p3beta1_face_detection_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/thumbnail": thumbnail "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation/tracks": tracks @@ -150294,6 +150704,12 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionConfig/includeAttributes": include_attributes "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionConfig/includeBoundingBoxes": include_bounding_boxes "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceDetectionConfig/model": model +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame": google_cloud_videointelligence_v1p3beta1_face_frame +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/normalizedBoundingBoxes/normalized_bounding_box": normalized_bounding_box +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceFrame/timeOffset": time_offset +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceSegment": google_cloud_videointelligence_v1p3beta1_face_segment +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_FaceSegment/segment": segment "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation": google_cloud_videointelligence_v1p3beta1_label_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities": category_entities "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation/categoryEntities/category_entity": category_entity @@ -150388,6 +150804,7 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse/error": error "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults": google_cloud_videointelligence_v1p3beta1_streaming_video_annotation_results "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/frameTimestamp": frame_timestamp "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations": label_annotations ? "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults/labelAnnotations/label_annotation" : label_annotation @@ -150439,6 +150856,8 @@ "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/celebrityRecognitionAnnotations": celebrity_recognition_annotations "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/error": error "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceAnnotations": face_annotations +"/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceAnnotations/face_annotation": face_annotation "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceDetectionAnnotations": face_detection_annotations ? "/videointelligence:v1p3beta1/GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults/faceDetectionAnnotations/face_detection_annotation" : face_detection_annotation diff --git a/generated/google/apis/analyticsdata_v1alpha.rb b/generated/google/apis/analyticsdata_v1alpha.rb index 91cf4f040..2ca12dcde 100644 --- a/generated/google/apis/analyticsdata_v1alpha.rb +++ b/generated/google/apis/analyticsdata_v1alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/analytics/trusted-testing/analytics-data/ module AnalyticsdataV1alpha VERSION = 'V1alpha' - REVISION = '20200907' + REVISION = '20201006' # View and manage your Google Analytics data AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' diff --git a/generated/google/apis/analyticsdata_v1alpha/classes.rb b/generated/google/apis/analyticsdata_v1alpha/classes.rb index c2b11df80..26211f40f 100644 --- a/generated/google/apis/analyticsdata_v1alpha/classes.rb +++ b/generated/google/apis/analyticsdata_v1alpha/classes.rb @@ -677,6 +677,37 @@ module Google end end + # The dimensions and metrics currently accepted in reporting methods. + class Metadata + include Google::Apis::Core::Hashable + + # The dimensions descriptions. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # The metric descriptions. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # Resource name of this metadata. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @metrics = args[:metrics] if args.key?(:metrics) + @name = args[:name] if args.key?(:name) + end + end + # The quantitative measurements of a report. For example, the metric eventCount # is the total number of events. Requests are allowed up to 10 metrics. class Metric diff --git a/generated/google/apis/analyticsdata_v1alpha/representations.rb b/generated/google/apis/analyticsdata_v1alpha/representations.rb index 74ca76afc..be4cccc0b 100644 --- a/generated/google/apis/analyticsdata_v1alpha/representations.rb +++ b/generated/google/apis/analyticsdata_v1alpha/representations.rb @@ -160,6 +160,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Metadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Metric class Representation < Google::Apis::Core::JsonRepresentation; end @@ -512,6 +518,17 @@ module Google end end + class Metadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1alpha::DimensionMetadata, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionMetadata::Representation + + collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1alpha::MetricMetadata, decorator: Google::Apis::AnalyticsdataV1alpha::MetricMetadata::Representation + + property :name, as: 'name' + end + end + class Metric # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/analyticsdata_v1alpha/service.rb b/generated/google/apis/analyticsdata_v1alpha/service.rb index c501cd720..dc010b8d3 100644 --- a/generated/google/apis/analyticsdata_v1alpha/service.rb +++ b/generated/google/apis/analyticsdata_v1alpha/service.rb @@ -47,6 +47,45 @@ module Google @batch_path = 'batch' end + # Returns metadata for dimensions and metrics available in reporting methods. + # Used to explore the dimensions and metrics. In this method, a Google Analytics + # App + Web Property Identifier is specified in the request, and the metadata + # response includes Custom dimensions and metrics as well as Universal metadata. + # For example if a custom metric with parameter name `levels_unlocked` is + # registered to a property, the Metadata response will contain `customEvent: + # levels_unlocked`. Universal metadata are dimensions and metrics applicable to + # any property such as `country` and `totalUsers`. + # @param [String] name + # Required. The resource name of the metadata to retrieve. This name field is + # specified in the URL path and not URL parameters. Property is a numeric Google + # Analytics App + Web Property identifier. Example: properties/1234/metadata + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AnalyticsdataV1alpha::Metadata] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AnalyticsdataV1alpha::Metadata] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_property_metadata(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1alpha/{+name}', options) + command.response_representation = Google::Apis::AnalyticsdataV1alpha::Metadata::Representation + command.response_class = Google::Apis::AnalyticsdataV1alpha::Metadata + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Returns multiple pivot reports in a batch. All reports must be for the same # Entity. # @param [Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsRequest] batch_run_pivot_reports_request_object diff --git a/generated/google/apis/androidpublisher_v3.rb b/generated/google/apis/androidpublisher_v3.rb index 1d042f5bd..8622781e0 100644 --- a/generated/google/apis/androidpublisher_v3.rb +++ b/generated/google/apis/androidpublisher_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV3 VERSION = 'V3' - REVISION = '20200927' + REVISION = '20201007' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v3/service.rb b/generated/google/apis/androidpublisher_v3/service.rb index 609a223bd..a46a8884b 100644 --- a/generated/google/apis/androidpublisher_v3/service.rb +++ b/generated/google/apis/androidpublisher_v3/service.rb @@ -1863,8 +1863,6 @@ module Google # @param [String] package_name # The package name of the application for which this subscription was purchased ( # for example, 'com.some.thing'). - # @param [String] subscription_id - # The purchased subscription ID (for example, 'monthly001'). # @param [String] token # The token provided to the user's device when the subscription was purchased. # @param [String] fields @@ -1884,10 +1882,9 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options) + def cancel_purchase_subscription(package_name, token, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/tokens/{token}:cancel', options) command.params['packageName'] = package_name unless package_name.nil? - command.params['subscriptionId'] = subscription_id unless subscription_id.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? diff --git a/generated/google/apis/appsmarket_v2.rb b/generated/google/apis/appsmarket_v2.rb index 1cb4458cd..01bb89864 100644 --- a/generated/google/apis/appsmarket_v2.rb +++ b/generated/google/apis/appsmarket_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/apps-marketplace module AppsmarketV2 VERSION = 'V2' - REVISION = '20200928' + REVISION = '20201005' # View your installed application's licensing information AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license' diff --git a/generated/google/apis/cloudasset_v1p4beta1.rb b/generated/google/apis/cloudasset_v1p4beta1.rb index 652a463f3..4a1c70063 100644 --- a/generated/google/apis/cloudasset_v1p4beta1.rb +++ b/generated/google/apis/cloudasset_v1p4beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/asset-inventory/docs/quickstart module CloudassetV1p4beta1 VERSION = 'V1p4beta1' - REVISION = '20200911' + REVISION = '20201003' # 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/cloudasset_v1p4beta1/classes.rb b/generated/google/apis/cloudasset_v1p4beta1/classes.rb index 8d5ce4cdc..9397de9ea 100644 --- a/generated/google/apis/cloudasset_v1p4beta1/classes.rb +++ b/generated/google/apis/cloudasset_v1p4beta1/classes.rb @@ -254,9 +254,9 @@ module Google include Google::Apis::Core::Hashable # Required. The uri of the Cloud Storage object. It's the same uri that is used - # by gsutil. For example: "gs://bucket_name/object_name". See [Viewing and - # Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing- - # metadata) for more information. + # by gsutil. For example: "gs://bucket_name/object_name". See [Quickstart: Using + # the gsutil tool] (https://cloud.google.com/storage/docs/quickstart-gsutil) for + # examples. # Corresponds to the JSON property `uri` # @return [String] attr_accessor :uri diff --git a/generated/google/apis/cloudsearch_v1.rb b/generated/google/apis/cloudsearch_v1.rb index d67bdc330..6623a0369 100644 --- a/generated/google/apis/cloudsearch_v1.rb +++ b/generated/google/apis/cloudsearch_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-search/docs/guides/ module CloudsearchV1 VERSION = 'V1' - REVISION = '20200901' + REVISION = '20200929' # Index and serve your organization's data with Cloud Search AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search' diff --git a/generated/google/apis/cloudsearch_v1/classes.rb b/generated/google/apis/cloudsearch_v1/classes.rb index 95b095189..0c05d6b2c 100644 --- a/generated/google/apis/cloudsearch_v1/classes.rb +++ b/generated/google/apis/cloudsearch_v1/classes.rb @@ -4003,7 +4003,8 @@ module Google attr_accessor :facet_options # Maximum number of search results to return in one page. Valid values are - # between 1 and 100, inclusive. Default value is 10. + # between 1 and 100, inclusive. Default value is 10. Minimum value is 50 when + # results beyond 2000 are requested. # Corresponds to the JSON property `pageSize` # @return [Fixnum] attr_accessor :page_size diff --git a/generated/google/apis/cloudshell_v1.rb b/generated/google/apis/cloudshell_v1.rb index 48a10d434..486b19920 100644 --- a/generated/google/apis/cloudshell_v1.rb +++ b/generated/google/apis/cloudshell_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/shell/docs/ module CloudshellV1 VERSION = 'V1' - REVISION = '20200803' + REVISION = '20201003' # 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/cloudshell_v1/classes.rb b/generated/google/apis/cloudshell_v1/classes.rb index b0ae3187a..efd2ab7c9 100644 --- a/generated/google/apis/cloudshell_v1/classes.rb +++ b/generated/google/apis/cloudshell_v1/classes.rb @@ -22,6 +22,120 @@ module Google module Apis module CloudshellV1 + # Message included in the metadata field of operations returned from + # AddPublicKey. + class AddPublicKeyMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request message for AddPublicKey. + class AddPublicKeyRequest + include Google::Apis::Core::Hashable + + # Key that should be added to the environment. Supported formats are `ssh-dss` ( + # see RFC4253), `ssh-rsa` (see RFC4253), `ecdsa-sha2-nistp256` (see RFC5656), ` + # ecdsa-sha2-nistp384` (see RFC5656) and `ecdsa-sha2-nistp521` (see RFC5656). It + # should be structured as , where part is encoded with Base64. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + end + end + + # Response message for AddPublicKey. + class AddPublicKeyResponse + include Google::Apis::Core::Hashable + + # Key that was added to the environment. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + end + end + + # Message included in the metadata field of operations returned from + # AuthorizeEnvironment. + class AuthorizeEnvironmentMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request message for AuthorizeEnvironment. + class AuthorizeEnvironmentRequest + include Google::Apis::Core::Hashable + + # The OAuth access token that should be sent to the environment. + # Corresponds to the JSON property `accessToken` + # @return [String] + attr_accessor :access_token + + # The time when the credentials expire. If not set, defaults to one hour from + # when the server received the request. + # Corresponds to the JSON property `expireTime` + # @return [String] + attr_accessor :expire_time + + # The OAuth ID token that should be sent to the environment. + # Corresponds to the JSON property `idToken` + # @return [String] + attr_accessor :id_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @access_token = args[:access_token] if args.key?(:access_token) + @expire_time = args[:expire_time] if args.key?(:expire_time) + @id_token = args[:id_token] if args.key?(:id_token) + end + end + + # Response message for AuthorizeEnvironment. + class AuthorizeEnvironmentResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # The request message for Operations.CancelOperation. class CancelOperationRequest include Google::Apis::Core::Hashable @@ -35,6 +149,34 @@ module Google end end + # Message included in the metadata field of operations returned from + # CreateEnvironment. + class CreateEnvironmentMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Message included in the metadata field of operations returned from + # DeleteEnvironment. + class DeleteEnvironmentMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # A generic empty message that you can re-use to avoid defining duplicated empty # messages in your APIs. A typical example is to use it as the request or the # response type of an API method. For instance: service Foo ` rpc Bar(google. @@ -52,6 +194,89 @@ module Google end end + # A Cloud Shell environment, which is defined as the combination of a Docker + # image specifying what is installed on the environment and a home directory + # containing the user's data that will remain across sessions. Each user has at + # least an environment with the ID "default". + class Environment + include Google::Apis::Core::Hashable + + # Required. Immutable. Full path to the Docker image used to run this + # environment, e.g. "gcr.io/dev-con/cloud-devshell:latest". + # Corresponds to the JSON property `dockerImage` + # @return [String] + attr_accessor :docker_image + + # Output only. The environment's identifier, unique among the user's + # environments. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Immutable. Full name of this resource, in the format `users/`owner_email`/ + # environments/`environment_id``. ``owner_email`` is the email address of the + # user to whom this environment belongs, and ``environment_id`` is the + # identifier of this environment. For example, `users/someone@example.com/ + # environments/default`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. Public keys associated with the environment. Clients can connect + # to this environment via SSH only if they possess a private key corresponding + # to at least one of these public keys. Keys can be added to or removed from the + # environment using the AddPublicKey and RemovePublicKey methods. + # Corresponds to the JSON property `publicKeys` + # @return [Array] + attr_accessor :public_keys + + # Output only. Host to which clients can connect to initiate SSH sessions with + # the environment. + # Corresponds to the JSON property `sshHost` + # @return [String] + attr_accessor :ssh_host + + # Output only. Port to which clients can connect to initiate SSH sessions with + # the environment. + # Corresponds to the JSON property `sshPort` + # @return [Fixnum] + attr_accessor :ssh_port + + # Output only. Username that clients should use when initiating SSH sessions + # with the environment. + # Corresponds to the JSON property `sshUsername` + # @return [String] + attr_accessor :ssh_username + + # Output only. Current execution state of this environment. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output only. Host to which clients can connect to initiate HTTPS or WSS + # connections with the environment. + # Corresponds to the JSON property `webHost` + # @return [String] + attr_accessor :web_host + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @docker_image = args[:docker_image] if args.key?(:docker_image) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + @public_keys = args[:public_keys] if args.key?(:public_keys) + @ssh_host = args[:ssh_host] if args.key?(:ssh_host) + @ssh_port = args[:ssh_port] if args.key?(:ssh_port) + @ssh_username = args[:ssh_username] if args.key?(:ssh_username) + @state = args[:state] if args.key?(:state) + @web_host = args[:web_host] if args.key?(:web_host) + end + end + # The response message for Operations.ListOperations. class ListOperationsResponse include Google::Apis::Core::Hashable @@ -139,6 +364,123 @@ module Google end end + # Message included in the metadata field of operations returned from + # RemovePublicKey. + class RemovePublicKeyMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request message for RemovePublicKey. + class RemovePublicKeyRequest + include Google::Apis::Core::Hashable + + # Key that should be removed from the environment. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + end + end + + # Response message for RemovePublicKey. + class RemovePublicKeyResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Message included in the metadata field of operations returned from + # StartEnvironment. + class StartEnvironmentMetadata + include Google::Apis::Core::Hashable + + # Current state of the environment being started. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state = args[:state] if args.key?(:state) + end + end + + # Request message for StartEnvironment. + class StartEnvironmentRequest + include Google::Apis::Core::Hashable + + # The initial access token passed to the environment. If this is present and + # valid, the environment will be pre-authenticated with gcloud so that the user + # can run gcloud commands in Cloud Shell without having to log in. This code can + # be updated later by calling AuthorizeEnvironment. + # Corresponds to the JSON property `accessToken` + # @return [String] + attr_accessor :access_token + + # Public keys that should be added to the environment before it is started. + # Corresponds to the JSON property `publicKeys` + # @return [Array] + attr_accessor :public_keys + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @access_token = args[:access_token] if args.key?(:access_token) + @public_keys = args[:public_keys] if args.key?(:public_keys) + end + end + + # Message included in the response field of operations returned from + # StartEnvironment once the operation is complete. + class StartEnvironmentResponse + include Google::Apis::Core::Hashable + + # A Cloud Shell environment, which is defined as the combination of a Docker + # image specifying what is installed on the environment and a home directory + # containing the user's data that will remain across sessions. Each user has at + # least an environment with the ID "default". + # Corresponds to the JSON property `environment` + # @return [Google::Apis::CloudshellV1::Environment] + attr_accessor :environment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environment = args[:environment] if args.key?(:environment) + 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 diff --git a/generated/google/apis/cloudshell_v1/representations.rb b/generated/google/apis/cloudshell_v1/representations.rb index 2342abd1f..384970c5b 100644 --- a/generated/google/apis/cloudshell_v1/representations.rb +++ b/generated/google/apis/cloudshell_v1/representations.rb @@ -22,18 +22,72 @@ module Google module Apis module CloudshellV1 + class AddPublicKeyMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddPublicKeyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddPublicKeyResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuthorizeEnvironmentMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuthorizeEnvironmentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuthorizeEnvironmentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CancelOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CreateEnvironmentMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteEnvironmentMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Environment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -46,24 +100,128 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RemovePublicKeyMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RemovePublicKeyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RemovePublicKeyResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StartEnvironmentMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StartEnvironmentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StartEnvironmentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Status class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AddPublicKeyMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class AddPublicKeyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + end + end + + class AddPublicKeyResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + end + end + + class AuthorizeEnvironmentMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class AuthorizeEnvironmentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :access_token, as: 'accessToken' + property :expire_time, as: 'expireTime' + property :id_token, as: 'idToken' + end + end + + class AuthorizeEnvironmentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class CancelOperationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end + class CreateEnvironmentMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class DeleteEnvironmentMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation end end + class Environment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :docker_image, as: 'dockerImage' + property :id, as: 'id' + property :name, as: 'name' + collection :public_keys, as: 'publicKeys' + property :ssh_host, as: 'sshHost' + property :ssh_port, as: 'sshPort' + property :ssh_username, as: 'sshUsername' + property :state, as: 'state' + property :web_host, as: 'webHost' + end + end + class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -85,6 +243,48 @@ module Google end end + class RemovePublicKeyMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class RemovePublicKeyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + end + end + + class RemovePublicKeyResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class StartEnvironmentMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' + end + end + + class StartEnvironmentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :access_token, as: 'accessToken' + collection :public_keys, as: 'publicKeys' + end + end + + class StartEnvironmentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :environment, as: 'environment', class: Google::Apis::CloudshellV1::Environment, decorator: Google::Apis::CloudshellV1::Environment::Representation + + end + end + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudshell_v1/service.rb b/generated/google/apis/cloudshell_v1/service.rb index 59aa8b57e..3c8636a3b 100644 --- a/generated/google/apis/cloudshell_v1/service.rb +++ b/generated/google/apis/cloudshell_v1/service.rb @@ -197,6 +197,183 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Adds a public SSH key to an environment, allowing clients with the + # corresponding private key to connect to that environment via SSH. If a key + # with the same content already exists, this will error with ALREADY_EXISTS. + # @param [String] environment + # Environment this key should be added to, e.g. `users/me/environments/default`. + # @param [Google::Apis::CloudshellV1::AddPublicKeyRequest] add_public_key_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudshellV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def add_environment_public_key(environment, add_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+environment}:addPublicKey', options) + command.request_representation = Google::Apis::CloudshellV1::AddPublicKeyRequest::Representation + command.request_object = add_public_key_request_object + command.response_representation = Google::Apis::CloudshellV1::Operation::Representation + command.response_class = Google::Apis::CloudshellV1::Operation + command.params['environment'] = environment unless environment.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sends OAuth credentials to a running environment on behalf of a user. When + # this completes, the environment will be authorized to run various Google Cloud + # command line tools without requiring the user to manually authenticate. + # @param [String] name + # Name of the resource that should receive the credentials, for example `users/ + # me/environments/default` or `users/someone@example.com/environments/default`. + # @param [Google::Apis::CloudshellV1::AuthorizeEnvironmentRequest] authorize_environment_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudshellV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def authorize_environment(name, authorize_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:authorize', options) + command.request_representation = Google::Apis::CloudshellV1::AuthorizeEnvironmentRequest::Representation + command.request_object = authorize_environment_request_object + command.response_representation = Google::Apis::CloudshellV1::Operation::Representation + command.response_class = Google::Apis::CloudshellV1::Operation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an environment. Returns NOT_FOUND if the environment does not exist. + # @param [String] name + # Required. Name of the requested resource, for example `users/me/environments/ + # default` or `users/someone@example.com/environments/default`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudshellV1::Environment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudshellV1::Environment] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user_environment(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudshellV1::Environment::Representation + command.response_class = Google::Apis::CloudshellV1::Environment + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Removes a public SSH key from an environment. Clients will no longer be able + # to connect to the environment using the corresponding private key. If a key + # with the same content is not present, this will error with NOT_FOUND. + # @param [String] environment + # Environment this key should be removed from, e.g. `users/me/environments/ + # default`. + # @param [Google::Apis::CloudshellV1::RemovePublicKeyRequest] remove_public_key_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudshellV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def remove_environment_public_key(environment, remove_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+environment}:removePublicKey', options) + command.request_representation = Google::Apis::CloudshellV1::RemovePublicKeyRequest::Representation + command.request_object = remove_public_key_request_object + command.response_representation = Google::Apis::CloudshellV1::Operation::Representation + command.response_class = Google::Apis::CloudshellV1::Operation + command.params['environment'] = environment unless environment.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Starts an existing environment, allowing clients to connect to it. The + # returned operation will contain an instance of StartEnvironmentMetadata in its + # metadata field. Users can wait for the environment to start by polling this + # operation via GetOperation. Once the environment has finished starting and is + # ready to accept connections, the operation will contain a + # StartEnvironmentResponse in its response field. + # @param [String] name + # Name of the resource that should be started, for example `users/me/ + # environments/default` or `users/someone@example.com/environments/default`. + # @param [Google::Apis::CloudshellV1::StartEnvironmentRequest] start_environment_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudshellV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def start_environment(name, start_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:start', options) + command.request_representation = Google::Apis::CloudshellV1::StartEnvironmentRequest::Representation + command.request_object = start_environment_request_object + command.response_representation = Google::Apis::CloudshellV1::Operation::Representation + command.response_class = Google::Apis::CloudshellV1::Operation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/composer_v1.rb b/generated/google/apis/composer_v1.rb index 937fa1a55..a565c59b8 100644 --- a/generated/google/apis/composer_v1.rb +++ b/generated/google/apis/composer_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/composer/ module ComposerV1 VERSION = 'V1' - REVISION = '20200817' + REVISION = '20201002' # 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/composer_v1/classes.rb b/generated/google/apis/composer_v1/classes.rb index e3a70c6e2..9c280c9b3 100644 --- a/generated/google/apis/composer_v1/classes.rb +++ b/generated/google/apis/composer_v1/classes.rb @@ -662,9 +662,8 @@ module Google # Apache Airflow configuration property names must be written in [snake_case]( # https://en.wikipedia.org/wiki/Snake_case). Property values can contain any # character, and can be written in any lower/upper case format. Certain Apache - # Airflow configuration property values are [blacklisted](/composer/docs/how-to/ - # managing/setting-airflow-configurations#airflow_configuration_blacklists), and - # cannot be overridden. + # Airflow configuration property values are [blocked](/composer/docs/concepts/ + # airflow-configurations), and cannot be overridden. # Corresponds to the JSON property `airflowConfigOverrides` # @return [Hash] attr_accessor :airflow_config_overrides diff --git a/generated/google/apis/composer_v1beta1.rb b/generated/google/apis/composer_v1beta1.rb index 5af1439d2..7c433e2be 100644 --- a/generated/google/apis/composer_v1beta1.rb +++ b/generated/google/apis/composer_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/composer/ module ComposerV1beta1 VERSION = 'V1beta1' - REVISION = '20200922' + REVISION = '20201002' # 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/composer_v1beta1/classes.rb b/generated/google/apis/composer_v1beta1/classes.rb index 118ce9ad8..e88f45653 100644 --- a/generated/google/apis/composer_v1beta1/classes.rb +++ b/generated/google/apis/composer_v1beta1/classes.rb @@ -734,9 +734,8 @@ module Google # Apache Airflow configuration property names must be written in [snake_case]( # https://en.wikipedia.org/wiki/Snake_case). Property values can contain any # character, and can be written in any lower/upper case format. Certain Apache - # Airflow configuration property values are [blacklisted](/composer/docs/how-to/ - # managing/setting-airflow-configurations#airflow_configuration_blacklists), and - # cannot be overridden. + # Airflow configuration property values are [blocked](/composer/docs/concepts/ + # airflow-configurations), and cannot be overridden. # Corresponds to the JSON property `airflowConfigOverrides` # @return [Hash] attr_accessor :airflow_config_overrides diff --git a/generated/google/apis/composer_v1beta1/service.rb b/generated/google/apis/composer_v1beta1/service.rb index 599d23b59..a73c40081 100644 --- a/generated/google/apis/composer_v1beta1/service.rb +++ b/generated/google/apis/composer_v1beta1/service.rb @@ -210,49 +210,51 @@ module Google # 14, the `updateMask` would contain the path "config.softwareConfig. # pypiPackages", and the patch environment would be the following: ` "config":` " # softwareConfig":` "pypiPackages":` "botocore":"==1.7.14" ` ` ` ` *Note:* Only - # the following fields can be updated: *Mask* *Purpose* config.softwareConfig. - # pypiPackages Replace all custom custom PyPI packages. If a replacement package - # map is not included in `environment`, all custom PyPI packages are cleared. It - # is an error to provide both this mask and a mask specifying an individual - # package. config.softwareConfig.pypiPackages.packagename Update the custom PyPI + # the following fields can be updated: * config.softwareConfig.pypiPackages * + # Replace all custom custom PyPI packages. If a replacement package map is not + # included in `environment`, all custom PyPI packages are cleared. It is an + # error to provide both this mask and a mask specifying an individual package. * + # config.softwareConfig.pypiPackages.packagename * Update the custom PyPI # package packagename, preserving other packages. To delete the package, include # it in `updateMask`, and omit the mapping for it in `environment.config. # softwareConfig.pypiPackages`. It is an error to provide both a mask of this - # form and the "config.softwareConfig.pypiPackages" mask. labels Replace all + # form and the "config.softwareConfig.pypiPackages" mask. * labels * Replace all # environment labels. If a replacement labels map is not included in ` # environment`, all labels are cleared. It is an error to provide both this mask - # and a mask specifying one or more individual labels. labels.labelName Set the - # label named labelName, while preserving other labels. To delete the label, + # and a mask specifying one or more individual labels. * labels.labelName * Set + # the label named labelName, while preserving other labels. To delete the label, # include it in `updateMask` and omit its mapping in `environment.labels`. It is - # an error to provide both a mask of this form and the "labels" mask. config. - # nodeCount Horizontally scale the number of nodes in the environment. An + # an error to provide both a mask of this form and the "labels" mask. * config. + # nodeCount * Horizontally scale the number of nodes in the environment. An # integer greater than or equal to 3 must be provided in the `config.nodeCount` - # field. config.webServerNetworkAccessControl Replace the environment's current - # WebServerNetworkAccessControl. config.softwareConfig.airflowConfigOverrides - # Replace all Apache Airflow config overrides. If a replacement config overrides - # map is not included in `environment`, all config overrides are cleared. It is + # field. * config.webServerNetworkAccessControl * Replace the environment's + # current WebServerNetworkAccessControl. * config.softwareConfig. + # airflowConfigOverrides * Replace all Apache Airflow config overrides. If a + # replacement config overrides map is not included in `environment`, all config + # overrides are cleared. It is an error to provide both this mask and a mask + # specifying one or more individual config overrides. * config.softwareConfig. + # airflowConfigOverrides.section- name * Override the Apache Airflow config + # property name in the section named section, preserving other properties. To + # delete the property override, include it in `updateMask` and omit its mapping + # in `environment.config.softwareConfig.airflowConfigOverrides`. It is an error + # to provide both a mask of this form and the "config.softwareConfig. + # airflowConfigOverrides" mask. * config.softwareConfig.envVariables * Replace + # all environment variables. If a replacement environment variable map is not + # included in `environment`, all custom environment variables are cleared. It is # an error to provide both this mask and a mask specifying one or more - # individual config overrides. config.softwareConfig.airflowConfigOverrides. - # section-name Override the Apache Airflow config property name in the section - # named section, preserving other properties. To delete the property override, - # include it in `updateMask` and omit its mapping in `environment.config. - # softwareConfig.airflowConfigOverrides`. It is an error to provide both a mask - # of this form and the "config.softwareConfig.airflowConfigOverrides" mask. - # config.softwareConfig.envVariables Replace all environment variables. If a - # replacement environment variable map is not included in `environment`, all - # custom environment variables are cleared. It is an error to provide both this - # mask and a mask specifying one or more individual environment variables. - # config.softwareConfig.imageVersion Upgrade the version of the environment in- - # place. Refer to `SoftwareConfig.image_version` for information on how to - # format the new image version. Additionally, the new image version cannot - # effect a version downgrade and must match the current image version's Composer - # major version and Airflow major and minor versions. Consult the Cloud Composer - # Version List for valid values. config.databaseConfig.machineType Cloud SQL - # machine type used by Airflow database. It has to be one of: db-n1-standard-2, - # db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. config. - # webServerConfig.machineType Machine type on which Airflow web server is - # running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 - # or composer-n1-webserver-8. + # individual environment variables. * config.softwareConfig.imageVersion * + # Upgrade the version of the environment in-place. Refer to `SoftwareConfig. + # image_version` for information on how to format the new image version. + # Additionally, the new image version cannot effect a version downgrade and must + # match the current image version's Composer major version and Airflow major and + # minor versions. Consult the Cloud Composer Version List for valid values. * + # config.databaseConfig.machineType * Cloud SQL machine type used by Airflow + # database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1- + # standard-8 or db-n1-standard-16. * config.webServerConfig.machineType * + # Machine type on which Airflow web server is running. It has to be one of: + # composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. * + # config.maintenanceWindow * Maintenance window during which Cloud Composer + # components may be under maintenance. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index 080b0faeb..61399d3c6 100644 --- a/generated/google/apis/container_v1beta1.rb +++ b/generated/google/apis/container_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1beta1 VERSION = 'V1beta1' - REVISION = '20200901' + REVISION = '20200928' # 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/content_v2.rb b/generated/google/apis/content_v2.rb index 152e5b91a..a61d32523 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -20,12 +20,13 @@ module Google module Apis # Content API for Shopping # - # Manage your product listings and accounts for Google Shopping + # Manages product items, inventory, and Merchant Center accounts for Google + # Shopping. # - # @see https://developers.google.com/shopping-content/v2/ + # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20200930' + REVISION = '20201007' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index f4f78d540..dd420130d 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -37,8 +37,8 @@ module Google # List of linked AdWords accounts that are active or pending approval. To create # a new link request, add a new link with status `active` to the list. It will # remain in a `pending` state until approved or rejected either in the AdWords - # interface or through the AdWords API. To delete an active link, or to cancel a - # link request, remove it from the list. + # interface or through the AdWords API. To delete an active link, or to cancel + # a link request, remove it from the list. # Corresponds to the JSON property `adwordsLinks` # @return [Array] attr_accessor :adwords_links @@ -179,13 +179,15 @@ module Google # Status of the link between this Merchant Center account and the AdWords # account. Upon retrieval, it represents the actual status of the link and can # be either `active` if it was approved in Google AdWords or `pending` if it's - # pending approval. Upon insertion, it represents the *intended* status of the + # pending approval. Upon insertion, it represents the intended status of the # link. Re-uploading a link with status `active` when it's still pending or with # status `pending` when it's already active will have no effect: the status will # remain unchanged. Re-uploading a link with deprecated status `inactive` is # equivalent to not submitting the link at all and will delete the link if it - # was active or cancel the link request if it was pending. Acceptable values are: - # - "`active`" - "`pending`" + # was active or cancel the link request if it was pending. + # Acceptable values are: + # - "`active`" + # - "`pending`" # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -275,7 +277,9 @@ module Google attr_accessor :gmb_email # Status of the link between this Merchant Center account and the GMB account. - # Acceptable values are: - "`active`" - "`pending`" + # Acceptable values are: + # - "`active`" + # - "`pending`" # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -400,8 +404,11 @@ module Google # @return [String] attr_accessor :id - # Severity of the issue. Acceptable values are: - "`critical`" - "`error`" - "` - # suggestion`" + # Severity of the issue. + # Acceptable values are: + # - "`critical`" + # - "`error`" + # - "`suggestion`" # Corresponds to the JSON property `severity` # @return [String] attr_accessor :severity @@ -476,7 +483,10 @@ module Google # @return [Fixnum] attr_accessor :num_items - # Acceptable values are: - "`critical`" - "`error`" - "`suggestion`" + # Acceptable values are: + # - "`critical`" + # - "`error`" + # - "`suggestion`" # Corresponds to the JSON property `severity` # @return [String] attr_accessor :severity @@ -614,8 +624,10 @@ module Google class AccountStatusProducts include Google::Apis::Core::Hashable - # The channel the data applies to. Acceptable values are: - "`local`" - "`online` - # " + # The channel the data applies to. + # Acceptable values are: + # - "`local`" + # - "`online`" # Corresponds to the JSON property `channel` # @return [String] attr_accessor :channel @@ -830,7 +842,7 @@ module Google # Status of the link between this Merchant Center account and the YouTube # channel. Upon retrieval, it represents the actual status of the link and can # be either `active` if it was approved in YT Creator Studio or `pending` if it' - # s pending approval. Upon insertion, it represents the *intended* status of the + # s pending approval. Upon insertion, it represents the intended status of the # link. Re-uploading a link with status `active` when it's still pending or with # status `pending` when it's already active will have no effect: the status will # remain unchanged. Re-uploading a link with deprecated status `inactive` is @@ -855,10 +867,11 @@ module Google class AccountsAuthInfoResponse include Google::Apis::Core::Hashable - # The account identifiers corresponding to the authenticated user. - For an - # individual account: only the merchant ID is defined - For an aggregator: only - # the aggregator ID is defined - For a subaccount of an MCA: both the merchant - # ID and the aggregator ID are defined. + # The account identifiers corresponding to the authenticated user. + # - For an individual account: only the merchant ID is defined + # - For an aggregator: only the aggregator ID is defined + # - For a subaccount of an MCA: both the merchant ID and the aggregator ID are + # defined. # Corresponds to the JSON property `accountIdentifiers` # @return [Array] attr_accessor :account_identifiers @@ -962,8 +975,14 @@ module Google # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. Acceptable values are: - "`claimWebsite`" - "` - # delete`" - "`get`" - "`insert`" - "`link`" - "`update`" + # The method of the batch entry. + # Acceptable values are: + # - "`claimWebsite`" + # - "`delete`" + # - "`get`" + # - "`insert`" + # - "`link`" + # - "`update`" # Corresponds to the JSON property `method` # @return [String] attr_accessor :request_method @@ -998,14 +1017,19 @@ module Google include Google::Apis::Core::Hashable # Action to perform for this link. The `"request"` action is only available to - # select merchants. Acceptable values are: - "`approve`" - "`remove`" - "` - # request`" + # select merchants. + # Acceptable values are: + # - "`approve`" + # - "`remove`" + # - "`request`" # Corresponds to the JSON property `action` # @return [String] attr_accessor :action - # Type of the link between the two accounts. Acceptable values are: - "` - # channelPartner`" - "`eCommercePlatform`" + # Type of the link between the two accounts. + # Acceptable values are: + # - "`channelPartner`" + # - "`eCommercePlatform`" # Corresponds to the JSON property `linkType` # @return [String] attr_accessor :link_type @@ -1080,8 +1104,11 @@ module Google # @return [String] attr_accessor :kind - # Deprecated. This field is never set. Acceptable values are: - "`active`" - "` - # inactive`" - "`pending`" + # Deprecated. This field is never set. + # Acceptable values are: + # - "`active`" + # - "`inactive`" + # - "`pending`" # Corresponds to the JSON property `linkStatus` # @return [String] attr_accessor :link_status @@ -1105,14 +1132,19 @@ module Google include Google::Apis::Core::Hashable # Action to perform for this link. The `"request"` action is only available to - # select merchants. Acceptable values are: - "`approve`" - "`remove`" - "` - # request`" + # select merchants. + # Acceptable values are: + # - "`approve`" + # - "`remove`" + # - "`request`" # Corresponds to the JSON property `action` # @return [String] attr_accessor :action - # Type of the link between the two accounts. Acceptable values are: - "` - # channelPartner`" - "`eCommercePlatform`" + # Type of the link between the two accounts. + # Acceptable values are: + # - "`channelPartner`" + # - "`eCommercePlatform`" # Corresponds to the JSON property `linkType` # @return [String] attr_accessor :link_type @@ -1230,7 +1262,9 @@ module Google # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. Acceptable values are: - "`get`" + # The method of the batch entry. + # Acceptable values are: + # - "`get`" # Corresponds to the JSON property `method` # @return [String] attr_accessor :request_method @@ -1382,7 +1416,10 @@ module Google # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. Acceptable values are: - "`get`" - "`update`" + # The method of the batch entry. + # Acceptable values are: + # - "`get`" + # - "`update`" # Corresponds to the JSON property `method` # @return [String] attr_accessor :request_method @@ -1639,9 +1676,17 @@ module Google # @return [String] attr_accessor :name - # The type of the attribute. Acceptable values are: - "`boolean`" - "` - # datetimerange`" - "`float`" - "`group`" - "`int`" - "`price`" - "`text`" - "` - # time`" - "`url`" + # The type of the attribute. + # Acceptable values are: + # - "`boolean`" + # - "`datetimerange`" + # - "`float`" + # - "`group`" + # - "`int`" + # - "`price`" + # - "`text`" + # - "`time`" + # - "`url`" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -1704,11 +1749,22 @@ module Google # @return [String] attr_accessor :description - # Code of the return reason. Acceptable values are: - "`betterPriceFound`" - "` - # changedMind`" - "`damagedOrDefectiveItem`" - "`didNotMatchDescription`" - "` - # doesNotFit`" - "`expiredItem`" - "`incorrectItemReceived`" - "`noLongerNeeded`" - # - "`notSpecified`" - "`orderedWrongItem`" - "`other`" - "`qualityNotExpected`" - # - "`receivedTooLate`" - "`undeliverable`" + # Code of the return reason. + # Acceptable values are: + # - "`betterPriceFound`" + # - "`changedMind`" + # - "`damagedOrDefectiveItem`" + # - "`didNotMatchDescription`" + # - "`doesNotFit`" + # - "`expiredItem`" + # - "`incorrectItemReceived`" + # - "`noLongerNeeded`" + # - "`notSpecified`" + # - "`orderedWrongItem`" + # - "`other`" + # - "`qualityNotExpected`" + # - "`receivedTooLate`" + # - "`undeliverable`" # Corresponds to the JSON property `reasonCode` # @return [String] attr_accessor :reason_code @@ -1776,8 +1832,11 @@ module Google attr_accessor :content_language # Required. The type of data feed. For product inventory feeds, only feeds for - # local stores, not online stores, are supported. Acceptable values are: - "` - # local products`" - "`product inventory`" - "`products`" + # local stores, not online stores, are supported. + # Acceptable values are: + # - "`local products`" + # - "`product inventory`" + # - "`products`" # Corresponds to the JSON property `contentType` # @return [String] attr_accessor :content_type @@ -1805,7 +1864,7 @@ module Google # @return [Fixnum] attr_accessor :id - # [DEPRECATED] Please use targets[].includedDestinations instead. The list of + # [DEPRECATED] Please use targets[].includedDestinations instead. The list of # intended destinations (corresponds to checked check boxes in Merchant Center). # Corresponds to the JSON property `intendedDestinations` # @return [Array] @@ -1906,9 +1965,15 @@ module Google # @return [String] attr_accessor :username - # The day of the week the feed file should be fetched. Acceptable values are: - " - # `monday`" - "`tuesday`" - "`wednesday`" - "`thursday`" - "`friday`" - "` - # saturday`" - "`sunday`" + # The day of the week the feed file should be fetched. + # Acceptable values are: + # - "`monday`" + # - "`tuesday`" + # - "`wednesday`" + # - "`thursday`" + # - "`friday`" + # - "`saturday`" + # - "`sunday`" # Corresponds to the JSON property `weekday` # @return [String] attr_accessor :weekday @@ -1937,21 +2002,32 @@ module Google # Delimiter for the separation of values in a delimiter-separated values feed. # If not specified, the delimiter will be auto-detected. Ignored for non-DSV - # data feeds. Acceptable values are: - "`pipe`" - "`tab`" - "`tilde`" + # data feeds. + # Acceptable values are: + # - "`pipe`" + # - "`tab`" + # - "`tilde`" # Corresponds to the JSON property `columnDelimiter` # @return [String] attr_accessor :column_delimiter # Character encoding scheme of the data feed. If not specified, the encoding - # will be auto-detected. Acceptable values are: - "`latin-1`" - "`utf-16be`" - "` - # utf-16le`" - "`utf-8`" - "`windows-1252`" + # will be auto-detected. + # Acceptable values are: + # - "`latin-1`" + # - "`utf-16be`" + # - "`utf-16le`" + # - "`utf-8`" + # - "`windows-1252`" # Corresponds to the JSON property `fileEncoding` # @return [String] attr_accessor :file_encoding # Specifies how double quotes are interpreted. If not specified, the mode will - # be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - "` - # normal character`" - "`value quoting`" + # be auto-detected. Ignored for non-DSV data feeds. + # Acceptable values are: + # - "`normal character`" + # - "`value quoting`" # Corresponds to the JSON property `quotingMode` # @return [String] attr_accessor :quoting_mode @@ -1973,7 +2049,7 @@ module Google class DatafeedStatus include Google::Apis::Core::Hashable - # The country for which the status is reported, represented as a CLDR territory + # The country for which the status is reported, represented as a CLDR territory # code. # Corresponds to the JSON property `country` # @return [String] @@ -2015,10 +2091,12 @@ module Google # @return [String] attr_accessor :last_upload_date - # The processing status of the feed. Acceptable values are: - "`"`failure`": The - # feed could not be processed or all items had errors.`" - "`in progress`": The - # feed is being processed. - "`none`": The feed has not yet been processed. For - # example, a feed that has never been uploaded will have this processing status. + # The processing status of the feed. + # Acceptable values are: + # - "`"`failure`": The feed could not be processed or all items had errors.`" + # - "`in progress`": The feed is being processed. + # - "`none`": The feed has not yet been processed. For example, a feed that has + # never been uploaded will have this processing status. # - "`success`": The feed was processed successfully, though some items might # have had errors. # Corresponds to the JSON property `processingStatus` @@ -2122,7 +2200,7 @@ module Google include Google::Apis::Core::Hashable # The country where the items in the feed will be included in the search index, - # represented as a CLDR territory code. + # represented as a CLDR territory code. # Corresponds to the JSON property `country` # @return [String] attr_accessor :country @@ -2135,9 +2213,12 @@ module Google # The list of destinations to include for this target (corresponds to checked # check boxes in Merchant Center). Default destinations are always included - # unless provided in `excludedDestinations`. List of supported destinations (if - # available to the account): - DisplayAds - Shopping - ShoppingActions - - # SurfacesAcrossGoogle + # unless provided in `excludedDestinations`. + # List of supported destinations (if available to the account): + # - DisplayAds + # - Shopping + # - ShoppingActions + # - SurfacesAcrossGoogle # Corresponds to the JSON property `includedDestinations` # @return [Array] attr_accessor :included_destinations @@ -2204,8 +2285,13 @@ module Google # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. Acceptable values are: - "`delete`" - "` - # fetchNow`" - "`get`" - "`insert`" - "`update`" + # The method of the batch entry. + # Acceptable values are: + # - "`delete`" + # - "`fetchNow`" + # - "`get`" + # - "`insert`" + # - "`update`" # Corresponds to the JSON property `method` # @return [String] attr_accessor :request_method @@ -2385,7 +2471,9 @@ module Google # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. Acceptable values are: - "`get`" + # The method of the batch entry. + # Acceptable values are: + # - "`get`" # Corresponds to the JSON property `method` # @return [String] attr_accessor :request_method @@ -2712,8 +2800,8 @@ module Google # A list of inclusive number of items upper bounds. The last value can be `" # infinity"`. For example `["10", "50", "infinity"]` represents the headers "<= - # 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set - # if all other fields are not set. + # 10 items", " 50 items". Must be non-empty. Can only be set if all other fields + # are not set. # Corresponds to the JSON property `numberOfItems` # @return [Array] attr_accessor :number_of_items @@ -2729,9 +2817,8 @@ module Google # A list of inclusive order price upper bounds. The last price's value can be `" # infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500", # "currency": "USD"`, `"value": "infinity", "currency": "USD"`]` represents the - # headers "<= $10", "<= $500", and "> $500". All prices within a service must - # have the same currency. Must be non-empty. Can only be set if all other fields - # are not set. + # headers "<= $10", " $500". All prices within a service must have the same + # currency. Must be non-empty. Can only be set if all other fields are not set. # Corresponds to the JSON property `prices` # @return [Array] attr_accessor :prices @@ -2739,8 +2826,8 @@ module Google # A list of inclusive order weight upper bounds. The last weight's value can be ` # "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", " # unit": "kg"`, `"value": "infinity", "unit": "kg"`]` represents the headers "<= - # 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the - # same unit. Must be non-empty. Can only be set if all other fields are not set. + # 10kg", " 50kg". All weights within a service must have the same unit. Must be + # non-empty. Can only be set if all other fields are not set. # Corresponds to the JSON property `weights` # @return [Array] attr_accessor :weights @@ -2777,7 +2864,7 @@ module Google attr_accessor :deadline_hour # Timezone identifier for the deadline hour. A list of identifiers can be found - # in the AdWords API documentation. E.g. "Europe/Zurich". Required. + # in the AdWords API documentation. E.g. "Europe/Zurich". Required. # Corresponds to the JSON property `deadlineTimezone` # @return [String] attr_accessor :deadline_timezone @@ -2843,9 +2930,16 @@ module Google # @return [String] attr_accessor :id - # The holiday type. Always present. Acceptable values are: - "`Christmas`" - "` - # Easter`" - "`Father's Day`" - "`Halloween`" - "`Independence Day (USA)`" - "` - # Mother's Day`" - "`Thanksgiving`" - "`Valentine's Day`" + # The holiday type. Always present. + # Acceptable values are: + # - "`Christmas`" + # - "`Easter`" + # - "`Father's Day`" + # - "`Halloween`" + # - "`Independence Day (USA)`" + # - "`Mother's Day`" + # - "`Thanksgiving`" + # - "`Valentine's Day`" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -2890,12 +2984,15 @@ module Google end end - # + # (== resource_for v2.inventory ==) class Inventory include Google::Apis::Core::Hashable - # The availability of the product. Acceptable values are: - "`in stock`" - "`out - # of stock`" - "`preorder`" + # The availability of the product. + # Acceptable values are: + # - "`in stock`" + # - "`out of stock`" + # - "`preorder`" # Corresponds to the JSON property `availability` # @return [String] attr_accessor :availability @@ -3041,7 +3138,7 @@ module Google # @return [Fixnum] attr_accessor :batch_id - # Price and availability of the product. + # (== resource_for v2.inventory ==) # Corresponds to the JSON property `inventory` # @return [Google::Apis::ContentV2::Inventory] attr_accessor :inventory @@ -3141,17 +3238,30 @@ module Google # Whether store pickup is available for this offer and whether the pickup option # should be shown as buy, reserve, or not supported. Only supported for local # inventory. Unless the value is "not supported", must be submitted together - # with `pickupSla`. Acceptable values are: - "`buy`" - "`not supported`" - "` - # reserve`" - "`ship to store`" + # with `pickupSla`. + # Acceptable values are: + # - "`buy`" + # - "`not supported`" + # - "`reserve`" + # - "`ship to store`" # Corresponds to the JSON property `pickupMethod` # @return [String] attr_accessor :pickup_method # The expected date that an order will be ready for pickup, relative to when the # order is placed. Only supported for local inventory. Must be submitted - # together with `pickupMethod`. Acceptable values are: - "`five day`" - "`four - # day`" - "`multi day`" - "`multi week`" - "`next day`" - "`same day`" - "`seven - # day`" - "`six day`" - "`three day`" - "`two day`" + # together with `pickupMethod`. + # Acceptable values are: + # - "`five day`" + # - "`four day`" + # - "`multi day`" + # - "`multi week`" + # - "`next day`" + # - "`same day`" + # - "`seven day`" + # - "`six day`" + # - "`three day`" + # - "`two day`" # Corresponds to the JSON property `pickupSla` # @return [String] attr_accessor :pickup_sla @@ -3171,8 +3281,11 @@ module Google class SetInventoryRequest include Google::Apis::Core::Hashable - # The availability of the product. Acceptable values are: - "`in stock`" - "`out - # of stock`" - "`preorder`" + # The availability of the product. + # Acceptable values are: + # - "`in stock`" + # - "`out of stock`" + # - "`preorder`" # Corresponds to the JSON property `availability` # @return [String] attr_accessor :availability @@ -3361,8 +3474,9 @@ module Google # @return [Google::Apis::ContentV2::Amount] attr_accessor :total_amount - # [required] Type of the additional charge. Acceptable values are: - "`shipping`" - # + # [required] Type of the additional charge. + # Acceptable values are: + # - "`shipping`" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -3382,8 +3496,11 @@ module Google class LiaAboutPageSettings include Google::Apis::Core::Hashable - # The status of the verification process for the About page. Acceptable values - # are: - "`active`" - "`inactive`" - "`pending`" + # The status of the verification process for the About page. + # Acceptable values are: + # - "`active`" + # - "`inactive`" + # - "`pending`" # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -3475,14 +3592,20 @@ module Google # @return [String] attr_accessor :inventory_verification_contact_name - # The status of the verification contact. Acceptable values are: - "`active`" - " - # `inactive`" - "`pending`" + # The status of the verification contact. + # Acceptable values are: + # - "`active`" + # - "`inactive`" + # - "`pending`" # Corresponds to the JSON property `inventoryVerificationContactStatus` # @return [String] attr_accessor :inventory_verification_contact_status - # The status of the inventory verification process. Acceptable values are: - "` - # active`" - "`inactive`" - "`pending`" + # The status of the inventory verification process. + # Acceptable values are: + # - "`active`" + # - "`inactive`" + # - "`pending`" # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -3509,8 +3632,11 @@ module Google # @return [String] attr_accessor :shipping_cost_policy_url - # The status of the ?On display to order? feature. Acceptable values are: - "` - # active`" - "`inactive`" - "`pending`" + # The status of the ?On display to order? feature. + # Acceptable values are: + # - "`active`" + # - "`inactive`" + # - "`pending`" # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -3651,10 +3777,14 @@ module Google # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. Acceptable values are: - "`get`" - "` - # getAccessibleGmbAccounts`" - "`requestGmbAccess`" - "` - # requestInventoryVerification`" - "`setInventoryVerificationContact`" - "` - # update`" + # The method of the batch entry. + # Acceptable values are: + # - "`get`" + # - "`getAccessibleGmbAccounts`" + # - "`requestGmbAccess`" + # - "`requestInventoryVerification`" + # - "`setInventoryVerificationContact`" + # - "`update`" # Corresponds to the JSON property `method` # @return [String] attr_accessor :method_prop @@ -4069,8 +4199,13 @@ module Google # @return [Array] attr_accessor :return_shipment_ids - # State of the item. Acceptable values are: - "`canceled`" - "`new`" - "` - # received`" - "`refunded`" - "`rejected`" + # State of the item. + # Acceptable values are: + # - "`canceled`" + # - "`new`" + # - "`received`" + # - "`refunded`" + # - "`rejected`" # Corresponds to the JSON property `state` # @return [String] attr_accessor :state @@ -4138,7 +4273,8 @@ module Google end # Order. Production access (all methods) requires the order manager role. - # Sandbox access does not. + # Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1. + # orders ==) class Order include Google::Apis::Core::Hashable @@ -4148,7 +4284,10 @@ module Google attr_accessor :acknowledged alias_method :acknowledged?, :acknowledged - # Deprecated. Acceptable values are: - "`googleExpress`" - "`purchasesOnGoogle`" + # Deprecated. + # Acceptable values are: + # - "`googleExpress`" + # - "`purchasesOnGoogle`" # Corresponds to the JSON property `channelType` # @return [String] attr_accessor :channel_type @@ -4201,8 +4340,12 @@ module Google # @return [Google::Apis::ContentV2::OrderPaymentMethod] attr_accessor :payment_method - # The status of the payment. Acceptable values are: - "`paymentCaptured`" - "` - # paymentRejected`" - "`paymentSecured`" - "`pendingAuthorization`" + # The status of the payment. + # Acceptable values are: + # - "`paymentCaptured`" + # - "`paymentRejected`" + # - "`paymentSecured`" + # - "`pendingAuthorization`" # Corresponds to the JSON property `paymentStatus` # @return [String] attr_accessor :payment_status @@ -4217,22 +4360,24 @@ module Google # @return [String] attr_accessor :placed_date - # The details of the merchant provided promotions applied to the order. To - # determine which promotions apply to which products, check the `Promotions[]. + # The details of the merchant provided promotions applied to the order. + # To determine which promotions apply to which products, check the `Promotions[]. # Benefits[].OfferIds` field against the `LineItems[].Product.OfferId` field for # each promotion. If a promotion is applied to more than 1 `offerId`, divide the # discount value by the number of affected offers to determine how much discount - # to apply to each `offerId`. Examples: 1. To calculate the line item level - # discount for a single specific item: For each promotion, subtract the ` - # Promotions[].Benefits[].Discount.value` amount from the `LineItems[].Price. - # value`. 2. To calculate the line item level discount for multiple quantity of - # a specific item: For each promotion, divide the `Promotions[].Benefits[]. + # to apply to each `offerId`. + # Examples: + # - To calculate the line item level discount for a single specific item: For + # each promotion, subtract the `Promotions[].Benefits[].Discount.value` amount + # from the `LineItems[].Price.value`. + # - To calculate the line item level discount for multiple quantity of a + # specific item: For each promotion, divide the `Promotions[].Benefits[]. # Discount.value` by the quantity of products and substract it from `LineItems[]. - # Product.Price.value` for each quantity item. Only 1 promotion can be applied - # to an offerId in a given order. To refund an item which had a promotion - # applied to it, make sure to refund the amount after first subtracting the - # promotion discount from the item price. More details about the program are - # here. + # Product.Price.value` for each quantity item. + # Only 1 promotion can be applied to an offerId in a given order. To refund an + # item which had a promotion applied to it, make sure to refund the amount after + # first subtracting the promotion discount from the item price. + # More details about the program are here. # Corresponds to the JSON property `promotions` # @return [Array] attr_accessor :promotions @@ -4257,22 +4402,37 @@ module Google # @return [Google::Apis::ContentV2::Price] attr_accessor :shipping_cost_tax - # Deprecated. Shipping details are provided with line items instead. Acceptable - # values are: - "`economy`" - "`expedited`" - "`oneDay`" - "`sameDay`" - "` - # standard`" - "`twoDay`" + # Deprecated. Shipping details are provided with line items instead. + # Acceptable values are: + # - "`economy`" + # - "`expedited`" + # - "`oneDay`" + # - "`sameDay`" + # - "`standard`" + # - "`twoDay`" # Corresponds to the JSON property `shippingOption` # @return [String] attr_accessor :shipping_option - # The status of the order. Acceptable values are: - "`canceled`" - "`delivered`" - # - "`inProgress`" - "`partiallyDelivered`" - "`partiallyReturned`" - "` - # partiallyShipped`" - "`pendingShipment`" - "`returned`" - "`shipped`" + # The status of the order. + # Acceptable values are: + # - "`canceled`" + # - "`delivered`" + # - "`inProgress`" + # - "`partiallyDelivered`" + # - "`partiallyReturned`" + # - "`partiallyShipped`" + # - "`pendingShipment`" + # - "`returned`" + # - "`shipped`" # Corresponds to the JSON property `status` # @return [String] attr_accessor :status - # The party responsible for collecting and remitting taxes. Acceptable values - # are: - "`marketplaceFacilitator`" - "`merchant`" + # The party responsible for collecting and remitting taxes. + # Acceptable values are: + # - "`marketplaceFacilitator`" + # - "`merchant`" # Corresponds to the JSON property `taxCollector` # @return [String] attr_accessor :tax_collector @@ -4318,8 +4478,11 @@ module Google attr_accessor :country # Strings representing the lines of the printed label for mailing the order, for - # example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United - # States + # example: + # John Smith + # 1600 Amphitheatre Parkway + # Mountain View, CA, 94043 + # United States # Corresponds to the JSON property `fullAddress` # @return [Array] attr_accessor :full_address @@ -4378,9 +4541,14 @@ module Google class OrderCancellation include Google::Apis::Core::Hashable - # The actor that created the cancellation. Acceptable values are: - "`customer`" - # - "`googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "` - # googleSabre`" - "`merchant`" + # The actor that created the cancellation. + # Acceptable values are: + # - "`customer`" + # - "`googleBot`" + # - "`googleCustomerService`" + # - "`googlePayments`" + # - "`googleSabre`" + # - "`merchant`" # Corresponds to the JSON property `actor` # @return [String] attr_accessor :actor @@ -4398,18 +4566,35 @@ module Google # The reason for the cancellation. Orders that are canceled with a noInventory # reason will lead to the removal of the product from Shopping Actions until you # make an update to that product. This will not affect your Shopping ads. - # Acceptable values are: - "`autoPostInternal`" - "` - # autoPostInvalidBillingAddress`" - "`autoPostNoInventory`" - "` - # autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "` - # couponAbuse`" - "`customerCanceled`" - "`customerInitiatedCancel`" - "` - # customerSupportRequested`" - "`failToPushOrderGoogleError`" - "` - # failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" - - # "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "` - # invalidCoupon`" - "`malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - - # "`noInventory`" - "`orderTimeout`" - "`other`" - "`paymentAbuse`" - "` - # paymentDeclined`" - "`priceError`" - "`returnRefundAbuse`" - "` - # shippingPriceError`" - "`taxError`" - "`undeliverableShippingAddress`" - "` - # unsupportedPoBoxAddress`" + # Acceptable values are: + # - "`autoPostInternal`" + # - "`autoPostInvalidBillingAddress`" + # - "`autoPostNoInventory`" + # - "`autoPostPriceError`" + # - "`autoPostUndeliverableShippingAddress`" + # - "`couponAbuse`" + # - "`customerCanceled`" + # - "`customerInitiatedCancel`" + # - "`customerSupportRequested`" + # - "`failToPushOrderGoogleError`" + # - "`failToPushOrderMerchantError`" + # - "`failToPushOrderMerchantFulfillmentError`" + # - "`failToPushOrderToMerchant`" + # - "`failToPushOrderToMerchantOutOfStock`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`merchantDidNotShipOnTime`" + # - "`noInventory`" + # - "`orderTimeout`" + # - "`other`" + # - "`paymentAbuse`" + # - "`paymentDeclined`" + # - "`priceError`" + # - "`returnRefundAbuse`" + # - "`shippingPriceError`" + # - "`taxError`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -4455,7 +4640,7 @@ module Google # Email address for the merchant to send value-added tax or invoice # documentation of the order. Only the last document sent is made available to - # the customer. For more information, see About automated VAT invoicing for + # the customer. For more information, see About automated VAT invoicing for # Shopping Actions. # Corresponds to the JSON property `invoiceReceivingEmail` # @return [String] @@ -4491,8 +4676,10 @@ module Google # cases this selection might not be known, so this field would be empty. If a # customer selected `granted` in their most recent order, they can be subscribed # to marketing emails. Customers who have chosen `denied` must not be subscribed, - # or must be unsubscribed if already opted-in. Acceptable values are: - "` - # denied`" - "`granted`" + # or must be unsubscribed if already opted-in. + # Acceptable values are: + # - "`denied`" + # - "`granted`" # Corresponds to the JSON property `explicitMarketingPreference` # @return [String] attr_accessor :explicit_marketing_preference @@ -4558,11 +4745,11 @@ module Google # The date and time frame when the promotion is active and ready for validation # review. Note that the promotion live time may be delayed for a few hours due - # to the validation review. Start date and end date are separated by a forward - # slash (/). The start date is specified by the format (YYYY-MM-DD), followed by - # the letter ?T?, the time of the day when the sale starts (in Greenwich Mean - # Time, GMT), followed by an expression of the time zone for the sale. The end - # date is in the same format. + # to the validation review. + # Start date and end date are separated by a forward slash (/). The start date + # is specified by the format (YYYY-MM-DD), followed by the letter ?T?, the time + # of the day when the sale starts (in Greenwich Mean Time, GMT), followed by an + # expression of the time zone for the sale. The end date is in the same format. # Corresponds to the JSON property `effectiveDates` # @return [String] attr_accessor :effective_dates @@ -4584,13 +4771,16 @@ module Google attr_accessor :long_title # Whether the promotion is applicable to all products or only specific products. - # Acceptable values are: - "`allProducts`" - "`specificProducts`" + # Acceptable values are: + # - "`allProducts`" + # - "`specificProducts`" # Corresponds to the JSON property `productApplicability` # @return [String] attr_accessor :product_applicability - # Indicates that the promotion is valid online. Acceptable values are: - "` - # online`" + # Indicates that the promotion is valid online. + # Acceptable values are: + # - "`online`" # Corresponds to the JSON property `redemptionChannel` # @return [String] attr_accessor :redemption_channel @@ -4627,12 +4817,22 @@ module Google attr_accessor :offer_ids # Further describes the benefit of the promotion. Note that we will expand on - # this enumeration as we support new promotion sub-types. Acceptable values are: - # - "`buyMGetMoneyOff`" - "`buyMGetNMoneyOff`" - "`buyMGetNPercentOff`" - "` - # buyMGetPercentOff`" - "`freeGift`" - "`freeGiftWithItemId`" - "` - # freeGiftWithValue`" - "`freeOvernightShipping`" - "`freeShipping`" - "` - # freeTwoDayShipping`" - "`moneyOff`" - "`percentageOff`" - "`rewardPoints`" - "` - # salePrice`" + # this enumeration as we support new promotion sub-types. + # Acceptable values are: + # - "`buyMGetMoneyOff`" + # - "`buyMGetNMoneyOff`" + # - "`buyMGetNPercentOff`" + # - "`buyMGetPercentOff`" + # - "`freeGift`" + # - "`freeGiftWithItemId`" + # - "`freeGiftWithValue`" + # - "`freeOvernightShipping`" + # - "`freeShipping`" + # - "`freeTwoDayShipping`" + # - "`moneyOff`" + # - "`percentageOff`" + # - "`rewardPoints`" + # - "`salePrice`" # Corresponds to the JSON property `subType` # @return [String] attr_accessor :sub_type @@ -4643,8 +4843,10 @@ module Google attr_accessor :tax_impact # Describes whether the promotion applies to products (e.g. 20% off) or to - # shipping (e.g. Free Shipping). Acceptable values are: - "`product`" - "` - # shipping`" + # shipping (e.g. Free Shipping). + # Acceptable values are: + # - "`product`" + # - "`shipping`" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -4785,14 +4987,19 @@ module Google # @return [String] attr_accessor :brand - # The item's channel (online or local). Acceptable values are: - "`local`" - "` - # online`" + # The item's channel (online or local). + # Acceptable values are: + # - "`local`" + # - "`online`" # Corresponds to the JSON property `channel` # @return [String] attr_accessor :channel - # Condition or state of the item. Acceptable values are: - "`new`" - "` - # refurbished`" - "`used`" + # Condition or state of the item. + # Acceptable values are: + # - "`new`" + # - "`refurbished`" + # - "`used`" # Corresponds to the JSON property `condition` # @return [String] attr_accessor :condition @@ -4847,7 +5054,7 @@ module Google # @return [String] attr_accessor :shown_image - # The CLDR territory // code of the target country of the product. + # The CLDR territory code of the target country of the product. # Corresponds to the JSON property `targetCountry` # @return [String] attr_accessor :target_country @@ -4991,8 +5198,10 @@ module Google attr_accessor :ship_by_date # Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is - # applicable for this shipment. Acceptable values are: - "`delivery`" - "`pickup` - # " + # applicable for this shipment. + # Acceptable values are: + # - "`delivery`" + # - "`pickup`" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -5104,8 +5313,15 @@ module Google # @return [String] attr_accessor :phone_number - # The type of instrument. Acceptable values are: - "`AMEX`" - "`DISCOVER`" - "` - # JCB`" - "`MASTERCARD`" - "`UNIONPAY`" - "`VISA`" - "``" + # The type of instrument. + # Acceptable values are: + # - "`AMEX`" + # - "`DISCOVER`" + # - "`JCB`" + # - "`MASTERCARD`" + # - "`UNIONPAY`" + # - "`VISA`" + # - "``" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -5187,8 +5403,13 @@ module Google class OrderRefund include Google::Apis::Core::Hashable - # The actor that created the refund. Acceptable values are: - "`customer`" - "` - # googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`" + # The actor that created the refund. + # Acceptable values are: + # - "`customer`" + # - "`googleBot`" + # - "`googleCustomerService`" + # - "`googlePayments`" + # - "`googleSabre`" # - "`merchant`" # Corresponds to the JSON property `actor` # @return [String] @@ -5204,23 +5425,52 @@ module Google # @return [String] attr_accessor :creation_date - # The reason for the refund. Acceptable values are: - "`adjustment`" - "` - # autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory` - # " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "` - # couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`" - # - "`expiredItem`" - "`failToPushOrderGoogleError`" - "` - # failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" - - # "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "` - # feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "` - # malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - " - # `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "` - # priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "` - # returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "` - # taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "` - # unsupportedPoBoxAddress`" - "`wrongProductShipped`" + # The reason for the refund. + # Acceptable values are: + # - "`adjustment`" + # - "`autoPostInternal`" + # - "`autoPostInvalidBillingAddress`" + # - "`autoPostNoInventory`" + # - "`autoPostPriceError`" + # - "`autoPostUndeliverableShippingAddress`" + # - "`couponAbuse`" + # - "`courtesyAdjustment`" + # - "`customerCanceled`" + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`customerSupportRequested`" + # - "`deliveredLateByCarrier`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`failToPushOrderGoogleError`" + # - "`failToPushOrderMerchantError`" + # - "`failToPushOrderMerchantFulfillmentError`" + # - "`failToPushOrderToMerchant`" + # - "`failToPushOrderToMerchantOutOfStock`" + # - "`feeAdjustment`" + # - "`invalidCoupon`" + # - "`lateShipmentCredit`" + # - "`malformedShippingAddress`" + # - "`merchantDidNotShipOnTime`" + # - "`noInventory`" + # - "`orderTimeout`" + # - "`other`" + # - "`paymentAbuse`" + # - "`paymentDeclined`" + # - "`priceAdjustment`" + # - "`priceError`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`promoReallocation`" + # - "`qualityNotAsExpected`" + # - "`returnRefundAbuse`" + # - "`shippingCostAdjustment`" + # - "`shippingPriceError`" + # - "`taxAdjustment`" + # - "`taxError`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -5244,7 +5494,8 @@ module Google end end - # Order disbursement. All methods require the payment analyst role. + # Order disbursement. All methods require the payment analyst role. (== + # resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==) class OrderReportDisbursement include Google::Apis::Core::Hashable @@ -5364,8 +5615,13 @@ module Google class OrderReturn include Google::Apis::Core::Hashable - # The actor that created the refund. Acceptable values are: - "`customer`" - "` - # googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`" + # The actor that created the refund. + # Acceptable values are: + # - "`customer`" + # - "`googleBot`" + # - "`googleCustomerService`" + # - "`googlePayments`" + # - "`googleSabre`" # - "`merchant`" # Corresponds to the JSON property `actor` # @return [String] @@ -5381,13 +5637,21 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the return. Acceptable values are: - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "` - # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`qualityNotAsExpected`" - "` - # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "` - # wrongProductShipped`" + # The reason for the return. + # Acceptable values are: + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`other`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`qualityNotAsExpected`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -5415,33 +5679,59 @@ module Google class OrderShipment include Google::Apis::Core::Hashable - # The carrier handling the shipment. For supported carriers, Google includes the - # carrier name and tracking URL in emails to customers. For select supported - # carriers, Google also automatically updates the shipment status based on the - # provided shipment ID. *Note:* You can also use unsupported carriers, but - # emails to customers will not include the carrier name or tracking URL, and - # there will be no automatic order status updates. Supported carriers for US are: - # - "`ups`" (United Parcel Service) *automatic status updates* - "`usps`" ( - # United States Postal Service) *automatic status updates* - "`fedex`" (FedEx) * - # automatic status updates * - "`dhl`" (DHL eCommerce) *automatic status updates* - # (US only) - "`ontrac`" (OnTrac) *automatic status updates * - "`dhl express`" - # (DHL Express) - "`deliv`" (Deliv) - "`dynamex`" (TForce) - "`lasership`" ( - # LaserShip) - "`mpx`" (Military Parcel Xpress) - "`uds`" (United Delivery - # Service) - "`efw`" (Estes Forwarding Worldwide) - "`jd logistics`" (JD - # Logistics) - "`yunexpress`" (YunExpress) - "`china post`" (China Post) - "` - # china ems`" (China Post Express Mail Service) - "`singapore post`" (Singapore - # Post) - "`pos malaysia`" (Pos Malaysia) - "`postnl`" (PostNL) - "`ptt`" (PTT - # Turkish Post) - "`eub`" (ePacket) - "`chukou1`" (Chukou1 Logistics) - "`bestex` - # " (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) - - # "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) - - # "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India) - # Supported carriers for FR are: - "`la poste`" (La Poste) *automatic status - # updates * - "`colissimo`" (Colissimo by La Poste) *automatic status updates* - - # "`ups`" (United Parcel Service) *automatic status updates * - "`chronopost`" ( - # Chronopost by La Poste) - "`gls`" (General Logistics Systems France) - "`dpd`" - # (DPD Group by GeoPost) - "`bpost`" (Belgian Post Group) - "`colis prive`" ( - # Colis Privé) - "`boxtal`" (Boxtal) - "`geodis`" (GEODIS) - "`tnt`" (TNT) - "` - # db schenker`" (DB Schenker) - "`aramex`" (Aramex) + # The carrier handling the shipment. + # For supported carriers, Google includes the carrier name and tracking URL in + # emails to customers. For select supported carriers, Google also automatically + # updates the shipment status based on the provided shipment ID. Note: You can + # also use unsupported carriers, but emails to customers will not include the + # carrier name or tracking URL, and there will be no automatic order status + # updates. + # Supported carriers for US are: + # - "`ups`" (United Parcel Service) automatic status updates + # - "`usps`" (United States Postal Service) automatic status updates + # - "`fedex`" (FedEx) automatic status updates + # - "`dhl`" (DHL eCommerce) automatic status updates (US only) + # - "`ontrac`" (OnTrac) automatic status updates + # - "`dhl express`" (DHL Express) + # - "`deliv`" (Deliv) + # - "`dynamex`" (TForce) + # - "`lasership`" (LaserShip) + # - "`mpx`" (Military Parcel Xpress) + # - "`uds`" (United Delivery Service) + # - "`efw`" (Estes Forwarding Worldwide) + # - "`jd logistics`" (JD Logistics) + # - "`yunexpress`" (YunExpress) + # - "`china post`" (China Post) + # - "`china ems`" (China Post Express Mail Service) + # - "`singapore post`" (Singapore Post) + # - "`pos malaysia`" (Pos Malaysia) + # - "`postnl`" (PostNL) + # - "`ptt`" (PTT Turkish Post) + # - "`eub`" (ePacket) + # - "`chukou1`" (Chukou1 Logistics) + # - "`bestex`" (Best Express) + # - "`canada post`" (Canada Post) + # - "`purolator`" (Purolator) + # - "`canpar`" (Canpar) + # - "`india post`" (India Post) + # - "`blue dart`" (Blue Dart) + # - "`delhivery`" (Delhivery) + # - "`dtdc`" (DTDC) + # - "`tpc india`" (TPC India) + # Supported carriers for FR are: + # - "`la poste`" (La Poste) automatic status updates + # - "`colissimo`" (Colissimo by La Poste) automatic status updates + # - "`ups`" (United Parcel Service) automatic status updates + # - "`chronopost`" (Chronopost by La Poste) + # - "`gls`" (General Logistics Systems France) + # - "`dpd`" (DPD Group by GeoPost) + # - "`bpost`" (Belgian Post Group) + # - "`colis prive`" (Colis Privé) + # - "`boxtal`" (Boxtal) + # - "`geodis`" (GEODIS) + # - "`tnt`" (TNT) + # - "`db schenker`" (DB Schenker) + # - "`aramex`" (Aramex) # Corresponds to the JSON property `carrier` # @return [String] attr_accessor :carrier @@ -5472,8 +5762,12 @@ module Google # @return [Google::Apis::ContentV2::OrderShipmentScheduledDeliveryDetails] attr_accessor :scheduled_delivery_details - # The status of the shipment. Acceptable values are: - "`delivered`" - "` - # readyForPickup`" - "`shipped`" - "`undeliverable`" + # The status of the shipment. + # Acceptable values are: + # - "`delivered`" + # - "`readyForPickup`" + # - "`shipped`" + # - "`undeliverable`" # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -5610,8 +5904,10 @@ module Google class OrderinvoicesCreateChargeInvoiceResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -5684,8 +5980,10 @@ module Google class OrderinvoicesCreateRefundInvoiceResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -5716,23 +6014,52 @@ module Google # @return [String] attr_accessor :description - # [required] Reason for the refund. Acceptable values are: - "`adjustment`" - "` - # autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory` - # " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "` - # couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`" - # - "`expiredItem`" - "`failToPushOrderGoogleError`" - "` - # failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" - - # "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "` - # feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "` - # malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - " - # `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "` - # priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "` - # returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "` - # taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "` - # unsupportedPoBoxAddress`" - "`wrongProductShipped`" + # [required] Reason for the refund. + # Acceptable values are: + # - "`adjustment`" + # - "`autoPostInternal`" + # - "`autoPostInvalidBillingAddress`" + # - "`autoPostNoInventory`" + # - "`autoPostPriceError`" + # - "`autoPostUndeliverableShippingAddress`" + # - "`couponAbuse`" + # - "`courtesyAdjustment`" + # - "`customerCanceled`" + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`customerSupportRequested`" + # - "`deliveredLateByCarrier`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`failToPushOrderGoogleError`" + # - "`failToPushOrderMerchantError`" + # - "`failToPushOrderMerchantFulfillmentError`" + # - "`failToPushOrderToMerchant`" + # - "`failToPushOrderToMerchantOutOfStock`" + # - "`feeAdjustment`" + # - "`invalidCoupon`" + # - "`lateShipmentCredit`" + # - "`malformedShippingAddress`" + # - "`merchantDidNotShipOnTime`" + # - "`noInventory`" + # - "`orderTimeout`" + # - "`other`" + # - "`paymentAbuse`" + # - "`paymentDeclined`" + # - "`priceAdjustment`" + # - "`priceError`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`promoReallocation`" + # - "`qualityNotAsExpected`" + # - "`returnRefundAbuse`" + # - "`shippingCostAdjustment`" + # - "`shippingPriceError`" + # - "`taxAdjustment`" + # - "`taxError`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -5757,13 +6084,21 @@ module Google # @return [String] attr_accessor :description - # [required] Reason for the return. Acceptable values are: - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "` - # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`qualityNotAsExpected`" - "` - # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "` - # wrongProductShipped`" + # [required] Reason for the return. + # Acceptable values are: + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`other`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`qualityNotAsExpected`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -5898,8 +6233,10 @@ module Google class OrdersAcknowledgeResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -5985,10 +6322,18 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the cancellation. Acceptable values are: - "` - # customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" - - # "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "` - # taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" + # The reason for the cancellation. + # Acceptable values are: + # - "`customerInitiatedCancel`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`noInventory`" + # - "`other`" + # - "`priceError`" + # - "`shippingPriceError`" + # - "`taxError`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -6020,8 +6365,10 @@ module Google class OrdersCancelLineItemResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -6052,10 +6399,18 @@ module Google # @return [String] attr_accessor :operation_id - # The reason for the cancellation. Acceptable values are: - "` - # customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" - - # "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "` - # taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" + # The reason for the cancellation. + # Acceptable values are: + # - "`customerInitiatedCancel`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`noInventory`" + # - "`other`" + # - "`priceError`" + # - "`shippingPriceError`" + # - "`taxError`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -6081,8 +6436,10 @@ module Google class OrdersCancelResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -6108,8 +6465,11 @@ module Google class OrdersCancelTestOrderByCustomerRequest include Google::Apis::Core::Hashable - # The reason for the cancellation. Acceptable values are: - "`changedMind`" - "` - # orderedWrongItem`" - "`other`" + # The reason for the cancellation. + # Acceptable values are: + # - "`changedMind`" + # - "`orderedWrongItem`" + # - "`other`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -6148,18 +6508,25 @@ module Google class OrdersCreateTestOrderRequest include Google::Apis::Core::Hashable - # The CLDR territory code of the country of the test order to create. Affects + # The CLDR territory code of the country of the test order to create. Affects # the currency and addresses of orders created via `template_name`, or the - # addresses of orders created via `test_order`. Acceptable values are: - "`US`" - - # "`FR`" Defaults to `US`. + # addresses of orders created via `test_order`. + # Acceptable values are: + # - "`US`" + # - "`FR`" Defaults to `US`. # Corresponds to the JSON property `country` # @return [String] attr_accessor :country # The test order template to use. Specify as an alternative to `testOrder` as a # shortcut for retrieving a template and then creating an order using that - # template. Acceptable values are: - "`template1`" - "`template1a`" - "` - # template1b`" - "`template2`" - "`template3`" + # template. + # Acceptable values are: + # - "`template1`" + # - "`template1a`" + # - "`template1b`" + # - "`template2`" + # - "`template3`" # Corresponds to the JSON property `templateName` # @return [String] attr_accessor :template_name @@ -6306,11 +6673,22 @@ module Google # @return [String] attr_accessor :merchant_order_id - # The method of the batch entry. Acceptable values are: - "`acknowledge`" - "` - # cancel`" - "`cancelLineItem`" - "`get`" - "`getByMerchantOrderId`" - "` - # inStoreRefundLineItem`" - "`refund`" - "`rejectReturnLineItem`" - "` - # returnLineItem`" - "`returnRefundLineItem`" - "`setLineItemMetadata`" - "` - # shipLineItems`" - "`updateLineItemShippingDetails`" - "`updateMerchantOrderId`" + # The method of the batch entry. + # Acceptable values are: + # - "`acknowledge`" + # - "`cancel`" + # - "`cancelLineItem`" + # - "`get`" + # - "`getByMerchantOrderId`" + # - "`inStoreRefundLineItem`" + # - "`refund`" + # - "`rejectReturnLineItem`" + # - "`returnLineItem`" + # - "`returnRefundLineItem`" + # - "`setLineItemMetadata`" + # - "`shipLineItems`" + # - "`updateLineItemShippingDetails`" + # - "`updateMerchantOrderId`" # - "`updateShipment`" # Corresponds to the JSON property `method` # @return [String] @@ -6397,10 +6775,18 @@ module Google class OrdersCustomBatchRequestEntryCancel include Google::Apis::Core::Hashable - # The reason for the cancellation. Acceptable values are: - "` - # customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" - - # "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "` - # taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" + # The reason for the cancellation. + # Acceptable values are: + # - "`customerInitiatedCancel`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`noInventory`" + # - "`other`" + # - "`priceError`" + # - "`shippingPriceError`" + # - "`taxError`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -6460,10 +6846,18 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the cancellation. Acceptable values are: - "` - # customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" - - # "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "` - # taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" + # The reason for the cancellation. + # Acceptable values are: + # - "`customerInitiatedCancel`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`noInventory`" + # - "`other`" + # - "`priceError`" + # - "`shippingPriceError`" + # - "`taxError`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -6545,13 +6939,21 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the return. Acceptable values are: - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "` - # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`qualityNotAsExpected`" - "` - # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "` - # wrongProductShipped`" + # The reason for the return. + # Acceptable values are: + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`other`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`qualityNotAsExpected`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -6597,12 +6999,24 @@ module Google # @return [Google::Apis::ContentV2::Price] attr_accessor :amount_tax - # The reason for the refund. Acceptable values are: - "`adjustment`" - "` - # courtesyAdjustment`" - "`customerCanceled`" - "`customerDiscretionaryReturn`" - - # "`deliveredLateByCarrier`" - "`feeAdjustment`" - "`lateShipmentCredit`" - "` - # noInventory`" - "`other`" - "`priceError`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`shippingCostAdjustment`" - "`taxAdjustment`" - "` - # undeliverableShippingAddress`" - "`wrongProductShipped`" + # The reason for the refund. + # Acceptable values are: + # - "`adjustment`" + # - "`courtesyAdjustment`" + # - "`customerCanceled`" + # - "`customerDiscretionaryReturn`" + # - "`deliveredLateByCarrier`" + # - "`feeAdjustment`" + # - "`lateShipmentCredit`" + # - "`noInventory`" + # - "`other`" + # - "`priceError`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`shippingCostAdjustment`" + # - "`taxAdjustment`" + # - "`undeliverableShippingAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -6646,8 +7060,13 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the return. Acceptable values are: - "`damagedOrUsed`" - "` - # missingComponent`" - "`notEligible`" - "`other`" - "`outOfReturnWindow`" + # The reason for the return. + # Acceptable values are: + # - "`damagedOrUsed`" + # - "`missingComponent`" + # - "`notEligible`" + # - "`other`" + # - "`outOfReturnWindow`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -6691,13 +7110,21 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the return. Acceptable values are: - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "` - # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`qualityNotAsExpected`" - "` - # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "` - # wrongProductShipped`" + # The reason for the return. + # Acceptable values are: + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`other`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`qualityNotAsExpected`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -6754,13 +7181,21 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the return. Acceptable values are: - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "` - # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`qualityNotAsExpected`" - "` - # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "` - # wrongProductShipped`" + # The reason for the return. + # Acceptable values are: + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`other`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`qualityNotAsExpected`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -6824,8 +7259,8 @@ module Google include Google::Apis::Core::Hashable # Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. - # See `shipments[].carrier` in the Orders resource representation for a list of - # acceptable values. + # See `shipments[].carrier` in the Orders resource representation for a list + # of acceptable values. # Corresponds to the JSON property `carrier` # @return [String] attr_accessor :carrier @@ -6876,7 +7311,7 @@ module Google class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo include Google::Apis::Core::Hashable - # The carrier handling the shipment. See `shipments[].carrier` in the Orders + # The carrier handling the shipment. See `shipments[].carrier` in the Orders # resource representation for a list of acceptable values. # Corresponds to the JSON property `carrier` # @return [String] @@ -6910,8 +7345,9 @@ module Google include Google::Apis::Core::Hashable # Updated delivery by date, in ISO 8601 format. If not specified only ship by - # date is updated. Provided date should be within 1 year timeframe and can not - # be a date in the past. + # date is updated. + # Provided date should be within 1 year timeframe and can not be a date in the + # past. # Corresponds to the JSON property `deliverByDate` # @return [String] attr_accessor :deliver_by_date @@ -6929,8 +7365,9 @@ module Google attr_accessor :product_id # Updated ship by date, in ISO 8601 format. If not specified only deliver by - # date is updated. Provided date should be within 1 year timeframe and can not - # be a date in the past. + # date is updated. + # Provided date should be within 1 year timeframe and can not be a date in the + # past. # Corresponds to the JSON property `shipByDate` # @return [String] attr_accessor :ship_by_date @@ -6953,7 +7390,8 @@ module Google include Google::Apis::Core::Hashable # The carrier handling the shipment. Not updated if missing. See `shipments[]. - # carrier` in the Orders resource representation for a list of acceptable values. + # carrier` in the Orders resource representation for a list of acceptable + # values. # Corresponds to the JSON property `carrier` # @return [String] attr_accessor :carrier @@ -6969,8 +7407,11 @@ module Google # @return [String] attr_accessor :shipment_id - # New status for the shipment. Not updated if missing. Acceptable values are: - " - # `delivered`" - "`undeliverable`" - "`readyForPickup`" + # New status for the shipment. Not updated if missing. + # Acceptable values are: + # - "`delivered`" + # - "`undeliverable`" + # - "`readyForPickup`" # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -7034,9 +7475,13 @@ module Google # @return [Google::Apis::ContentV2::Errors] attr_accessor :errors - # The status of the execution. Only defined if 1. the request was successful; - # and 2. the method is not `get`, `getByMerchantOrderId`, or one of the test - # methods. Acceptable values are: - "`duplicate`" - "`executed`" + # The status of the execution. Only defined if + # - the request was successful; and + # - the method is not `get`, `getByMerchantOrderId`, or one of the test methods. + # + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -7048,7 +7493,8 @@ module Google attr_accessor :kind # Order. Production access (all methods) requires the order manager role. - # Sandbox access does not. + # Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1. + # orders ==) # Corresponds to the JSON property `order` # @return [Google::Apis::ContentV2::Order] attr_accessor :order @@ -7078,7 +7524,8 @@ module Google attr_accessor :kind # Order. Production access (all methods) requires the order manager role. - # Sandbox access does not. + # Sandbox access does not. (== resource_for v2.orders ==) (== resource_for v2.1. + # orders ==) # Corresponds to the JSON property `order` # @return [Google::Apis::ContentV2::Order] attr_accessor :order @@ -7155,13 +7602,21 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the return. Acceptable values are: - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "` - # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`qualityNotAsExpected`" - "` - # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "` - # wrongProductShipped`" + # The reason for the return. + # Acceptable values are: + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`other`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`qualityNotAsExpected`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -7192,8 +7647,10 @@ module Google class OrdersInStoreRefundLineItemResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -7272,12 +7729,24 @@ module Google # @return [String] attr_accessor :operation_id - # The reason for the refund. Acceptable values are: - "`adjustment`" - "` - # courtesyAdjustment`" - "`customerCanceled`" - "`customerDiscretionaryReturn`" - - # "`deliveredLateByCarrier`" - "`feeAdjustment`" - "`lateShipmentCredit`" - "` - # noInventory`" - "`other`" - "`priceError`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`shippingCostAdjustment`" - "`taxAdjustment`" - "` - # undeliverableShippingAddress`" - "`wrongProductShipped`" + # The reason for the refund. + # Acceptable values are: + # - "`adjustment`" + # - "`courtesyAdjustment`" + # - "`customerCanceled`" + # - "`customerDiscretionaryReturn`" + # - "`deliveredLateByCarrier`" + # - "`feeAdjustment`" + # - "`lateShipmentCredit`" + # - "`noInventory`" + # - "`other`" + # - "`priceError`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`shippingCostAdjustment`" + # - "`taxAdjustment`" + # - "`undeliverableShippingAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -7306,8 +7775,10 @@ module Google class OrdersRefundResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -7354,8 +7825,13 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the return. Acceptable values are: - "`damagedOrUsed`" - "` - # missingComponent`" - "`notEligible`" - "`other`" - "`outOfReturnWindow`" + # The reason for the return. + # Acceptable values are: + # - "`damagedOrUsed`" + # - "`missingComponent`" + # - "`notEligible`" + # - "`other`" + # - "`outOfReturnWindow`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -7384,8 +7860,10 @@ module Google class OrdersRejectReturnLineItemResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -7432,13 +7910,21 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the return. Acceptable values are: - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "` - # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`qualityNotAsExpected`" - "` - # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "` - # wrongProductShipped`" + # The reason for the return. + # Acceptable values are: + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`other`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`qualityNotAsExpected`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -7467,8 +7953,10 @@ module Google class OrdersReturnLineItemResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -7528,13 +8016,21 @@ module Google # @return [Fixnum] attr_accessor :quantity - # The reason for the return. Acceptable values are: - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "` - # malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`qualityNotAsExpected`" - "` - # undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "` - # wrongProductShipped`" + # The reason for the return. + # Acceptable values are: + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`invalidCoupon`" + # - "`malformedShippingAddress`" + # - "`other`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`qualityNotAsExpected`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -7565,8 +8061,10 @@ module Google class OrdersReturnRefundLineItemResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -7631,8 +8129,10 @@ module Google class OrdersSetLineItemMetadataResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -7659,8 +8159,8 @@ module Google include Google::Apis::Core::Hashable # Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. - # See `shipments[].carrier` in the Orders resource representation for a list of - # acceptable values. + # See `shipments[].carrier` in the Orders resource representation for a list + # of acceptable values. # Corresponds to the JSON property `carrier` # @return [String] attr_accessor :carrier @@ -7717,8 +8217,10 @@ module Google class OrdersShipLineItemsResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -7745,8 +8247,9 @@ module Google include Google::Apis::Core::Hashable # Updated delivery by date, in ISO 8601 format. If not specified only ship by - # date is updated. Provided date should be within 1 year timeframe and can not - # be a date in the past. + # date is updated. + # Provided date should be within 1 year timeframe and can not be a date in the + # past. # Corresponds to the JSON property `deliverByDate` # @return [String] attr_accessor :deliver_by_date @@ -7769,8 +8272,9 @@ module Google attr_accessor :product_id # Updated ship by date, in ISO 8601 format. If not specified only deliver by - # date is updated. Provided date should be within 1 year timeframe and can not - # be a date in the past. + # date is updated. + # Provided date should be within 1 year timeframe and can not be a date in the + # past. # Corresponds to the JSON property `shipByDate` # @return [String] attr_accessor :ship_by_date @@ -7793,8 +8297,10 @@ module Google class OrdersUpdateLineItemShippingDetailsResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -7845,8 +8351,10 @@ module Google class OrdersUpdateMerchantOrderIdResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -7873,7 +8381,8 @@ module Google include Google::Apis::Core::Hashable # The carrier handling the shipment. Not updated if missing. See `shipments[]. - # carrier` in the Orders resource representation for a list of acceptable values. + # carrier` in the Orders resource representation for a list of acceptable + # values. # Corresponds to the JSON property `carrier` # @return [String] attr_accessor :carrier @@ -7894,8 +8403,11 @@ module Google # @return [String] attr_accessor :shipment_id - # New status for the shipment. Not updated if missing. Acceptable values are: - " - # `delivered`" - "`undeliverable`" - "`readyForPickup`" + # New status for the shipment. Not updated if missing. + # Acceptable values are: + # - "`delivered`" + # - "`undeliverable`" + # - "`readyForPickup`" # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -7924,8 +8436,10 @@ module Google class OrdersUpdateShipmentResponse include Google::Apis::Core::Hashable - # The status of the execution. Acceptable values are: - "`duplicate`" - "` - # executed`" + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" # Corresponds to the JSON property `executionStatus` # @return [String] attr_accessor :execution_status @@ -8041,8 +8555,13 @@ module Google # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" - - # "`insert`" - "`inventory`" - "`sale`" + # The method of the batch entry. + # Acceptable values are: + # - "`delete`" + # - "`get`" + # - "`insert`" + # - "`inventory`" + # - "`sale`" # Corresponds to the JSON property `method` # @return [String] attr_accessor :method_prop @@ -8786,11 +9305,12 @@ module Google end # Required product attributes are primarily defined by the products data - # specification. See the Products Data Specification Help Center article for - # information. Some attributes are country-specific, so make sure you select the - # appropriate country in the drop-down selector at the top of the page. Product - # data. After inserting, updating, or deleting a product, it may take several - # minutes before changes take effect. + # specification. See the Products Data Specification Help Center article for + # information. + # Some attributes are country-specific, so make sure you select the appropriate + # country in the drop-down selector at the top of the page. + # Product data. After inserting, updating, or deleting a product, it may take + # several minutes before changes take effect. class Product include Google::Apis::Core::Hashable @@ -8827,8 +9347,14 @@ module Google # @return [String] attr_accessor :adwords_redirect - # Target age group of the item. Acceptable values are: - "`adult`" - "`infant`" - - # "`kids`" - "`newborn`" - "`toddler`" - "`youngAdult`" + # Target age group of the item. + # Acceptable values are: + # - "`adult`" + # - "`infant`" + # - "`kids`" + # - "`newborn`" + # - "`toddler`" + # - "`youngAdult`" # Corresponds to the JSON property `ageGroup` # @return [String] attr_accessor :age_group @@ -8838,8 +9364,11 @@ module Google # @return [Array] attr_accessor :aspects - # Availability status of the item. Acceptable values are: - "`in stock`" - "`out - # of stock`" - "`preorder`" + # Availability status of the item. + # Acceptable values are: + # - "`in stock`" + # - "`out of stock`" + # - "`preorder`" # Corresponds to the JSON property `availability` # @return [String] attr_accessor :availability @@ -8860,8 +9389,10 @@ module Google # @return [String] attr_accessor :canonical_link - # Required. The item's channel (online or local). Acceptable values are: - "` - # local`" - "`online`" + # Required. The item's channel (online or local). + # Acceptable values are: + # - "`local`" + # - "`online`" # Corresponds to the JSON property `channel` # @return [String] attr_accessor :channel @@ -8871,8 +9402,10 @@ module Google # @return [String] attr_accessor :color - # Condition or state of the item. Acceptable values are: - "`local`" - "`online`" - # + # Condition or state of the item. + # Acceptable values are: + # - "`local`" + # - "`online`" # Corresponds to the JSON property `condition` # @return [String] attr_accessor :condition @@ -8961,9 +9494,18 @@ module Google # @return [Float] attr_accessor :display_ads_value - # The energy efficiency class as defined in EU directive 2010/30/EU. Acceptable - # values are: - "`A`" - "`A+`" - "`A++`" - "`A+++`" - "`B`" - "`C`" - "`D`" - "` - # E`" - "`F`" - "`G`" + # The energy efficiency class as defined in EU directive 2010/30/EU. + # Acceptable values are: + # - "`A`" + # - "`A+`" + # - "`A++`" + # - "`A+++`" + # - "`B`" + # - "`C`" + # - "`D`" + # - "`E`" + # - "`F`" + # - "`G`" # Corresponds to the JSON property `energyEfficiencyClass` # @return [String] attr_accessor :energy_efficiency_class @@ -8976,8 +9518,11 @@ module Google # @return [String] attr_accessor :expiration_date - # Target gender of the item. Acceptable values are: - "`female`" - "`male`" - "` - # unisex`" + # Target gender of the item. + # Acceptable values are: + # - "`female`" + # - "`male`" + # - "`unisex`" # Corresponds to the JSON property `gender` # @return [String] attr_accessor :gender @@ -8993,8 +9538,9 @@ module Google attr_accessor :gtin # The REST ID of the product. Content API methods that operate on products take - # this as their `productId` parameter. The REST ID for a product is of the form - # channel:contentLanguage: targetCountry: offerId. + # this as their `productId` parameter. + # The REST ID for a product is of the form channel:contentLanguage:targetCountry: + # offerId. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -9050,9 +9596,18 @@ module Google # @return [String] attr_accessor :material - # The energy efficiency class as defined in EU directive 2010/30/EU. Acceptable - # values are: - "`A`" - "`A+`" - "`A++`" - "`A+++`" - "`B`" - "`C`" - "`D`" - "` - # E`" - "`F`" - "`G`" + # The energy efficiency class as defined in EU directive 2010/30/EU. + # Acceptable values are: + # - "`A`" + # - "`A+`" + # - "`A++`" + # - "`A+++`" + # - "`B`" + # - "`C`" + # - "`D`" + # - "`E`" + # - "`F`" + # - "`G`" # Corresponds to the JSON property `maxEnergyEfficiencyClass` # @return [String] attr_accessor :max_energy_efficiency_class @@ -9062,9 +9617,18 @@ module Google # @return [Fixnum] attr_accessor :max_handling_time - # The energy efficiency class as defined in EU directive 2010/30/EU. Acceptable - # values are: - "`A`" - "`A+`" - "`A++`" - "`A+++`" - "`B`" - "`C`" - "`D`" - "` - # E`" - "`F`" - "`G`" + # The energy efficiency class as defined in EU directive 2010/30/EU. + # Acceptable values are: + # - "`A`" + # - "`A+`" + # - "`A++`" + # - "`A+++`" + # - "`B`" + # - "`C`" + # - "`D`" + # - "`E`" + # - "`F`" + # - "`G`" # Corresponds to the JSON property `minEnergyEfficiencyClass` # @return [String] attr_accessor :min_energy_efficiency_class @@ -9092,8 +9656,9 @@ module Google # Required. A unique identifier for the item. Leading and trailing whitespaces # are stripped and multiple whitespaces are replaced by a single whitespace upon # submission. Only valid unicode characters are accepted. See the products feed - # specification for details. *Note:* Content API methods that operate on - # products take the REST ID of the product, *not* this identifier. + # specification for details. + # Note: Content API methods that operate on products take the REST ID of the + # product, not this identifier. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id @@ -9129,7 +9694,7 @@ module Google # @return [Google::Apis::ContentV2::Price] attr_accessor :sale_price - # Date range during which the item is on sale (see products data specification ). + # Date range during which the item is on sale (see products data specification). # Corresponds to the JSON property `salePriceEffectiveDate` # @return [String] attr_accessor :sale_price_effective_date @@ -9172,15 +9737,30 @@ module Google attr_accessor :shipping_width # System in which the size is specified. Recommended for apparel items. - # Acceptable values are: - "`AU`" - "`BR`" - "`CN`" - "`DE`" - "`EU`" - "`FR`" - - # "`IT`" - "`JP`" - "`MEX`" - "`UK`" - "`US`" + # Acceptable values are: + # - "`AU`" + # - "`BR`" + # - "`CN`" + # - "`DE`" + # - "`EU`" + # - "`FR`" + # - "`IT`" + # - "`JP`" + # - "`MEX`" + # - "`UK`" + # - "`US`" # Corresponds to the JSON property `sizeSystem` # @return [String] attr_accessor :size_system - # The cut of the item. Recommended for apparel items. Acceptable values are: - "` - # big and tall`" - "`maternity`" - "`oversize`" - "`petite`" - "`plus`" - "` - # regular`" + # The cut of the item. Recommended for apparel items. + # Acceptable values are: + # - "`big and tall`" + # - "`maternity`" + # - "`oversize`" + # - "`petite`" + # - "`plus`" + # - "`regular`" # Corresponds to the JSON property `sizeType` # @return [String] attr_accessor :size_type @@ -9192,8 +9772,11 @@ module Google # @return [Array] attr_accessor :sizes - # The source of the offer, i.e., how the offer was created. Acceptable values - # are: - "`api`" - "`crawl`" - "`feed`" + # The source of the offer, i.e., how the offer was created. + # Acceptable values are: + # - "`api`" + # - "`crawl`" + # - "`feed`" # Corresponds to the JSON property `source` # @return [String] attr_accessor :source @@ -9394,8 +9977,11 @@ module Google attr_accessor :destination_name # Whether the destination is required, excluded or should be validated. - # Acceptable values are: - "`default`" - "`excluded`" - "`optional`" - "` - # required`" + # Acceptable values are: + # - "`default`" + # - "`excluded`" + # - "`optional`" + # - "`required`" # Corresponds to the JSON property `intention` # @return [String] attr_accessor :intention @@ -9567,11 +10153,12 @@ module Google attr_accessor :link # Required product attributes are primarily defined by the products data - # specification. See the Products Data Specification Help Center article for - # information. Some attributes are country-specific, so make sure you select the - # appropriate country in the drop-down selector at the top of the page. Product - # data. After inserting, updating, or deleting a product, it may take several - # minutes before changes take effect. + # specification. See the Products Data Specification Help Center article for + # information. + # Some attributes are country-specific, so make sure you select the appropriate + # country in the drop-down selector at the top of the page. + # Product data. After inserting, updating, or deleting a product, it may take + # several minutes before changes take effect. # Corresponds to the JSON property `product` # @return [Google::Apis::ContentV2::Product] attr_accessor :product @@ -9683,8 +10270,10 @@ module Google attr_accessor :approval_pending alias_method :approval_pending?, :approval_pending - # The destination's approval status. Acceptable values are: - "`approved`" - "` - # disapproved`" + # The destination's approval status. + # Acceptable values are: + # - "`approved`" + # - "`disapproved`" # Corresponds to the JSON property `approvalStatus` # @return [String] attr_accessor :approval_status @@ -9694,8 +10283,12 @@ module Google # @return [String] attr_accessor :destination - # Provided for backward compatibility only. Always set to "required". Acceptable - # values are: - "`default`" - "`excluded`" - "`optional`" - "`required`" + # Provided for backward compatibility only. Always set to "required". + # Acceptable values are: + # - "`default`" + # - "`excluded`" + # - "`optional`" + # - "`required`" # Corresponds to the JSON property `intention` # @return [String] attr_accessor :intention @@ -9910,18 +10503,22 @@ module Google # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" - - # "`insert`" + # The method of the batch entry. + # Acceptable values are: + # - "`delete`" + # - "`get`" + # - "`insert`" # Corresponds to the JSON property `method` # @return [String] attr_accessor :request_method # Required product attributes are primarily defined by the products data - # specification. See the Products Data Specification Help Center article for - # information. Some attributes are country-specific, so make sure you select the - # appropriate country in the drop-down selector at the top of the page. Product - # data. After inserting, updating, or deleting a product, it may take several - # minutes before changes take effect. + # specification. See the Products Data Specification Help Center article for + # information. + # Some attributes are country-specific, so make sure you select the appropriate + # country in the drop-down selector at the top of the page. + # Product data. After inserting, updating, or deleting a product, it may take + # several minutes before changes take effect. # Corresponds to the JSON property `product` # @return [Google::Apis::ContentV2::Product] attr_accessor :product @@ -9993,11 +10590,12 @@ module Google attr_accessor :kind # Required product attributes are primarily defined by the products data - # specification. See the Products Data Specification Help Center article for - # information. Some attributes are country-specific, so make sure you select the - # appropriate country in the drop-down selector at the top of the page. Product - # data. After inserting, updating, or deleting a product, it may take several - # minutes before changes take effect. + # specification. See the Products Data Specification Help Center article for + # information. + # Some attributes are country-specific, so make sure you select the appropriate + # country in the drop-down selector at the top of the page. + # Product data. After inserting, updating, or deleting a product, it may take + # several minutes before changes take effect. # Corresponds to the JSON property `product` # @return [Google::Apis::ContentV2::Product] attr_accessor :product @@ -10092,7 +10690,9 @@ module Google # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. Acceptable values are: - "`get`" + # The method of the batch entry. + # Acceptable values are: + # - "`get`" # Corresponds to the JSON property `method` # @return [String] attr_accessor :request_method @@ -10307,23 +10907,52 @@ module Google # @return [String] attr_accessor :description - # Code of the refund reason. Acceptable values are: - "`adjustment`" - "` - # autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory` - # " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "` - # couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "` - # customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "` - # customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`" - # - "`expiredItem`" - "`failToPushOrderGoogleError`" - "` - # failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" - - # "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "` - # feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "` - # malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - " - # `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "` - # priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "` - # productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "` - # returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "` - # taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "` - # unsupportedPoBoxAddress`" - "`wrongProductShipped`" + # Code of the refund reason. + # Acceptable values are: + # - "`adjustment`" + # - "`autoPostInternal`" + # - "`autoPostInvalidBillingAddress`" + # - "`autoPostNoInventory`" + # - "`autoPostPriceError`" + # - "`autoPostUndeliverableShippingAddress`" + # - "`couponAbuse`" + # - "`courtesyAdjustment`" + # - "`customerCanceled`" + # - "`customerDiscretionaryReturn`" + # - "`customerInitiatedMerchantCancel`" + # - "`customerSupportRequested`" + # - "`deliveredLateByCarrier`" + # - "`deliveredTooLate`" + # - "`expiredItem`" + # - "`failToPushOrderGoogleError`" + # - "`failToPushOrderMerchantError`" + # - "`failToPushOrderMerchantFulfillmentError`" + # - "`failToPushOrderToMerchant`" + # - "`failToPushOrderToMerchantOutOfStock`" + # - "`feeAdjustment`" + # - "`invalidCoupon`" + # - "`lateShipmentCredit`" + # - "`malformedShippingAddress`" + # - "`merchantDidNotShipOnTime`" + # - "`noInventory`" + # - "`orderTimeout`" + # - "`other`" + # - "`paymentAbuse`" + # - "`paymentDeclined`" + # - "`priceAdjustment`" + # - "`priceError`" + # - "`productArrivedDamaged`" + # - "`productNotAsDescribed`" + # - "`promoReallocation`" + # - "`qualityNotAsExpected`" + # - "`returnRefundAbuse`" + # - "`shippingCostAdjustment`" + # - "`shippingPriceError`" + # - "`taxAdjustment`" + # - "`taxError`" + # - "`undeliverableShippingAddress`" + # - "`unsupportedPoBoxAddress`" + # - "`wrongProductShipped`" # Corresponds to the JSON property `reasonCode` # @return [String] attr_accessor :reason_code @@ -10353,8 +10982,11 @@ module Google # @return [String] attr_accessor :delivery_date - # Type of the return method. Acceptable values are: - "`byMail`" - "` - # contactCustomerSupport`" - "`returnless`" + # Type of the return method. + # Acceptable values are: + # - "`byMail`" + # - "`contactCustomerSupport`" + # - "`returnless`" # Corresponds to the JSON property `returnMethodType` # @return [String] attr_accessor :return_method_type @@ -10375,8 +11007,13 @@ module Google # @return [String] attr_accessor :shipping_date - # State of the shipment. Acceptable values are: - "`completed`" - "`new`" - "` - # shipped`" - "`undeliverable`" - "`pending`" + # State of the shipment. + # Acceptable values are: + # - "`completed`" + # - "`new`" + # - "`shipped`" + # - "`undeliverable`" + # - "`pending`" # Corresponds to the JSON property `state` # @return [String] attr_accessor :state @@ -10445,8 +11082,11 @@ module Google # @return [Google::Apis::ContentV2::DeliveryTime] attr_accessor :delivery_time - # Eligibility for this service. Acceptable values are: - "`All scenarios`" - "` - # All scenarios except Shopping Actions`" - "`Shopping Actions`" + # Eligibility for this service. + # Acceptable values are: + # - "`All scenarios`" + # - "`All scenarios except Shopping Actions`" + # - "`Shopping Actions`" # Corresponds to the JSON property `eligibility` # @return [String] attr_accessor :eligibility @@ -10483,8 +11123,10 @@ module Google # @return [Array] attr_accessor :rate_groups - # Type of locations this service ships orders to. Acceptable values are: - "` - # delivery`" - "`pickup`" + # Type of locations this service ships orders to. + # Acceptable values are: + # - "`delivery`" + # - "`pickup`" # Corresponds to the JSON property `shipmentType` # @return [String] attr_accessor :shipment_type @@ -10587,13 +11229,38 @@ module Google class ShipmentTrackingInfo include Google::Apis::Core::Hashable - # The shipping carrier that handles the package. Acceptable values are: - "` - # boxtal`" - "`bpost`" - "`chronopost`" - "`colisPrive`" - "`colissimo`" - "`cxt` - # " - "`deliv`" - "`dhl`" - "`dpd`" - "`dynamex`" - "`eCourier`" - "`easypost`" - - # "`efw`" - "`fedex`" - "`fedexSmartpost`" - "`geodis`" - "`gls`" - "` - # googleCourier`" - "`gsx`" - "`jdLogistics`" - "`laPoste`" - "`lasership`" - "` - # manual`" - "`mpx`" - "`onTrac`" - "`other`" - "`tnt`" - "`uds`" - "`ups`" - "` - # usps`" + # The shipping carrier that handles the package. + # Acceptable values are: + # - "`boxtal`" + # - "`bpost`" + # - "`chronopost`" + # - "`colisPrive`" + # - "`colissimo`" + # - "`cxt`" + # - "`deliv`" + # - "`dhl`" + # - "`dpd`" + # - "`dynamex`" + # - "`eCourier`" + # - "`easypost`" + # - "`efw`" + # - "`fedex`" + # - "`fedexSmartpost`" + # - "`geodis`" + # - "`gls`" + # - "`googleCourier`" + # - "`gsx`" + # - "`jdLogistics`" + # - "`laPoste`" + # - "`lasership`" + # - "`manual`" + # - "`mpx`" + # - "`onTrac`" + # - "`other`" + # - "`tnt`" + # - "`uds`" + # - "`ups`" + # - "`usps`" # Corresponds to the JSON property `carrier` # @return [String] attr_accessor :carrier @@ -10685,7 +11352,10 @@ module Google # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. Acceptable values are: - "`get`" - "`update`" + # The method of the batch entry. + # Acceptable values are: + # - "`get`" + # - "`update`" # Corresponds to the JSON property `method` # @return [String] attr_accessor :method_prop @@ -10962,14 +11632,21 @@ module Google attr_accessor :payment_method # Required. Identifier of one of the predefined delivery addresses for the - # delivery. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`" + # delivery. + # Acceptable values are: + # - "`dwight`" + # - "`jim`" + # - "`pam`" # Corresponds to the JSON property `predefinedDeliveryAddress` # @return [String] attr_accessor :predefined_delivery_address # Identifier of one of the predefined pickup details. Required for orders - # containing line items with shipping type `pickup`. Acceptable values are: - "` - # dwight`" - "`jim`" - "`pam`" + # containing line items with shipping type `pickup`. + # Acceptable values are: + # - "`dwight`" + # - "`jim`" + # - "`pam`" # Corresponds to the JSON property `predefinedPickupDetails` # @return [String] attr_accessor :predefined_pickup_details @@ -10992,8 +11669,14 @@ module Google # @return [Google::Apis::ContentV2::Price] attr_accessor :shipping_cost_tax - # Required. The requested shipping option. Acceptable values are: - "`economy`" - - # "`expedited`" - "`oneDay`" - "`sameDay`" - "`standard`" - "`twoDay`" + # Required. The requested shipping option. + # Acceptable values are: + # - "`economy`" + # - "`expedited`" + # - "`oneDay`" + # - "`sameDay`" + # - "`standard`" + # - "`twoDay`" # Corresponds to the JSON property `shippingOption` # @return [String] attr_accessor :shipping_option @@ -11023,9 +11706,11 @@ module Google class TestOrderCustomer include Google::Apis::Core::Hashable - # Required. Email address of the customer. Acceptable values are: - "`pog.dwight. - # schrute@gmail.com`" - "`pog.jim.halpert@gmail.com`" - "`penpog.pam.beesly@ - # gmail.comding`" + # Required. Email address of the customer. + # Acceptable values are: + # - "`pog.dwight.schrute@gmail.com`" + # - "`pog.jim.halpert@gmail.com`" + # - "`penpog.pam.beesly@gmail.comding`" # Corresponds to the JSON property `email` # @return [String] attr_accessor :email @@ -11064,8 +11749,10 @@ module Google include Google::Apis::Core::Hashable # Last know user use selection regards marketing preferences. In certain cases - # selection might not be known, so this field would be empty. Acceptable values - # are: - "`denied`" - "`granted`" + # selection might not be known, so this field would be empty. + # Acceptable values are: + # - "`denied`" + # - "`granted`" # Corresponds to the JSON property `explicitMarketingPreference` # @return [String] attr_accessor :explicit_marketing_preference @@ -11139,18 +11826,24 @@ module Google # @return [String] attr_accessor :brand - # Deprecated. Acceptable values are: - "`online`" + # Deprecated. + # Acceptable values are: + # - "`online`" # Corresponds to the JSON property `channel` # @return [String] attr_accessor :channel - # Required. Condition or state of the item. Acceptable values are: - "`new`" + # Required. Condition or state of the item. + # Acceptable values are: + # - "`new`" # Corresponds to the JSON property `condition` # @return [String] attr_accessor :condition - # Required. The two-letter ISO 639-1 language code for the item. Acceptable - # values are: - "`en`" - "`fr`" + # Required. The two-letter ISO 639-1 language code for the item. + # Acceptable values are: + # - "`en`" + # - "`fr`" # Corresponds to the JSON property `contentLanguage` # @return [String] attr_accessor :content_language @@ -11192,7 +11885,7 @@ module Google # @return [Google::Apis::ContentV2::Price] attr_accessor :price - # Required. The CLDR territory // code of the target country of the product. + # Required. The CLDR territory code of the target country of the product. # Corresponds to the JSON property `targetCountry` # @return [String] attr_accessor :target_country @@ -11249,14 +11942,22 @@ module Google # @return [String] attr_accessor :last_four_digits - # The billing address. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`" + # The billing address. + # Acceptable values are: + # - "`dwight`" + # - "`jim`" + # - "`pam`" # Corresponds to the JSON property `predefinedBillingAddress` # @return [String] attr_accessor :predefined_billing_address # The type of instrument. Note that real orders might have different values than - # the four values accepted by `createTestOrder`. Acceptable values are: - "`AMEX` - # " - "`DISCOVER`" - "`MASTERCARD`" - "`VISA`" + # the four values accepted by `createTestOrder`. + # Acceptable values are: + # - "`AMEX`" + # - "`DISCOVER`" + # - "`MASTERCARD`" + # - "`VISA`" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -11405,8 +12106,9 @@ module Google # @return [Array] attr_accessor :additional_charge_promotions - # [required] Type of the additional charge. Acceptable values are: - "`shipping`" - # + # [required] Type of the additional charge. + # Acceptable values are: + # - "`shipping`" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -11438,8 +12140,11 @@ module Google # @return [String] attr_accessor :tax_name - # [required] Type of the tax. Acceptable values are: - "`otherFee`" - "` - # otherFeeTax`" - "`sales`" + # [required] Type of the tax. + # Acceptable values are: + # - "`otherFee`" + # - "`otherFeeTax`" + # - "`sales`" # Corresponds to the JSON property `taxType` # @return [String] attr_accessor :tax_type @@ -11510,7 +12215,10 @@ module Google class Weight include Google::Apis::Core::Hashable - # Required. The weight unit. Acceptable values are: - "`kg`" - "`lb`" + # Required. The weight unit. + # Acceptable values are: + # - "`kg`" + # - "`lb`" # Corresponds to the JSON property `unit` # @return [String] attr_accessor :unit diff --git a/generated/google/apis/content_v2/service.rb b/generated/google/apis/content_v2/service.rb index d0564e601..d5534d318 100644 --- a/generated/google/apis/content_v2/service.rb +++ b/generated/google/apis/content_v2/service.rb @@ -22,7 +22,8 @@ module Google module ContentV2 # Content API for Shopping # - # Manage your product listings and accounts for Google Shopping + # Manages product items, inventory, and Merchant Center accounts for Google + # Shopping. # # @example # require 'google/apis/content_v2' @@ -30,7 +31,7 @@ module Google # Content = Google::Apis::ContentV2 # Alias the module # service = Content::ShoppingContentService.new # - # @see https://developers.google.com/shopping-content/v2/ + # @see https://developers.google.com/shopping-content class ShoppingContentService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access, @@ -38,21 +39,27 @@ module Google attr_accessor :key # @return [String] - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. attr_accessor :quota_user + # @return [String] + # Deprecated. Please use quotaUser instead. + attr_accessor :user_ip + def initialize - super('https://shoppingcontent.googleapis.com/', '') - @batch_path = 'batch' + super('https://www.googleapis.com/', 'content/v2/') + @batch_path = 'batch/content/v2' end # Returns information about the authenticated user. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -65,12 +72,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_account_authinfo(fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/accounts/authinfo', options) + def get_account_authinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'accounts/authinfo', options) command.response_representation = Google::Apis::ContentV2::AccountsAuthInfoResponse::Representation command.response_class = Google::Apis::ContentV2::AccountsAuthInfoResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -88,8 +96,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -102,8 +112,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/accounts/{accountId}/claimwebsite', options) + def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options) command.response_representation = Google::Apis::ContentV2::AccountsClaimWebsiteResponse::Representation command.response_class = Google::Apis::ContentV2::AccountsClaimWebsiteResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -111,6 +121,7 @@ module Google command.query['overwrite'] = overwrite unless overwrite.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -123,8 +134,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -137,8 +150,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/accounts/batch', options) + def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'accounts/batch', options) command.request_representation = Google::Apis::ContentV2::BatchAccountsRequest::Representation command.request_object = batch_accounts_request_object command.response_representation = Google::Apis::ContentV2::BatchAccountsResponse::Representation @@ -146,6 +159,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -163,8 +177,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -177,14 +193,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_account(merchant_id, account_id, dry_run: nil, force: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'content/v2/{merchantId}/accounts/{accountId}', options) + def delete_account(merchant_id, account_id, dry_run: nil, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['dryRun'] = dry_run unless dry_run.nil? command.query['force'] = force unless force.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -198,8 +215,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -212,14 +231,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_account(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/accounts/{accountId}', options) + def get_account(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options) command.response_representation = Google::Apis::ContentV2::Account::Representation command.response_class = Google::Apis::ContentV2::Account command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -233,8 +253,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -247,8 +269,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/accounts', options) + def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/accounts', options) command.request_representation = Google::Apis::ContentV2::Account::Representation command.request_object = account_object command.response_representation = Google::Apis::ContentV2::Account::Representation @@ -257,6 +279,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -272,8 +295,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -286,8 +311,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/accounts/{accountId}/link', options) + def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options) command.request_representation = Google::Apis::ContentV2::AccountsLinkRequest::Representation command.request_object = accounts_link_request_object command.response_representation = Google::Apis::ContentV2::AccountsLinkResponse::Representation @@ -296,6 +321,7 @@ module Google command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -309,8 +335,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -323,8 +351,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/accounts', options) + def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/accounts', options) command.response_representation = Google::Apis::ContentV2::ListAccountsResponse::Representation command.response_class = Google::Apis::ContentV2::ListAccountsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -332,6 +360,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -350,8 +379,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -364,8 +395,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'content/v2/{merchantId}/accounts/{accountId}', options) + def update_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options) command.request_representation = Google::Apis::ContentV2::Account::Representation command.request_object = account_object command.response_representation = Google::Apis::ContentV2::Account::Representation @@ -375,6 +406,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -383,8 +415,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -397,14 +431,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/accountstatuses/batch', options) + def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'accountstatuses/batch', options) command.request_representation = Google::Apis::ContentV2::BatchAccountStatusesRequest::Representation command.request_object = batch_account_statuses_request_object command.response_representation = Google::Apis::ContentV2::BatchAccountStatusesResponse::Representation command.response_class = Google::Apis::ContentV2::BatchAccountStatusesResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -422,8 +457,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -436,8 +473,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/accountstatuses/{accountId}', options) + def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options) command.response_representation = Google::Apis::ContentV2::AccountStatus::Representation command.response_class = Google::Apis::ContentV2::AccountStatus command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -445,6 +482,7 @@ module Google command.query['destinations'] = destinations unless destinations.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -462,8 +500,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -476,8 +516,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/accountstatuses', options) + def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/accountstatuses', options) command.response_representation = Google::Apis::ContentV2::ListAccountStatusesResponse::Representation command.response_class = Google::Apis::ContentV2::ListAccountStatusesResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -486,6 +526,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -497,8 +538,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -511,8 +554,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/accounttax/batch', options) + def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'accounttax/batch', options) command.request_representation = Google::Apis::ContentV2::BatchAccountTaxRequest::Representation command.request_object = batch_account_tax_request_object command.response_representation = Google::Apis::ContentV2::BatchAccountTaxResponse::Representation @@ -520,6 +563,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -533,8 +577,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -547,14 +593,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/accounttax/{accountId}', options) + def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options) command.response_representation = Google::Apis::ContentV2::AccountTax::Representation command.response_class = Google::Apis::ContentV2::AccountTax command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -568,8 +615,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -582,8 +631,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/accounttax', options) + def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/accounttax', options) command.response_representation = Google::Apis::ContentV2::ListAccountTaxResponse::Representation command.response_class = Google::Apis::ContentV2::ListAccountTaxResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -591,6 +640,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -609,8 +659,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -623,8 +675,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'content/v2/{merchantId}/accounttax/{accountId}', options) + def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options) command.request_representation = Google::Apis::ContentV2::AccountTax::Representation command.request_object = account_tax_object command.response_representation = Google::Apis::ContentV2::AccountTax::Representation @@ -634,6 +686,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -646,8 +699,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -660,8 +715,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/datafeeds/batch', options) + def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'datafeeds/batch', options) command.request_representation = Google::Apis::ContentV2::BatchDatafeedsRequest::Representation command.request_object = batch_datafeeds_request_object command.response_representation = Google::Apis::ContentV2::BatchDatafeedsResponse::Representation @@ -669,6 +724,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -684,8 +740,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -698,13 +756,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options) + def delete_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['datafeedId'] = datafeed_id unless datafeed_id.nil? command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -720,8 +779,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -734,8 +795,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/datafeeds/{datafeedId}/fetchNow', options) + def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options) command.response_representation = Google::Apis::ContentV2::DatafeedsFetchNowResponse::Representation command.response_class = Google::Apis::ContentV2::DatafeedsFetchNowResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -743,6 +804,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -755,8 +817,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -769,14 +833,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options) + def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options) command.response_representation = Google::Apis::ContentV2::Datafeed::Representation command.response_class = Google::Apis::ContentV2::Datafeed command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['datafeedId'] = datafeed_id unless datafeed_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -791,8 +856,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -805,8 +872,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_datafeed(merchant_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/datafeeds', options) + def insert_datafeed(merchant_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/datafeeds', options) command.request_representation = Google::Apis::ContentV2::Datafeed::Representation command.request_object = datafeed_object command.response_representation = Google::Apis::ContentV2::Datafeed::Representation @@ -815,6 +882,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -829,8 +897,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -843,8 +913,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/datafeeds', options) + def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/datafeeds', options) command.response_representation = Google::Apis::ContentV2::ListDatafeedsResponse::Representation command.response_class = Google::Apis::ContentV2::ListDatafeedsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -852,6 +922,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -869,8 +940,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -883,8 +956,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options) + def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options) command.request_representation = Google::Apis::ContentV2::Datafeed::Representation command.request_object = datafeed_object command.response_representation = Google::Apis::ContentV2::Datafeed::Representation @@ -894,6 +967,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -902,8 +976,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -916,14 +992,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/datafeedstatuses/batch', options) + def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'datafeedstatuses/batch', options) command.request_representation = Google::Apis::ContentV2::BatchDatafeedStatusesRequest::Representation command.request_object = batch_datafeed_statuses_request_object command.response_representation = Google::Apis::ContentV2::BatchDatafeedStatusesResponse::Representation command.response_class = Google::Apis::ContentV2::BatchDatafeedStatusesResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -946,8 +1023,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -960,8 +1039,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_datafeed_status(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/datafeedstatuses/{datafeedId}', options) + def get_datafeed_status(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options) command.response_representation = Google::Apis::ContentV2::DatafeedStatus::Representation command.response_class = Google::Apis::ContentV2::DatafeedStatus command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -970,6 +1049,7 @@ module Google command.query['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -984,8 +1064,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -998,8 +1080,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_datafeed_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/datafeedstatuses', options) + def list_datafeed_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options) command.response_representation = Google::Apis::ContentV2::ListDatafeedStatusesResponse::Representation command.response_class = Google::Apis::ContentV2::ListDatafeedStatusesResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -1007,6 +1089,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1019,8 +1102,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1033,8 +1118,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/inventory/batch', options) + def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'inventory/batch', options) command.request_representation = Google::Apis::ContentV2::BatchInventoryRequest::Representation command.request_object = batch_inventory_request_object command.response_representation = Google::Apis::ContentV2::BatchInventoryResponse::Representation @@ -1042,6 +1127,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1061,8 +1147,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1075,8 +1163,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/inventory/{storeCode}/products/{productId}', options) + def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/inventory/{storeCode}/products/{productId}', options) command.request_representation = Google::Apis::ContentV2::SetInventoryRequest::Representation command.request_object = set_inventory_request_object command.response_representation = Google::Apis::ContentV2::SetInventoryResponse::Representation @@ -1087,6 +1175,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1099,8 +1188,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1113,8 +1204,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/liasettings/batch', options) + def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'liasettings/batch', options) command.request_representation = Google::Apis::ContentV2::LiasettingsCustomBatchRequest::Representation command.request_object = liasettings_custom_batch_request_object command.response_representation = Google::Apis::ContentV2::LiasettingsCustomBatchResponse::Representation @@ -1122,6 +1213,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1135,8 +1227,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1149,14 +1243,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings/{accountId}', options) + def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options) command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation command.response_class = Google::Apis::ContentV2::LiaSettings command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1171,8 +1266,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1185,14 +1282,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options) + def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options) command.response_representation = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse::Representation command.response_class = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1206,8 +1304,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1220,8 +1320,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings', options) + def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/liasettings', options) command.response_representation = Google::Apis::ContentV2::LiasettingsListResponse::Representation command.response_class = Google::Apis::ContentV2::LiasettingsListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -1229,6 +1329,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1237,8 +1338,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1251,12 +1354,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/liasettings/posdataproviders', options) + def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'liasettings/posdataproviders', options) command.response_representation = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse::Representation command.response_class = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1272,8 +1376,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1286,8 +1392,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/requestgmbaccess', options) + def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options) command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -1295,6 +1401,7 @@ module Google command.query['gmbEmail'] = gmb_email unless gmb_email.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1311,8 +1418,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1325,8 +1434,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options) + def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options) command.response_representation = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse::Representation command.response_class = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -1334,6 +1443,7 @@ module Google command.params['country'] = country unless country.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1356,8 +1466,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1370,8 +1482,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email: nil, contact_name: nil, country: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options) + def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email, contact_name, country, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options) command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -1382,6 +1494,7 @@ module Google command.query['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1402,8 +1515,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1416,8 +1531,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def setposdataprovider_liasetting(merchant_id, account_id, country: nil, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setposdataprovider', options) + def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options) command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -1427,6 +1542,7 @@ module Google command.query['posExternalAccountId'] = pos_external_account_id unless pos_external_account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1445,8 +1561,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1459,8 +1577,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'content/v2/{merchantId}/liasettings/{accountId}', options) + def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options) command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation command.request_object = lia_settings_object command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation @@ -1470,6 +1588,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1484,8 +1603,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1498,8 +1619,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options) + def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options) command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceRequest::Representation command.request_object = orderinvoices_create_charge_invoice_request_object command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceResponse::Representation @@ -1508,6 +1629,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1524,8 +1646,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1538,8 +1662,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options) + def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options) command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceRequest::Representation command.request_object = orderinvoices_create_refund_invoice_request_object command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceResponse::Representation @@ -1548,6 +1672,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1555,11 +1680,11 @@ module Google # @param [Fixnum] merchant_id # The ID of the account that manages the order. This cannot be a multi-client # account. + # @param [String] disbursement_start_date + # The first date which disbursements occurred. In ISO 8601 format. # @param [String] disbursement_end_date # The last date which disbursements occurred. In ISO 8601 format. Default: # current date. - # @param [String] disbursement_start_date - # The first date which disbursements occurred. In ISO 8601 format. # @param [Fixnum] max_results # The maximum number of disbursements to return in the response, used for paging. # @param [String] page_token @@ -1567,8 +1692,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1581,8 +1708,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def listdisbursements_orderreport(merchant_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/orderreports/disbursements', options) + def listdisbursements_orderreport(merchant_id, disbursement_start_date, disbursement_end_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options) command.response_representation = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse::Representation command.response_class = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -1592,6 +1719,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1602,6 +1730,8 @@ module Google # account. # @param [String] disbursement_id # The Google-provided ID of the disbursement (found in Wallet). + # @param [String] transaction_start_date + # The first date in which transaction occurred. In ISO 8601 format. # @param [Fixnum] max_results # The maximum number of disbursements to return in the response, used for paging. # @param [String] page_token @@ -1609,13 +1739,13 @@ module Google # @param [String] transaction_end_date # The last date in which transaction occurred. In ISO 8601 format. Default: # current date. - # @param [String] transaction_start_date - # The first date in which transaction occurred. In ISO 8601 format. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1628,8 +1758,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def listtransactions_orderreport(merchant_id, disbursement_id, max_results: nil, page_token: nil, transaction_end_date: nil, transaction_start_date: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options) + def listtransactions_orderreport(merchant_id, disbursement_id, transaction_start_date, max_results: nil, page_token: nil, transaction_end_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options) command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -1640,6 +1770,7 @@ module Google command.query['transactionStartDate'] = transaction_start_date unless transaction_start_date.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1652,8 +1783,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1666,14 +1799,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/orderreturns/{returnId}', options) + def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options) command.response_representation = Google::Apis::ContentV2::MerchantOrderReturn::Representation command.response_class = Google::Apis::ContentV2::MerchantOrderReturn command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['returnId'] = return_id unless return_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1698,8 +1832,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1712,8 +1848,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/orderreturns', options) + def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/orderreturns', options) command.response_representation = Google::Apis::ContentV2::OrderreturnsListResponse::Representation command.response_class = Google::Apis::ContentV2::OrderreturnsListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -1724,6 +1860,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1737,8 +1874,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1751,8 +1890,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/acknowledge', options) + def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options) command.request_representation = Google::Apis::ContentV2::OrdersAcknowledgeRequest::Representation command.request_object = orders_acknowledge_request_object command.response_representation = Google::Apis::ContentV2::OrdersAcknowledgeResponse::Representation @@ -1761,6 +1900,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1774,8 +1914,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1788,14 +1930,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/testorders/{orderId}/advance', options) + def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options) command.response_representation = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse::Representation command.response_class = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1809,8 +1952,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1823,8 +1968,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/cancel', options) + def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options) command.request_representation = Google::Apis::ContentV2::OrdersCancelRequest::Representation command.request_object = orders_cancel_request_object command.response_representation = Google::Apis::ContentV2::OrdersCancelResponse::Representation @@ -1833,6 +1978,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1846,8 +1992,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1860,8 +2008,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/cancelLineItem', options) + def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options) command.request_representation = Google::Apis::ContentV2::OrdersCancelLineItemRequest::Representation command.request_object = orders_cancel_line_item_request_object command.response_representation = Google::Apis::ContentV2::OrdersCancelLineItemResponse::Representation @@ -1870,6 +2018,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1883,8 +2032,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1897,8 +2048,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/testorders/{orderId}/cancelByCustomer', options) + def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options) command.request_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest::Representation command.request_object = orders_cancel_test_order_by_customer_request_object command.response_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse::Representation @@ -1907,6 +2058,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1918,8 +2070,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1932,8 +2086,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/testorders', options) + def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/testorders', options) command.request_representation = Google::Apis::ContentV2::OrdersCreateTestOrderRequest::Representation command.request_object = orders_create_test_order_request_object command.response_representation = Google::Apis::ContentV2::OrdersCreateTestOrderResponse::Representation @@ -1941,6 +2095,7 @@ module Google command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1954,8 +2109,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1968,8 +2125,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/testreturn', options) + def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options) command.request_representation = Google::Apis::ContentV2::OrdersCreateTestReturnRequest::Representation command.request_object = orders_create_test_return_request_object command.response_representation = Google::Apis::ContentV2::OrdersCreateTestReturnResponse::Representation @@ -1978,6 +2135,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -1986,8 +2144,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2000,14 +2160,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/orders/batch', options) + def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'orders/batch', options) command.request_representation = Google::Apis::ContentV2::OrdersCustomBatchRequest::Representation command.request_object = orders_custom_batch_request_object command.response_representation = Google::Apis::ContentV2::OrdersCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2::OrdersCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2020,8 +2181,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2034,14 +2197,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/orders/{orderId}', options) + def get_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options) command.response_representation = Google::Apis::ContentV2::Order::Representation command.response_class = Google::Apis::ContentV2::Order command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2054,8 +2218,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2068,14 +2234,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/ordersbymerchantid/{merchantOrderId}', options) + def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options) command.response_representation = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse::Representation command.response_class = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['merchantOrderId'] = merchant_order_id unless merchant_order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2091,8 +2258,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2105,8 +2274,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/testordertemplates/{templateName}', options) + def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options) command.response_representation = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse::Representation command.response_class = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -2114,17 +2283,19 @@ module Google command.query['country'] = country unless country.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end # Deprecated. Notifies that item return and refund was handled directly by # merchant outside of Google payments processing (e.g. cash refund done in store) - # . Note: We recommend calling the returnrefundlineitem method to refund in- - # store returns. We will issue the refund directly to the customer. This helps - # to prevent possible differences arising between merchant and Google - # transaction records. We also recommend having the point of sale system - # communicate with Google to ensure that customers do not receive a double - # refund by first refunding via Google then via an in-store return. + # . + # Note: We recommend calling the returnrefundlineitem method to refund in-store + # returns. We will issue the refund directly to the customer. This helps to + # prevent possible differences arising between merchant and Google transaction + # records. We also recommend having the point of sale system communicate with + # Google to ensure that customers do not receive a double refund by first + # refunding via Google then via an in-store return. # @param [Fixnum] merchant_id # The ID of the account that manages the order. This cannot be a multi-client # account. @@ -2134,8 +2305,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2148,8 +2321,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/inStoreRefundLineItem', options) + def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options) command.request_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemRequest::Representation command.request_object = orders_in_store_refund_line_item_request_object command.response_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemResponse::Representation @@ -2158,6 +2331,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2168,16 +2342,18 @@ module Google # @param [Boolean] acknowledged # Obtains orders that match the acknowledgement status. When set to true, # obtains orders that have been acknowledged. When false, obtains orders that - # have not been acknowledged. We recommend using this filter set to `false`, in - # conjunction with the `acknowledge` call, such that only un-acknowledged orders - # are returned. + # have not been acknowledged. + # We recommend using this filter set to `false`, in conjunction with the ` + # acknowledge` call, such that only un-acknowledged orders are returned. # @param [Fixnum] max_results # The maximum number of orders to return in the response, used for paging. The # default value is 25 orders per page, and the maximum allowed value is 250 # orders per page. # @param [String] order_by - # Order results by placement date in descending or ascending order. Acceptable - # values are: - placedDateAsc - placedDateDesc + # Order results by placement date in descending or ascending order. + # Acceptable values are: + # - placedDateAsc + # - placedDateDesc # @param [String] page_token # The token returned by the previous request. # @param [String] placed_date_end @@ -2192,8 +2368,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2206,8 +2384,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/orders', options) + def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/orders', options) command.response_representation = Google::Apis::ContentV2::OrdersListResponse::Representation command.response_class = Google::Apis::ContentV2::OrdersListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -2220,6 +2398,7 @@ module Google command.query['statuses'] = statuses unless statuses.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2233,8 +2412,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2247,8 +2428,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def refund_order(merchant_id, order_id, orders_refund_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/refund', options) + def refund_order(merchant_id, order_id, orders_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refund', options) command.request_representation = Google::Apis::ContentV2::OrdersRefundRequest::Representation command.request_object = orders_refund_request_object command.response_representation = Google::Apis::ContentV2::OrdersRefundResponse::Representation @@ -2257,6 +2438,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2270,8 +2452,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2284,8 +2468,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/rejectReturnLineItem', options) + def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options) command.request_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemRequest::Representation command.request_object = orders_reject_return_line_item_request_object command.response_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemResponse::Representation @@ -2294,6 +2478,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2307,8 +2492,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2321,8 +2508,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/returnLineItem', options) + def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnLineItem', options) command.request_representation = Google::Apis::ContentV2::OrdersReturnLineItemRequest::Representation command.request_object = orders_return_line_item_request_object command.response_representation = Google::Apis::ContentV2::OrdersReturnLineItemResponse::Representation @@ -2331,6 +2518,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2349,8 +2537,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2363,8 +2553,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/returnRefundLineItem', options) + def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options) command.request_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemRequest::Representation command.request_object = orders_return_refund_line_item_request_object command.response_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemResponse::Representation @@ -2373,6 +2563,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2390,8 +2581,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2404,8 +2597,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/setLineItemMetadata', options) + def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options) command.request_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataRequest::Representation command.request_object = orders_set_line_item_metadata_request_object command.response_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse::Representation @@ -2414,6 +2607,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2427,8 +2621,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2441,8 +2637,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/shipLineItems', options) + def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options) command.request_representation = Google::Apis::ContentV2::OrdersShipLineItemsRequest::Representation command.request_object = orders_ship_line_items_request_object command.response_representation = Google::Apis::ContentV2::OrdersShipLineItemsResponse::Representation @@ -2451,6 +2647,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2464,8 +2661,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2478,8 +2677,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options) + def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options) command.request_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsRequest::Representation command.request_object = orders_update_line_item_shipping_details_request_object command.response_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse::Representation @@ -2488,6 +2687,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2501,8 +2701,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2515,8 +2717,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateMerchantOrderId', options) + def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options) command.request_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest::Representation command.request_object = orders_update_merchant_order_id_request_object command.response_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdResponse::Representation @@ -2525,6 +2727,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2538,8 +2741,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2552,8 +2757,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateShipment', options) + def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options) command.request_representation = Google::Apis::ContentV2::OrdersUpdateShipmentRequest::Representation command.request_object = orders_update_shipment_request_object command.response_representation = Google::Apis::ContentV2::OrdersUpdateShipmentResponse::Representation @@ -2562,6 +2767,7 @@ module Google command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2573,8 +2779,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2587,8 +2795,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/pos/batch', options) + def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'pos/batch', options) command.request_representation = Google::Apis::ContentV2::PosCustomBatchRequest::Representation command.request_object = pos_custom_batch_request_object command.response_representation = Google::Apis::ContentV2::PosCustomBatchResponse::Representation @@ -2596,6 +2804,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2612,8 +2821,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2626,14 +2837,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options) + def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil? command.params['storeCode'] = store_code unless store_code.nil? command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2647,8 +2859,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2661,8 +2875,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options) + def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options) command.response_representation = Google::Apis::ContentV2::PosStore::Representation command.response_class = Google::Apis::ContentV2::PosStore command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -2670,6 +2884,7 @@ module Google command.params['storeCode'] = store_code unless store_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2685,8 +2900,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2699,8 +2916,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/store', options) + def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options) command.request_representation = Google::Apis::ContentV2::PosStore::Representation command.request_object = pos_store_object command.response_representation = Google::Apis::ContentV2::PosStore::Representation @@ -2710,6 +2927,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2725,8 +2943,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2739,8 +2959,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/inventory', options) + def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options) command.request_representation = Google::Apis::ContentV2::PosInventoryRequest::Representation command.request_object = pos_inventory_request_object command.response_representation = Google::Apis::ContentV2::PosInventoryResponse::Representation @@ -2750,6 +2970,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2761,8 +2982,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2775,14 +2998,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/pos/{targetMerchantId}/store', options) + def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options) command.response_representation = Google::Apis::ContentV2::PosListResponse::Representation command.response_class = Google::Apis::ContentV2::PosListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2798,8 +3022,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2812,8 +3038,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/sale', options) + def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options) command.request_representation = Google::Apis::ContentV2::PosSaleRequest::Representation command.request_object = pos_sale_request_object command.response_representation = Google::Apis::ContentV2::PosSaleResponse::Representation @@ -2823,6 +3049,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2834,8 +3061,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2848,8 +3077,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/products/batch', options) + def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'products/batch', options) command.request_representation = Google::Apis::ContentV2::BatchProductsRequest::Representation command.request_object = batch_products_request_object command.response_representation = Google::Apis::ContentV2::BatchProductsResponse::Representation @@ -2857,6 +3086,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2872,8 +3102,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2886,13 +3118,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_product(merchant_id, product_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'content/v2/{merchantId}/products/{productId}', options) + def delete_product(merchant_id, product_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{merchantId}/products/{productId}', options) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2905,8 +3138,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2919,14 +3154,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/products/{productId}', options) + def get_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/products/{productId}', options) command.response_representation = Google::Apis::ContentV2::Product::Representation command.response_class = Google::Apis::ContentV2::Product command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2943,8 +3179,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2957,8 +3195,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_product(merchant_id, product_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/{merchantId}/products', options) + def insert_product(merchant_id, product_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/products', options) command.request_representation = Google::Apis::ContentV2::Product::Representation command.request_object = product_object command.response_representation = Google::Apis::ContentV2::Product::Representation @@ -2967,6 +3205,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -2986,8 +3225,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3000,8 +3241,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/products', options) + def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/products', options) command.response_representation = Google::Apis::ContentV2::ListProductsResponse::Representation command.response_class = Google::Apis::ContentV2::ListProductsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -3010,6 +3251,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3021,8 +3263,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3035,8 +3279,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/productstatuses/batch', options) + def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'productstatuses/batch', options) command.request_representation = Google::Apis::ContentV2::BatchProductStatusesRequest::Representation command.request_object = batch_product_statuses_request_object command.response_representation = Google::Apis::ContentV2::BatchProductStatusesResponse::Representation @@ -3044,6 +3288,7 @@ module Google command.query['includeAttributes'] = include_attributes unless include_attributes.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3062,8 +3307,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3076,8 +3323,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/productstatuses/{productId}', options) + def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options) command.response_representation = Google::Apis::ContentV2::ProductStatus::Representation command.response_class = Google::Apis::ContentV2::ProductStatus command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -3086,6 +3333,7 @@ module Google command.query['includeAttributes'] = include_attributes unless include_attributes.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3110,8 +3358,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3124,8 +3374,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/productstatuses', options) + def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/productstatuses', options) command.response_representation = Google::Apis::ContentV2::ListProductStatusesResponse::Representation command.response_class = Google::Apis::ContentV2::ListProductStatusesResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -3136,6 +3386,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3148,8 +3399,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3162,8 +3415,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'content/v2/shippingsettings/batch', options) + def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'shippingsettings/batch', options) command.request_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchRequest::Representation command.request_object = shippingsettings_custom_batch_request_object command.response_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse::Representation @@ -3171,6 +3424,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3184,8 +3438,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3198,14 +3454,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/shippingsettings/{accountId}', options) + def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options) command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation command.response_class = Google::Apis::ContentV2::ShippingSettings command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3215,8 +3472,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3229,13 +3488,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/supportedCarriers', options) + def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/supportedCarriers', options) command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse::Representation command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3245,8 +3505,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3259,13 +3521,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/supportedHolidays', options) + def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/supportedHolidays', options) command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse::Representation command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3275,8 +3538,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3289,13 +3554,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/supportedPickupServices', options) + def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options) command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse::Representation command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3311,8 +3577,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3325,8 +3593,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'content/v2/{merchantId}/shippingsettings', options) + def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/shippingsettings', options) command.response_representation = Google::Apis::ContentV2::ShippingsettingsListResponse::Representation command.response_class = Google::Apis::ContentV2::ShippingsettingsListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? @@ -3334,6 +3602,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3352,8 +3621,10 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -3366,8 +3637,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'content/v2/{merchantId}/shippingsettings/{accountId}', options) + def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options) command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation command.request_object = shipping_settings_object command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation @@ -3377,6 +3648,7 @@ module Google command.query['dryRun'] = dry_run unless dry_run.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -3385,6 +3657,7 @@ module Google def apply_command_defaults(command) command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? end end end diff --git a/generated/google/apis/content_v2_1.rb b/generated/google/apis/content_v2_1.rb index 10b8871c0..51f221ae0 100644 --- a/generated/google/apis/content_v2_1.rb +++ b/generated/google/apis/content_v2_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2_1 VERSION = 'V2_1' - REVISION = '20200922' + REVISION = '20201006' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2_1/classes.rb b/generated/google/apis/content_v2_1/classes.rb index 17f547043..109033931 100644 --- a/generated/google/apis/content_v2_1/classes.rb +++ b/generated/google/apis/content_v2_1/classes.rb @@ -6080,6 +6080,105 @@ module Google end end + # + class OrderreturnsCreateOrderReturnRequest + include Google::Apis::Core::Hashable + + # The list of line items to return. + # Corresponds to the JSON property `lineItems` + # @return [Array] + attr_accessor :line_items + + # The ID of the operation. Unique across all operations for a given order. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + # The ID of the order. + # Corresponds to the JSON property `orderId` + # @return [String] + attr_accessor :order_id + + # The way of the package being returned. + # Corresponds to the JSON property `returnMethodType` + # @return [String] + attr_accessor :return_method_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @line_items = args[:line_items] if args.key?(:line_items) + @operation_id = args[:operation_id] if args.key?(:operation_id) + @order_id = args[:order_id] if args.key?(:order_id) + @return_method_type = args[:return_method_type] if args.key?(:return_method_type) + end + end + + # + class OrderreturnsCreateOrderReturnResponse + include Google::Apis::Core::Hashable + + # The status of the execution. + # Acceptable values are: + # - "`duplicate`" + # - "`executed`" + # Corresponds to the JSON property `executionStatus` + # @return [String] + attr_accessor :execution_status + + # Identifies what kind of resource this is. Value: the fixed string "content# + # orderreturnsCreateOrderReturnResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Order return. Production access (all methods) requires the order manager role. + # Sandbox access does not. + # Corresponds to the JSON property `orderReturn` + # @return [Google::Apis::ContentV2_1::MerchantOrderReturn] + attr_accessor :order_return + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @execution_status = args[:execution_status] if args.key?(:execution_status) + @kind = args[:kind] if args.key?(:kind) + @order_return = args[:order_return] if args.key?(:order_return) + end + end + + # + class OrderreturnsLineItem + include Google::Apis::Core::Hashable + + # The ID of the line item. This value is assigned by Google when an order is + # created. + # Corresponds to the JSON property `lineItemId` + # @return [String] + attr_accessor :line_item_id + + # The quantity of this line item. + # Corresponds to the JSON property `quantity` + # @return [Fixnum] + attr_accessor :quantity + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @line_item_id = args[:line_item_id] if args.key?(:line_item_id) + @quantity = args[:quantity] if args.key?(:quantity) + end + end + # class OrderreturnsListResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/content_v2_1/representations.rb b/generated/google/apis/content_v2_1/representations.rb index 73e2e16f4..6cdcc0d76 100644 --- a/generated/google/apis/content_v2_1/representations.rb +++ b/generated/google/apis/content_v2_1/representations.rb @@ -892,6 +892,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OrderreturnsCreateOrderReturnRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrderreturnsCreateOrderReturnResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrderreturnsLineItem + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OrderreturnsListResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3397,6 +3415,35 @@ module Google end end + class OrderreturnsCreateOrderReturnRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::OrderreturnsLineItem, decorator: Google::Apis::ContentV2_1::OrderreturnsLineItem::Representation + + property :operation_id, as: 'operationId' + property :order_id, as: 'orderId' + property :return_method_type, as: 'returnMethodType' + end + end + + class OrderreturnsCreateOrderReturnResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :execution_status, as: 'executionStatus' + property :kind, as: 'kind' + property :order_return, as: 'orderReturn', class: Google::Apis::ContentV2_1::MerchantOrderReturn, decorator: Google::Apis::ContentV2_1::MerchantOrderReturn::Representation + + end + end + + class OrderreturnsLineItem + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :line_item_id, as: 'lineItemId' + property :quantity, as: 'quantity' + end + end + class OrderreturnsListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/content_v2_1/service.rb b/generated/google/apis/content_v2_1/service.rb index b9fd757de..5a7bc1755 100644 --- a/generated/google/apis/content_v2_1/service.rb +++ b/generated/google/apis/content_v2_1/service.rb @@ -1844,6 +1844,43 @@ module Google execute_or_queue_command(command, &block) end + # Create return in your Merchant Center account. + # @param [Fixnum] merchant_id + # The ID of the account that manages the order. This cannot be a multi-client + # account. + # @param [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest] orderreturns_create_order_return_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def createorderreturn_orderreturn(merchant_id, orderreturns_create_order_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/orderreturns/createOrderReturn', options) + command.request_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest::Representation + command.request_object = orderreturns_create_order_return_request_object + command.response_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse::Representation + command.response_class = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves an order return from your Merchant Center account. # @param [Fixnum] merchant_id # The ID of the account that manages the order. This cannot be a multi-client diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 85240d2b6..8010d986f 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20201005' + REVISION = '20201006' # 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/dialogflow_v2beta1/service.rb b/generated/google/apis/dialogflow_v2beta1/service.rb index 23f6f29c7..8db2a51e7 100644 --- a/generated/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google/apis/dialogflow_v2beta1/service.rb @@ -1725,6 +1725,19 @@ module Google # knowledgeBases`. # @param [String] parent # Required. The project to list of knowledge bases for. Format: `projects/`. + # @param [String] filter + # The filter expression used to filter knowledge bases returned by the list + # method. The expression has the following syntax: [AND ] ... The following + # fields and operators are supported: * display_name with has(:) operator * + # language_code with equals(=) operator Examples: * 'language_code=en-us' + # matches knowledge bases with en-us language code. * 'display_name:articles' + # matches knowledge bases whose display name contains "articles". * ' + # display_name:"Best Articles"' matches knowledge bases whose display name + # contains "Best Articles". * 'language_code=en-gb AND display_name=articles' + # matches all knowledge bases whose display name contains "articles" and whose + # language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op + # and will result in no filtering. For more information about filtering, see [ + # API Filtering](https://aip.dev/160). # @param [Fixnum] page_size # The maximum number of items to return in a single page. By default 10 and at # most 100. @@ -1747,11 +1760,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_agent_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_agent_knowledge_bases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options) command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? @@ -1906,6 +1920,16 @@ module Google # @param [String] parent # Required. The knowledge base to list all documents for. Format: `projects// # knowledgeBases/`. + # @param [String] filter + # The filter expression used to filter documents returned by the list method. + # The expression has the following syntax: [AND ] ... The following fields and + # operators are supported: * knowledge_types with has(:) operator * display_name + # with has(:) operator * state with equals(=) operator Examples: * " + # knowledge_types:FAQ" matches documents with FAQ knowledge type. * " + # display_name:customer" matches documents whose display name contains "customer" + # . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ + # AND state=ACTIVE" matches all active FAQ documents. For more information about + # filtering, see [API Filtering](https://aip.dev/160). # @param [Fixnum] page_size # The maximum number of items to return in a single page. By default 10 and at # most 100. @@ -1928,11 +1952,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_agent_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_agent_knowledge_basis_documents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options) command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? @@ -2614,6 +2639,19 @@ module Google # knowledgeBases`. # @param [String] parent # Required. The project to list of knowledge bases for. Format: `projects/`. + # @param [String] filter + # The filter expression used to filter knowledge bases returned by the list + # method. The expression has the following syntax: [AND ] ... The following + # fields and operators are supported: * display_name with has(:) operator * + # language_code with equals(=) operator Examples: * 'language_code=en-us' + # matches knowledge bases with en-us language code. * 'display_name:articles' + # matches knowledge bases whose display name contains "articles". * ' + # display_name:"Best Articles"' matches knowledge bases whose display name + # contains "Best Articles". * 'language_code=en-gb AND display_name=articles' + # matches all knowledge bases whose display name contains "articles" and whose + # language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op + # and will result in no filtering. For more information about filtering, see [ + # API Filtering](https://aip.dev/160). # @param [Fixnum] page_size # The maximum number of items to return in a single page. By default 10 and at # most 100. @@ -2636,11 +2674,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_knowledge_bases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options) command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? @@ -2795,6 +2834,16 @@ module Google # @param [String] parent # Required. The knowledge base to list all documents for. Format: `projects// # knowledgeBases/`. + # @param [String] filter + # The filter expression used to filter documents returned by the list method. + # The expression has the following syntax: [AND ] ... The following fields and + # operators are supported: * knowledge_types with has(:) operator * display_name + # with has(:) operator * state with equals(=) operator Examples: * " + # knowledge_types:FAQ" matches documents with FAQ knowledge type. * " + # display_name:customer" matches documents whose display name contains "customer" + # . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ + # AND state=ACTIVE" matches all active FAQ documents. For more information about + # filtering, see [API Filtering](https://aip.dev/160). # @param [Fixnum] page_size # The maximum number of items to return in a single page. By default 10 and at # most 100. @@ -2817,11 +2866,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_knowledge_basis_documents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options) command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? diff --git a/generated/google/apis/displayvideo_v1.rb b/generated/google/apis/displayvideo_v1.rb index 0ca1508fa..d9fdc979c 100644 --- a/generated/google/apis/displayvideo_v1.rb +++ b/generated/google/apis/displayvideo_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/display-video/ module DisplayvideoV1 VERSION = 'V1' - REVISION = '20200924' + REVISION = '20201006' # Create, see, edit, and permanently delete your Display & Video 360 entities and reports AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video' diff --git a/generated/google/apis/displayvideo_v1/service.rb b/generated/google/apis/displayvideo_v1/service.rb index d296bffb8..623d10af2 100644 --- a/generated/google/apis/displayvideo_v1/service.rb +++ b/generated/google/apis/displayvideo_v1/service.rb @@ -1604,16 +1604,19 @@ module Google # combined by `AND` or `OR` logical operators. A sequence of restrictions # implicitly uses `AND`. * A restriction has the form of ``field` `operator` ` # value``. * The operator used on `flight.dateRange.endDate` must be LESS THAN (< - # ). * The operators used on all other fields must be `EQUALS (=)`. * Supported - # fields: - `campaignId` - `displayName` - `insertionOrderId` - `entityStatus` - - # `lineItemId` - `lineItemType` - `flight.dateRange.endDate` (input formatted as - # YYYY-MM-DD) Examples: * All line items under an insertion order: ` - # insertionOrderId="1234"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` - # and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `( - # entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED") - # AND lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"` * All line items whose - # flight dates end before March 28, 2019: `flight.dateRange.endDate<"2019-03-28"` - # The length of this field should be no more than 500 characters. + # ). * The operator used on `warningMessages` must be `HAS (:)`. * The operators + # used on all other fields must be `EQUALS (=)`. * Supported fields: - ` + # campaignId` - `displayName` - `insertionOrderId` - `entityStatus` - ` + # lineItemId` - `lineItemType` - `flight.dateRange.endDate` (input formatted as + # YYYY-MM-DD) - `warningMessages` Examples: * All line items under an insertion + # order: `insertionOrderId="1234"` * All `ENTITY_STATUS_ACTIVE` or ` + # ENTITY_STATUS_PAUSED` and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an + # advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus=" + # ENTITY_STATUS_PAUSED") AND lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"` * + # All line items whose flight dates end before March 28, 2019: `flight.dateRange. + # endDate<"2019-03-28"` * All line items that have `NO_VALID_CREATIVE` in ` + # warningMessages`: `warningMessages:"NO_VALID_CREATIVE"` The length of this + # field should be no more than 500 characters. # @param [String] order_by # Field by which to sort the list. Acceptable values are: * "displayName" ( # default) * "entityStatus" * “flight.dateRange.endDate” The default sorting diff --git a/generated/google/apis/doubleclickbidmanager_v1_1.rb b/generated/google/apis/doubleclickbidmanager_v1_1.rb index e51326ffc..7e9da0c6b 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1_1 VERSION = 'V1_1' - REVISION = '20200827' + REVISION = '20200930' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb b/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb index 1864d050b..6cfd97ced 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb @@ -232,7 +232,7 @@ module Google class EventFilter include Google::Apis::Core::Hashable - # Dimension Filter for a Path Filter. + # Dimension Filter on path events. # Corresponds to the JSON property `dimensionFilter` # @return [Google::Apis::DoubleclickbidmanagerV1_1::PathQueryOptionsFilter] attr_accessor :dimension_filter @@ -470,7 +470,7 @@ module Google end end - # Dimension Filter for a Path Filter. + # Dimension Filter on path events. class PathQueryOptionsFilter include Google::Apis::Core::Hashable diff --git a/generated/google/apis/licensing_v1.rb b/generated/google/apis/licensing_v1.rb index 1a0f2da74..5c273535d 100644 --- a/generated/google/apis/licensing_v1.rb +++ b/generated/google/apis/licensing_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/admin-sdk/licensing/ module LicensingV1 VERSION = 'V1' - REVISION = '20200912' + REVISION = '20201005' # View and manage G Suite licenses for your domain AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing' diff --git a/generated/google/apis/licensing_v1/service.rb b/generated/google/apis/licensing_v1/service.rb index 41a02cf7a..8a0fc8f72 100644 --- a/generated/google/apis/licensing_v1/service.rb +++ b/generated/google/apis/licensing_v1/service.rb @@ -44,8 +44,8 @@ module Google attr_accessor :quota_user def initialize - super('https://www.googleapis.com/', '') - @batch_path = 'batch/licensing/v1' + super('https://licensing.googleapis.com/', '') + @batch_path = 'batch' end # Revoke a license. diff --git a/generated/google/apis/memcache_v1beta2.rb b/generated/google/apis/memcache_v1beta2.rb index 6aa3a6da4..0995d336a 100644 --- a/generated/google/apis/memcache_v1beta2.rb +++ b/generated/google/apis/memcache_v1beta2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/memorystore/ module MemcacheV1beta2 VERSION = 'V1beta2' - REVISION = '20200928' + REVISION = '20201006' # 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/memcache_v1beta2/classes.rb b/generated/google/apis/memcache_v1beta2/classes.rb index 9d69b25bd..4655b3ff2 100644 --- a/generated/google/apis/memcache_v1beta2/classes.rb +++ b/generated/google/apis/memcache_v1beta2/classes.rb @@ -193,7 +193,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/oauth2_v2.rb b/generated/google/apis/oauth2_v2.rb new file mode 100644 index 000000000..483381e83 --- /dev/null +++ b/generated/google/apis/oauth2_v2.rb @@ -0,0 +1,40 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/oauth2_v2/service.rb' +require 'google/apis/oauth2_v2/classes.rb' +require 'google/apis/oauth2_v2/representations.rb' + +module Google + module Apis + # Google OAuth2 API + # + # Obtains end-user authorization grants for use with other Google APIs. + # + # @see https://developers.google.com/identity/protocols/oauth2/ + module Oauth2V2 + VERSION = 'V2' + REVISION = '20200213' + + # View your email address + AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' + + # See your personal info, including any personal info you've made publicly available + AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' + + # Associate you with your personal info on Google + PENID = 'openid' + end + end +end diff --git a/generated/google/apis/oauth2_v2/classes.rb b/generated/google/apis/oauth2_v2/classes.rb new file mode 100644 index 000000000..ada9a3162 --- /dev/null +++ b/generated/google/apis/oauth2_v2/classes.rb @@ -0,0 +1,165 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module Oauth2V2 + + # + class Tokeninfo + include Google::Apis::Core::Hashable + + # Who is the intended audience for this token. In general the same as issued_to. + # Corresponds to the JSON property `audience` + # @return [String] + attr_accessor :audience + + # The email address of the user. Present only if the email scope is present in + # the request. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # The expiry time of the token, as number of seconds left until expiry. + # Corresponds to the JSON property `expires_in` + # @return [Fixnum] + attr_accessor :expires_in + + # To whom was the token issued to. In general the same as audience. + # Corresponds to the JSON property `issued_to` + # @return [String] + attr_accessor :issued_to + + # The space separated list of scopes granted to this token. + # Corresponds to the JSON property `scope` + # @return [String] + attr_accessor :scope + + # The obfuscated user id. + # Corresponds to the JSON property `user_id` + # @return [String] + attr_accessor :user_id + + # Boolean flag which is true if the email address is verified. Present only if + # the email scope is present in the request. + # Corresponds to the JSON property `verified_email` + # @return [Boolean] + attr_accessor :verified_email + alias_method :verified_email?, :verified_email + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audience = args[:audience] if args.key?(:audience) + @email = args[:email] if args.key?(:email) + @expires_in = args[:expires_in] if args.key?(:expires_in) + @issued_to = args[:issued_to] if args.key?(:issued_to) + @scope = args[:scope] if args.key?(:scope) + @user_id = args[:user_id] if args.key?(:user_id) + @verified_email = args[:verified_email] if args.key?(:verified_email) + end + end + + # + class Userinfo + include Google::Apis::Core::Hashable + + # The user's email address. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # The user's last name. + # Corresponds to the JSON property `family_name` + # @return [String] + attr_accessor :family_name + + # The user's gender. + # Corresponds to the JSON property `gender` + # @return [String] + attr_accessor :gender + + # The user's first name. + # Corresponds to the JSON property `given_name` + # @return [String] + attr_accessor :given_name + + # The hosted domain e.g. example.com if the user is Google apps user. + # Corresponds to the JSON property `hd` + # @return [String] + attr_accessor :hd + + # The obfuscated ID of the user. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # URL of the profile page. + # Corresponds to the JSON property `link` + # @return [String] + attr_accessor :link + + # The user's preferred locale. + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # The user's full name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # URL of the user's picture image. + # Corresponds to the JSON property `picture` + # @return [String] + attr_accessor :picture + + # Boolean flag which is true if the email address is verified. Always verified + # because we only return the user's primary email address. + # Corresponds to the JSON property `verified_email` + # @return [Boolean] + attr_accessor :verified_email + alias_method :verified_email?, :verified_email + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email = args[:email] if args.key?(:email) + @family_name = args[:family_name] if args.key?(:family_name) + @gender = args[:gender] if args.key?(:gender) + @given_name = args[:given_name] if args.key?(:given_name) + @hd = args[:hd] if args.key?(:hd) + @id = args[:id] if args.key?(:id) + @link = args[:link] if args.key?(:link) + @locale = args[:locale] if args.key?(:locale) + @name = args[:name] if args.key?(:name) + @picture = args[:picture] if args.key?(:picture) + @verified_email = args[:verified_email] if args.key?(:verified_email) + end + end + end + end +end diff --git a/generated/google/apis/oauth2_v2/representations.rb b/generated/google/apis/oauth2_v2/representations.rb new file mode 100644 index 000000000..b1ce7fd9d --- /dev/null +++ b/generated/google/apis/oauth2_v2/representations.rb @@ -0,0 +1,68 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module Oauth2V2 + + class Tokeninfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Userinfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Tokeninfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audience, as: 'audience' + property :email, as: 'email' + property :expires_in, as: 'expires_in' + property :issued_to, as: 'issued_to' + property :scope, as: 'scope' + property :user_id, as: 'user_id' + property :verified_email, as: 'verified_email' + end + end + + class Userinfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email, as: 'email' + property :family_name, as: 'family_name' + property :gender, as: 'gender' + property :given_name, as: 'given_name' + property :hd, as: 'hd' + property :id, as: 'id' + property :link, as: 'link' + property :locale, as: 'locale' + property :name, as: 'name' + property :picture, as: 'picture' + property :verified_email, as: 'verified_email' + end + end + end + end +end diff --git a/generated/google/apis/oauth2_v2/service.rb b/generated/google/apis/oauth2_v2/service.rb new file mode 100644 index 000000000..295c53e74 --- /dev/null +++ b/generated/google/apis/oauth2_v2/service.rb @@ -0,0 +1,158 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module Oauth2V2 + # Google OAuth2 API + # + # Obtains end-user authorization grants for use with other Google APIs. + # + # @example + # require 'google/apis/oauth2_v2' + # + # Oauth2 = Google::Apis::Oauth2V2 # Alias the module + # service = Oauth2::Oauth2Service.new + # + # @see https://developers.google.com/identity/protocols/oauth2/ + class Oauth2Service < Google::Apis::Core::BaseService + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + + # @return [String] + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + attr_accessor :quota_user + + # @return [String] + # Deprecated. Please use quotaUser instead. + attr_accessor :user_ip + + def initialize + super('https://www.googleapis.com/', '') + @batch_path = 'batch/oauth2/v2' + end + + # + # @param [String] access_token + # @param [String] id_token + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Oauth2V2::Tokeninfo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Oauth2V2::Tokeninfo] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def tokeninfo(access_token: nil, id_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'oauth2/v2/tokeninfo', options) + command.response_representation = Google::Apis::Oauth2V2::Tokeninfo::Representation + command.response_class = Google::Apis::Oauth2V2::Tokeninfo + command.query['access_token'] = access_token unless access_token.nil? + command.query['id_token'] = id_token unless id_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Oauth2V2::Userinfo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Oauth2V2::Userinfo] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_userinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'oauth2/v2/userinfo', options) + command.response_representation = Google::Apis::Oauth2V2::Userinfo::Representation + command.response_class = Google::Apis::Oauth2V2::Userinfo + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Oauth2V2::Userinfo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Oauth2V2::Userinfo] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_userinfo_v2(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userinfo/v2/me', options) + command.response_representation = Google::Apis::Oauth2V2::Userinfo::Representation + command.response_class = Google::Apis::Oauth2V2::Userinfo + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + end + end + end + end +end diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index 7d32b8958..1a7363b91 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20201004' + REVISION = '20201006' # See, edit, download, and permanently delete your contacts AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb index abd9ac144..883d1922a 100644 --- a/generated/google/apis/people_v1/classes.rb +++ b/generated/google/apis/people_v1/classes.rb @@ -2568,7 +2568,7 @@ module Google # The type of the URL. The type can be custom or one of these predefined values: # * `home` * `work` * `blog` * `profile` * `homePage` * `ftp` * `reservations` * - # `appInstallPage`: website for a Google+ application. * `other` + # `appInstallPage`: website for a Currents application. * `other` # Corresponds to the JSON property `type` # @return [String] attr_accessor :type diff --git a/generated/google/apis/realtimebidding_v1.rb b/generated/google/apis/realtimebidding_v1.rb index 5f3006ac7..0ff495985 100644 --- a/generated/google/apis/realtimebidding_v1.rb +++ b/generated/google/apis/realtimebidding_v1.rb @@ -28,7 +28,7 @@ module Google # @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/ module RealtimebiddingV1 VERSION = 'V1' - REVISION = '20200922' + REVISION = '20201006' # See, create, edit, and delete your Authorized Buyers and Open Bidding account entities AUTH_REALTIME_BIDDING = 'https://www.googleapis.com/auth/realtime-bidding' diff --git a/generated/google/apis/realtimebidding_v1/classes.rb b/generated/google/apis/realtimebidding_v1/classes.rb index 488c3bbb1..0143f0cb5 100644 --- a/generated/google/apis/realtimebidding_v1/classes.rb +++ b/generated/google/apis/realtimebidding_v1/classes.rb @@ -22,45 +22,6 @@ module Google module Apis module RealtimebiddingV1 - # Detected ad technology provider information. - class AdTechnologyProviders - include Google::Apis::Core::Hashable - - # The detected ad technology provider IDs for this creative. See https://storage. - # googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID - # to provided name, a privacy policy URL, and a list of domains which can be - # attributed to the provider. If the creative contains provider IDs that are - # outside of those listed in the `BidRequest.adslot.consented_providers_settings. - # consented_providers` field on the [Google bid protocol](https://developers. - # google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto) and the ` - # BidRequest.user.ext.consented_providers_settings.consented_providers` field on - # the [OpenRTB protocol](https://developers.google.com/authorized-buyers/rtb/ - # downloads/openrtb-adx-proto), and a bid is submitted with that creative for an - # impression that will serve to an EEA user, the bid will be filtered before the - # auction. - # Corresponds to the JSON property `detectedProviderIds` - # @return [Array] - attr_accessor :detected_provider_ids - - # Whether the creative contains an unidentified ad technology provider. If true - # for a given creative, any bid submitted with that creative for an impression - # that will serve to an EEA user will be filtered before the auction. - # Corresponds to the JSON property `hasUnidentifiedProvider` - # @return [Boolean] - attr_accessor :has_unidentified_provider - alias_method :has_unidentified_provider?, :has_unidentified_provider - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @detected_provider_ids = args[:detected_provider_ids] if args.key?(:detected_provider_ids) - @has_unidentified_provider = args[:has_unidentified_provider] if args.key?(:has_unidentified_provider) - end - end - # Detected advertiser and brand information. class AdvertiserAndBrand include Google::Apis::Core::Hashable @@ -275,11 +236,6 @@ module Google class CreativeServingDecision include Google::Apis::Core::Hashable - # Detected ad technology provider information. - # Corresponds to the JSON property `adTechnologyProviders` - # @return [Google::Apis::RealtimebiddingV1::AdTechnologyProviders] - attr_accessor :ad_technology_providers - # Serving status of the creative for a transaction type or a region. # Corresponds to the JSON property `chinaServingStatus` # @return [Google::Apis::RealtimebiddingV1::ServingStatus] @@ -373,7 +329,6 @@ module Google # Update properties of this object def update!(**args) - @ad_technology_providers = args[:ad_technology_providers] if args.key?(:ad_technology_providers) @china_serving_status = args[:china_serving_status] if args.key?(:china_serving_status) @deals_serving_status = args[:deals_serving_status] if args.key?(:deals_serving_status) @detected_advertisers = args[:detected_advertisers] if args.key?(:detected_advertisers) diff --git a/generated/google/apis/realtimebidding_v1/representations.rb b/generated/google/apis/realtimebidding_v1/representations.rb index 7776dd6f1..987354465 100644 --- a/generated/google/apis/realtimebidding_v1/representations.rb +++ b/generated/google/apis/realtimebidding_v1/representations.rb @@ -22,12 +22,6 @@ module Google module Apis module RealtimebiddingV1 - class AdTechnologyProviders - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AdvertiserAndBrand class Representation < Google::Apis::Core::JsonRepresentation; end @@ -214,14 +208,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AdTechnologyProviders - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :detected_provider_ids, as: 'detectedProviderIds' - property :has_unidentified_provider, as: 'hasUnidentifiedProvider' - end - end - class AdvertiserAndBrand # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -271,8 +257,6 @@ module Google class CreativeServingDecision # @private class Representation < Google::Apis::Core::JsonRepresentation - property :ad_technology_providers, as: 'adTechnologyProviders', class: Google::Apis::RealtimebiddingV1::AdTechnologyProviders, decorator: Google::Apis::RealtimebiddingV1::AdTechnologyProviders::Representation - property :china_serving_status, as: 'chinaServingStatus', class: Google::Apis::RealtimebiddingV1::ServingStatus, decorator: Google::Apis::RealtimebiddingV1::ServingStatus::Representation property :deals_serving_status, as: 'dealsServingStatus', class: Google::Apis::RealtimebiddingV1::ServingStatus, decorator: Google::Apis::RealtimebiddingV1::ServingStatus::Representation diff --git a/generated/google/apis/remotebuildexecution_v1alpha.rb b/generated/google/apis/remotebuildexecution_v1alpha.rb index 7a42d7a62..5ff5d459f 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1alpha VERSION = 'V1alpha' - REVISION = '20200901' + REVISION = '20201006' # 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/remotebuildexecution_v1alpha/classes.rb b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb index 3a7d14a94..5f29f4fd4 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb @@ -1464,6 +1464,11 @@ module Google attr_accessor :docker_cache_hit alias_method :docker_cache_hit?, :docker_cache_hit + # Docker Image name. + # Corresponds to the JSON property `dockerImageName` + # @return [String] + attr_accessor :docker_image_name + # The input cache miss ratio. # Corresponds to the JSON property `inputCacheMiss` # @return [Float] @@ -1486,6 +1491,7 @@ module Google # Update properties of this object def update!(**args) @docker_cache_hit = args[:docker_cache_hit] if args.key?(:docker_cache_hit) + @docker_image_name = args[:docker_image_name] if args.key?(:docker_image_name) @input_cache_miss = args[:input_cache_miss] if args.key?(:input_cache_miss) @num_errors = args[:num_errors] if args.key?(:num_errors) @num_warnings = args[:num_warnings] if args.key?(:num_warnings) diff --git a/generated/google/apis/remotebuildexecution_v1alpha/representations.rb b/generated/google/apis/remotebuildexecution_v1alpha/representations.rb index 8e2749e5b..759deedbc 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/representations.rb @@ -670,6 +670,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :docker_cache_hit, as: 'dockerCacheHit' + property :docker_image_name, as: 'dockerImageName' property :input_cache_miss, as: 'inputCacheMiss' property :num_errors, :numeric_string => true, as: 'numErrors' property :num_warnings, :numeric_string => true, as: 'numWarnings' diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index f6927482d..d258778a8 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/storage-transfer/docs module StoragetransferV1 VERSION = 'V1' - REVISION = '20200924' + 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/storagetransfer_v1/classes.rb b/generated/google/apis/storagetransfer_v1/classes.rb index c53e7ac0c..5845ae905 100644 --- a/generated/google/apis/storagetransfer_v1/classes.rb +++ b/generated/google/apis/storagetransfer_v1/classes.rb @@ -134,6 +134,19 @@ module Google end end + # The request message for Operations.CancelOperation. + class CancelOperationRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Represents a whole or partial calendar date, e.g. a birthday. The time of day # and time zone are either specified elsewhere or are not significant. The date # is relative to the Proleptic Gregorian Calendar. This can represent: * A full diff --git a/generated/google/apis/storagetransfer_v1/representations.rb b/generated/google/apis/storagetransfer_v1/representations.rb index aa097401f..ea3dc09b5 100644 --- a/generated/google/apis/storagetransfer_v1/representations.rb +++ b/generated/google/apis/storagetransfer_v1/representations.rb @@ -46,6 +46,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CancelOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Date class Representation < Google::Apis::Core::JsonRepresentation; end @@ -218,6 +224,12 @@ module Google end end + class CancelOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class Date # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/storagetransfer_v1/service.rb b/generated/google/apis/storagetransfer_v1/service.rb index 6b0619f36..1a8201fc1 100644 --- a/generated/google/apis/storagetransfer_v1/service.rb +++ b/generated/google/apis/storagetransfer_v1/service.rb @@ -117,7 +117,7 @@ module Google # Gets a transfer job. # @param [String] job_name - # " Required. The job to get. + # Required. " The job to get. # @param [String] project_id # Required. The ID of the Google Cloud Platform Console project that owns the # job. @@ -246,6 +246,7 @@ module Google # discovered tomorrow. # @param [String] name # The name of the operation resource to be cancelled. + # @param [Google::Apis::StoragetransferV1::CancelOperationRequest] cancel_operation_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -263,8 +264,10 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block) + def cancel_transfer_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.request_representation = Google::Apis::StoragetransferV1::CancelOperationRequest::Representation + command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation command.response_class = Google::Apis::StoragetransferV1::Empty command.params['name'] = name unless name.nil? diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index f0cf4ddf5..a5ce7a027 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-test-lab/ module TestingV1 VERSION = 'V1' - REVISION = '20200914' + 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/testing_v1/classes.rb b/generated/google/apis/testing_v1/classes.rb index 26aa58150..12dacf1d4 100644 --- a/generated/google/apis/testing_v1/classes.rb +++ b/generated/google/apis/testing_v1/classes.rb @@ -1215,6 +1215,38 @@ module Google end end + # A file or directory to install on the device before the test starts. + class IosDeviceFile + include Google::Apis::Core::Hashable + + # The bundle id of the app where this file lives. iOS apps sandbox their own + # filesystem, so app files must specify which app installed on the device. + # Corresponds to the JSON property `bundleId` + # @return [String] + attr_accessor :bundle_id + + # A reference to a file, used for user inputs. + # Corresponds to the JSON property `content` + # @return [Google::Apis::TestingV1::FileReference] + attr_accessor :content + + # Location of the file on the device, inside the app's sandboxed filesystem + # Corresponds to the JSON property `devicePath` + # @return [String] + attr_accessor :device_path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bundle_id = args[:bundle_id] if args.key?(:bundle_id) + @content = args[:content] if args.key?(:content) + @device_path = args[:device_path] if args.key?(:device_path) + end + end + # A list of iOS device configurations in which the test is to be executed. class IosDeviceList include Google::Apis::Core::Hashable @@ -1380,6 +1412,19 @@ module Google # @return [String] attr_accessor :network_profile + # List of directories on the device to upload to Cloud Storage at the end of the + # test. Directories should either be in a shared directory (e.g. /private/var/ + # mobile/Media) or within an accessible directory inside the app's filesystem (e. + # g. /Documents) by specifying the bundle id. + # Corresponds to the JSON property `pullDirectories` + # @return [Array] + attr_accessor :pull_directories + + # List of files to push to the device before starting the test. + # Corresponds to the JSON property `pushFiles` + # @return [Array] + attr_accessor :push_files + def initialize(**args) update!(**args) end @@ -1388,6 +1433,8 @@ module Google def update!(**args) @additional_ipas = args[:additional_ipas] if args.key?(:additional_ipas) @network_profile = args[:network_profile] if args.key?(:network_profile) + @pull_directories = args[:pull_directories] if args.key?(:pull_directories) + @push_files = args[:push_files] if args.key?(:push_files) end end diff --git a/generated/google/apis/testing_v1/representations.rb b/generated/google/apis/testing_v1/representations.rb index 209335353..b769205a1 100644 --- a/generated/google/apis/testing_v1/representations.rb +++ b/generated/google/apis/testing_v1/representations.rb @@ -220,6 +220,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class IosDeviceFile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class IosDeviceList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -780,6 +786,16 @@ module Google end end + class IosDeviceFile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bundle_id, as: 'bundleId' + property :content, as: 'content', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation + + property :device_path, as: 'devicePath' + end + end + class IosDeviceList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -829,6 +845,10 @@ module Google collection :additional_ipas, as: 'additionalIpas', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation property :network_profile, as: 'networkProfile' + collection :pull_directories, as: 'pullDirectories', class: Google::Apis::TestingV1::IosDeviceFile, decorator: Google::Apis::TestingV1::IosDeviceFile::Representation + + collection :push_files, as: 'pushFiles', class: Google::Apis::TestingV1::IosDeviceFile, decorator: Google::Apis::TestingV1::IosDeviceFile::Representation + end end diff --git a/generated/google/apis/videointelligence_v1.rb b/generated/google/apis/videointelligence_v1.rb index 793937cdf..2f987aecc 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 = '20200921' + REVISION = '20201002' # 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 e67a93fa2..fcdc8eff5 100644 --- a/generated/google/apis/videointelligence_v1/classes.rb +++ b/generated/google/apis/videointelligence_v1/classes.rb @@ -302,6 +302,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -356,6 +388,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1LabelAnnotation include Google::Apis::Core::Hashable @@ -1279,6 +1357,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -1370,6 +1453,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -1735,6 +1819,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -1754,6 +1870,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1beta2FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1beta2FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1beta2LabelAnnotation include Google::Apis::Core::Hashable @@ -2395,6 +2557,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -2486,6 +2653,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -2782,6 +2950,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -2801,6 +3001,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -3442,6 +3688,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -3533,6 +3784,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -3829,6 +4081,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -3848,6 +4132,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -4489,6 +4819,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -4580,6 +4915,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -4962,6 +5298,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -4981,6 +5349,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -5407,7 +5821,8 @@ module Google include Google::Apis::Core::Hashable # Streaming annotation results corresponding to a portion of the video that is - # currently being processed. + # currently being processed. Only ONE type of annotation will be specified in + # the response. # Corresponds to the JSON property `annotationResults` # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults] attr_accessor :annotation_results @@ -5442,7 +5857,8 @@ module Google end # Streaming annotation results corresponding to a portion of the video that is - # currently being processed. + # currently being processed. Only ONE type of annotation will be specified in + # the response. class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults include Google::Apis::Core::Hashable @@ -5453,6 +5869,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Timestamp of the processed frame in microseconds. + # Corresponds to the JSON property `frameTimestamp` + # @return [String] + attr_accessor :frame_timestamp + # Label annotation results. # Corresponds to the JSON property `labelAnnotations` # @return [Array] @@ -5475,6 +5896,7 @@ module Google # Update properties of this object def update!(**args) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @frame_timestamp = args[:frame_timestamp] if args.key?(:frame_timestamp) @label_annotations = args[:label_annotations] if args.key?(:label_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @@ -5733,6 +6155,11 @@ module Google # @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -5825,6 +6252,7 @@ module Google @celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) diff --git a/generated/google/apis/videointelligence_v1/representations.rb b/generated/google/apis/videointelligence_v1/representations.rb index bc7bf6329..2431e42be 100644 --- a/generated/google/apis/videointelligence_v1/representations.rb +++ b/generated/google/apis/videointelligence_v1/representations.rb @@ -76,6 +76,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -88,6 +94,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -304,12 +322,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta2FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -478,12 +514,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -652,12 +706,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -844,12 +916,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1105,6 +1195,17 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1121,6 +1222,23 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1384,6 +1502,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceAnnotation::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 @@ -1518,6 +1638,17 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1525,6 +1656,23 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1beta2FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1723,6 +1871,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceAnnotation::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 @@ -1833,6 +1983,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1840,6 +2001,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2038,6 +2216,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation::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 @@ -2148,6 +2328,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2155,6 +2346,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2353,6 +2561,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation::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 @@ -2491,6 +2701,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2498,6 +2719,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2645,6 +2883,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation + property :frame_timestamp, as: 'frameTimestamp' collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation @@ -2732,6 +2971,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation diff --git a/generated/google/apis/videointelligence_v1beta2.rb b/generated/google/apis/videointelligence_v1beta2.rb index f1562249f..957d667b4 100644 --- a/generated/google/apis/videointelligence_v1beta2.rb +++ b/generated/google/apis/videointelligence_v1beta2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/video-intelligence/docs/ module VideointelligenceV1beta2 VERSION = 'V1beta2' - REVISION = '20200921' + REVISION = '20201002' # 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_v1beta2/classes.rb b/generated/google/apis/videointelligence_v1beta2/classes.rb index e2487f1b2..54455567c 100644 --- a/generated/google/apis/videointelligence_v1beta2/classes.rb +++ b/generated/google/apis/videointelligence_v1beta2/classes.rb @@ -215,6 +215,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -234,6 +266,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1LabelAnnotation include Google::Apis::Core::Hashable @@ -875,6 +953,11 @@ module Google # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -966,6 +1049,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -1349,6 +1433,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -1403,6 +1519,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1beta2FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1beta2FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1beta2LabelAnnotation include Google::Apis::Core::Hashable @@ -2326,6 +2488,11 @@ module Google # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -2417,6 +2584,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -2782,6 +2950,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -2801,6 +3001,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -3442,6 +3688,11 @@ module Google # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -3533,6 +3784,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -3829,6 +4081,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -3848,6 +4132,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -4489,6 +4819,11 @@ module Google # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -4580,6 +4915,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -4962,6 +5298,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -4981,6 +5349,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -5407,7 +5821,8 @@ module Google include Google::Apis::Core::Hashable # Streaming annotation results corresponding to a portion of the video that is - # currently being processed. + # currently being processed. Only ONE type of annotation will be specified in + # the response. # Corresponds to the JSON property `annotationResults` # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults] attr_accessor :annotation_results @@ -5442,7 +5857,8 @@ module Google end # Streaming annotation results corresponding to a portion of the video that is - # currently being processed. + # currently being processed. Only ONE type of annotation will be specified in + # the response. class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults include Google::Apis::Core::Hashable @@ -5453,6 +5869,11 @@ module Google # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Timestamp of the processed frame in microseconds. + # Corresponds to the JSON property `frameTimestamp` + # @return [String] + attr_accessor :frame_timestamp + # Label annotation results. # Corresponds to the JSON property `labelAnnotations` # @return [Array] @@ -5475,6 +5896,7 @@ module Google # Update properties of this object def update!(**args) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @frame_timestamp = args[:frame_timestamp] if args.key?(:frame_timestamp) @label_annotations = args[:label_annotations] if args.key?(:label_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @@ -5733,6 +6155,11 @@ module Google # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -5825,6 +6252,7 @@ module Google @celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) diff --git a/generated/google/apis/videointelligence_v1beta2/representations.rb b/generated/google/apis/videointelligence_v1beta2/representations.rb index 83ed7c9c4..53ca755fb 100644 --- a/generated/google/apis/videointelligence_v1beta2/representations.rb +++ b/generated/google/apis/videointelligence_v1beta2/representations.rb @@ -64,12 +64,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -250,6 +268,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -262,6 +286,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta2FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -478,12 +514,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -652,12 +706,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -844,12 +916,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1067,6 +1157,17 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1074,6 +1175,23 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1272,6 +1390,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation @@ -1402,6 +1522,17 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1418,6 +1549,23 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1beta2FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1681,6 +1829,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation @@ -1815,6 +1965,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1822,6 +1983,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2020,6 +2198,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation @@ -2130,6 +2310,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2137,6 +2328,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2335,6 +2543,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation @@ -2473,6 +2683,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2480,6 +2701,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2627,6 +2865,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation + property :frame_timestamp, as: 'frameTimestamp' collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation @@ -2714,6 +2953,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation diff --git a/generated/google/apis/videointelligence_v1p1beta1.rb b/generated/google/apis/videointelligence_v1p1beta1.rb index bc5addf46..aa39d8e13 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 = '20200921' + REVISION = '20201002' # 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 d39a8ce79..ff4fca378 100644 --- a/generated/google/apis/videointelligence_v1p1beta1/classes.rb +++ b/generated/google/apis/videointelligence_v1p1beta1/classes.rb @@ -215,6 +215,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -234,6 +266,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1LabelAnnotation include Google::Apis::Core::Hashable @@ -875,6 +953,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -966,6 +1049,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -1262,6 +1346,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -1281,6 +1397,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1beta2FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1beta2FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1beta2LabelAnnotation include Google::Apis::Core::Hashable @@ -1922,6 +2084,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -2013,6 +2180,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -2396,6 +2564,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -2450,6 +2650,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -3373,6 +3619,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -3464,6 +3715,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -3829,6 +4081,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -3848,6 +4132,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -4489,6 +4819,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -4580,6 +4915,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -4962,6 +5298,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -4981,6 +5349,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -5407,7 +5821,8 @@ module Google include Google::Apis::Core::Hashable # Streaming annotation results corresponding to a portion of the video that is - # currently being processed. + # currently being processed. Only ONE type of annotation will be specified in + # the response. # Corresponds to the JSON property `annotationResults` # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults] attr_accessor :annotation_results @@ -5442,7 +5857,8 @@ module Google end # Streaming annotation results corresponding to a portion of the video that is - # currently being processed. + # currently being processed. Only ONE type of annotation will be specified in + # the response. class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults include Google::Apis::Core::Hashable @@ -5453,6 +5869,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Timestamp of the processed frame in microseconds. + # Corresponds to the JSON property `frameTimestamp` + # @return [String] + attr_accessor :frame_timestamp + # Label annotation results. # Corresponds to the JSON property `labelAnnotations` # @return [Array] @@ -5475,6 +5896,7 @@ module Google # Update properties of this object def update!(**args) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @frame_timestamp = args[:frame_timestamp] if args.key?(:frame_timestamp) @label_annotations = args[:label_annotations] if args.key?(:label_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @@ -5733,6 +6155,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -5825,6 +6252,7 @@ module Google @celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) diff --git a/generated/google/apis/videointelligence_v1p1beta1/representations.rb b/generated/google/apis/videointelligence_v1p1beta1/representations.rb index 00ad0d22c..bb7d11b24 100644 --- a/generated/google/apis/videointelligence_v1p1beta1/representations.rb +++ b/generated/google/apis/videointelligence_v1p1beta1/representations.rb @@ -64,12 +64,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -238,12 +256,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta2FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -424,6 +460,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -436,6 +478,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -652,12 +706,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -844,12 +916,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1067,6 +1157,17 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1074,6 +1175,23 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1272,6 +1390,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceAnnotation::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 @@ -1382,6 +1502,17 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1389,6 +1520,23 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1beta2FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1587,6 +1735,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation::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 @@ -1717,6 +1867,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1733,6 +1894,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1996,6 +2174,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation::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 @@ -2130,6 +2310,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2137,6 +2328,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2335,6 +2543,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation::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 @@ -2473,6 +2683,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2480,6 +2701,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2627,6 +2865,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation + property :frame_timestamp, as: 'frameTimestamp' collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation @@ -2714,6 +2953,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation diff --git a/generated/google/apis/videointelligence_v1p2beta1.rb b/generated/google/apis/videointelligence_v1p2beta1.rb index 4c268c818..f13582f1c 100644 --- a/generated/google/apis/videointelligence_v1p2beta1.rb +++ b/generated/google/apis/videointelligence_v1p2beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/video-intelligence/docs/ module VideointelligenceV1p2beta1 VERSION = 'V1p2beta1' - REVISION = '20200921' + REVISION = '20201002' # 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_v1p2beta1/classes.rb b/generated/google/apis/videointelligence_v1p2beta1/classes.rb index fa0f15b3d..6a26039ff 100644 --- a/generated/google/apis/videointelligence_v1p2beta1/classes.rb +++ b/generated/google/apis/videointelligence_v1p2beta1/classes.rb @@ -215,6 +215,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -234,6 +266,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1LabelAnnotation include Google::Apis::Core::Hashable @@ -875,6 +953,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -966,6 +1049,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -1262,6 +1346,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -1281,6 +1397,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1beta2FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1beta2FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1beta2LabelAnnotation include Google::Apis::Core::Hashable @@ -1922,6 +2084,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -2013,6 +2180,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -2309,6 +2477,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -2328,6 +2528,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -2969,6 +3215,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -3060,6 +3311,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -3443,6 +3695,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -3497,6 +3781,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -4420,6 +4750,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -4511,6 +4846,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -4962,6 +5298,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -4981,6 +5349,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -5407,7 +5821,8 @@ module Google include Google::Apis::Core::Hashable # Streaming annotation results corresponding to a portion of the video that is - # currently being processed. + # currently being processed. Only ONE type of annotation will be specified in + # the response. # Corresponds to the JSON property `annotationResults` # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults] attr_accessor :annotation_results @@ -5442,7 +5857,8 @@ module Google end # Streaming annotation results corresponding to a portion of the video that is - # currently being processed. + # currently being processed. Only ONE type of annotation will be specified in + # the response. class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults include Google::Apis::Core::Hashable @@ -5453,6 +5869,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Timestamp of the processed frame in microseconds. + # Corresponds to the JSON property `frameTimestamp` + # @return [String] + attr_accessor :frame_timestamp + # Label annotation results. # Corresponds to the JSON property `labelAnnotations` # @return [Array] @@ -5475,6 +5896,7 @@ module Google # Update properties of this object def update!(**args) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @frame_timestamp = args[:frame_timestamp] if args.key?(:frame_timestamp) @label_annotations = args[:label_annotations] if args.key?(:label_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @@ -5733,6 +6155,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -5825,6 +6252,7 @@ module Google @celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) diff --git a/generated/google/apis/videointelligence_v1p2beta1/representations.rb b/generated/google/apis/videointelligence_v1p2beta1/representations.rb index a56d8a183..5e36f70d8 100644 --- a/generated/google/apis/videointelligence_v1p2beta1/representations.rb +++ b/generated/google/apis/videointelligence_v1p2beta1/representations.rb @@ -64,12 +64,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -238,12 +256,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta2FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -412,12 +448,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -598,6 +652,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -610,6 +670,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -844,12 +916,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1067,6 +1157,17 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceFrame, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1074,6 +1175,23 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1272,6 +1390,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation @@ -1382,6 +1502,17 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceFrame, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1389,6 +1520,23 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1beta2FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1587,6 +1735,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation @@ -1697,6 +1847,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1704,6 +1865,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1902,6 +2080,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation @@ -2032,6 +2212,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2048,6 +2239,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2311,6 +2519,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation @@ -2473,6 +2683,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2480,6 +2701,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2627,6 +2865,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation + property :frame_timestamp, as: 'frameTimestamp' collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation @@ -2714,6 +2953,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation diff --git a/generated/google/apis/videointelligence_v1p3beta1.rb b/generated/google/apis/videointelligence_v1p3beta1.rb index 36a7c5cdc..90a8b6dce 100644 --- a/generated/google/apis/videointelligence_v1p3beta1.rb +++ b/generated/google/apis/videointelligence_v1p3beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/video-intelligence/docs/ module VideointelligenceV1p3beta1 VERSION = 'V1p3beta1' - REVISION = '20200921' + REVISION = '20201002' # 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_v1p3beta1/classes.rb b/generated/google/apis/videointelligence_v1p3beta1/classes.rb index 8428757fc..4b94099a5 100644 --- a/generated/google/apis/videointelligence_v1p3beta1/classes.rb +++ b/generated/google/apis/videointelligence_v1p3beta1/classes.rb @@ -215,6 +215,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -234,6 +266,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1LabelAnnotation include Google::Apis::Core::Hashable @@ -875,6 +953,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -966,6 +1049,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -1262,6 +1346,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -1281,6 +1397,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1beta2FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1beta2FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1beta2LabelAnnotation include Google::Apis::Core::Hashable @@ -1922,6 +2084,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -2013,6 +2180,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -2309,6 +2477,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -2328,6 +2528,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -2969,6 +3215,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -3060,6 +3311,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -3356,6 +3608,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -3375,6 +3659,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -4016,6 +4346,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -4107,6 +4442,7 @@ module Google def update!(**args) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) @@ -4576,6 +4912,38 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + include Google::Apis::Core::Hashable + + # All video frames where a face was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a face was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # Thumbnail of a representative face view (in JPEG format). + # Corresponds to the JSON property `thumbnail` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :thumbnail + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + @segments = args[:segments] if args.key?(:segments) + @thumbnail = args[:thumbnail] if args.key?(:thumbnail) + end + end + # Face detection annotation. class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation include Google::Apis::Core::Hashable @@ -4630,6 +4998,52 @@ module Google end end + # Deprecated. No effect. + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + include Google::Apis::Core::Hashable + + # Normalized Bounding boxes in a frame. There can be more than one boxes if the + # same face is detected in multiple locations within the current frame. + # Corresponds to the JSON property `normalizedBoundingBoxes` + # @return [Array] + attr_accessor :normalized_bounding_boxes + + # Time-offset, relative to the beginning of the video, corresponding to the + # video frame for this location. + # Corresponds to the JSON property `timeOffset` + # @return [String] + attr_accessor :time_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes) + @time_offset = args[:time_offset] if args.key?(:time_offset) + end + end + + # Video segment level annotation results for face detection. + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + include Google::Apis::Core::Hashable + + # Video segment. + # Corresponds to the JSON property `segment` + # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment] + attr_accessor :segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @segment = args[:segment] if args.key?(:segment) + end + end + # Label annotation. class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation include Google::Apis::Core::Hashable @@ -5309,7 +5723,8 @@ module Google include Google::Apis::Core::Hashable # Streaming annotation results corresponding to a portion of the video that is - # currently being processed. + # currently being processed. Only ONE type of annotation will be specified in + # the response. # Corresponds to the JSON property `annotationResults` # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults] attr_accessor :annotation_results @@ -5344,7 +5759,8 @@ module Google end # Streaming annotation results corresponding to a portion of the video that is - # currently being processed. + # currently being processed. Only ONE type of annotation will be specified in + # the response. class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults include Google::Apis::Core::Hashable @@ -5355,6 +5771,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Timestamp of the processed frame in microseconds. + # Corresponds to the JSON property `frameTimestamp` + # @return [String] + attr_accessor :frame_timestamp + # Label annotation results. # Corresponds to the JSON property `labelAnnotations` # @return [Array] @@ -5377,6 +5798,7 @@ module Google # Update properties of this object def update!(**args) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @frame_timestamp = args[:frame_timestamp] if args.key?(:frame_timestamp) @label_annotations = args[:label_annotations] if args.key?(:label_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) @@ -5664,6 +6086,11 @@ module Google # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation] attr_accessor :explicit_annotation + # Deprecated. Please use `face_detection_annotations` instead. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + # Face detection annotations. # Corresponds to the JSON property `faceDetectionAnnotations` # @return [Array] @@ -5756,6 +6183,7 @@ module Google @celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations) @error = args[:error] if args.key?(:error) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) @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) diff --git a/generated/google/apis/videointelligence_v1p3beta1/representations.rb b/generated/google/apis/videointelligence_v1p3beta1/representations.rb index 16b28496d..6fb35f638 100644 --- a/generated/google/apis/videointelligence_v1p3beta1/representations.rb +++ b/generated/google/apis/videointelligence_v1p3beta1/representations.rb @@ -64,12 +64,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -238,12 +256,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1beta2FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1beta2FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -412,12 +448,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -586,12 +640,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -790,6 +862,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -802,6 +880,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1067,6 +1157,17 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceFrame, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1074,6 +1175,23 @@ module Google end end + class GoogleCloudVideointelligenceV1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1272,6 +1390,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation @@ -1382,6 +1502,17 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceFrame, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1389,6 +1520,23 @@ module Google end end + class GoogleCloudVideointelligenceV1beta2FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1beta2FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1beta2LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1587,6 +1735,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation @@ -1697,6 +1847,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1704,6 +1865,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p1beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p1beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1902,6 +2080,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation @@ -2012,6 +2192,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2019,6 +2210,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p2beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p2beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2217,6 +2425,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation @@ -2375,6 +2585,17 @@ module Google end end + class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment::Representation + + property :thumbnail, :base64 => true, as: 'thumbnail' + end + end + class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2391,6 +2612,23 @@ module Google end end + class GoogleCloudVideointelligenceV1p3beta1FaceFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation + + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1p3beta1FaceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation + + end + end + class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2595,6 +2833,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation + property :frame_timestamp, as: 'frameTimestamp' collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation @@ -2690,6 +2929,8 @@ module Google property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation::Representation + collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation