Autogenerated update (2018-10-13)

Update:
- bigquery_v2
- videointelligence_v1
- videointelligence_v1p1beta1
This commit is contained in:
Google APIs 2018-10-13 00:37:11 +00:00
parent a28eebf2e2
commit a393d4f5ad
10 changed files with 97 additions and 36 deletions

View File

@ -10778,6 +10778,7 @@
"/bigquery:v2/JobConfigurationLoad/sourceUris": source_uris
"/bigquery:v2/JobConfigurationLoad/sourceUris/source_uri": source_uri
"/bigquery:v2/JobConfigurationLoad/timePartitioning": time_partitioning
"/bigquery:v2/JobConfigurationLoad/useAvroLogicalTypes": use_avro_logical_types
"/bigquery:v2/JobConfigurationLoad/writeDisposition": write_disposition
"/bigquery:v2/JobConfigurationQuery": job_configuration_query
"/bigquery:v2/JobConfigurationQuery/allowLargeResults": allow_large_results
@ -89018,6 +89019,7 @@
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription": google_cloud_videointelligence_v1p1beta1_speech_transcription
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/alternatives": alternatives
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/alternatives/alternative": alternative
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/languageCode": language_code
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1p1beta1_video_annotation_progress
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress/inputUri": input_uri
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress/progressPercent": progress_percent
@ -89111,6 +89113,9 @@
"/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/confidence": confidence
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextSegment/frames": frames
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextSegment/frames/frame": frame
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_TextSegment/segment": segment
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1p2beta1_video_annotation_progress
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/inputUri": input_uri
@ -89989,7 +89994,11 @@
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription": google_cloud_videointelligence_v1p1beta1_speech_transcription
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/alternatives": alternatives
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/alternatives/alternative": alternative
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription/languageCode": language_code
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscriptionConfig": google_cloud_videointelligence_v1p1beta1_speech_transcription_config
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscriptionConfig/alternativeLanguageCodes": alternative_language_codes
? "/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscriptionConfig/alternativeLanguageCodes/alternative_language_code"
: alternative_language_code
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscriptionConfig/audioTracks": audio_tracks
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscriptionConfig/audioTracks/audio_track": audio_track
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p1beta1_SpeechTranscriptionConfig/diarizationSpeakerCount": diarization_speaker_count
@ -90101,6 +90110,9 @@
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_TextFrame/rotatedBoundingBox": rotated_bounding_box
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_TextFrame/timeOffset": time_offset
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_TextSegment": google_cloud_videointelligence_v1p2beta1_text_segment
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_TextSegment/confidence": confidence
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_TextSegment/frames": frames
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_TextSegment/frames/frame": frame
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_TextSegment/segment": segment
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress": google_cloud_videointelligence_v1p2beta1_video_annotation_progress
"/videointelligence:v1p1beta1/GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress/inputUri": input_uri

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20180826'
REVISION = '20181005'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -1663,6 +1663,15 @@ module Google
# @return [Google::Apis::BigqueryV2::TimePartitioning]
attr_accessor :time_partitioning
# If sourceFormat is set to "AVRO", indicates whether to enable interpreting
# logical types into their corresponding types (ie. TIMESTAMP), instead of only
# using their raw types (ie. INTEGER). The default value will be true once this
# feature launches, but can be set now in preparation.
# Corresponds to the JSON property `useAvroLogicalTypes`
# @return [Boolean]
attr_accessor :use_avro_logical_types
alias_method :use_avro_logical_types?, :use_avro_logical_types
# [Optional] Specifies the action that occurs if the destination table already
# exists. The following values are supported: WRITE_TRUNCATE: If the table
# already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table
@ -1704,6 +1713,7 @@ module Google
@source_format = args[:source_format] if args.key?(:source_format)
@source_uris = args[:source_uris] if args.key?(:source_uris)
@time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning)
@use_avro_logical_types = args[:use_avro_logical_types] if args.key?(:use_avro_logical_types)
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
end
end

View File

@ -794,6 +794,7 @@ module Google
collection :source_uris, as: 'sourceUris'
property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
property :use_avro_logical_types, as: 'useAvroLogicalTypes'
property :write_disposition, as: 'writeDisposition'
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1
VERSION = 'V1'
REVISION = '20180920'
REVISION = '20181003'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1226,6 +1226,14 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
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)
update!(**args)
end
@ -1233,6 +1241,7 @@ module Google
# Update properties of this object
def update!(**args)
@alternatives = args[:alternatives] if args.key?(:alternatives)
@language_code = args[:language_code] if args.key?(:language_code)
end
end
@ -1849,17 +1858,6 @@ module Google
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>]
@ -1876,8 +1874,6 @@ module Google
# 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
@ -1928,6 +1924,17 @@ module Google
class GoogleCloudVideointelligenceV1p2beta1TextSegment
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
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
@ -1939,6 +1946,8 @@ module Google
# Update properties of this object
def update!(**args)
@confidence = args[:confidence] if args.key?(:confidence)
@frames = args[:frames] if args.key?(:frames)
@segment = args[:segment] if args.key?(:segment)
end
end

View File

@ -767,6 +767,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :alternatives, as: 'alternatives', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative::Representation
property :language_code, as: 'languageCode'
end
end
@ -943,9 +944,6 @@ module Google
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'
@ -964,6 +962,9 @@ module Google
class GoogleCloudVideointelligenceV1p2beta1TextSegment
# @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
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1p1beta1
VERSION = 'V1p1beta1'
REVISION = '20180920'
REVISION = '20181003'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1212,6 +1212,14 @@ module Google
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
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)
update!(**args)
end
@ -1219,6 +1227,7 @@ module Google
# Update properties of this object
def update!(**args)
@alternatives = args[:alternatives] if args.key?(:alternatives)
@language_code = args[:language_code] if args.key?(:language_code)
end
end
@ -1226,6 +1235,22 @@ module Google
class GoogleCloudVideointelligenceV1p1beta1SpeechTranscriptionConfig
include Google::Apis::Core::Hashable
# *Optional* A list of up to 3 additional
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
# listing possible alternative languages of the supplied video.
# See [Language Support](/speech-to-text/docs/languages)
# for a list of the currently supported language codes.
# If alternative languages are listed, transcription result will contain
# transcription in the most likely language detected, including the main
# language_code. The transcription result will include the language tag
# of the language detected in the video.
# Note: This feature is only supported for Voice Command and Voice Search
# use cases and performance may vary for other use cases (e.g., phone call
# transcription).
# Corresponds to the JSON property `alternativeLanguageCodes`
# @return [Array<String>]
attr_accessor :alternative_language_codes
# *Optional* For file formats, such as MXF or MKV, supporting multiple audio
# tracks, specify up to two tracks. Default: track 0.
# Corresponds to the JSON property `audioTracks`
@ -1291,7 +1316,7 @@ module Google
# *Optional* Maximum number of recognition hypotheses to be returned.
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
# within each `SpeechRecognitionResult`. The server may return fewer than
# within each `SpeechTranscription`. The server may return fewer than
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
# return a maximum of one. If omitted, will return a maximum of one.
# Corresponds to the JSON property `maxAlternatives`
@ -1309,6 +1334,7 @@ module Google
# Update properties of this object
def update!(**args)
@alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
@audio_tracks = args[:audio_tracks] if args.key?(:audio_tracks)
@diarization_speaker_count = args[:diarization_speaker_count] if args.key?(:diarization_speaker_count)
@enable_automatic_punctuation = args[:enable_automatic_punctuation] if args.key?(:enable_automatic_punctuation)
@ -1979,17 +2005,6 @@ module Google
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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextFrame>]
attr_accessor :frames
# All video segments where OCR detected text appears.
# Corresponds to the JSON property `segments`
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextSegment>]
@ -2006,8 +2021,6 @@ module Google
# 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
@ -2058,6 +2071,17 @@ module Google
class GoogleCloudVideointelligenceV1p2beta1TextSegment
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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextFrame>]
attr_accessor :frames
# Video segment.
# Corresponds to the JSON property `segment`
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
@ -2069,6 +2093,8 @@ module Google
# Update properties of this object
def update!(**args)
@confidence = args[:confidence] if args.key?(:confidence)
@frames = args[:frames] if args.key?(:frames)
@segment = args[:segment] if args.key?(:segment)
end
end

View File

@ -754,12 +754,14 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :alternatives, as: 'alternatives', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative::Representation
property :language_code, as: 'languageCode'
end
end
class GoogleCloudVideointelligenceV1p1beta1SpeechTranscriptionConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :alternative_language_codes, as: 'alternativeLanguageCodes'
collection :audio_tracks, as: 'audioTracks'
property :diarization_speaker_count, as: 'diarizationSpeakerCount'
property :enable_automatic_punctuation, as: 'enableAutomaticPunctuation'
@ -962,9 +964,6 @@ module Google
class GoogleCloudVideointelligenceV1p2beta1TextAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextFrame::Representation
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextSegment::Representation
property :text, as: 'text'
@ -983,6 +982,9 @@ module Google
class GoogleCloudVideointelligenceV1p2beta1TextSegment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence, as: 'confidence'
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextFrame::Representation
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
end