From db4ec8e10edf49d2f85b75c708c63a229ad4ef6d Mon Sep 17 00:00:00 2001 From: Google APIs Date: Mon, 6 Nov 2017 00:35:11 +0000 Subject: [PATCH] Autogenerated update (2017-11-06) Update: - videointelligence_v1beta1 --- api_names_out.yaml | 33 +++ .../google/apis/videointelligence_v1beta1.rb | 2 +- .../apis/videointelligence_v1beta1/classes.rb | 214 +++++++++++++----- .../representations.rb | 82 +++++-- 4 files changed, 256 insertions(+), 75 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 66138cac9..0b44f8ca4 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -60985,15 +60985,38 @@ "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoResponse": google_cloud_videointelligence_v1_annotate_video_response "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoResponse/annotationResults": annotation_results "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoResponse/annotationResults/annotation_result": annotation_result +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_Entity": google_cloud_videointelligence_v1_entity +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_Entity/description": description +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_Entity/entityId": entity_id +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_Entity/languageCode": language_code +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_ExplicitContentAnnotation": google_cloud_videointelligence_v1_explicit_content_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_ExplicitContentAnnotation/frames": frames +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_ExplicitContentAnnotation/frames/frame": frame +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame": google_cloud_videointelligence_v1_explicit_content_frame +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_ExplicitContentFrame/timeOffset": time_offset "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation": google_cloud_videointelligence_v1_label_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities": category_entities +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/categoryEntities/category_entity": category_entity "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/description": description +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/entity": entity +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/frames": frames +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/frames/frame": frame "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/languageCode": language_code "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/locations": locations "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/locations/location": location +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/segments": segments +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelAnnotation/segments/segment": segment +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelFrame": google_cloud_videointelligence_v1_label_frame +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelFrame/confidence": confidence +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelFrame/timeOffset": time_offset "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelLocation": google_cloud_videointelligence_v1_label_location "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelLocation/confidence": confidence "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelLocation/level": level "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelLocation/segment": segment +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelSegment": google_cloud_videointelligence_v1_label_segment +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelSegment/confidence": confidence +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_LabelSegment/segment": segment "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_SafeSearchAnnotation": google_cloud_videointelligence_v1_safe_search_annotation "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_SafeSearchAnnotation/adult": adult "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_SafeSearchAnnotation/time": time @@ -61004,16 +61027,26 @@ "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationProgress/updateTime": update_time "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults": google_cloud_videointelligence_v1_video_annotation_results "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/error": error +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/explicitAnnotation": explicit_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/frameLabelAnnotations": frame_label_annotations +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation": frame_label_annotation "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/inputUri": input_uri "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/labelAnnotations": label_annotations "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/labelAnnotations/label_annotation": label_annotation "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/safeSearchAnnotations": safe_search_annotations "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/safeSearchAnnotations/safe_search_annotation": safe_search_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations +? "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation" +: segment_label_annotation "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/shotAnnotations": shot_annotations "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/shotAnnotations/shot_annotation": shot_annotation +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/shotLabelAnnotations": shot_label_annotations +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoAnnotationResults/shotLabelAnnotations/shot_label_annotation": shot_label_annotation "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoSegment": google_cloud_videointelligence_v1_video_segment "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoSegment/endTime": end_time +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoSegment/endTimeOffset": end_time_offset "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoSegment/startTime": start_time +"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_VideoSegment/startTimeOffset": start_time_offset "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress": google_cloud_videointelligence_v1beta1_annotate_video_progress "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress/annotationProgress": annotation_progress "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress/annotationProgress/annotation_progress": annotation_progress diff --git a/generated/google/apis/videointelligence_v1beta1.rb b/generated/google/apis/videointelligence_v1beta1.rb index 41091975c..aa6f1331b 100644 --- a/generated/google/apis/videointelligence_v1beta1.rb +++ b/generated/google/apis/videointelligence_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/video-intelligence/docs/ module VideointelligenceV1beta1 VERSION = 'V1beta1' - REVISION = '20171031' + REVISION = '20171104' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/videointelligence_v1beta1/classes.rb b/generated/google/apis/videointelligence_v1beta1/classes.rb index 329e57461..9951d82f1 100644 --- a/generated/google/apis/videointelligence_v1beta1/classes.rb +++ b/generated/google/apis/videointelligence_v1beta1/classes.rb @@ -64,8 +64,8 @@ module Google end end - # Label annotation. - class GoogleCloudVideointelligenceV1LabelAnnotation + # Detected entity from video analysis. + class GoogleCloudVideointelligenceV1Entity include Google::Apis::Core::Hashable # Textual description, e.g. `Fixed-gear bicycle`. @@ -73,16 +73,18 @@ module Google # @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 - # Where the label was detected and with what confidence. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - def initialize(**args) update!(**args) end @@ -90,13 +92,100 @@ module Google # 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) - @locations = args[:locations] if args.key?(:locations) end end - # Label location. - class GoogleCloudVideointelligenceV1LabelLocation + # 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 GoogleCloudVideointelligenceV1ExplicitContentAnnotation + include Google::Apis::Core::Hashable + + # All video frames where explicit content was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + 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 GoogleCloudVideointelligenceV1ExplicitContentFrame + 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 GoogleCloudVideointelligenceV1LabelAnnotation + 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] + attr_accessor :category_entities + + # Detected entity from video analysis. + # Corresponds to the JSON property `entity` + # @return [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1Entity] + attr_accessor :entity + + # All video frames where a label was detected. + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + # All video segments where a label was detected. + # Corresponds to the JSON property `segments` + # @return [Array] + 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 GoogleCloudVideointelligenceV1LabelFrame include Google::Apis::Core::Hashable # Confidence that the label is accurate. Range: [0, 1]. @@ -104,10 +193,31 @@ module Google # @return [Float] attr_accessor :confidence - # Label level. - # Corresponds to the JSON property `level` + # 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 :level + 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 GoogleCloudVideointelligenceV1LabelSegment + 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` @@ -121,39 +231,10 @@ module Google # Update properties of this object def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) - @level = args[:level] if args.key?(:level) @segment = args[:segment] if args.key?(:segment) end end - # Safe search annotation (based on per-frame visual signals only). - # If no unsafe content has been detected in a frame, no annotations - # are present for that frame. - class GoogleCloudVideointelligenceV1SafeSearchAnnotation - include Google::Apis::Core::Hashable - - # Likelihood of adult content. - # Corresponds to the JSON property `adult` - # @return [String] - attr_accessor :adult - - # Time-offset, relative to the beginning of the video, - # corresponding to the video frame for this annotation. - # Corresponds to the JSON property `time` - # @return [String] - attr_accessor :time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @adult = args[:adult] if args.key?(:adult) - @time = args[:time] if args.key?(:time) - end - end - # Annotation progress for a single video. class GoogleCloudVideointelligenceV1VideoAnnotationProgress include Google::Apis::Core::Hashable @@ -240,27 +321,42 @@ module Google # @return [Google::Apis::VideointelligenceV1beta1::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::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation] + 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] + 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 - # Label annotations. There is exactly one element for each unique label. - # Corresponds to the JSON property `labelAnnotations` + # 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] - attr_accessor :label_annotations - - # Safe search annotations. - # Corresponds to the JSON property `safeSearchAnnotations` - # @return [Array] - attr_accessor :safe_search_annotations + attr_accessor :segment_label_annotations # Shot annotations. Each shot is represented as a video segment. # Corresponds to the JSON property `shotAnnotations` # @return [Array] 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] + attr_accessor :shot_label_annotations + def initialize(**args) update!(**args) end @@ -268,10 +364,12 @@ module Google # 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) - @label_annotations = args[:label_annotations] if args.key?(:label_annotations) - @safe_search_annotations = args[:safe_search_annotations] if args.key?(:safe_search_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) end end @@ -281,15 +379,15 @@ module Google # Time-offset, relative to the beginning of the video, # corresponding to the end of the segment (inclusive). - # Corresponds to the JSON property `endTime` + # Corresponds to the JSON property `endTimeOffset` # @return [String] - attr_accessor :end_time + 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 `startTime` + # Corresponds to the JSON property `startTimeOffset` # @return [String] - attr_accessor :start_time + attr_accessor :start_time_offset def initialize(**args) update!(**args) @@ -297,8 +395,8 @@ module Google # Update properties of this object def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) + @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 diff --git a/generated/google/apis/videointelligence_v1beta1/representations.rb b/generated/google/apis/videointelligence_v1beta1/representations.rb index 665d88d12..09be3eb2c 100644 --- a/generated/google/apis/videointelligence_v1beta1/representations.rb +++ b/generated/google/apis/videointelligence_v1beta1/representations.rb @@ -34,19 +34,37 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudVideointelligenceV1Entity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1ExplicitContentAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudVideointelligenceV1ExplicitContentFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudVideointelligenceV1LabelAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV1LabelLocation + class GoogleCloudVideointelligenceV1LabelFrame class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudVideointelligenceV1SafeSearchAnnotation + class GoogleCloudVideointelligenceV1LabelSegment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -224,31 +242,59 @@ module Google end end - class GoogleCloudVideointelligenceV1LabelAnnotation + class GoogleCloudVideointelligenceV1Entity # @private class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' + property :entity_id, as: 'entityId' property :language_code, as: 'languageCode' - collection :locations, as: 'locations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelLocation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelLocation::Representation + end + end + + class GoogleCloudVideointelligenceV1ExplicitContentAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1ExplicitContentFrame::Representation end end - class GoogleCloudVideointelligenceV1LabelLocation + class GoogleCloudVideointelligenceV1ExplicitContentFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :pornography_likelihood, as: 'pornographyLikelihood' + property :time_offset, as: 'timeOffset' + end + end + + class GoogleCloudVideointelligenceV1LabelAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :category_entities, as: 'categoryEntities', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1Entity, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1Entity::Representation + + property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1Entity, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1Entity::Representation + + collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelFrame, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelFrame::Representation + + collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelSegment::Representation + + end + end + + class GoogleCloudVideointelligenceV1LabelFrame # @private class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' - property :level, as: 'level' - property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation - + property :time_offset, as: 'timeOffset' end end - class GoogleCloudVideointelligenceV1SafeSearchAnnotation + class GoogleCloudVideointelligenceV1LabelSegment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :adult, as: 'adult' - property :time, as: 'time' + property :confidence, as: 'confidence' + property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation + end end @@ -267,21 +313,25 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :error, as: 'error', class: Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus::Representation - property :input_uri, as: 'inputUri' - collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation + property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation - collection :safe_search_annotations, as: 'safeSearchAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1SafeSearchAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1SafeSearchAnnotation::Representation + collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation + + property :input_uri, as: 'inputUri' + collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation + collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation + end end class GoogleCloudVideointelligenceV1VideoSegment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' + property :end_time_offset, as: 'endTimeOffset' + property :start_time_offset, as: 'startTimeOffset' end end