Autogenerated update (2019-10-22)
Update: - accessapproval_v1beta1 - docs_v1 - videointelligence_v1 - videointelligence_v1beta2 - videointelligence_v1p1beta1 - videointelligence_v1p2beta1 - videointelligence_v1p3beta1
This commit is contained in:
parent
195a56e963
commit
81ff4c7fe6
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/access-approval/docs
|
||||
module AccessapprovalV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20191011'
|
||||
REVISION = '20191018'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,6 +26,16 @@ module Google
|
|||
class AccessApprovalSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. This field is read only (not settable via
|
||||
# UpdateAccessAccessApprovalSettings method). If the field is true, that
|
||||
# indicates that at least one service is enrolled for Access Approval in one
|
||||
# or more ancestors of the Project or Folder (this field will always be
|
||||
# unset for the organization since organizations do not have ancestors).
|
||||
# Corresponds to the JSON property `enrolledAncestor`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enrolled_ancestor
|
||||
alias_method :enrolled_ancestor?, :enrolled_ancestor
|
||||
|
||||
# A list of Google Cloud Services for which the given resource has Access
|
||||
# Approval enrolled. Access requests for the resource given by name against
|
||||
# any of these services contained here will be required to have explicit
|
||||
|
@ -64,6 +74,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@enrolled_ancestor = args[:enrolled_ancestor] if args.key?(:enrolled_ancestor)
|
||||
@enrolled_services = args[:enrolled_services] if args.key?(:enrolled_services)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@notification_emails = args[:notification_emails] if args.key?(:notification_emails)
|
||||
|
|
|
@ -97,6 +97,7 @@ module Google
|
|||
class AccessApprovalSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enrolled_ancestor, as: 'enrolledAncestor'
|
||||
collection :enrolled_services, as: 'enrolledServices', class: Google::Apis::AccessapprovalV1beta1::EnrolledService, decorator: Google::Apis::AccessapprovalV1beta1::EnrolledService::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/docs/
|
||||
module DocsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20191010'
|
||||
REVISION = '20191017'
|
||||
|
||||
# View and manage your Google Docs documents
|
||||
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
|
||||
|
|
|
@ -364,6 +364,88 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Creates a Footer. The new footer will be
|
||||
# applied to the DocumentStyle.
|
||||
# If a footer of the specified type already exists then a 400 bad request error
|
||||
# will be returned.
|
||||
class CreateFooterRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The type of footer to create.
|
||||
# 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)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# The result of creating a footer.
|
||||
class CreateFooterResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID of the created footer.
|
||||
# Corresponds to the JSON property `footerId`
|
||||
# @return [String]
|
||||
attr_accessor :footer_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@footer_id = args[:footer_id] if args.key?(:footer_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Creates a Header. The new header will be
|
||||
# applied to the DocumentStyle.
|
||||
# If a header of the specified type already exists then a 400 bad request error
|
||||
# will be returned.
|
||||
class CreateHeaderRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The type of header to create.
|
||||
# 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)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# The result of creating a header.
|
||||
class CreateHeaderResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID of the created header.
|
||||
# Corresponds to the JSON property `headerId`
|
||||
# @return [String]
|
||||
attr_accessor :header_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@header_id = args[:header_id] if args.key?(:header_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Creates a NamedRange referencing the given
|
||||
# range.
|
||||
class CreateNamedRangeRequest
|
||||
|
@ -3757,6 +3839,22 @@ module Google
|
|||
class Request
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Creates a Footer. The new footer will be
|
||||
# applied to the DocumentStyle.
|
||||
# If a footer of the specified type already exists then a 400 bad request error
|
||||
# will be returned.
|
||||
# Corresponds to the JSON property `createFooter`
|
||||
# @return [Google::Apis::DocsV1::CreateFooterRequest]
|
||||
attr_accessor :create_footer
|
||||
|
||||
# Creates a Header. The new header will be
|
||||
# applied to the DocumentStyle.
|
||||
# If a header of the specified type already exists then a 400 bad request error
|
||||
# will be returned.
|
||||
# Corresponds to the JSON property `createHeader`
|
||||
# @return [Google::Apis::DocsV1::CreateHeaderRequest]
|
||||
attr_accessor :create_header
|
||||
|
||||
# Creates a NamedRange referencing the given
|
||||
# range.
|
||||
# Corresponds to the JSON property `createNamedRange`
|
||||
|
@ -3917,6 +4015,8 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@create_footer = args[:create_footer] if args.key?(:create_footer)
|
||||
@create_header = args[:create_header] if args.key?(:create_header)
|
||||
@create_named_range = args[:create_named_range] if args.key?(:create_named_range)
|
||||
@create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets)
|
||||
@delete_content_range = args[:delete_content_range] if args.key?(:delete_content_range)
|
||||
|
@ -3949,6 +4049,16 @@ module Google
|
|||
class Response
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The result of creating a footer.
|
||||
# Corresponds to the JSON property `createFooter`
|
||||
# @return [Google::Apis::DocsV1::CreateFooterResponse]
|
||||
attr_accessor :create_footer
|
||||
|
||||
# The result of creating a header.
|
||||
# Corresponds to the JSON property `createHeader`
|
||||
# @return [Google::Apis::DocsV1::CreateHeaderResponse]
|
||||
attr_accessor :create_header
|
||||
|
||||
# The result of creating a named range.
|
||||
# Corresponds to the JSON property `createNamedRange`
|
||||
# @return [Google::Apis::DocsV1::CreateNamedRangeResponse]
|
||||
|
@ -3975,6 +4085,8 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@create_footer = args[:create_footer] if args.key?(:create_footer)
|
||||
@create_header = args[:create_header] if args.key?(:create_header)
|
||||
@create_named_range = args[:create_named_range] if args.key?(:create_named_range)
|
||||
@insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
|
||||
@insert_inline_sheets_chart = args[:insert_inline_sheets_chart] if args.key?(:insert_inline_sheets_chart)
|
||||
|
|
|
@ -82,6 +82,30 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateFooterRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateFooterResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateHeaderRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateHeaderResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateNamedRangeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -935,6 +959,34 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class CreateFooterRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateFooterResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :footer_id, as: 'footerId'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateHeaderRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateHeaderResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :header_id, as: 'headerId'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateNamedRangeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1825,6 +1877,10 @@ module Google
|
|||
class Request
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterRequest, decorator: Google::Apis::DocsV1::CreateFooterRequest::Representation
|
||||
|
||||
property :create_header, as: 'createHeader', class: Google::Apis::DocsV1::CreateHeaderRequest, decorator: Google::Apis::DocsV1::CreateHeaderRequest::Representation
|
||||
|
||||
property :create_named_range, as: 'createNamedRange', class: Google::Apis::DocsV1::CreateNamedRangeRequest, decorator: Google::Apis::DocsV1::CreateNamedRangeRequest::Representation
|
||||
|
||||
property :create_paragraph_bullets, as: 'createParagraphBullets', class: Google::Apis::DocsV1::CreateParagraphBulletsRequest, decorator: Google::Apis::DocsV1::CreateParagraphBulletsRequest::Representation
|
||||
|
@ -1881,6 +1937,10 @@ module Google
|
|||
class Response
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterResponse, decorator: Google::Apis::DocsV1::CreateFooterResponse::Representation
|
||||
|
||||
property :create_header, as: 'createHeader', class: Google::Apis::DocsV1::CreateHeaderResponse, decorator: Google::Apis::DocsV1::CreateHeaderResponse::Representation
|
||||
|
||||
property :create_named_range, as: 'createNamedRange', class: Google::Apis::DocsV1::CreateNamedRangeResponse, decorator: Google::Apis::DocsV1::CreateNamedRangeResponse::Representation
|
||||
|
||||
property :insert_inline_image, as: 'insertInlineImage', class: Google::Apis::DocsV1::InsertInlineImageResponse, decorator: Google::Apis::DocsV1::InsertInlineImageResponse::Representation
|
||||
|
|
|
@ -390,6 +390,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -924,6 +925,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -2059,6 +2061,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -2638,7 +2641,12 @@ module Google
|
|||
# @param [String] name
|
||||
# The name of the resource to retrieve.
|
||||
# @param [String] _page_token
|
||||
# Same as `page`. Please use either `page` or `_page_token`.
|
||||
# Used to retrieve the first, previous, next, or last page of resource
|
||||
# versions when using pagination. Value should be set to the value of
|
||||
# `_page_token` set in next or previous page links' URLs. Next and previous
|
||||
# page are returned in the response bundle's links field, where
|
||||
# `link.relation` is "previous" or "next".
|
||||
# Omit `_page_token` if no previous request has been made.
|
||||
# @param [String] at
|
||||
# Only include resource versions that were current at some point during the
|
||||
# time period specified in the date time value. The date parameter format is
|
||||
|
@ -2651,12 +2659,7 @@ module Google
|
|||
# @param [Fixnum] count
|
||||
# The maximum number of search results on a page. Defaults to 1000.
|
||||
# @param [String] page
|
||||
# Used to retrieve the first, previous, next, or last page of resource
|
||||
# versions when using pagination. Value should be set to the value of
|
||||
# `page` set in next or previous page links' URLs. Next and previous
|
||||
# page are returned in the response bundle's links field, where
|
||||
# `link.relation` is "previous" or "next".
|
||||
# Omit `page` if no previous request has been made.
|
||||
# DEPRECATED! Use `_page_token`.
|
||||
# @param [String] since
|
||||
# Only include resource versions that were created at or after the given
|
||||
# instant in time. The instant in time uses the format
|
||||
|
@ -3165,6 +3168,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190916'
|
||||
REVISION = '20191018'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -47,7 +47,7 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1AnnotateVideoRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Requested video annotation features.
|
||||
# Required. Requested video annotation features.
|
||||
# Corresponds to the JSON property `features`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :features
|
||||
|
@ -74,14 +74,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :input_uri
|
||||
|
||||
# Optional cloud region where annotation should take place. Supported cloud
|
||||
# Optional. Cloud region where annotation should take place. Supported cloud
|
||||
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
|
||||
# is specified, a region will be determined based on video file location.
|
||||
# Corresponds to the JSON property `locationId`
|
||||
# @return [String]
|
||||
attr_accessor :location_id
|
||||
|
||||
# Optional location where the output (in JSON format) should be stored.
|
||||
# Optional. Location where the output (in JSON format) should be stored.
|
||||
# Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
|
||||
# URIs are supported, which must be specified in the following format:
|
||||
# `gs://bucket-id/object-id` (other URI formats return
|
||||
|
@ -609,7 +609,7 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1SpeechContext
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# *Optional* A list of strings containing words and phrases "hints" so that
|
||||
# Optional. A list of strings containing words and phrases "hints" so that
|
||||
# the speech recognition is more likely to recognize them. This can be used
|
||||
# to improve the accuracy for specific words and phrases, for example, if
|
||||
# specific commands are typically spoken by the user. This can also be used
|
||||
|
@ -679,10 +679,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -702,21 +702,21 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# *Optional* For file formats, such as MXF or MKV, supporting multiple audio
|
||||
# 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`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :audio_tracks
|
||||
|
||||
# *Optional*
|
||||
# If set, specifies the estimated number of speakers in the conversation.
|
||||
# Optional. If set, specifies the estimated number of speakers in the
|
||||
# conversation.
|
||||
# If not set, defaults to '2'.
|
||||
# Ignored unless enable_speaker_diarization is set to true.
|
||||
# Corresponds to the JSON property `diarizationSpeakerCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :diarization_speaker_count
|
||||
|
||||
# *Optional* If 'true', adds punctuation to recognition result hypotheses.
|
||||
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
||||
# This feature is only available in select languages. Setting this for
|
||||
# requests in other languages has no effect at all. The default 'false' value
|
||||
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
||||
|
@ -727,7 +727,7 @@ module Google
|
|||
attr_accessor :enable_automatic_punctuation
|
||||
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
||||
|
||||
# *Optional* If 'true', enables speaker detection for each recognized word in
|
||||
# Optional. If 'true', enables speaker detection for each recognized word in
|
||||
# the top alternative of the recognition result using a speaker_tag provided
|
||||
# in the WordInfo.
|
||||
# Note: When this is true, we send all the words from the beginning of the
|
||||
|
@ -739,7 +739,7 @@ module Google
|
|||
attr_accessor :enable_speaker_diarization
|
||||
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
||||
|
||||
# *Optional* If `true`, the top result includes a list of words and the
|
||||
# Optional. If `true`, the top result includes a list of words and the
|
||||
# confidence for those words. If `false`, no word-level confidence
|
||||
# information is returned. The default is `false`.
|
||||
# Corresponds to the JSON property `enableWordConfidence`
|
||||
|
@ -747,7 +747,7 @@ module Google
|
|||
attr_accessor :enable_word_confidence
|
||||
alias_method :enable_word_confidence?, :enable_word_confidence
|
||||
|
||||
# *Optional* If set to `true`, the server will attempt to filter out
|
||||
# Optional. If set to `true`, the server will attempt to filter out
|
||||
# profanities, replacing all but the initial character in each filtered word
|
||||
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
||||
# won't be filtered out.
|
||||
|
@ -756,7 +756,7 @@ module Google
|
|||
attr_accessor :filter_profanity
|
||||
alias_method :filter_profanity?, :filter_profanity
|
||||
|
||||
# *Required* The language of the supplied audio as a
|
||||
# Required. *Required* The language of the supplied audio as a
|
||||
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
||||
# Example: "en-US".
|
||||
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
||||
|
@ -765,7 +765,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :language_code
|
||||
|
||||
# *Optional* Maximum number of recognition hypotheses to be returned.
|
||||
# Optional. Maximum number of recognition hypotheses to be returned.
|
||||
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
||||
# within each `SpeechTranscription`. The server may return fewer than
|
||||
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
||||
|
@ -774,7 +774,7 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :max_alternatives
|
||||
|
||||
# *Optional* A means to provide context to assist the speech recognition.
|
||||
# Optional. A means to provide context to assist the speech recognition.
|
||||
# Corresponds to the JSON property `speechContexts`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechContext>]
|
||||
attr_accessor :speech_contexts
|
||||
|
@ -1676,10 +1676,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -2487,10 +2487,10 @@ 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.
|
||||
# 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
|
||||
|
@ -3298,10 +3298,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -4175,10 +4175,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20190916'
|
||||
REVISION = '20191018'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -463,10 +463,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -858,7 +858,7 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1beta2AnnotateVideoRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Requested video annotation features.
|
||||
# Required. Requested video annotation features.
|
||||
# Corresponds to the JSON property `features`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :features
|
||||
|
@ -885,14 +885,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :input_uri
|
||||
|
||||
# Optional cloud region where annotation should take place. Supported cloud
|
||||
# Optional. Cloud region where annotation should take place. Supported cloud
|
||||
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
|
||||
# is specified, a region will be determined based on video file location.
|
||||
# Corresponds to the JSON property `locationId`
|
||||
# @return [String]
|
||||
attr_accessor :location_id
|
||||
|
||||
# Optional location where the output (in JSON format) should be stored.
|
||||
# Optional. Location where the output (in JSON format) should be stored.
|
||||
# Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
|
||||
# URIs are supported, which must be specified in the following format:
|
||||
# `gs://bucket-id/object-id` (other URI formats return
|
||||
|
@ -1420,7 +1420,7 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1beta2SpeechContext
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# *Optional* A list of strings containing words and phrases "hints" so that
|
||||
# Optional. A list of strings containing words and phrases "hints" so that
|
||||
# the speech recognition is more likely to recognize them. This can be used
|
||||
# to improve the accuracy for specific words and phrases, for example, if
|
||||
# specific commands are typically spoken by the user. This can also be used
|
||||
|
@ -1490,10 +1490,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -1513,21 +1513,21 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1beta2SpeechTranscriptionConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# *Optional* For file formats, such as MXF or MKV, supporting multiple audio
|
||||
# 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`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :audio_tracks
|
||||
|
||||
# *Optional*
|
||||
# If set, specifies the estimated number of speakers in the conversation.
|
||||
# Optional. If set, specifies the estimated number of speakers in the
|
||||
# conversation.
|
||||
# If not set, defaults to '2'.
|
||||
# Ignored unless enable_speaker_diarization is set to true.
|
||||
# Corresponds to the JSON property `diarizationSpeakerCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :diarization_speaker_count
|
||||
|
||||
# *Optional* If 'true', adds punctuation to recognition result hypotheses.
|
||||
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
||||
# This feature is only available in select languages. Setting this for
|
||||
# requests in other languages has no effect at all. The default 'false' value
|
||||
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
||||
|
@ -1538,7 +1538,7 @@ module Google
|
|||
attr_accessor :enable_automatic_punctuation
|
||||
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
||||
|
||||
# *Optional* If 'true', enables speaker detection for each recognized word in
|
||||
# Optional. If 'true', enables speaker detection for each recognized word in
|
||||
# the top alternative of the recognition result using a speaker_tag provided
|
||||
# in the WordInfo.
|
||||
# Note: When this is true, we send all the words from the beginning of the
|
||||
|
@ -1550,7 +1550,7 @@ module Google
|
|||
attr_accessor :enable_speaker_diarization
|
||||
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
||||
|
||||
# *Optional* If `true`, the top result includes a list of words and the
|
||||
# Optional. If `true`, the top result includes a list of words and the
|
||||
# confidence for those words. If `false`, no word-level confidence
|
||||
# information is returned. The default is `false`.
|
||||
# Corresponds to the JSON property `enableWordConfidence`
|
||||
|
@ -1558,7 +1558,7 @@ module Google
|
|||
attr_accessor :enable_word_confidence
|
||||
alias_method :enable_word_confidence?, :enable_word_confidence
|
||||
|
||||
# *Optional* If set to `true`, the server will attempt to filter out
|
||||
# Optional. If set to `true`, the server will attempt to filter out
|
||||
# profanities, replacing all but the initial character in each filtered word
|
||||
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
||||
# won't be filtered out.
|
||||
|
@ -1567,7 +1567,7 @@ module Google
|
|||
attr_accessor :filter_profanity
|
||||
alias_method :filter_profanity?, :filter_profanity
|
||||
|
||||
# *Required* The language of the supplied audio as a
|
||||
# Required. *Required* The language of the supplied audio as a
|
||||
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
||||
# Example: "en-US".
|
||||
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
||||
|
@ -1576,7 +1576,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :language_code
|
||||
|
||||
# *Optional* Maximum number of recognition hypotheses to be returned.
|
||||
# Optional. Maximum number of recognition hypotheses to be returned.
|
||||
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
||||
# within each `SpeechTranscription`. The server may return fewer than
|
||||
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
||||
|
@ -1585,7 +1585,7 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :max_alternatives
|
||||
|
||||
# *Optional* A means to provide context to assist the speech recognition.
|
||||
# Optional. A means to provide context to assist the speech recognition.
|
||||
# Corresponds to the JSON property `speechContexts`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechContext>]
|
||||
attr_accessor :speech_contexts
|
||||
|
@ -2487,10 +2487,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1beta2::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.
|
||||
# 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
|
||||
|
@ -3298,10 +3298,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -4175,10 +4175,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20190916'
|
||||
REVISION = '20191018'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -463,10 +463,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -1274,10 +1274,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -1669,7 +1669,7 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p1beta1AnnotateVideoRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Requested video annotation features.
|
||||
# Required. Requested video annotation features.
|
||||
# Corresponds to the JSON property `features`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :features
|
||||
|
@ -1696,14 +1696,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :input_uri
|
||||
|
||||
# Optional cloud region where annotation should take place. Supported cloud
|
||||
# Optional. Cloud region where annotation should take place. Supported cloud
|
||||
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
|
||||
# is specified, a region will be determined based on video file location.
|
||||
# Corresponds to the JSON property `locationId`
|
||||
# @return [String]
|
||||
attr_accessor :location_id
|
||||
|
||||
# Optional location where the output (in JSON format) should be stored.
|
||||
# Optional. Location where the output (in JSON format) should be stored.
|
||||
# Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
|
||||
# URIs are supported, which must be specified in the following format:
|
||||
# `gs://bucket-id/object-id` (other URI formats return
|
||||
|
@ -2231,7 +2231,7 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p1beta1SpeechContext
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# *Optional* A list of strings containing words and phrases "hints" so that
|
||||
# Optional. A list of strings containing words and phrases "hints" so that
|
||||
# the speech recognition is more likely to recognize them. This can be used
|
||||
# to improve the accuracy for specific words and phrases, for example, if
|
||||
# specific commands are typically spoken by the user. This can also be used
|
||||
|
@ -2301,10 +2301,10 @@ 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.
|
||||
# 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
|
||||
|
@ -2324,21 +2324,21 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p1beta1SpeechTranscriptionConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# *Optional* For file formats, such as MXF or MKV, supporting multiple audio
|
||||
# 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`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :audio_tracks
|
||||
|
||||
# *Optional*
|
||||
# If set, specifies the estimated number of speakers in the conversation.
|
||||
# Optional. If set, specifies the estimated number of speakers in the
|
||||
# conversation.
|
||||
# If not set, defaults to '2'.
|
||||
# Ignored unless enable_speaker_diarization is set to true.
|
||||
# Corresponds to the JSON property `diarizationSpeakerCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :diarization_speaker_count
|
||||
|
||||
# *Optional* If 'true', adds punctuation to recognition result hypotheses.
|
||||
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
||||
# This feature is only available in select languages. Setting this for
|
||||
# requests in other languages has no effect at all. The default 'false' value
|
||||
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
||||
|
@ -2349,7 +2349,7 @@ module Google
|
|||
attr_accessor :enable_automatic_punctuation
|
||||
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
||||
|
||||
# *Optional* If 'true', enables speaker detection for each recognized word in
|
||||
# Optional. If 'true', enables speaker detection for each recognized word in
|
||||
# the top alternative of the recognition result using a speaker_tag provided
|
||||
# in the WordInfo.
|
||||
# Note: When this is true, we send all the words from the beginning of the
|
||||
|
@ -2361,7 +2361,7 @@ module Google
|
|||
attr_accessor :enable_speaker_diarization
|
||||
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
||||
|
||||
# *Optional* If `true`, the top result includes a list of words and the
|
||||
# Optional. If `true`, the top result includes a list of words and the
|
||||
# confidence for those words. If `false`, no word-level confidence
|
||||
# information is returned. The default is `false`.
|
||||
# Corresponds to the JSON property `enableWordConfidence`
|
||||
|
@ -2369,7 +2369,7 @@ module Google
|
|||
attr_accessor :enable_word_confidence
|
||||
alias_method :enable_word_confidence?, :enable_word_confidence
|
||||
|
||||
# *Optional* If set to `true`, the server will attempt to filter out
|
||||
# Optional. If set to `true`, the server will attempt to filter out
|
||||
# profanities, replacing all but the initial character in each filtered word
|
||||
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
||||
# won't be filtered out.
|
||||
|
@ -2378,7 +2378,7 @@ module Google
|
|||
attr_accessor :filter_profanity
|
||||
alias_method :filter_profanity?, :filter_profanity
|
||||
|
||||
# *Required* The language of the supplied audio as a
|
||||
# Required. *Required* The language of the supplied audio as a
|
||||
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
||||
# Example: "en-US".
|
||||
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
||||
|
@ -2387,7 +2387,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :language_code
|
||||
|
||||
# *Optional* Maximum number of recognition hypotheses to be returned.
|
||||
# Optional. Maximum number of recognition hypotheses to be returned.
|
||||
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
||||
# within each `SpeechTranscription`. The server may return fewer than
|
||||
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
||||
|
@ -2396,7 +2396,7 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :max_alternatives
|
||||
|
||||
# *Optional* A means to provide context to assist the speech recognition.
|
||||
# Optional. A means to provide context to assist the speech recognition.
|
||||
# Corresponds to the JSON property `speechContexts`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechContext>]
|
||||
attr_accessor :speech_contexts
|
||||
|
@ -3298,10 +3298,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -4175,10 +4175,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1p2beta1
|
||||
VERSION = 'V1p2beta1'
|
||||
REVISION = '20190916'
|
||||
REVISION = '20191018'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -463,10 +463,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -1274,10 +1274,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -2085,10 +2085,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::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.
|
||||
# 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
|
||||
|
@ -2480,7 +2480,7 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Requested video annotation features.
|
||||
# Required. Requested video annotation features.
|
||||
# Corresponds to the JSON property `features`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :features
|
||||
|
@ -2507,14 +2507,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :input_uri
|
||||
|
||||
# Optional cloud region where annotation should take place. Supported cloud
|
||||
# Optional. Cloud region where annotation should take place. Supported cloud
|
||||
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
|
||||
# is specified, a region will be determined based on video file location.
|
||||
# Corresponds to the JSON property `locationId`
|
||||
# @return [String]
|
||||
attr_accessor :location_id
|
||||
|
||||
# Optional location where the output (in JSON format) should be stored.
|
||||
# Optional. Location where the output (in JSON format) should be stored.
|
||||
# Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
|
||||
# URIs are supported, which must be specified in the following format:
|
||||
# `gs://bucket-id/object-id` (other URI formats return
|
||||
|
@ -3042,7 +3042,7 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p2beta1SpeechContext
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# *Optional* A list of strings containing words and phrases "hints" so that
|
||||
# Optional. A list of strings containing words and phrases "hints" so that
|
||||
# the speech recognition is more likely to recognize them. This can be used
|
||||
# to improve the accuracy for specific words and phrases, for example, if
|
||||
# specific commands are typically spoken by the user. This can also be used
|
||||
|
@ -3112,10 +3112,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -3135,21 +3135,21 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p2beta1SpeechTranscriptionConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# *Optional* For file formats, such as MXF or MKV, supporting multiple audio
|
||||
# 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`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :audio_tracks
|
||||
|
||||
# *Optional*
|
||||
# If set, specifies the estimated number of speakers in the conversation.
|
||||
# Optional. If set, specifies the estimated number of speakers in the
|
||||
# conversation.
|
||||
# If not set, defaults to '2'.
|
||||
# Ignored unless enable_speaker_diarization is set to true.
|
||||
# Corresponds to the JSON property `diarizationSpeakerCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :diarization_speaker_count
|
||||
|
||||
# *Optional* If 'true', adds punctuation to recognition result hypotheses.
|
||||
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
||||
# This feature is only available in select languages. Setting this for
|
||||
# requests in other languages has no effect at all. The default 'false' value
|
||||
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
||||
|
@ -3160,7 +3160,7 @@ module Google
|
|||
attr_accessor :enable_automatic_punctuation
|
||||
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
||||
|
||||
# *Optional* If 'true', enables speaker detection for each recognized word in
|
||||
# Optional. If 'true', enables speaker detection for each recognized word in
|
||||
# the top alternative of the recognition result using a speaker_tag provided
|
||||
# in the WordInfo.
|
||||
# Note: When this is true, we send all the words from the beginning of the
|
||||
|
@ -3172,7 +3172,7 @@ module Google
|
|||
attr_accessor :enable_speaker_diarization
|
||||
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
||||
|
||||
# *Optional* If `true`, the top result includes a list of words and the
|
||||
# Optional. If `true`, the top result includes a list of words and the
|
||||
# confidence for those words. If `false`, no word-level confidence
|
||||
# information is returned. The default is `false`.
|
||||
# Corresponds to the JSON property `enableWordConfidence`
|
||||
|
@ -3180,7 +3180,7 @@ module Google
|
|||
attr_accessor :enable_word_confidence
|
||||
alias_method :enable_word_confidence?, :enable_word_confidence
|
||||
|
||||
# *Optional* If set to `true`, the server will attempt to filter out
|
||||
# Optional. If set to `true`, the server will attempt to filter out
|
||||
# profanities, replacing all but the initial character in each filtered word
|
||||
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
||||
# won't be filtered out.
|
||||
|
@ -3189,7 +3189,7 @@ module Google
|
|||
attr_accessor :filter_profanity
|
||||
alias_method :filter_profanity?, :filter_profanity
|
||||
|
||||
# *Required* The language of the supplied audio as a
|
||||
# Required. *Required* The language of the supplied audio as a
|
||||
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
||||
# Example: "en-US".
|
||||
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
||||
|
@ -3198,7 +3198,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :language_code
|
||||
|
||||
# *Optional* Maximum number of recognition hypotheses to be returned.
|
||||
# Optional. Maximum number of recognition hypotheses to be returned.
|
||||
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
||||
# within each `SpeechTranscription`. The server may return fewer than
|
||||
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
||||
|
@ -3207,7 +3207,7 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :max_alternatives
|
||||
|
||||
# *Optional* A means to provide context to assist the speech recognition.
|
||||
# Optional. A means to provide context to assist the speech recognition.
|
||||
# Corresponds to the JSON property `speechContexts`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechContext>]
|
||||
attr_accessor :speech_contexts
|
||||
|
@ -4175,10 +4175,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1p3beta1
|
||||
VERSION = 'V1p3beta1'
|
||||
REVISION = '20190916'
|
||||
REVISION = '20191018'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -463,10 +463,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -1274,10 +1274,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -2085,10 +2085,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::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.
|
||||
# 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
|
||||
|
@ -2896,10 +2896,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -3291,7 +3291,7 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Requested video annotation features.
|
||||
# Required. Requested video annotation features.
|
||||
# Corresponds to the JSON property `features`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :features
|
||||
|
@ -3318,14 +3318,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :input_uri
|
||||
|
||||
# Optional cloud region where annotation should take place. Supported cloud
|
||||
# Optional. Cloud region where annotation should take place. Supported cloud
|
||||
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
|
||||
# is specified, a region will be determined based on video file location.
|
||||
# Corresponds to the JSON property `locationId`
|
||||
# @return [String]
|
||||
attr_accessor :location_id
|
||||
|
||||
# Optional location where the output (in JSON format) should be stored.
|
||||
# Optional. Location where the output (in JSON format) should be stored.
|
||||
# Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
|
||||
# URIs are supported, which must be specified in the following format:
|
||||
# `gs://bucket-id/object-id` (other URI formats return
|
||||
|
@ -3919,7 +3919,7 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p3beta1SpeechContext
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# *Optional* A list of strings containing words and phrases "hints" so that
|
||||
# Optional. A list of strings containing words and phrases "hints" so that
|
||||
# the speech recognition is more likely to recognize them. This can be used
|
||||
# to improve the accuracy for specific words and phrases, for example, if
|
||||
# specific commands are typically spoken by the user. This can also be used
|
||||
|
@ -3989,10 +3989,10 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
||||
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.
|
||||
# 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
|
||||
|
@ -4012,21 +4012,21 @@ module Google
|
|||
class GoogleCloudVideointelligenceV1p3beta1SpeechTranscriptionConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# *Optional* For file formats, such as MXF or MKV, supporting multiple audio
|
||||
# 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`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :audio_tracks
|
||||
|
||||
# *Optional*
|
||||
# If set, specifies the estimated number of speakers in the conversation.
|
||||
# Optional. If set, specifies the estimated number of speakers in the
|
||||
# conversation.
|
||||
# If not set, defaults to '2'.
|
||||
# Ignored unless enable_speaker_diarization is set to true.
|
||||
# Corresponds to the JSON property `diarizationSpeakerCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :diarization_speaker_count
|
||||
|
||||
# *Optional* If 'true', adds punctuation to recognition result hypotheses.
|
||||
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
||||
# This feature is only available in select languages. Setting this for
|
||||
# requests in other languages has no effect at all. The default 'false' value
|
||||
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
||||
|
@ -4037,7 +4037,7 @@ module Google
|
|||
attr_accessor :enable_automatic_punctuation
|
||||
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
||||
|
||||
# *Optional* If 'true', enables speaker detection for each recognized word in
|
||||
# Optional. If 'true', enables speaker detection for each recognized word in
|
||||
# the top alternative of the recognition result using a speaker_tag provided
|
||||
# in the WordInfo.
|
||||
# Note: When this is true, we send all the words from the beginning of the
|
||||
|
@ -4049,7 +4049,7 @@ module Google
|
|||
attr_accessor :enable_speaker_diarization
|
||||
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
||||
|
||||
# *Optional* If `true`, the top result includes a list of words and the
|
||||
# Optional. If `true`, the top result includes a list of words and the
|
||||
# confidence for those words. If `false`, no word-level confidence
|
||||
# information is returned. The default is `false`.
|
||||
# Corresponds to the JSON property `enableWordConfidence`
|
||||
|
@ -4057,7 +4057,7 @@ module Google
|
|||
attr_accessor :enable_word_confidence
|
||||
alias_method :enable_word_confidence?, :enable_word_confidence
|
||||
|
||||
# *Optional* If set to `true`, the server will attempt to filter out
|
||||
# Optional. If set to `true`, the server will attempt to filter out
|
||||
# profanities, replacing all but the initial character in each filtered word
|
||||
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
||||
# won't be filtered out.
|
||||
|
@ -4066,7 +4066,7 @@ module Google
|
|||
attr_accessor :filter_profanity
|
||||
alias_method :filter_profanity?, :filter_profanity
|
||||
|
||||
# *Required* The language of the supplied audio as a
|
||||
# Required. *Required* The language of the supplied audio as a
|
||||
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
||||
# Example: "en-US".
|
||||
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
||||
|
@ -4075,7 +4075,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :language_code
|
||||
|
||||
# *Optional* Maximum number of recognition hypotheses to be returned.
|
||||
# Optional. Maximum number of recognition hypotheses to be returned.
|
||||
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
||||
# within each `SpeechTranscription`. The server may return fewer than
|
||||
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
||||
|
@ -4084,7 +4084,7 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :max_alternatives
|
||||
|
||||
# *Optional* A means to provide context to assist the speech recognition.
|
||||
# Optional. A means to provide context to assist the speech recognition.
|
||||
# Corresponds to the JSON property `speechContexts`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechContext>]
|
||||
attr_accessor :speech_contexts
|
||||
|
|
Loading…
Reference in New Issue