Autogenerated update (2018-10-14)
Update: - videointelligence_v1beta2
This commit is contained in:
parent
a393d4f5ad
commit
d7f0e649ad
|
@ -89691,6 +89691,7 @@
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription": google_cloud_videointelligence_v1p1beta1_speech_transcription
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription": google_cloud_videointelligence_v1p1beta1_speech_transcription
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/alternatives": alternatives
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/alternatives": alternatives
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/alternatives/alternative": alternative
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/alternatives/alternative": alternative
|
||||||
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/languageCode": language_code
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1p1beta1_video_annotation_progress
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1p1beta1_video_annotation_progress
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress/inputUri": input_uri
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress/inputUri": input_uri
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress/progressPercent": progress_percent
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress/progressPercent": progress_percent
|
||||||
|
@ -89787,6 +89788,9 @@
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextFrame/rotatedBoundingBox": rotated_bounding_box
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextFrame/rotatedBoundingBox": rotated_bounding_box
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextFrame/timeOffset": time_offset
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextFrame/timeOffset": time_offset
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextSegment": google_cloud_videointelligence_v1p2beta1_text_segment
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextSegment": google_cloud_videointelligence_v1p2beta1_text_segment
|
||||||
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextSegment/confidence": confidence
|
||||||
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextSegment/frames": frames
|
||||||
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextSegment/frames/frame": frame
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextSegment/segment": segment
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_TextSegment/segment": segment
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1p2beta1_video_annotation_progress
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1p2beta1_video_annotation_progress
|
||||||
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/inputUri": input_uri
|
"/videointelligence:v1beta2/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/inputUri": input_uri
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/video-intelligence/docs/
|
# @see https://cloud.google.com/video-intelligence/docs/
|
||||||
module VideointelligenceV1beta2
|
module VideointelligenceV1beta2
|
||||||
VERSION = 'V1beta2'
|
VERSION = 'V1beta2'
|
||||||
REVISION = '20180920'
|
REVISION = '20181003'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1226,6 +1226,14 @@ module Google
|
||||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
|
||||||
attr_accessor :alternatives
|
attr_accessor :alternatives
|
||||||
|
|
||||||
|
# Output only. The
|
||||||
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
|
||||||
|
# language in this result. This language code was detected to have the most
|
||||||
|
# likelihood of being spoken in the audio.
|
||||||
|
# Corresponds to the JSON property `languageCode`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :language_code
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -1233,6 +1241,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@alternatives = args[:alternatives] if args.key?(:alternatives)
|
@alternatives = args[:alternatives] if args.key?(:alternatives)
|
||||||
|
@language_code = args[:language_code] if args.key?(:language_code)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1849,17 +1858,6 @@ module Google
|
||||||
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
|
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
|
||||||
include Google::Apis::Core::Hashable
|
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.
|
# All video segments where OCR detected text appears.
|
||||||
# Corresponds to the JSON property `segments`
|
# Corresponds to the JSON property `segments`
|
||||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextSegment>]
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextSegment>]
|
||||||
|
@ -1876,8 +1874,6 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@confidence = args[:confidence] if args.key?(:confidence)
|
|
||||||
@frames = args[:frames] if args.key?(:frames)
|
|
||||||
@segments = args[:segments] if args.key?(:segments)
|
@segments = args[:segments] if args.key?(:segments)
|
||||||
@text = args[:text] if args.key?(:text)
|
@text = args[:text] if args.key?(:text)
|
||||||
end
|
end
|
||||||
|
@ -1928,6 +1924,17 @@ module Google
|
||||||
class GoogleCloudVideointelligenceV1p2beta1TextSegment
|
class GoogleCloudVideointelligenceV1p2beta1TextSegment
|
||||||
include Google::Apis::Core::Hashable
|
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
|
||||||
|
|
||||||
# Video segment.
|
# Video segment.
|
||||||
# Corresponds to the JSON property `segment`
|
# Corresponds to the JSON property `segment`
|
||||||
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
|
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
|
||||||
|
@ -1939,6 +1946,8 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@confidence = args[:confidence] if args.key?(:confidence)
|
||||||
|
@frames = args[:frames] if args.key?(:frames)
|
||||||
@segment = args[:segment] if args.key?(:segment)
|
@segment = args[:segment] if args.key?(:segment)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -749,6 +749,7 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :alternatives, as: 'alternatives', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative::Representation
|
collection :alternatives, as: 'alternatives', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative::Representation
|
||||||
|
|
||||||
|
property :language_code, as: 'languageCode'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -925,9 +926,6 @@ module Google
|
||||||
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
|
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
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
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TextSegment::Representation
|
||||||
|
|
||||||
property :text, as: 'text'
|
property :text, as: 'text'
|
||||||
|
@ -946,6 +944,9 @@ module Google
|
||||||
class GoogleCloudVideointelligenceV1p2beta1TextSegment
|
class GoogleCloudVideointelligenceV1p2beta1TextSegment
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
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
|
||||||
|
|
||||||
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue