Autogenerated update (2018-10-04)
Update: - admin_directory_v1 - androidpublisher_v2 - androidpublisher_v3 - content_v2 - content_v2sandbox - dlp_v2 - language_v1 - language_v1beta1 - language_v1beta2 - testing_v1 - videointelligence_v1 - videointelligence_v1beta2
This commit is contained in:
parent
6773823e78
commit
4693389a88
|
@ -2658,6 +2658,16 @@
|
|||
"/admin:directory_v1/ChromeOsDevice/annotatedLocation": annotated_location
|
||||
"/admin:directory_v1/ChromeOsDevice/annotatedUser": annotated_user
|
||||
"/admin:directory_v1/ChromeOsDevice/bootMode": boot_mode
|
||||
"/admin:directory_v1/ChromeOsDevice/cpuStatusReports": cpu_status_reports
|
||||
"/admin:directory_v1/ChromeOsDevice/cpuStatusReports/cpu_status_report": cpu_status_report
|
||||
"/admin:directory_v1/ChromeOsDevice/cpuStatusReports/cpu_status_report/cpuTemperatureInfo": cpu_temperature_info
|
||||
"/admin:directory_v1/ChromeOsDevice/cpuStatusReports/cpu_status_report/cpuTemperatureInfo/cpu_temperature_info": cpu_temperature_info
|
||||
"/admin:directory_v1/ChromeOsDevice/cpuStatusReports/cpu_status_report/cpuTemperatureInfo/cpu_temperature_info/label": label
|
||||
"/admin:directory_v1/ChromeOsDevice/cpuStatusReports/cpu_status_report/cpuTemperatureInfo/cpu_temperature_info/temperature": temperature
|
||||
"/admin:directory_v1/ChromeOsDevice/cpuStatusReports/cpu_status_report/cpuUtilizationPercentageInfo": cpu_utilization_percentage_info
|
||||
? "/admin:directory_v1/ChromeOsDevice/cpuStatusReports/cpu_status_report/cpuUtilizationPercentageInfo/cpu_utilization_percentage_info"
|
||||
: cpu_utilization_percentage_info
|
||||
"/admin:directory_v1/ChromeOsDevice/cpuStatusReports/cpu_status_report/reportTime": report_time
|
||||
"/admin:directory_v1/ChromeOsDevice/deviceFiles": device_files
|
||||
"/admin:directory_v1/ChromeOsDevice/deviceFiles/device_file": device_file
|
||||
"/admin:directory_v1/ChromeOsDevice/deviceFiles/device_file/createTime": create_time
|
||||
|
@ -2665,6 +2675,13 @@
|
|||
"/admin:directory_v1/ChromeOsDevice/deviceFiles/device_file/name": name
|
||||
"/admin:directory_v1/ChromeOsDevice/deviceFiles/device_file/type": type
|
||||
"/admin:directory_v1/ChromeOsDevice/deviceId": device_id
|
||||
"/admin:directory_v1/ChromeOsDevice/diskVolumeReports": disk_volume_reports
|
||||
"/admin:directory_v1/ChromeOsDevice/diskVolumeReports/disk_volume_report": disk_volume_report
|
||||
"/admin:directory_v1/ChromeOsDevice/diskVolumeReports/disk_volume_report/volumeInfo": volume_info
|
||||
"/admin:directory_v1/ChromeOsDevice/diskVolumeReports/disk_volume_report/volumeInfo/volume_info": volume_info
|
||||
"/admin:directory_v1/ChromeOsDevice/diskVolumeReports/disk_volume_report/volumeInfo/volume_info/storageFree": storage_free
|
||||
"/admin:directory_v1/ChromeOsDevice/diskVolumeReports/disk_volume_report/volumeInfo/volume_info/storageTotal": storage_total
|
||||
"/admin:directory_v1/ChromeOsDevice/diskVolumeReports/disk_volume_report/volumeInfo/volume_info/volumeId": volume_id
|
||||
"/admin:directory_v1/ChromeOsDevice/etag": etag
|
||||
"/admin:directory_v1/ChromeOsDevice/ethernetMacAddress": ethernet_mac_address
|
||||
"/admin:directory_v1/ChromeOsDevice/firmwareVersion": firmware_version
|
||||
|
@ -2686,6 +2703,12 @@
|
|||
"/admin:directory_v1/ChromeOsDevice/serialNumber": serial_number
|
||||
"/admin:directory_v1/ChromeOsDevice/status": status
|
||||
"/admin:directory_v1/ChromeOsDevice/supportEndDate": support_end_date
|
||||
"/admin:directory_v1/ChromeOsDevice/systemRamFreeReports": system_ram_free_reports
|
||||
"/admin:directory_v1/ChromeOsDevice/systemRamFreeReports/system_ram_free_report": system_ram_free_report
|
||||
"/admin:directory_v1/ChromeOsDevice/systemRamFreeReports/system_ram_free_report/reportTime": report_time
|
||||
"/admin:directory_v1/ChromeOsDevice/systemRamFreeReports/system_ram_free_report/systemRamFreeInfo": system_ram_free_info
|
||||
"/admin:directory_v1/ChromeOsDevice/systemRamFreeReports/system_ram_free_report/systemRamFreeInfo/system_ram_free_info": system_ram_free_info
|
||||
"/admin:directory_v1/ChromeOsDevice/systemRamTotal": system_ram_total
|
||||
"/admin:directory_v1/ChromeOsDevice/tpmVersionInfo": tpm_version_info
|
||||
"/admin:directory_v1/ChromeOsDevice/tpmVersionInfo/family": family
|
||||
"/admin:directory_v1/ChromeOsDevice/tpmVersionInfo/firmwareVersion": firmware_version
|
||||
|
@ -7366,6 +7389,7 @@
|
|||
"/androidpublisher:v2/androidpublisher.edits.bundles.list/editId": edit_id
|
||||
"/androidpublisher:v2/androidpublisher.edits.bundles.list/packageName": package_name
|
||||
"/androidpublisher:v2/androidpublisher.edits.bundles.upload": upload_edit_bundle
|
||||
"/androidpublisher:v2/androidpublisher.edits.bundles.upload/ackBundleInstallationWarning": ack_bundle_installation_warning
|
||||
"/androidpublisher:v2/androidpublisher.edits.bundles.upload/editId": edit_id
|
||||
"/androidpublisher:v2/androidpublisher.edits.bundles.upload/packageName": package_name
|
||||
"/androidpublisher:v2/androidpublisher.edits.commit": commit_edit
|
||||
|
@ -7837,6 +7861,7 @@
|
|||
"/androidpublisher:v3/androidpublisher.edits.bundles.list/editId": edit_id
|
||||
"/androidpublisher:v3/androidpublisher.edits.bundles.list/packageName": package_name
|
||||
"/androidpublisher:v3/androidpublisher.edits.bundles.upload": upload_edit_bundle
|
||||
"/androidpublisher:v3/androidpublisher.edits.bundles.upload/ackBundleInstallationWarning": ack_bundle_installation_warning
|
||||
"/androidpublisher:v3/androidpublisher.edits.bundles.upload/editId": edit_id
|
||||
"/androidpublisher:v3/androidpublisher.edits.bundles.upload/packageName": package_name
|
||||
"/androidpublisher:v3/androidpublisher.edits.commit": commit_edit
|
||||
|
@ -36703,6 +36728,22 @@
|
|||
"/content:v2/OrderDeliveryDetails": order_delivery_details
|
||||
"/content:v2/OrderDeliveryDetails/address": address
|
||||
"/content:v2/OrderDeliveryDetails/phoneNumber": phone_number
|
||||
"/content:v2/OrderLegacyPromotion": order_legacy_promotion
|
||||
"/content:v2/OrderLegacyPromotion/benefits": benefits
|
||||
"/content:v2/OrderLegacyPromotion/benefits/benefit": benefit
|
||||
"/content:v2/OrderLegacyPromotion/effectiveDates": effective_dates
|
||||
"/content:v2/OrderLegacyPromotion/genericRedemptionCode": generic_redemption_code
|
||||
"/content:v2/OrderLegacyPromotion/id": id
|
||||
"/content:v2/OrderLegacyPromotion/longTitle": long_title
|
||||
"/content:v2/OrderLegacyPromotion/productApplicability": product_applicability
|
||||
"/content:v2/OrderLegacyPromotion/redemptionChannel": redemption_channel
|
||||
"/content:v2/OrderLegacyPromotionBenefit": order_legacy_promotion_benefit
|
||||
"/content:v2/OrderLegacyPromotionBenefit/discount": discount
|
||||
"/content:v2/OrderLegacyPromotionBenefit/offerIds": offer_ids
|
||||
"/content:v2/OrderLegacyPromotionBenefit/offerIds/offer_id": offer_id
|
||||
"/content:v2/OrderLegacyPromotionBenefit/subType": sub_type
|
||||
"/content:v2/OrderLegacyPromotionBenefit/taxImpact": tax_impact
|
||||
"/content:v2/OrderLegacyPromotionBenefit/type": type
|
||||
"/content:v2/OrderLineItem": order_line_item
|
||||
"/content:v2/OrderLineItem/annotations": annotations
|
||||
"/content:v2/OrderLineItem/annotations/annotation": annotation
|
||||
|
@ -38110,6 +38151,22 @@
|
|||
"/content:v2sandbox/OrderDeliveryDetails": order_delivery_details
|
||||
"/content:v2sandbox/OrderDeliveryDetails/address": address
|
||||
"/content:v2sandbox/OrderDeliveryDetails/phoneNumber": phone_number
|
||||
"/content:v2sandbox/OrderLegacyPromotion": order_legacy_promotion
|
||||
"/content:v2sandbox/OrderLegacyPromotion/benefits": benefits
|
||||
"/content:v2sandbox/OrderLegacyPromotion/benefits/benefit": benefit
|
||||
"/content:v2sandbox/OrderLegacyPromotion/effectiveDates": effective_dates
|
||||
"/content:v2sandbox/OrderLegacyPromotion/genericRedemptionCode": generic_redemption_code
|
||||
"/content:v2sandbox/OrderLegacyPromotion/id": id
|
||||
"/content:v2sandbox/OrderLegacyPromotion/longTitle": long_title
|
||||
"/content:v2sandbox/OrderLegacyPromotion/productApplicability": product_applicability
|
||||
"/content:v2sandbox/OrderLegacyPromotion/redemptionChannel": redemption_channel
|
||||
"/content:v2sandbox/OrderLegacyPromotionBenefit": order_legacy_promotion_benefit
|
||||
"/content:v2sandbox/OrderLegacyPromotionBenefit/discount": discount
|
||||
"/content:v2sandbox/OrderLegacyPromotionBenefit/offerIds": offer_ids
|
||||
"/content:v2sandbox/OrderLegacyPromotionBenefit/offerIds/offer_id": offer_id
|
||||
"/content:v2sandbox/OrderLegacyPromotionBenefit/subType": sub_type
|
||||
"/content:v2sandbox/OrderLegacyPromotionBenefit/taxImpact": tax_impact
|
||||
"/content:v2sandbox/OrderLegacyPromotionBenefit/type": type
|
||||
"/content:v2sandbox/OrderLineItem": order_line_item
|
||||
"/content:v2sandbox/OrderLineItem/annotations": annotations
|
||||
"/content:v2sandbox/OrderLineItem/annotations/annotation": annotation
|
||||
|
@ -57928,6 +57985,12 @@
|
|||
"/dlp:v2/GooglePrivacyDlpV2CloudStorageOptions/sampleMethod": sample_method
|
||||
"/dlp:v2/GooglePrivacyDlpV2CloudStoragePath": google_privacy_dlp_v2_cloud_storage_path
|
||||
"/dlp:v2/GooglePrivacyDlpV2CloudStoragePath/path": path
|
||||
"/dlp:v2/GooglePrivacyDlpV2CloudStorageRegexFileSet": google_privacy_dlp_v2_cloud_storage_regex_file_set
|
||||
"/dlp:v2/GooglePrivacyDlpV2CloudStorageRegexFileSet/bucketName": bucket_name
|
||||
"/dlp:v2/GooglePrivacyDlpV2CloudStorageRegexFileSet/excludeRegex": exclude_regex
|
||||
"/dlp:v2/GooglePrivacyDlpV2CloudStorageRegexFileSet/excludeRegex/exclude_regex": exclude_regex
|
||||
"/dlp:v2/GooglePrivacyDlpV2CloudStorageRegexFileSet/includeRegex": include_regex
|
||||
"/dlp:v2/GooglePrivacyDlpV2CloudStorageRegexFileSet/includeRegex/include_regex": include_regex
|
||||
"/dlp:v2/GooglePrivacyDlpV2Color": google_privacy_dlp_v2_color
|
||||
"/dlp:v2/GooglePrivacyDlpV2Color/blue": blue
|
||||
"/dlp:v2/GooglePrivacyDlpV2Color/green": green
|
||||
|
@ -58088,6 +58151,7 @@
|
|||
"/dlp:v2/GooglePrivacyDlpV2FieldTransformation/infoTypeTransformations": info_type_transformations
|
||||
"/dlp:v2/GooglePrivacyDlpV2FieldTransformation/primitiveTransformation": primitive_transformation
|
||||
"/dlp:v2/GooglePrivacyDlpV2FileSet": google_privacy_dlp_v2_file_set
|
||||
"/dlp:v2/GooglePrivacyDlpV2FileSet/regexFileSet": regex_file_set
|
||||
"/dlp:v2/GooglePrivacyDlpV2FileSet/url": url
|
||||
"/dlp:v2/GooglePrivacyDlpV2Finding": google_privacy_dlp_v2_finding
|
||||
"/dlp:v2/GooglePrivacyDlpV2Finding/createTime": create_time
|
||||
|
@ -86418,6 +86482,8 @@
|
|||
"/testing:v1/IosDeviceCatalog/runtimeConfiguration": runtime_configuration
|
||||
"/testing:v1/IosDeviceCatalog/versions": versions
|
||||
"/testing:v1/IosDeviceCatalog/versions/version": version
|
||||
"/testing:v1/IosDeviceCatalog/xcodeVersions": xcode_versions
|
||||
"/testing:v1/IosDeviceCatalog/xcodeVersions/xcode_version": xcode_version
|
||||
"/testing:v1/IosDeviceList": ios_device_list
|
||||
"/testing:v1/IosDeviceList/iosDevices": ios_devices
|
||||
"/testing:v1/IosDeviceList/iosDevices/ios_device": ios_device
|
||||
|
@ -86442,10 +86508,13 @@
|
|||
"/testing:v1/IosVersion/id": id
|
||||
"/testing:v1/IosVersion/majorVersion": major_version
|
||||
"/testing:v1/IosVersion/minorVersion": minor_version
|
||||
"/testing:v1/IosVersion/supportedXcodeVersionIds": supported_xcode_version_ids
|
||||
"/testing:v1/IosVersion/supportedXcodeVersionIds/supported_xcode_version_id": supported_xcode_version_id
|
||||
"/testing:v1/IosVersion/tags": tags
|
||||
"/testing:v1/IosVersion/tags/tag": tag
|
||||
"/testing:v1/IosXcTest": ios_xc_test
|
||||
"/testing:v1/IosXcTest/testsZip": tests_zip
|
||||
"/testing:v1/IosXcTest/xcodeVersion": xcode_version
|
||||
"/testing:v1/IosXcTest/xctestrun": xctestrun
|
||||
"/testing:v1/LauncherActivityIntent": launcher_activity_intent
|
||||
"/testing:v1/Locale": locale
|
||||
|
@ -86562,6 +86631,10 @@
|
|||
"/testing:v1/TrafficRule/delay": delay
|
||||
"/testing:v1/TrafficRule/packetDuplicationRatio": packet_duplication_ratio
|
||||
"/testing:v1/TrafficRule/packetLossRatio": packet_loss_ratio
|
||||
"/testing:v1/XcodeVersion": xcode_version
|
||||
"/testing:v1/XcodeVersion/tags": tags
|
||||
"/testing:v1/XcodeVersion/tags/tag": tag
|
||||
"/testing:v1/XcodeVersion/version": version
|
||||
"/testing:v1/fields": fields
|
||||
"/testing:v1/key": key
|
||||
"/testing:v1/quotaUser": quota_user
|
||||
|
@ -88251,9 +88324,98 @@
|
|||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoSegment/endTimeOffset": end_time_offset
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoSegment/startTimeOffset": start_time_offset
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo": google_cloud_videointelligence_v1p1beta1_word_info
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/confidence": confidence
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/endTime": end_time
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/speakerTag": speaker_tag
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/startTime": start_time
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/word": word
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress": google_cloud_videointelligence_v1p2beta1_annotate_video_progress
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress/annotationProgress": annotation_progress
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress/annotationProgress/annotation_progress": annotation_progress
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse": google_cloud_videointelligence_v1p2beta1_annotate_video_response
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse/annotationResults": annotation_results
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse/annotationResults/annotation_result": annotation_result
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_Entity": google_cloud_videointelligence_v1p2beta1_entity
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_Entity/description": description
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_Entity/entityId": entity_id
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_Entity/languageCode": language_code
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation": google_cloud_videointelligence_v1p2beta1_explicit_content_annotation
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation/frames": frames
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation/frames/frame": frame
|
||||
"/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_LabelAnnotation": google_cloud_videointelligence_v1p2beta1_label_annotation
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities": category_entities
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities/category_entity": category_entity
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/entity": entity
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/frames": frames
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/frames/frame": frame
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/segments": segments
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/segments/segment": segment
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelFrame": google_cloud_videointelligence_v1p2beta1_label_frame
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelFrame/confidence": confidence
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelFrame/timeOffset": time_offset
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelSegment": google_cloud_videointelligence_v1p2beta1_label_segment
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelSegment/confidence": confidence
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_LabelSegment/segment": segment
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox": google_cloud_videointelligence_v1p2beta1_normalized_bounding_box
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox/bottom": bottom
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox/left": left
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox/right": right
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox/top": top
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly": google_cloud_videointelligence_v1p2beta1_normalized_bounding_poly
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly/vertices": vertices
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly/vertices/vertex": vertex
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex": google_cloud_videointelligence_v1p2beta1_normalized_vertex
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex/x": x
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex/y": y
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation": google_cloud_videointelligence_v1p2beta1_object_tracking_annotation
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation/confidence": confidence
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation/entity": entity
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation/frames": frames
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation/frames/frame": frame
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation/segment": segment
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame": google_cloud_videointelligence_v1p2beta1_object_tracking_frame
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame/timeOffset": time_offset
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation": google_cloud_videointelligence_v1p2beta1_text_annotation
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/confidence": confidence
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/frames": frames
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/frames/frame": frame
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/segments": segments
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/segments/segment": segment
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/text": text
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextFrame": google_cloud_videointelligence_v1p2beta1_text_frame
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextFrame/rotatedBoundingBox": rotated_bounding_box
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextFrame/timeOffset": time_offset
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextSegment": google_cloud_videointelligence_v1p2beta1_text_segment
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextSegment/segment": segment
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1p2beta1_video_annotation_progress
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/inputUri": input_uri
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/progressPercent": progress_percent
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/startTime": start_time
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/updateTime": update_time
|
||||
"/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/frameLabelAnnotations": frame_label_annotations
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation": frame_label_annotation
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/inputUri": input_uri
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/objectAnnotations": object_annotations
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations
|
||||
? "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation"
|
||||
: segment_label_annotation
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/shotAnnotations": shot_annotations
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/shotAnnotations/shot_annotation": shot_annotation
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/shotLabelAnnotations": shot_label_annotations
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/shotLabelAnnotations/shot_label_annotation": shot_label_annotation
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/textAnnotations": text_annotations
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/textAnnotations/text_annotation": text_annotation
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoSegment": google_cloud_videointelligence_v1p2beta1_video_segment
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoSegment/endTimeOffset": end_time_offset
|
||||
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoSegment/startTimeOffset": start_time_offset
|
||||
"/videointelligence:v1/GoogleLongrunning_CancelOperationRequest": google_longrunning_cancel_operation_request
|
||||
"/videointelligence:v1/GoogleLongrunning_ListOperationsResponse": google_longrunning_list_operations_response
|
||||
"/videointelligence:v1/GoogleLongrunning_ListOperationsResponse/nextPageToken": next_page_token
|
||||
|
@ -88833,9 +88995,100 @@
|
|||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoSegment/endTimeOffset": end_time_offset
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoSegment/startTimeOffset": start_time_offset
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_WordInfo": google_cloud_videointelligence_v1p1beta1_word_info
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_WordInfo/confidence": confidence
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_WordInfo/endTime": end_time
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_WordInfo/speakerTag": speaker_tag
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_WordInfo/startTime": start_time
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_WordInfo/word": word
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress": google_cloud_videointelligence_v1p2beta1_annotate_video_progress
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress/annotationProgress": annotation_progress
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress/annotationProgress/annotation_progress": annotation_progress
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse": google_cloud_videointelligence_v1p2beta1_annotate_video_response
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse/annotationResults": annotation_results
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse/annotationResults/annotation_result": annotation_result
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_Entity": google_cloud_videointelligence_v1p2beta1_entity
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_Entity/description": description
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_Entity/entityId": entity_id
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_Entity/languageCode": language_code
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation": google_cloud_videointelligence_v1p2beta1_explicit_content_annotation
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation/frames": frames
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation/frames/frame": frame
|
||||
"/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_LabelAnnotation": google_cloud_videointelligence_v1p2beta1_label_annotation
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities": category_entities
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/categoryEntities/category_entity": category_entity
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/entity": entity
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/frames": frames
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/frames/frame": frame
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/segments": segments
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation/segments/segment": segment
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelFrame": google_cloud_videointelligence_v1p2beta1_label_frame
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelFrame/confidence": confidence
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelFrame/timeOffset": time_offset
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelSegment": google_cloud_videointelligence_v1p2beta1_label_segment
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelSegment/confidence": confidence
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_LabelSegment/segment": segment
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox": google_cloud_videointelligence_v1p2beta1_normalized_bounding_box
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox/bottom": bottom
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox/left": left
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox/right": right
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox/top": top
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly": google_cloud_videointelligence_v1p2beta1_normalized_bounding_poly
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly/vertices": vertices
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly/vertices/vertex": vertex
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex": google_cloud_videointelligence_v1p2beta1_normalized_vertex
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex/x": x
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex/y": y
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation": google_cloud_videointelligence_v1p2beta1_object_tracking_annotation
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation/confidence": confidence
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation/entity": entity
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation/frames": frames
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation/frames/frame": frame
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation/segment": segment
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame": google_cloud_videointelligence_v1p2beta1_object_tracking_frame
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame/normalizedBoundingBox": normalized_bounding_box
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame/timeOffset": time_offset
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation": google_cloud_videointelligence_v1p2beta1_text_annotation
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/confidence": confidence
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/frames": frames
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/frames/frame": frame
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/segments": segments
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/segments/segment": segment
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextAnnotation/text": text
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextFrame": google_cloud_videointelligence_v1p2beta1_text_frame
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextFrame/rotatedBoundingBox": rotated_bounding_box
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextFrame/timeOffset": time_offset
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextSegment": google_cloud_videointelligence_v1p2beta1_text_segment
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextSegment/segment": segment
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1p2beta1_video_annotation_progress
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/inputUri": input_uri
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/progressPercent": progress_percent
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/startTime": start_time
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/updateTime": update_time
|
||||
"/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/frameLabelAnnotations": frame_label_annotations
|
||||
? "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation"
|
||||
: frame_label_annotation
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/inputUri": input_uri
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/objectAnnotations": object_annotations
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/objectAnnotations/object_annotation": object_annotation
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations
|
||||
? "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation"
|
||||
: segment_label_annotation
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/shotAnnotations": shot_annotations
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/shotAnnotations/shot_annotation": shot_annotation
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/shotLabelAnnotations": shot_label_annotations
|
||||
? "/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/shotLabelAnnotations/shot_label_annotation"
|
||||
: shot_label_annotation
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/textAnnotations": text_annotations
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults/textAnnotations/text_annotation": text_annotation
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoSegment": google_cloud_videointelligence_v1p2beta1_video_segment
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoSegment/endTimeOffset": end_time_offset
|
||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoSegment/startTimeOffset": start_time_offset
|
||||
"/videointelligence:v1beta2/GoogleLongrunning_Operation": google_longrunning_operation
|
||||
"/videointelligence:v1beta2/GoogleLongrunning_Operation/done": done
|
||||
"/videointelligence:v1beta2/GoogleLongrunning_Operation/error": error
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/admin-sdk/directory/
|
||||
module AdminDirectoryV1
|
||||
VERSION = 'DirectoryV1'
|
||||
REVISION = '20180911'
|
||||
REVISION = '20180917'
|
||||
|
||||
# View and manage customer related information
|
||||
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
||||
|
|
|
@ -625,6 +625,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :boot_mode
|
||||
|
||||
# Reports of CPU utilization and temperature (Read-only)
|
||||
# Corresponds to the JSON property `cpuStatusReports`
|
||||
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport>]
|
||||
attr_accessor :cpu_status_reports
|
||||
|
||||
# List of device files to download (Read-only)
|
||||
# Corresponds to the JSON property `deviceFiles`
|
||||
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile>]
|
||||
|
@ -635,6 +640,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :device_id
|
||||
|
||||
# Reports of disk space and other info about mounted/connected volumes.
|
||||
# Corresponds to the JSON property `diskVolumeReports`
|
||||
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport>]
|
||||
attr_accessor :disk_volume_reports
|
||||
|
||||
# ETag of the resource.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# @return [String]
|
||||
|
@ -727,6 +737,16 @@ module Google
|
|||
# @return [DateTime]
|
||||
attr_accessor :support_end_date
|
||||
|
||||
# Reports of amounts of available RAM memory (Read-only)
|
||||
# Corresponds to the JSON property `systemRamFreeReports`
|
||||
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport>]
|
||||
attr_accessor :system_ram_free_reports
|
||||
|
||||
# Total RAM on the device [in bytes] (Read-only)
|
||||
# Corresponds to the JSON property `systemRamTotal`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :system_ram_total
|
||||
|
||||
# Trusted Platform Module (TPM) (Read-only)
|
||||
# Corresponds to the JSON property `tpmVersionInfo`
|
||||
# @return [Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo]
|
||||
|
@ -749,8 +769,10 @@ module Google
|
|||
@annotated_location = args[:annotated_location] if args.key?(:annotated_location)
|
||||
@annotated_user = args[:annotated_user] if args.key?(:annotated_user)
|
||||
@boot_mode = args[:boot_mode] if args.key?(:boot_mode)
|
||||
@cpu_status_reports = args[:cpu_status_reports] if args.key?(:cpu_status_reports)
|
||||
@device_files = args[:device_files] if args.key?(:device_files)
|
||||
@device_id = args[:device_id] if args.key?(:device_id)
|
||||
@disk_volume_reports = args[:disk_volume_reports] if args.key?(:disk_volume_reports)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address)
|
||||
@firmware_version = args[:firmware_version] if args.key?(:firmware_version)
|
||||
|
@ -769,6 +791,8 @@ module Google
|
|||
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@support_end_date = args[:support_end_date] if args.key?(:support_end_date)
|
||||
@system_ram_free_reports = args[:system_ram_free_reports] if args.key?(:system_ram_free_reports)
|
||||
@system_ram_total = args[:system_ram_total] if args.key?(:system_ram_total)
|
||||
@tpm_version_info = args[:tpm_version_info] if args.key?(:tpm_version_info)
|
||||
@will_auto_renew = args[:will_auto_renew] if args.key?(:will_auto_renew)
|
||||
end
|
||||
|
@ -798,6 +822,62 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class CpuStatusReport
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of CPU temperature samples.
|
||||
# Corresponds to the JSON property `cpuTemperatureInfo`
|
||||
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::CpuTemperatureInfo>]
|
||||
attr_accessor :cpu_temperature_info
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `cpuUtilizationPercentageInfo`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :cpu_utilization_percentage_info
|
||||
|
||||
# Date and time the report was received.
|
||||
# Corresponds to the JSON property `reportTime`
|
||||
# @return [DateTime]
|
||||
attr_accessor :report_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@cpu_temperature_info = args[:cpu_temperature_info] if args.key?(:cpu_temperature_info)
|
||||
@cpu_utilization_percentage_info = args[:cpu_utilization_percentage_info] if args.key?(:cpu_utilization_percentage_info)
|
||||
@report_time = args[:report_time] if args.key?(:report_time)
|
||||
end
|
||||
|
||||
#
|
||||
class CpuTemperatureInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# CPU label
|
||||
# Corresponds to the JSON property `label`
|
||||
# @return [String]
|
||||
attr_accessor :label
|
||||
|
||||
# Temperature in Celsius degrees.
|
||||
# Corresponds to the JSON property `temperature`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :temperature
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@label = args[:label] if args.key?(:label)
|
||||
@temperature = args[:temperature] if args.key?(:temperature)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class DeviceFile
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -835,6 +915,56 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class DiskVolumeReport
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Disk volumes
|
||||
# Corresponds to the JSON property `volumeInfo`
|
||||
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::VolumeInfo>]
|
||||
attr_accessor :volume_info
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@volume_info = args[:volume_info] if args.key?(:volume_info)
|
||||
end
|
||||
|
||||
#
|
||||
class VolumeInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Free disk space [in bytes]
|
||||
# Corresponds to the JSON property `storageFree`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :storage_free
|
||||
|
||||
# Total disk space [in bytes]
|
||||
# Corresponds to the JSON property `storageTotal`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :storage_total
|
||||
|
||||
# Volume id
|
||||
# Corresponds to the JSON property `volumeId`
|
||||
# @return [String]
|
||||
attr_accessor :volume_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@storage_free = args[:storage_free] if args.key?(:storage_free)
|
||||
@storage_total = args[:storage_total] if args.key?(:storage_total)
|
||||
@volume_id = args[:volume_id] if args.key?(:volume_id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RecentUser
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -860,6 +990,31 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class SystemRamFreeReport
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Date and time the report was received.
|
||||
# Corresponds to the JSON property `reportTime`
|
||||
# @return [DateTime]
|
||||
attr_accessor :report_time
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `systemRamFreeInfo`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :system_ram_free_info
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@report_time = args[:report_time] if args.key?(:report_time)
|
||||
@system_ram_free_info = args[:system_ram_free_info] if args.key?(:system_ram_free_info)
|
||||
end
|
||||
end
|
||||
|
||||
# Trusted Platform Module (TPM) (Read-only)
|
||||
class TpmVersionInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -97,18 +97,48 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CpuStatusReport
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class CpuTemperatureInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeviceFile
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DiskVolumeReport
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class VolumeInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RecentUser
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SystemRamFreeReport
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TpmVersionInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -649,9 +679,13 @@ module Google
|
|||
property :annotated_location, as: 'annotatedLocation'
|
||||
property :annotated_user, as: 'annotatedUser'
|
||||
property :boot_mode, as: 'bootMode'
|
||||
collection :cpu_status_reports, as: 'cpuStatusReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::Representation
|
||||
|
||||
collection :device_files, as: 'deviceFiles', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile::Representation
|
||||
|
||||
property :device_id, as: 'deviceId'
|
||||
collection :disk_volume_reports, as: 'diskVolumeReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::Representation
|
||||
|
||||
property :etag, as: 'etag'
|
||||
property :ethernet_mac_address, as: 'ethernetMacAddress'
|
||||
property :firmware_version, as: 'firmwareVersion'
|
||||
|
@ -674,6 +708,9 @@ module Google
|
|||
property :status, as: 'status'
|
||||
property :support_end_date, as: 'supportEndDate', type: DateTime
|
||||
|
||||
collection :system_ram_free_reports, as: 'systemRamFreeReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport::Representation
|
||||
|
||||
property :system_ram_total, :numeric_string => true, as: 'systemRamTotal'
|
||||
property :tpm_version_info, as: 'tpmVersionInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo::Representation
|
||||
|
||||
property :will_auto_renew, as: 'willAutoRenew'
|
||||
|
@ -688,6 +725,25 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class CpuStatusReport
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :cpu_temperature_info, as: 'cpuTemperatureInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::CpuTemperatureInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::CpuTemperatureInfo::Representation
|
||||
|
||||
collection :cpu_utilization_percentage_info, as: 'cpuUtilizationPercentageInfo'
|
||||
property :report_time, as: 'reportTime', type: DateTime
|
||||
|
||||
end
|
||||
|
||||
class CpuTemperatureInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :label, as: 'label'
|
||||
property :temperature, as: 'temperature'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class DeviceFile
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -699,6 +755,23 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class DiskVolumeReport
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :volume_info, as: 'volumeInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::VolumeInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::VolumeInfo::Representation
|
||||
|
||||
end
|
||||
|
||||
class VolumeInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :storage_free, :numeric_string => true, as: 'storageFree'
|
||||
property :storage_total, :numeric_string => true, as: 'storageTotal'
|
||||
property :volume_id, as: 'volumeId'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class RecentUser
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -707,6 +780,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class SystemRamFreeReport
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :report_time, as: 'reportTime', type: DateTime
|
||||
|
||||
collection :system_ram_free_info, as: 'systemRamFreeInfo'
|
||||
end
|
||||
end
|
||||
|
||||
class TpmVersionInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/android-publisher
|
||||
module AndroidpublisherV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180827'
|
||||
REVISION = '20181002'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
|
|
@ -678,6 +678,9 @@ module Google
|
|||
# spiffygame".
|
||||
# @param [String] edit_id
|
||||
# Unique identifier for this edit.
|
||||
# @param [Boolean] ack_bundle_installation_warning
|
||||
# Must be set to true if the bundle installation may trigger a warning on user
|
||||
# devices (i.e. if installation size may be over a threshold, typically 100 MB).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -701,7 +704,7 @@ 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 upload_edit_bundle(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
def upload_edit_bundle(package_name, edit_id, ack_bundle_installation_warning: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
if upload_source.nil?
|
||||
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
|
||||
else
|
||||
|
@ -713,6 +716,7 @@ module Google
|
|||
command.response_class = Google::Apis::AndroidpublisherV2::Bundle
|
||||
command.params['packageName'] = package_name unless package_name.nil?
|
||||
command.params['editId'] = edit_id unless edit_id.nil?
|
||||
command.query['ackBundleInstallationWarning'] = ack_bundle_installation_warning unless ack_bundle_installation_warning.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?
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/android-publisher
|
||||
module AndroidpublisherV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20180827'
|
||||
REVISION = '20181002'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
|
|
@ -412,6 +412,9 @@ module Google
|
|||
# spiffygame".
|
||||
# @param [String] edit_id
|
||||
# Unique identifier for this edit.
|
||||
# @param [Boolean] ack_bundle_installation_warning
|
||||
# Must be set to true if the bundle installation may trigger a warning on user
|
||||
# devices (i.e. if installation size may be over a threshold, typically 100 MB).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -435,7 +438,7 @@ 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 upload_edit_bundle(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
def upload_edit_bundle(package_name, edit_id, ack_bundle_installation_warning: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
if upload_source.nil?
|
||||
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
|
||||
else
|
||||
|
@ -447,6 +450,7 @@ module Google
|
|||
command.response_class = Google::Apis::AndroidpublisherV3::Bundle
|
||||
command.params['packageName'] = package_name unless package_name.nil?
|
||||
command.params['editId'] = edit_id unless edit_id.nil?
|
||||
command.query['ackBundleInstallationWarning'] = ack_bundle_installation_warning unless ack_bundle_installation_warning.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?
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180921'
|
||||
REVISION = '20181002'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -3893,10 +3893,10 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :placed_date
|
||||
|
||||
# The details of the merchant provided promotions applied to the order. More
|
||||
# details about the program are here.
|
||||
# Deprecated. The details of the merchant provided promotions applied to the
|
||||
# order. More details about the program are here.
|
||||
# Corresponds to the JSON property `promotions`
|
||||
# @return [Array<Google::Apis::ContentV2::OrderPromotion>]
|
||||
# @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
|
||||
attr_accessor :promotions
|
||||
|
||||
# Refunds for the order.
|
||||
|
@ -4169,6 +4169,114 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderLegacyPromotion
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `benefits`
|
||||
# @return [Array<Google::Apis::ContentV2::OrderLegacyPromotionBenefit>]
|
||||
attr_accessor :benefits
|
||||
|
||||
# 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.
|
||||
# Corresponds to the JSON property `effectiveDates`
|
||||
# @return [String]
|
||||
attr_accessor :effective_dates
|
||||
|
||||
# Optional. The text code that corresponds to the promotion when applied on the
|
||||
# retailer?s website.
|
||||
# Corresponds to the JSON property `genericRedemptionCode`
|
||||
# @return [String]
|
||||
attr_accessor :generic_redemption_code
|
||||
|
||||
# The unique ID of the promotion.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# The full title of the promotion.
|
||||
# Corresponds to the JSON property `longTitle`
|
||||
# @return [String]
|
||||
attr_accessor :long_title
|
||||
|
||||
# Whether the promotion is applicable to all products or only specific products.
|
||||
# Corresponds to the JSON property `productApplicability`
|
||||
# @return [String]
|
||||
attr_accessor :product_applicability
|
||||
|
||||
# Indicates that the promotion is valid online.
|
||||
# Corresponds to the JSON property `redemptionChannel`
|
||||
# @return [String]
|
||||
attr_accessor :redemption_channel
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@benefits = args[:benefits] if args.key?(:benefits)
|
||||
@effective_dates = args[:effective_dates] if args.key?(:effective_dates)
|
||||
@generic_redemption_code = args[:generic_redemption_code] if args.key?(:generic_redemption_code)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@long_title = args[:long_title] if args.key?(:long_title)
|
||||
@product_applicability = args[:product_applicability] if args.key?(:product_applicability)
|
||||
@redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderLegacyPromotionBenefit
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The discount in the order price when the promotion is applied.
|
||||
# Corresponds to the JSON property `discount`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :discount
|
||||
|
||||
# The OfferId(s) that were purchased in this order and map to this specific
|
||||
# benefit of the promotion.
|
||||
# Corresponds to the JSON property `offerIds`
|
||||
# @return [Array<String>]
|
||||
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.
|
||||
# Corresponds to the JSON property `subType`
|
||||
# @return [String]
|
||||
attr_accessor :sub_type
|
||||
|
||||
# The impact on tax when the promotion is applied.
|
||||
# Corresponds to the JSON property `taxImpact`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :tax_impact
|
||||
|
||||
# Describes whether the promotion applies to products (e.g. 20% off) or to
|
||||
# shipping (e.g. Free Shipping).
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@discount = args[:discount] if args.key?(:discount)
|
||||
@offer_ids = args[:offer_ids] if args.key?(:offer_ids)
|
||||
@sub_type = args[:sub_type] if args.key?(:sub_type)
|
||||
@tax_impact = args[:tax_impact] if args.key?(:tax_impact)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderLineItem
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -4589,114 +4697,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderPromotion
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `benefits`
|
||||
# @return [Array<Google::Apis::ContentV2::OrderPromotionBenefit>]
|
||||
attr_accessor :benefits
|
||||
|
||||
# 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.
|
||||
# Corresponds to the JSON property `effectiveDates`
|
||||
# @return [String]
|
||||
attr_accessor :effective_dates
|
||||
|
||||
# Optional. The text code that corresponds to the promotion when applied on the
|
||||
# retailer?s website.
|
||||
# Corresponds to the JSON property `genericRedemptionCode`
|
||||
# @return [String]
|
||||
attr_accessor :generic_redemption_code
|
||||
|
||||
# The unique ID of the promotion.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# The full title of the promotion.
|
||||
# Corresponds to the JSON property `longTitle`
|
||||
# @return [String]
|
||||
attr_accessor :long_title
|
||||
|
||||
# Whether the promotion is applicable to all products or only specific products.
|
||||
# Corresponds to the JSON property `productApplicability`
|
||||
# @return [String]
|
||||
attr_accessor :product_applicability
|
||||
|
||||
# Indicates that the promotion is valid online.
|
||||
# Corresponds to the JSON property `redemptionChannel`
|
||||
# @return [String]
|
||||
attr_accessor :redemption_channel
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@benefits = args[:benefits] if args.key?(:benefits)
|
||||
@effective_dates = args[:effective_dates] if args.key?(:effective_dates)
|
||||
@generic_redemption_code = args[:generic_redemption_code] if args.key?(:generic_redemption_code)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@long_title = args[:long_title] if args.key?(:long_title)
|
||||
@product_applicability = args[:product_applicability] if args.key?(:product_applicability)
|
||||
@redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderPromotionBenefit
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The discount in the order price when the promotion is applied.
|
||||
# Corresponds to the JSON property `discount`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :discount
|
||||
|
||||
# The OfferId(s) that were purchased in this order and map to this specific
|
||||
# benefit of the promotion.
|
||||
# Corresponds to the JSON property `offerIds`
|
||||
# @return [Array<String>]
|
||||
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.
|
||||
# Corresponds to the JSON property `subType`
|
||||
# @return [String]
|
||||
attr_accessor :sub_type
|
||||
|
||||
# The impact on tax when the promotion is applied.
|
||||
# Corresponds to the JSON property `taxImpact`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :tax_impact
|
||||
|
||||
# Describes whether the promotion applies to products (e.g. 20% off) or to
|
||||
# shipping (e.g. Free Shipping).
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@discount = args[:discount] if args.key?(:discount)
|
||||
@offer_ids = args[:offer_ids] if args.key?(:offer_ids)
|
||||
@sub_type = args[:sub_type] if args.key?(:sub_type)
|
||||
@tax_impact = args[:tax_impact] if args.key?(:tax_impact)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderRefund
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -10324,10 +10324,10 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :predefined_delivery_address
|
||||
|
||||
# The details of the merchant provided promotions applied to the order. More
|
||||
# details about the program are here.
|
||||
# Deprecated. The details of the merchant provided promotions applied to the
|
||||
# order. More details about the program are here.
|
||||
# Corresponds to the JSON property `promotions`
|
||||
# @return [Array<Google::Apis::ContentV2::OrderPromotion>]
|
||||
# @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
|
||||
attr_accessor :promotions
|
||||
|
||||
# The total cost of shipping for all items.
|
||||
|
|
|
@ -664,6 +664,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderLegacyPromotion
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderLegacyPromotionBenefit
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderLineItem
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -712,18 +724,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderPromotion
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderPromotionBenefit
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderRefund
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2715,7 +2715,7 @@ module Google
|
|||
|
||||
property :payment_status, as: 'paymentStatus'
|
||||
property :placed_date, as: 'placedDate'
|
||||
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderPromotion, decorator: Google::Apis::ContentV2::OrderPromotion::Representation
|
||||
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderLegacyPromotion, decorator: Google::Apis::ContentV2::OrderLegacyPromotion::Representation
|
||||
|
||||
collection :refunds, as: 'refunds', class: Google::Apis::ContentV2::OrderRefund, decorator: Google::Apis::ContentV2::OrderRefund::Representation
|
||||
|
||||
|
@ -2784,6 +2784,33 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class OrderLegacyPromotion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :benefits, as: 'benefits', class: Google::Apis::ContentV2::OrderLegacyPromotionBenefit, decorator: Google::Apis::ContentV2::OrderLegacyPromotionBenefit::Representation
|
||||
|
||||
property :effective_dates, as: 'effectiveDates'
|
||||
property :generic_redemption_code, as: 'genericRedemptionCode'
|
||||
property :id, as: 'id'
|
||||
property :long_title, as: 'longTitle'
|
||||
property :product_applicability, as: 'productApplicability'
|
||||
property :redemption_channel, as: 'redemptionChannel'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderLegacyPromotionBenefit
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :discount, as: 'discount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
collection :offer_ids, as: 'offerIds'
|
||||
property :sub_type, as: 'subType'
|
||||
property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderLineItem
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2894,33 +2921,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class OrderPromotion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :benefits, as: 'benefits', class: Google::Apis::ContentV2::OrderPromotionBenefit, decorator: Google::Apis::ContentV2::OrderPromotionBenefit::Representation
|
||||
|
||||
property :effective_dates, as: 'effectiveDates'
|
||||
property :generic_redemption_code, as: 'genericRedemptionCode'
|
||||
property :id, as: 'id'
|
||||
property :long_title, as: 'longTitle'
|
||||
property :product_applicability, as: 'productApplicability'
|
||||
property :redemption_channel, as: 'redemptionChannel'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderPromotionBenefit
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :discount, as: 'discount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
collection :offer_ids, as: 'offerIds'
|
||||
property :sub_type, as: 'subType'
|
||||
property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderRefund
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -4490,7 +4490,7 @@ module Google
|
|||
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2::TestOrderPaymentMethod::Representation
|
||||
|
||||
property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
|
||||
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderPromotion, decorator: Google::Apis::ContentV2::OrderPromotion::Representation
|
||||
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderLegacyPromotion, decorator: Google::Apis::ContentV2::OrderLegacyPromotion::Representation
|
||||
|
||||
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
|
|
|
@ -1996,11 +1996,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
|
||||
|
@ -2024,7 +2024,7 @@ 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, user_ip: nil, options: nil, &block)
|
||||
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
|
||||
|
@ -2046,6 +2046,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
|
||||
|
@ -2053,8 +2055,6 @@ 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
|
||||
|
@ -2074,7 +2074,7 @@ 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, user_ip: nil, options: nil, &block)
|
||||
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
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2sandbox
|
||||
VERSION = 'V2sandbox'
|
||||
REVISION = '20180921'
|
||||
REVISION = '20181002'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -389,10 +389,10 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :placed_date
|
||||
|
||||
# The details of the merchant provided promotions applied to the order. More
|
||||
# details about the program are here.
|
||||
# Deprecated. The details of the merchant provided promotions applied to the
|
||||
# order. More details about the program are here.
|
||||
# Corresponds to the JSON property `promotions`
|
||||
# @return [Array<Google::Apis::ContentV2sandbox::OrderPromotion>]
|
||||
# @return [Array<Google::Apis::ContentV2sandbox::OrderLegacyPromotion>]
|
||||
attr_accessor :promotions
|
||||
|
||||
# Refunds for the order.
|
||||
|
@ -665,6 +665,114 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderLegacyPromotion
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `benefits`
|
||||
# @return [Array<Google::Apis::ContentV2sandbox::OrderLegacyPromotionBenefit>]
|
||||
attr_accessor :benefits
|
||||
|
||||
# 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.
|
||||
# Corresponds to the JSON property `effectiveDates`
|
||||
# @return [String]
|
||||
attr_accessor :effective_dates
|
||||
|
||||
# Optional. The text code that corresponds to the promotion when applied on the
|
||||
# retailer?s website.
|
||||
# Corresponds to the JSON property `genericRedemptionCode`
|
||||
# @return [String]
|
||||
attr_accessor :generic_redemption_code
|
||||
|
||||
# The unique ID of the promotion.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# The full title of the promotion.
|
||||
# Corresponds to the JSON property `longTitle`
|
||||
# @return [String]
|
||||
attr_accessor :long_title
|
||||
|
||||
# Whether the promotion is applicable to all products or only specific products.
|
||||
# Corresponds to the JSON property `productApplicability`
|
||||
# @return [String]
|
||||
attr_accessor :product_applicability
|
||||
|
||||
# Indicates that the promotion is valid online.
|
||||
# Corresponds to the JSON property `redemptionChannel`
|
||||
# @return [String]
|
||||
attr_accessor :redemption_channel
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@benefits = args[:benefits] if args.key?(:benefits)
|
||||
@effective_dates = args[:effective_dates] if args.key?(:effective_dates)
|
||||
@generic_redemption_code = args[:generic_redemption_code] if args.key?(:generic_redemption_code)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@long_title = args[:long_title] if args.key?(:long_title)
|
||||
@product_applicability = args[:product_applicability] if args.key?(:product_applicability)
|
||||
@redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderLegacyPromotionBenefit
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The discount in the order price when the promotion is applied.
|
||||
# Corresponds to the JSON property `discount`
|
||||
# @return [Google::Apis::ContentV2sandbox::Price]
|
||||
attr_accessor :discount
|
||||
|
||||
# The OfferId(s) that were purchased in this order and map to this specific
|
||||
# benefit of the promotion.
|
||||
# Corresponds to the JSON property `offerIds`
|
||||
# @return [Array<String>]
|
||||
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.
|
||||
# Corresponds to the JSON property `subType`
|
||||
# @return [String]
|
||||
attr_accessor :sub_type
|
||||
|
||||
# The impact on tax when the promotion is applied.
|
||||
# Corresponds to the JSON property `taxImpact`
|
||||
# @return [Google::Apis::ContentV2sandbox::Price]
|
||||
attr_accessor :tax_impact
|
||||
|
||||
# Describes whether the promotion applies to products (e.g. 20% off) or to
|
||||
# shipping (e.g. Free Shipping).
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@discount = args[:discount] if args.key?(:discount)
|
||||
@offer_ids = args[:offer_ids] if args.key?(:offer_ids)
|
||||
@sub_type = args[:sub_type] if args.key?(:sub_type)
|
||||
@tax_impact = args[:tax_impact] if args.key?(:tax_impact)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderLineItem
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1085,114 +1193,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderPromotion
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `benefits`
|
||||
# @return [Array<Google::Apis::ContentV2sandbox::OrderPromotionBenefit>]
|
||||
attr_accessor :benefits
|
||||
|
||||
# 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.
|
||||
# Corresponds to the JSON property `effectiveDates`
|
||||
# @return [String]
|
||||
attr_accessor :effective_dates
|
||||
|
||||
# Optional. The text code that corresponds to the promotion when applied on the
|
||||
# retailer?s website.
|
||||
# Corresponds to the JSON property `genericRedemptionCode`
|
||||
# @return [String]
|
||||
attr_accessor :generic_redemption_code
|
||||
|
||||
# The unique ID of the promotion.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# The full title of the promotion.
|
||||
# Corresponds to the JSON property `longTitle`
|
||||
# @return [String]
|
||||
attr_accessor :long_title
|
||||
|
||||
# Whether the promotion is applicable to all products or only specific products.
|
||||
# Corresponds to the JSON property `productApplicability`
|
||||
# @return [String]
|
||||
attr_accessor :product_applicability
|
||||
|
||||
# Indicates that the promotion is valid online.
|
||||
# Corresponds to the JSON property `redemptionChannel`
|
||||
# @return [String]
|
||||
attr_accessor :redemption_channel
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@benefits = args[:benefits] if args.key?(:benefits)
|
||||
@effective_dates = args[:effective_dates] if args.key?(:effective_dates)
|
||||
@generic_redemption_code = args[:generic_redemption_code] if args.key?(:generic_redemption_code)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@long_title = args[:long_title] if args.key?(:long_title)
|
||||
@product_applicability = args[:product_applicability] if args.key?(:product_applicability)
|
||||
@redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderPromotionBenefit
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The discount in the order price when the promotion is applied.
|
||||
# Corresponds to the JSON property `discount`
|
||||
# @return [Google::Apis::ContentV2sandbox::Price]
|
||||
attr_accessor :discount
|
||||
|
||||
# The OfferId(s) that were purchased in this order and map to this specific
|
||||
# benefit of the promotion.
|
||||
# Corresponds to the JSON property `offerIds`
|
||||
# @return [Array<String>]
|
||||
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.
|
||||
# Corresponds to the JSON property `subType`
|
||||
# @return [String]
|
||||
attr_accessor :sub_type
|
||||
|
||||
# The impact on tax when the promotion is applied.
|
||||
# Corresponds to the JSON property `taxImpact`
|
||||
# @return [Google::Apis::ContentV2sandbox::Price]
|
||||
attr_accessor :tax_impact
|
||||
|
||||
# Describes whether the promotion applies to products (e.g. 20% off) or to
|
||||
# shipping (e.g. Free Shipping).
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@discount = args[:discount] if args.key?(:discount)
|
||||
@offer_ids = args[:offer_ids] if args.key?(:offer_ids)
|
||||
@sub_type = args[:sub_type] if args.key?(:sub_type)
|
||||
@tax_impact = args[:tax_impact] if args.key?(:tax_impact)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderRefund
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -4048,10 +4048,10 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :predefined_delivery_address
|
||||
|
||||
# The details of the merchant provided promotions applied to the order. More
|
||||
# details about the program are here.
|
||||
# Deprecated. The details of the merchant provided promotions applied to the
|
||||
# order. More details about the program are here.
|
||||
# Corresponds to the JSON property `promotions`
|
||||
# @return [Array<Google::Apis::ContentV2sandbox::OrderPromotion>]
|
||||
# @return [Array<Google::Apis::ContentV2sandbox::OrderLegacyPromotion>]
|
||||
attr_accessor :promotions
|
||||
|
||||
# The total cost of shipping for all items.
|
||||
|
|
|
@ -106,6 +106,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderLegacyPromotion
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderLegacyPromotionBenefit
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderLineItem
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -154,18 +166,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderPromotion
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderPromotionBenefit
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderRefund
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -808,7 +808,7 @@ module Google
|
|||
|
||||
property :payment_status, as: 'paymentStatus'
|
||||
property :placed_date, as: 'placedDate'
|
||||
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderPromotion, decorator: Google::Apis::ContentV2sandbox::OrderPromotion::Representation
|
||||
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotion, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotion::Representation
|
||||
|
||||
collection :refunds, as: 'refunds', class: Google::Apis::ContentV2sandbox::OrderRefund, decorator: Google::Apis::ContentV2sandbox::OrderRefund::Representation
|
||||
|
||||
|
@ -877,6 +877,33 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class OrderLegacyPromotion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :benefits, as: 'benefits', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotionBenefit, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotionBenefit::Representation
|
||||
|
||||
property :effective_dates, as: 'effectiveDates'
|
||||
property :generic_redemption_code, as: 'genericRedemptionCode'
|
||||
property :id, as: 'id'
|
||||
property :long_title, as: 'longTitle'
|
||||
property :product_applicability, as: 'productApplicability'
|
||||
property :redemption_channel, as: 'redemptionChannel'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderLegacyPromotionBenefit
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :discount, as: 'discount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
||||
|
||||
collection :offer_ids, as: 'offerIds'
|
||||
property :sub_type, as: 'subType'
|
||||
property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
||||
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderLineItem
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -987,33 +1014,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class OrderPromotion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :benefits, as: 'benefits', class: Google::Apis::ContentV2sandbox::OrderPromotionBenefit, decorator: Google::Apis::ContentV2sandbox::OrderPromotionBenefit::Representation
|
||||
|
||||
property :effective_dates, as: 'effectiveDates'
|
||||
property :generic_redemption_code, as: 'genericRedemptionCode'
|
||||
property :id, as: 'id'
|
||||
property :long_title, as: 'longTitle'
|
||||
property :product_applicability, as: 'productApplicability'
|
||||
property :redemption_channel, as: 'redemptionChannel'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderPromotionBenefit
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :discount, as: 'discount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
||||
|
||||
collection :offer_ids, as: 'offerIds'
|
||||
property :sub_type, as: 'subType'
|
||||
property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
||||
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderRefund
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1841,7 +1841,7 @@ module Google
|
|||
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2sandbox::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2sandbox::TestOrderPaymentMethod::Representation
|
||||
|
||||
property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
|
||||
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderPromotion, decorator: Google::Apis::ContentV2sandbox::OrderPromotion::Representation
|
||||
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotion, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotion::Representation
|
||||
|
||||
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180925'
|
||||
REVISION = '20181002'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -735,6 +735,74 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Message representing a set of files in a Cloud Storage bucket. Regular
|
||||
# expressions are used to allow fine-grained control over which files in the
|
||||
# bucket to include.
|
||||
# Included files are those that match at least one item in `include_regex` and
|
||||
# do not match any items in `exclude_regex`. Note that a file that matches
|
||||
# items from both lists will _not_ be included. For a match to occur, the
|
||||
# entire file path (i.e., everything in the url after the bucket name) must
|
||||
# match the regular expression.
|
||||
# For example, given the input ``bucket_name: "mybucket", include_regex:
|
||||
# ["directory1/.*"], exclude_regex:
|
||||
# ["directory1/excluded.*"]``:
|
||||
# * `gs://mybucket/directory1/myfile` will be included
|
||||
# * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches
|
||||
# across `/`)
|
||||
# * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the
|
||||
# full path doesn't match any items in `include_regex`)
|
||||
# * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path
|
||||
# matches an item in `exclude_regex`)
|
||||
# If `include_regex` is left empty, it will match all files by default
|
||||
# (this is equivalent to setting `include_regex: [".*"]`).
|
||||
# Some other common use cases:
|
||||
# * ``bucket_name: "mybucket", exclude_regex: [".*\.pdf"]`` will include all
|
||||
# files in `mybucket` except for .pdf files
|
||||
# * ``bucket_name: "mybucket", include_regex: ["directory/[^/]+"]`` will
|
||||
# include all files directly under `gs://mybucket/directory/`, without matching
|
||||
# across `/`
|
||||
class GooglePrivacyDlpV2CloudStorageRegexFileSet
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The name of a Cloud Storage bucket. Required.
|
||||
# Corresponds to the JSON property `bucketName`
|
||||
# @return [String]
|
||||
attr_accessor :bucket_name
|
||||
|
||||
# A list of regular expressions matching file paths to exclude. All files in
|
||||
# the bucket that match at least one of these regular expressions will be
|
||||
# excluded from the scan.
|
||||
# Regular expressions use RE2
|
||||
# [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
|
||||
# under the google/re2 repository on GitHub.
|
||||
# Corresponds to the JSON property `excludeRegex`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :exclude_regex
|
||||
|
||||
# A list of regular expressions matching file paths to include. All files in
|
||||
# the bucket that match at least one of these regular expressions will be
|
||||
# included in the set of files, except for those that also match an item in
|
||||
# `exclude_regex`. Leaving this field empty will match all files by default
|
||||
# (this is equivalent to including `.*` in the list).
|
||||
# Regular expressions use RE2
|
||||
# [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
|
||||
# under the google/re2 repository on GitHub.
|
||||
# Corresponds to the JSON property `includeRegex`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :include_regex
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
||||
@exclude_regex = args[:exclude_regex] if args.key?(:exclude_regex)
|
||||
@include_regex = args[:include_regex] if args.key?(:include_regex)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a color in the RGB color space.
|
||||
class GooglePrivacyDlpV2Color
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -873,9 +941,13 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Name of the container where the finding is located.
|
||||
# The top level name is the source file name or table name. Nested names
|
||||
# could be absent if the embedded object has no string identifier
|
||||
# (for an example an image contained within a document).
|
||||
# The top level name is the source file name or table name. Names of some
|
||||
# common storage containers are formatted as follows:
|
||||
# * BigQuery tables: `<project_id>:<dataset_id>.<table_id>`
|
||||
# * Cloud Storage files: `gs://<bucket>/<path>`
|
||||
# * Datastore namespace: <namespace>
|
||||
# Nested names could be absent if the embedded object has no string
|
||||
# identifier (for an example an image contained within a document).
|
||||
# Corresponds to the JSON property `containerName`
|
||||
# @return [String]
|
||||
attr_accessor :container_name
|
||||
|
@ -2190,8 +2262,39 @@ module Google
|
|||
class GooglePrivacyDlpV2FileSet
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Message representing a set of files in a Cloud Storage bucket. Regular
|
||||
# expressions are used to allow fine-grained control over which files in the
|
||||
# bucket to include.
|
||||
# Included files are those that match at least one item in `include_regex` and
|
||||
# do not match any items in `exclude_regex`. Note that a file that matches
|
||||
# items from both lists will _not_ be included. For a match to occur, the
|
||||
# entire file path (i.e., everything in the url after the bucket name) must
|
||||
# match the regular expression.
|
||||
# For example, given the input ``bucket_name: "mybucket", include_regex:
|
||||
# ["directory1/.*"], exclude_regex:
|
||||
# ["directory1/excluded.*"]``:
|
||||
# * `gs://mybucket/directory1/myfile` will be included
|
||||
# * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches
|
||||
# across `/`)
|
||||
# * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the
|
||||
# full path doesn't match any items in `include_regex`)
|
||||
# * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path
|
||||
# matches an item in `exclude_regex`)
|
||||
# If `include_regex` is left empty, it will match all files by default
|
||||
# (this is equivalent to setting `include_regex: [".*"]`).
|
||||
# Some other common use cases:
|
||||
# * ``bucket_name: "mybucket", exclude_regex: [".*\.pdf"]`` will include all
|
||||
# files in `mybucket` except for .pdf files
|
||||
# * ``bucket_name: "mybucket", include_regex: ["directory/[^/]+"]`` will
|
||||
# include all files directly under `gs://mybucket/directory/`, without matching
|
||||
# across `/`
|
||||
# Corresponds to the JSON property `regexFileSet`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegexFileSet]
|
||||
attr_accessor :regex_file_set
|
||||
|
||||
# The Cloud Storage url of the file(s) to scan, in the format
|
||||
# `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
|
||||
# `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
|
||||
# one of `url` or `regex_file_set` must be set.
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
@ -2202,6 +2305,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@regex_file_set = args[:regex_file_set] if args.key?(:regex_file_set)
|
||||
@url = args[:url] if args.key?(:url)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -142,6 +142,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2CloudStorageRegexFileSet
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2Color
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1235,6 +1241,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2CloudStorageRegexFileSet
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bucket_name, as: 'bucketName'
|
||||
collection :exclude_regex, as: 'excludeRegex'
|
||||
collection :include_regex, as: 'includeRegex'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2Color
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1636,6 +1651,8 @@ module Google
|
|||
class GooglePrivacyDlpV2FileSet
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :regex_file_set, as: 'regexFileSet', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegexFileSet, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegexFileSet::Representation
|
||||
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180603'
|
||||
REVISION = '20180930'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20180603'
|
||||
REVISION = '20180930'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20180903'
|
||||
REVISION = '20180930'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-test-lab/
|
||||
module TestingV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180927'
|
||||
REVISION = '20181003'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -581,13 +581,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Represents a whole calendar date, for example date of birth. The time of day
|
||||
# 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. The day can be 0 to
|
||||
# represent a year and month where the day is not significant, for example
|
||||
# credit card expiration date. The year can be 0 to represent a month and day
|
||||
# independent of year, for example anniversary date. Related types are
|
||||
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||
# * A full date, with non-zero year, month and day values
|
||||
# * A month and day value, with a zero year, e.g. an anniversary
|
||||
# * A year on its own, with zero month and day values
|
||||
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||
# Corresponds to the JSON property `releaseDate`
|
||||
# @return [Google::Apis::TestingV1::Date]
|
||||
attr_accessor :release_date
|
||||
|
@ -788,24 +789,26 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents a whole calendar date, for example date of birth. The time of day
|
||||
# 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. The day can be 0 to
|
||||
# represent a year and month where the day is not significant, for example
|
||||
# credit card expiration date. The year can be 0 to represent a month and day
|
||||
# independent of year, for example anniversary date. Related types are
|
||||
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||
# * A full date, with non-zero year, month and day values
|
||||
# * A month and day value, with a zero year, e.g. an anniversary
|
||||
# * A year on its own, with zero month and day values
|
||||
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||
class Date
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
||||
# if specifying a year/month where the day is not significant.
|
||||
# if specifying a year by itself or a year and month where the day is not
|
||||
# significant.
|
||||
# Corresponds to the JSON property `day`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :day
|
||||
|
||||
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a
|
||||
# month.
|
||||
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
||||
# month and day.
|
||||
# Corresponds to the JSON property `month`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :month
|
||||
|
@ -1140,6 +1143,11 @@ module Google
|
|||
# @return [Array<Google::Apis::TestingV1::IosVersion>]
|
||||
attr_accessor :versions
|
||||
|
||||
# Output only. The set of supported Xcode versions.
|
||||
# Corresponds to the JSON property `xcodeVersions`
|
||||
# @return [Array<Google::Apis::TestingV1::XcodeVersion>]
|
||||
attr_accessor :xcode_versions
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1149,6 +1157,7 @@ module Google
|
|||
@models = args[:models] if args.key?(:models)
|
||||
@runtime_configuration = args[:runtime_configuration] if args.key?(:runtime_configuration)
|
||||
@versions = args[:versions] if args.key?(:versions)
|
||||
@xcode_versions = args[:xcode_versions] if args.key?(:xcode_versions)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1297,6 +1306,11 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :minor_version
|
||||
|
||||
# Output only. The available Xcode versions for this version.
|
||||
# Corresponds to the JSON property `supportedXcodeVersionIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :supported_xcode_version_ids
|
||||
|
||||
# Output only. Tags for this dimension.
|
||||
# Examples: "default", "preview", "deprecated"
|
||||
# Corresponds to the JSON property `tags`
|
||||
|
@ -1312,6 +1326,7 @@ module Google
|
|||
@id = args[:id] if args.key?(:id)
|
||||
@major_version = args[:major_version] if args.key?(:major_version)
|
||||
@minor_version = args[:minor_version] if args.key?(:minor_version)
|
||||
@supported_xcode_version_ids = args[:supported_xcode_version_ids] if args.key?(:supported_xcode_version_ids)
|
||||
@tags = args[:tags] if args.key?(:tags)
|
||||
end
|
||||
end
|
||||
|
@ -1330,6 +1345,13 @@ module Google
|
|||
# @return [Google::Apis::TestingV1::FileReference]
|
||||
attr_accessor :tests_zip
|
||||
|
||||
# Optional. The Xcode version that should be used for the test.
|
||||
# Use the EnvironmentDiscoveryService to get supported options.
|
||||
# Defaults to the latest Xcode version Firebase Test Lab supports.
|
||||
# Corresponds to the JSON property `xcodeVersion`
|
||||
# @return [String]
|
||||
attr_accessor :xcode_version
|
||||
|
||||
# A reference to a file, used for user inputs.
|
||||
# Corresponds to the JSON property `xctestrun`
|
||||
# @return [Google::Apis::TestingV1::FileReference]
|
||||
|
@ -1342,6 +1364,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@tests_zip = args[:tests_zip] if args.key?(:tests_zip)
|
||||
@xcode_version = args[:xcode_version] if args.key?(:xcode_version)
|
||||
@xctestrun = args[:xctestrun] if args.key?(:xctestrun)
|
||||
end
|
||||
end
|
||||
|
@ -2257,6 +2280,33 @@ module Google
|
|||
@packet_loss_ratio = args[:packet_loss_ratio] if args.key?(:packet_loss_ratio)
|
||||
end
|
||||
end
|
||||
|
||||
# An Xcode version that an iOS version is compatible with.
|
||||
class XcodeVersion
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Tags for this Xcode version.
|
||||
# Examples: "default"
|
||||
# Corresponds to the JSON property `tags`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :tags
|
||||
|
||||
# Output only. The id for this version.
|
||||
# Example: "9.2"
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [String]
|
||||
attr_accessor :version
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@tags = args[:tags] if args.key?(:tags)
|
||||
@version = args[:version] if args.key?(:version)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -370,6 +370,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class XcodeVersion
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Account
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -673,6 +679,8 @@ module Google
|
|||
|
||||
collection :versions, as: 'versions', class: Google::Apis::TestingV1::IosVersion, decorator: Google::Apis::TestingV1::IosVersion::Representation
|
||||
|
||||
collection :xcode_versions, as: 'xcodeVersions', class: Google::Apis::TestingV1::XcodeVersion, decorator: Google::Apis::TestingV1::XcodeVersion::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -719,6 +727,7 @@ module Google
|
|||
property :id, as: 'id'
|
||||
property :major_version, as: 'majorVersion'
|
||||
property :minor_version, as: 'minorVersion'
|
||||
collection :supported_xcode_version_ids, as: 'supportedXcodeVersionIds'
|
||||
collection :tags, as: 'tags'
|
||||
end
|
||||
end
|
||||
|
@ -728,6 +737,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :tests_zip, as: 'testsZip', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
||||
|
||||
property :xcode_version, as: 'xcodeVersion'
|
||||
property :xctestrun, as: 'xctestrun', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
||||
|
||||
end
|
||||
|
@ -980,6 +990,14 @@ module Google
|
|||
property :packet_loss_ratio, as: 'packetLossRatio'
|
||||
end
|
||||
end
|
||||
|
||||
class XcodeVersion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :tags, as: 'tags'
|
||||
property :version, as: 'version'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180619'
|
||||
REVISION = '20180920'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1413,6 +1413,16 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p1beta1WordInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
||||
# indicates an estimated greater likelihood that the recognized words are
|
||||
# correct. This field is set only for the top alternative.
|
||||
# This field is not guaranteed to be accurate and users should not rely on it
|
||||
# to be always provided.
|
||||
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# Time offset relative to the beginning of the audio, and
|
||||
# corresponding to the end of the spoken word. This field is only set if
|
||||
# `enable_word_time_offsets=true` and only in the top hypothesis. This is an
|
||||
|
@ -1421,6 +1431,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# Output only. A distinct integer value is assigned for every speaker within
|
||||
# the audio. This field specifies which one of those speakers was detected to
|
||||
# have spoken this word. Value ranges from 1 up to diarization_speaker_count,
|
||||
# and is only set if speaker diarization is enabled.
|
||||
# Corresponds to the JSON property `speakerTag`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :speaker_tag
|
||||
|
||||
# Time offset relative to the beginning of the audio, and
|
||||
# corresponding to the start of the spoken word. This field is only set if
|
||||
# `enable_word_time_offsets=true` and only in the top hypothesis. This is an
|
||||
|
@ -1440,12 +1458,670 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@word = args[:word] if args.key?(:word)
|
||||
end
|
||||
end
|
||||
|
||||
# Video annotation progress. Included in the `metadata`
|
||||
# field of the `Operation` returned by the `GetOperation`
|
||||
# call of the `google::longrunning::Operations` service.
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Progress metadata for all videos specified in `AnnotateVideoRequest`.
|
||||
# Corresponds to the JSON property `annotationProgress`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress>]
|
||||
attr_accessor :annotation_progress
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@annotation_progress = args[:annotation_progress] if args.key?(:annotation_progress)
|
||||
end
|
||||
end
|
||||
|
||||
# Video annotation response. Included in the `response`
|
||||
# field of the `Operation` returned by the `GetOperation`
|
||||
# call of the `google::longrunning::Operations` service.
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Annotation results for all videos specified in `AnnotateVideoRequest`.
|
||||
# Corresponds to the JSON property `annotationResults`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults>]
|
||||
attr_accessor :annotation_results
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@annotation_results = args[:annotation_results] if args.key?(:annotation_results)
|
||||
end
|
||||
end
|
||||
|
||||
# Detected entity from video analysis.
|
||||
class GoogleCloudVideointelligenceV1p2beta1Entity
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Textual description, e.g. `Fixed-gear bicycle`.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Opaque entity ID. Some IDs may be available in
|
||||
# [Google Knowledge Graph Search
|
||||
# API](https://developers.google.com/knowledge-graph/).
|
||||
# Corresponds to the JSON property `entityId`
|
||||
# @return [String]
|
||||
attr_accessor :entity_id
|
||||
|
||||
# Language code for `description` in BCP-47 format.
|
||||
# Corresponds to the JSON property `languageCode`
|
||||
# @return [String]
|
||||
attr_accessor :language_code
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
||||
@language_code = args[:language_code] if args.key?(:language_code)
|
||||
end
|
||||
end
|
||||
|
||||
# Explicit content annotation (based on per-frame visual signals only).
|
||||
# If no explicit content has been detected in a frame, no annotations are
|
||||
# present for that frame.
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# All video frames where explicit content was detected.
|
||||
# Corresponds to the JSON property `frames`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame>]
|
||||
attr_accessor :frames
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@frames = args[:frames] if args.key?(:frames)
|
||||
end
|
||||
end
|
||||
|
||||
# Video frame level annotation results for explicit content.
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Likelihood of the pornography content..
|
||||
# Corresponds to the JSON property `pornographyLikelihood`
|
||||
# @return [String]
|
||||
attr_accessor :pornography_likelihood
|
||||
|
||||
# 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)
|
||||
@pornography_likelihood = args[:pornography_likelihood] if args.key?(:pornography_likelihood)
|
||||
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
||||
end
|
||||
end
|
||||
|
||||
# Label annotation.
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Common categories for the detected entity.
|
||||
# E.g. when the label is `Terrier` the category is likely `dog`. And in some
|
||||
# cases there might be more than one categories e.g. `Terrier` could also be
|
||||
# a `pet`.
|
||||
# Corresponds to the JSON property `categoryEntities`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity>]
|
||||
attr_accessor :category_entities
|
||||
|
||||
# Detected entity from video analysis.
|
||||
# Corresponds to the JSON property `entity`
|
||||
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity]
|
||||
attr_accessor :entity
|
||||
|
||||
# All video frames where a label was detected.
|
||||
# Corresponds to the JSON property `frames`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelFrame>]
|
||||
attr_accessor :frames
|
||||
|
||||
# All video segments where a label was detected.
|
||||
# Corresponds to the JSON property `segments`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelSegment>]
|
||||
attr_accessor :segments
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@category_entities = args[:category_entities] if args.key?(:category_entities)
|
||||
@entity = args[:entity] if args.key?(:entity)
|
||||
@frames = args[:frames] if args.key?(:frames)
|
||||
@segments = args[:segments] if args.key?(:segments)
|
||||
end
|
||||
end
|
||||
|
||||
# Video frame level annotation results for label detection.
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelFrame
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Confidence that the label is accurate. Range: [0, 1].
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# 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)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
||||
end
|
||||
end
|
||||
|
||||
# Video segment level annotation results for label detection.
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelSegment
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Confidence that the label is accurate. Range: [0, 1].
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# 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)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
end
|
||||
end
|
||||
|
||||
# Normalized bounding box.
|
||||
# The normalized vertex coordinates are relative to the original image.
|
||||
# Range: [0, 1].
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Bottom Y coordinate.
|
||||
# Corresponds to the JSON property `bottom`
|
||||
# @return [Float]
|
||||
attr_accessor :bottom
|
||||
|
||||
# Left X coordinate.
|
||||
# Corresponds to the JSON property `left`
|
||||
# @return [Float]
|
||||
attr_accessor :left
|
||||
|
||||
# Right X coordinate.
|
||||
# Corresponds to the JSON property `right`
|
||||
# @return [Float]
|
||||
attr_accessor :right
|
||||
|
||||
# Top Y coordinate.
|
||||
# Corresponds to the JSON property `top`
|
||||
# @return [Float]
|
||||
attr_accessor :top
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@bottom = args[:bottom] if args.key?(:bottom)
|
||||
@left = args[:left] if args.key?(:left)
|
||||
@right = args[:right] if args.key?(:right)
|
||||
@top = args[:top] if args.key?(:top)
|
||||
end
|
||||
end
|
||||
|
||||
# Normalized bounding polygon for text (that might not be aligned with axis).
|
||||
# Contains list of the corner points in clockwise order starting from
|
||||
# top-left corner. For example, for a rectangular bounding box:
|
||||
# When the text is horizontal it might look like:
|
||||
# 0----1
|
||||
# | |
|
||||
# 3----2
|
||||
# When it's clockwise rotated 180 degrees around the top-left corner it
|
||||
# becomes:
|
||||
# 2----3
|
||||
# | |
|
||||
# 1----0
|
||||
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
||||
# than 0, or greater than 1 due to trignometric calculations for location of
|
||||
# the box.
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Normalized vertices of the bounding polygon.
|
||||
# Corresponds to the JSON property `vertices`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex>]
|
||||
attr_accessor :vertices
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@vertices = args[:vertices] if args.key?(:vertices)
|
||||
end
|
||||
end
|
||||
|
||||
# A vertex represents a 2D point in the image.
|
||||
# NOTE: the normalized vertex coordinates are relative to the original image
|
||||
# and range from 0 to 1.
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedVertex
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# X coordinate.
|
||||
# Corresponds to the JSON property `x`
|
||||
# @return [Float]
|
||||
attr_accessor :x
|
||||
|
||||
# Y coordinate.
|
||||
# Corresponds to the JSON property `y`
|
||||
# @return [Float]
|
||||
attr_accessor :y
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@x = args[:x] if args.key?(:x)
|
||||
@y = args[:y] if args.key?(:y)
|
||||
end
|
||||
end
|
||||
|
||||
# Annotations corresponding to one tracked object.
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Object category's labeling confidence of this track.
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# Detected entity from video analysis.
|
||||
# Corresponds to the JSON property `entity`
|
||||
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity]
|
||||
attr_accessor :entity
|
||||
|
||||
# Information corresponding to all frames where this object track appears.
|
||||
# Corresponds to the JSON property `frames`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame>]
|
||||
attr_accessor :frames
|
||||
|
||||
# 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)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@entity = args[:entity] if args.key?(:entity)
|
||||
@frames = args[:frames] if args.key?(:frames)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
end
|
||||
end
|
||||
|
||||
# Video frame level annotations for object detection and tracking. This field
|
||||
# stores per frame location, time offset, and confidence.
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Normalized bounding box.
|
||||
# The normalized vertex coordinates are relative to the original image.
|
||||
# Range: [0, 1].
|
||||
# Corresponds to the JSON property `normalizedBoundingBox`
|
||||
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
|
||||
attr_accessor :normalized_bounding_box
|
||||
|
||||
# The timestamp of the frame in microseconds.
|
||||
# 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_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
||||
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
||||
end
|
||||
end
|
||||
|
||||
# Annotations related to one detected OCR text snippet. This will contain the
|
||||
# corresponding text, confidence value, and frame level information for each
|
||||
# detection.
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Confidence for the track of detected text. It is calculated as the highest
|
||||
# over all frames where OCR detected text appears.
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# Information related to the frames where OCR detected text appears.
|
||||
# Corresponds to the JSON property `frames`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextFrame>]
|
||||
attr_accessor :frames
|
||||
|
||||
# All video segments where OCR detected text appears.
|
||||
# Corresponds to the JSON property `segments`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextSegment>]
|
||||
attr_accessor :segments
|
||||
|
||||
# The detected text.
|
||||
# Corresponds to the JSON property `text`
|
||||
# @return [String]
|
||||
attr_accessor :text
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@frames = args[:frames] if args.key?(:frames)
|
||||
@segments = args[:segments] if args.key?(:segments)
|
||||
@text = args[:text] if args.key?(:text)
|
||||
end
|
||||
end
|
||||
|
||||
# Video frame level annotation results for text annotation (OCR).
|
||||
# Contains information regarding timestamp and bounding box locations for the
|
||||
# frames containing detected OCR text snippets.
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextFrame
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Normalized bounding polygon for text (that might not be aligned with axis).
|
||||
# Contains list of the corner points in clockwise order starting from
|
||||
# top-left corner. For example, for a rectangular bounding box:
|
||||
# When the text is horizontal it might look like:
|
||||
# 0----1
|
||||
# | |
|
||||
# 3----2
|
||||
# When it's clockwise rotated 180 degrees around the top-left corner it
|
||||
# becomes:
|
||||
# 2----3
|
||||
# | |
|
||||
# 1----0
|
||||
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
||||
# than 0, or greater than 1 due to trignometric calculations for location of
|
||||
# the box.
|
||||
# Corresponds to the JSON property `rotatedBoundingBox`
|
||||
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly]
|
||||
attr_accessor :rotated_bounding_box
|
||||
|
||||
# Timestamp of this frame.
|
||||
# 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)
|
||||
@rotated_bounding_box = args[:rotated_bounding_box] if args.key?(:rotated_bounding_box)
|
||||
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
||||
end
|
||||
end
|
||||
|
||||
# Video segment level annotation results for text detection.
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextSegment
|
||||
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
|
||||
|
||||
# Annotation progress for a single video.
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Video file location in
|
||||
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
||||
# Corresponds to the JSON property `inputUri`
|
||||
# @return [String]
|
||||
attr_accessor :input_uri
|
||||
|
||||
# Approximate percentage processed thus far. Guaranteed to be
|
||||
# 100 when fully processed.
|
||||
# Corresponds to the JSON property `progressPercent`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :progress_percent
|
||||
|
||||
# Time when the request was received.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# Time of the most recent update.
|
||||
# Corresponds to the JSON property `updateTime`
|
||||
# @return [String]
|
||||
attr_accessor :update_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
end
|
||||
end
|
||||
|
||||
# Annotation results for a single video.
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# 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). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# Corresponds to the JSON property `error`
|
||||
# @return [Google::Apis::VideointelligenceV1::GoogleRpcStatus]
|
||||
attr_accessor :error
|
||||
|
||||
# Explicit content annotation (based on per-frame visual signals only).
|
||||
# If no explicit content has been detected in a frame, no annotations are
|
||||
# present for that frame.
|
||||
# Corresponds to the JSON property `explicitAnnotation`
|
||||
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
|
||||
attr_accessor :explicit_annotation
|
||||
|
||||
# Label annotations on frame level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `frameLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :frame_label_annotations
|
||||
|
||||
# Video file location in
|
||||
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
||||
# Corresponds to the JSON property `inputUri`
|
||||
# @return [String]
|
||||
attr_accessor :input_uri
|
||||
|
||||
# Annotations for list of objects detected and tracked in video.
|
||||
# Corresponds to the JSON property `objectAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
|
||||
attr_accessor :object_annotations
|
||||
|
||||
# Label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
|
||||
attr_accessor :shot_annotations
|
||||
|
||||
# Label annotations on shot level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `shotLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# OCR text detection and tracking.
|
||||
# Annotations for list of detected text snippets. Each will have list of
|
||||
# frame information associated with it.
|
||||
# Corresponds to the JSON property `textAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation>]
|
||||
attr_accessor :text_annotations
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
||||
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
||||
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
end
|
||||
|
||||
# Video segment.
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoSegment
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Time-offset, relative to the beginning of the video,
|
||||
# corresponding to the end of the segment (inclusive).
|
||||
# Corresponds to the JSON property `endTimeOffset`
|
||||
# @return [String]
|
||||
attr_accessor :end_time_offset
|
||||
|
||||
# Time-offset, relative to the beginning of the video,
|
||||
# corresponding to the start of the segment (inclusive).
|
||||
# Corresponds to the JSON property `startTimeOffset`
|
||||
# @return [String]
|
||||
attr_accessor :start_time_offset
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset)
|
||||
@start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset)
|
||||
end
|
||||
end
|
||||
|
||||
# The request message for Operations.CancelOperation.
|
||||
class GoogleLongrunningCancelOperationRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -268,6 +268,120 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1Entity
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelFrame
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelSegment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedVertex
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextFrame
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextSegment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoSegment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleLongrunningCancelOperationRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -698,12 +812,204 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p1beta1WordInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
property :end_time, as: 'endTime'
|
||||
property :speaker_tag, as: 'speakerTag'
|
||||
property :start_time, as: 'startTime'
|
||||
property :word, as: 'word'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :annotation_progress, as: 'annotationProgress', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :annotation_results, as: 'annotationResults', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1Entity
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :entity_id, as: 'entityId'
|
||||
property :language_code, as: 'languageCode'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :pornography_likelihood, as: 'pornographyLikelihood'
|
||||
property :time_offset, as: 'timeOffset'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :category_entities, as: 'categoryEntities', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity::Representation
|
||||
|
||||
property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity::Representation
|
||||
|
||||
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelFrame::Representation
|
||||
|
||||
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelSegment::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelFrame
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
property :time_offset, as: 'timeOffset'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelSegment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bottom, as: 'bottom'
|
||||
property :left, as: 'left'
|
||||
property :right, as: 'right'
|
||||
property :top, as: 'top'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :vertices, as: 'vertices', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedVertex
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :x, as: 'x'
|
||||
property :y, as: 'y'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity::Representation
|
||||
|
||||
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame::Representation
|
||||
|
||||
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :normalized_bounding_box, as: 'normalizedBoundingBox', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation
|
||||
|
||||
property :time_offset, as: 'timeOffset'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextFrame::Representation
|
||||
|
||||
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextSegment::Representation
|
||||
|
||||
property :text, as: 'text'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextFrame
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :rotated_bounding_box, as: 'rotatedBoundingBox', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly::Representation
|
||||
|
||||
property :time_offset, as: 'timeOffset'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextSegment
|
||||
# @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 GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :input_uri, as: 'inputUri'
|
||||
property :progress_percent, as: 'progressPercent'
|
||||
property :start_time, as: 'startTime'
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :error, as: 'error', class: Google::Apis::VideointelligenceV1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1::GoogleRpcStatus::Representation
|
||||
|
||||
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
|
||||
|
||||
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
property :input_uri, as: 'inputUri'
|
||||
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation
|
||||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoSegment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :end_time_offset, as: 'endTimeOffset'
|
||||
property :start_time_offset, as: 'startTimeOffset'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleLongrunningCancelOperationRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20180619'
|
||||
REVISION = '20180920'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1413,6 +1413,16 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p1beta1WordInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
||||
# indicates an estimated greater likelihood that the recognized words are
|
||||
# correct. This field is set only for the top alternative.
|
||||
# This field is not guaranteed to be accurate and users should not rely on it
|
||||
# to be always provided.
|
||||
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# Time offset relative to the beginning of the audio, and
|
||||
# corresponding to the end of the spoken word. This field is only set if
|
||||
# `enable_word_time_offsets=true` and only in the top hypothesis. This is an
|
||||
|
@ -1421,6 +1431,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# Output only. A distinct integer value is assigned for every speaker within
|
||||
# the audio. This field specifies which one of those speakers was detected to
|
||||
# have spoken this word. Value ranges from 1 up to diarization_speaker_count,
|
||||
# and is only set if speaker diarization is enabled.
|
||||
# Corresponds to the JSON property `speakerTag`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :speaker_tag
|
||||
|
||||
# Time offset relative to the beginning of the audio, and
|
||||
# corresponding to the start of the spoken word. This field is only set if
|
||||
# `enable_word_time_offsets=true` and only in the top hypothesis. This is an
|
||||
|
@ -1440,12 +1458,670 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@word = args[:word] if args.key?(:word)
|
||||
end
|
||||
end
|
||||
|
||||
# Video annotation progress. Included in the `metadata`
|
||||
# field of the `Operation` returned by the `GetOperation`
|
||||
# call of the `google::longrunning::Operations` service.
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Progress metadata for all videos specified in `AnnotateVideoRequest`.
|
||||
# Corresponds to the JSON property `annotationProgress`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress>]
|
||||
attr_accessor :annotation_progress
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@annotation_progress = args[:annotation_progress] if args.key?(:annotation_progress)
|
||||
end
|
||||
end
|
||||
|
||||
# Video annotation response. Included in the `response`
|
||||
# field of the `Operation` returned by the `GetOperation`
|
||||
# call of the `google::longrunning::Operations` service.
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Annotation results for all videos specified in `AnnotateVideoRequest`.
|
||||
# Corresponds to the JSON property `annotationResults`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults>]
|
||||
attr_accessor :annotation_results
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@annotation_results = args[:annotation_results] if args.key?(:annotation_results)
|
||||
end
|
||||
end
|
||||
|
||||
# Detected entity from video analysis.
|
||||
class GoogleCloudVideointelligenceV1p2beta1Entity
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Textual description, e.g. `Fixed-gear bicycle`.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Opaque entity ID. Some IDs may be available in
|
||||
# [Google Knowledge Graph Search
|
||||
# API](https://developers.google.com/knowledge-graph/).
|
||||
# Corresponds to the JSON property `entityId`
|
||||
# @return [String]
|
||||
attr_accessor :entity_id
|
||||
|
||||
# Language code for `description` in BCP-47 format.
|
||||
# Corresponds to the JSON property `languageCode`
|
||||
# @return [String]
|
||||
attr_accessor :language_code
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
||||
@language_code = args[:language_code] if args.key?(:language_code)
|
||||
end
|
||||
end
|
||||
|
||||
# Explicit content annotation (based on per-frame visual signals only).
|
||||
# If no explicit content has been detected in a frame, no annotations are
|
||||
# present for that frame.
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# All video frames where explicit content was detected.
|
||||
# Corresponds to the JSON property `frames`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame>]
|
||||
attr_accessor :frames
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@frames = args[:frames] if args.key?(:frames)
|
||||
end
|
||||
end
|
||||
|
||||
# Video frame level annotation results for explicit content.
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Likelihood of the pornography content..
|
||||
# Corresponds to the JSON property `pornographyLikelihood`
|
||||
# @return [String]
|
||||
attr_accessor :pornography_likelihood
|
||||
|
||||
# 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)
|
||||
@pornography_likelihood = args[:pornography_likelihood] if args.key?(:pornography_likelihood)
|
||||
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
||||
end
|
||||
end
|
||||
|
||||
# Label annotation.
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Common categories for the detected entity.
|
||||
# E.g. when the label is `Terrier` the category is likely `dog`. And in some
|
||||
# cases there might be more than one categories e.g. `Terrier` could also be
|
||||
# a `pet`.
|
||||
# Corresponds to the JSON property `categoryEntities`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity>]
|
||||
attr_accessor :category_entities
|
||||
|
||||
# Detected entity from video analysis.
|
||||
# Corresponds to the JSON property `entity`
|
||||
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity]
|
||||
attr_accessor :entity
|
||||
|
||||
# All video frames where a label was detected.
|
||||
# Corresponds to the JSON property `frames`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelFrame>]
|
||||
attr_accessor :frames
|
||||
|
||||
# All video segments where a label was detected.
|
||||
# Corresponds to the JSON property `segments`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelSegment>]
|
||||
attr_accessor :segments
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@category_entities = args[:category_entities] if args.key?(:category_entities)
|
||||
@entity = args[:entity] if args.key?(:entity)
|
||||
@frames = args[:frames] if args.key?(:frames)
|
||||
@segments = args[:segments] if args.key?(:segments)
|
||||
end
|
||||
end
|
||||
|
||||
# Video frame level annotation results for label detection.
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelFrame
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Confidence that the label is accurate. Range: [0, 1].
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# 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)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
||||
end
|
||||
end
|
||||
|
||||
# Video segment level annotation results for label detection.
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelSegment
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Confidence that the label is accurate. Range: [0, 1].
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# 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)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
end
|
||||
end
|
||||
|
||||
# Normalized bounding box.
|
||||
# The normalized vertex coordinates are relative to the original image.
|
||||
# Range: [0, 1].
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Bottom Y coordinate.
|
||||
# Corresponds to the JSON property `bottom`
|
||||
# @return [Float]
|
||||
attr_accessor :bottom
|
||||
|
||||
# Left X coordinate.
|
||||
# Corresponds to the JSON property `left`
|
||||
# @return [Float]
|
||||
attr_accessor :left
|
||||
|
||||
# Right X coordinate.
|
||||
# Corresponds to the JSON property `right`
|
||||
# @return [Float]
|
||||
attr_accessor :right
|
||||
|
||||
# Top Y coordinate.
|
||||
# Corresponds to the JSON property `top`
|
||||
# @return [Float]
|
||||
attr_accessor :top
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@bottom = args[:bottom] if args.key?(:bottom)
|
||||
@left = args[:left] if args.key?(:left)
|
||||
@right = args[:right] if args.key?(:right)
|
||||
@top = args[:top] if args.key?(:top)
|
||||
end
|
||||
end
|
||||
|
||||
# Normalized bounding polygon for text (that might not be aligned with axis).
|
||||
# Contains list of the corner points in clockwise order starting from
|
||||
# top-left corner. For example, for a rectangular bounding box:
|
||||
# When the text is horizontal it might look like:
|
||||
# 0----1
|
||||
# | |
|
||||
# 3----2
|
||||
# When it's clockwise rotated 180 degrees around the top-left corner it
|
||||
# becomes:
|
||||
# 2----3
|
||||
# | |
|
||||
# 1----0
|
||||
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
||||
# than 0, or greater than 1 due to trignometric calculations for location of
|
||||
# the box.
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Normalized vertices of the bounding polygon.
|
||||
# Corresponds to the JSON property `vertices`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex>]
|
||||
attr_accessor :vertices
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@vertices = args[:vertices] if args.key?(:vertices)
|
||||
end
|
||||
end
|
||||
|
||||
# A vertex represents a 2D point in the image.
|
||||
# NOTE: the normalized vertex coordinates are relative to the original image
|
||||
# and range from 0 to 1.
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedVertex
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# X coordinate.
|
||||
# Corresponds to the JSON property `x`
|
||||
# @return [Float]
|
||||
attr_accessor :x
|
||||
|
||||
# Y coordinate.
|
||||
# Corresponds to the JSON property `y`
|
||||
# @return [Float]
|
||||
attr_accessor :y
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@x = args[:x] if args.key?(:x)
|
||||
@y = args[:y] if args.key?(:y)
|
||||
end
|
||||
end
|
||||
|
||||
# Annotations corresponding to one tracked object.
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Object category's labeling confidence of this track.
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# Detected entity from video analysis.
|
||||
# Corresponds to the JSON property `entity`
|
||||
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity]
|
||||
attr_accessor :entity
|
||||
|
||||
# Information corresponding to all frames where this object track appears.
|
||||
# Corresponds to the JSON property `frames`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame>]
|
||||
attr_accessor :frames
|
||||
|
||||
# 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)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@entity = args[:entity] if args.key?(:entity)
|
||||
@frames = args[:frames] if args.key?(:frames)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
end
|
||||
end
|
||||
|
||||
# Video frame level annotations for object detection and tracking. This field
|
||||
# stores per frame location, time offset, and confidence.
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Normalized bounding box.
|
||||
# The normalized vertex coordinates are relative to the original image.
|
||||
# Range: [0, 1].
|
||||
# Corresponds to the JSON property `normalizedBoundingBox`
|
||||
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
|
||||
attr_accessor :normalized_bounding_box
|
||||
|
||||
# The timestamp of the frame in microseconds.
|
||||
# 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_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
||||
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
||||
end
|
||||
end
|
||||
|
||||
# Annotations related to one detected OCR text snippet. This will contain the
|
||||
# corresponding text, confidence value, and frame level information for each
|
||||
# detection.
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Confidence for the track of detected text. It is calculated as the highest
|
||||
# over all frames where OCR detected text appears.
|
||||
# Corresponds to the JSON property `confidence`
|
||||
# @return [Float]
|
||||
attr_accessor :confidence
|
||||
|
||||
# Information related to the frames where OCR detected text appears.
|
||||
# Corresponds to the JSON property `frames`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextFrame>]
|
||||
attr_accessor :frames
|
||||
|
||||
# All video segments where OCR detected text appears.
|
||||
# Corresponds to the JSON property `segments`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextSegment>]
|
||||
attr_accessor :segments
|
||||
|
||||
# The detected text.
|
||||
# Corresponds to the JSON property `text`
|
||||
# @return [String]
|
||||
attr_accessor :text
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@confidence = args[:confidence] if args.key?(:confidence)
|
||||
@frames = args[:frames] if args.key?(:frames)
|
||||
@segments = args[:segments] if args.key?(:segments)
|
||||
@text = args[:text] if args.key?(:text)
|
||||
end
|
||||
end
|
||||
|
||||
# Video frame level annotation results for text annotation (OCR).
|
||||
# Contains information regarding timestamp and bounding box locations for the
|
||||
# frames containing detected OCR text snippets.
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextFrame
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Normalized bounding polygon for text (that might not be aligned with axis).
|
||||
# Contains list of the corner points in clockwise order starting from
|
||||
# top-left corner. For example, for a rectangular bounding box:
|
||||
# When the text is horizontal it might look like:
|
||||
# 0----1
|
||||
# | |
|
||||
# 3----2
|
||||
# When it's clockwise rotated 180 degrees around the top-left corner it
|
||||
# becomes:
|
||||
# 2----3
|
||||
# | |
|
||||
# 1----0
|
||||
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
||||
# than 0, or greater than 1 due to trignometric calculations for location of
|
||||
# the box.
|
||||
# Corresponds to the JSON property `rotatedBoundingBox`
|
||||
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly]
|
||||
attr_accessor :rotated_bounding_box
|
||||
|
||||
# Timestamp of this frame.
|
||||
# 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)
|
||||
@rotated_bounding_box = args[:rotated_bounding_box] if args.key?(:rotated_bounding_box)
|
||||
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
||||
end
|
||||
end
|
||||
|
||||
# Video segment level annotation results for text detection.
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextSegment
|
||||
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
|
||||
|
||||
# Annotation progress for a single video.
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Video file location in
|
||||
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
||||
# Corresponds to the JSON property `inputUri`
|
||||
# @return [String]
|
||||
attr_accessor :input_uri
|
||||
|
||||
# Approximate percentage processed thus far. Guaranteed to be
|
||||
# 100 when fully processed.
|
||||
# Corresponds to the JSON property `progressPercent`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :progress_percent
|
||||
|
||||
# Time when the request was received.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# Time of the most recent update.
|
||||
# Corresponds to the JSON property `updateTime`
|
||||
# @return [String]
|
||||
attr_accessor :update_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
end
|
||||
end
|
||||
|
||||
# Annotation results for a single video.
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# 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). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# Corresponds to the JSON property `error`
|
||||
# @return [Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus]
|
||||
attr_accessor :error
|
||||
|
||||
# Explicit content annotation (based on per-frame visual signals only).
|
||||
# If no explicit content has been detected in a frame, no annotations are
|
||||
# present for that frame.
|
||||
# Corresponds to the JSON property `explicitAnnotation`
|
||||
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
|
||||
attr_accessor :explicit_annotation
|
||||
|
||||
# Label annotations on frame level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `frameLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :frame_label_annotations
|
||||
|
||||
# Video file location in
|
||||
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
||||
# Corresponds to the JSON property `inputUri`
|
||||
# @return [String]
|
||||
attr_accessor :input_uri
|
||||
|
||||
# Annotations for list of objects detected and tracked in video.
|
||||
# Corresponds to the JSON property `objectAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
|
||||
attr_accessor :object_annotations
|
||||
|
||||
# Label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
|
||||
attr_accessor :shot_annotations
|
||||
|
||||
# Label annotations on shot level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `shotLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# OCR text detection and tracking.
|
||||
# Annotations for list of detected text snippets. Each will have list of
|
||||
# frame information associated with it.
|
||||
# Corresponds to the JSON property `textAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextAnnotation>]
|
||||
attr_accessor :text_annotations
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
||||
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
||||
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
end
|
||||
|
||||
# Video segment.
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoSegment
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Time-offset, relative to the beginning of the video,
|
||||
# corresponding to the end of the segment (inclusive).
|
||||
# Corresponds to the JSON property `endTimeOffset`
|
||||
# @return [String]
|
||||
attr_accessor :end_time_offset
|
||||
|
||||
# Time-offset, relative to the beginning of the video,
|
||||
# corresponding to the start of the segment (inclusive).
|
||||
# Corresponds to the JSON property `startTimeOffset`
|
||||
# @return [String]
|
||||
attr_accessor :start_time_offset
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset)
|
||||
@start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset)
|
||||
end
|
||||
end
|
||||
|
||||
# This resource represents a long-running operation that is the result of a
|
||||
# network API call.
|
||||
class GoogleLongrunningOperation
|
||||
|
|
|
@ -268,6 +268,120 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1Entity
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelFrame
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelSegment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedVertex
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextFrame
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextSegment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoSegment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleLongrunningOperation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -680,12 +794,204 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p1beta1WordInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
property :end_time, as: 'endTime'
|
||||
property :speaker_tag, as: 'speakerTag'
|
||||
property :start_time, as: 'startTime'
|
||||
property :word, as: 'word'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :annotation_progress, as: 'annotationProgress', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :annotation_results, as: 'annotationResults', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1Entity
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :entity_id, as: 'entityId'
|
||||
property :language_code, as: 'languageCode'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :pornography_likelihood, as: 'pornographyLikelihood'
|
||||
property :time_offset, as: 'timeOffset'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :category_entities, as: 'categoryEntities', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity::Representation
|
||||
|
||||
property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity::Representation
|
||||
|
||||
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelFrame::Representation
|
||||
|
||||
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelSegment::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelFrame
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
property :time_offset, as: 'timeOffset'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1LabelSegment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bottom, as: 'bottom'
|
||||
property :left, as: 'left'
|
||||
property :right, as: 'right'
|
||||
property :top, as: 'top'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :vertices, as: 'vertices', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1NormalizedVertex
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :x, as: 'x'
|
||||
property :y, as: 'y'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity::Representation
|
||||
|
||||
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame::Representation
|
||||
|
||||
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :normalized_bounding_box, as: 'normalizedBoundingBox', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation
|
||||
|
||||
property :time_offset, as: 'timeOffset'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :confidence, as: 'confidence'
|
||||
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextFrame::Representation
|
||||
|
||||
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextSegment::Representation
|
||||
|
||||
property :text, as: 'text'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextFrame
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :rotated_bounding_box, as: 'rotatedBoundingBox', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly::Representation
|
||||
|
||||
property :time_offset, as: 'timeOffset'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1TextSegment
|
||||
# @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 GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :input_uri, as: 'inputUri'
|
||||
property :progress_percent, as: 'progressPercent'
|
||||
property :start_time, as: 'startTime'
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :error, as: 'error', class: Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1beta2::GoogleRpcStatus::Representation
|
||||
|
||||
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
|
||||
|
||||
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
property :input_uri, as: 'inputUri'
|
||||
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation
|
||||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextAnnotation::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVideointelligenceV1p2beta1VideoSegment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :end_time_offset, as: 'endTimeOffset'
|
||||
property :start_time_offset, as: 'startTimeOffset'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleLongrunningOperation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
Loading…
Reference in New Issue