📂 File Browser

AgentAI/vendor/google/apiclient-services/src/CloudVideoIntelligence
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 GoogleCloudVideointelligenceV1AnnotateVideoProgress.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1AnnotateVideoRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1AnnotateVideoResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1DetectedAttribute.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1DetectedLandmark.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1Entity.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1ExplicitContentAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1ExplicitContentFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1ExportToOutputUriStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1FaceAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1FaceDetectionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1FaceDetectionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1FaceFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1FaceSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1LabelAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1LabelDetectionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1LabelFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1LabelSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1LogoRecognitionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1NormalizedBoundingBox.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1NormalizedBoundingPoly.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1NormalizedVertex.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1ObjectTrackingAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1ObjectTrackingConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1ObjectTrackingFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1PersonDetectionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1PersonDetectionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1ShotChangeDetectionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1SpeechContext.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1SpeechRecognitionAlternative.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1SpeechTranscription.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1SpeechTranscriptionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1TextAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1TextDetectionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1TextFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1TextSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1TimestampedObject.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1Track.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1VideoAnnotationProgress.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1VideoAnnotationResults.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1VideoContext.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1VideoSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1WordInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2DetectedAttribute.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2DetectedLandmark.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2Entity.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2ExplicitContentFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2FaceAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2FaceFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2FaceSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2LabelAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2LabelFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2LabelSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2NormalizedVertex.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2SpeechTranscription.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2TextAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2TextFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2TextSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2TimestampedObject.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2Track.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2VideoAnnotationResults.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2VideoSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1beta2WordInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1DetectedAttribute.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1DetectedLandmark.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1Entity.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1FaceAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1FaceFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1FaceSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1LabelAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1LabelFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1LabelSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1NormalizedVertex.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1SpeechTranscription.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1TextAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1TextFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1TextSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1TimestampedObject.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1Track.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1VideoSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p1beta1WordInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1DetectedAttribute.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1DetectedLandmark.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1Entity.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1FaceAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1FaceFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1FaceSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1LabelAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1LabelFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1LabelSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1NormalizedVertex.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1SpeechTranscription.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1TextAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1TextFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1TextSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1TimestampedObject.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1Track.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1VideoSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p2beta1WordInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1Celebrity.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1CelebrityTrack.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1DetectedAttribute.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1DetectedLandmark.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1Entity.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1FaceAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1FaceFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1FaceSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1LabelAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1LabelFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1LabelSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1NormalizedVertex.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1SpeechTranscription.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1TextAnnotation.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1TextFrame.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1TextSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1TimestampedObject.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1Track.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1VideoSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudVideointelligenceV1p3beta1WordInfo.php
▶ Open 📄 View Source
🐘 GoogleLongrunningCancelOperationRequest.php
▶ Open 📄 View Source
🐘 GoogleLongrunningListOperationsResponse.php
▶ Open 📄 View Source
🐘 GoogleLongrunningOperation.php
▶ Open 📄 View Source
🐘 GoogleProtobufEmpty.php
▶ Open 📄 View Source
🐘 GoogleRpcStatus.php
▶ Open 📄 View Source

📄 Source: GoogleCloudVideointelligenceV1SpeechTranscriptionConfig.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\CloudVideoIntelligence;

class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig extends \Google\Collection
{
  protected $collection_key = 'speechContexts';
  /**
   * Optional. Legacy field. This field must be a Cloud Storage URI prefix.
   * (e.g., `gs://bucket/path/`).
   *
   * @var string
   */
  public $audioOutputUriPrefix;
  /**
   * Optional. For file formats, such as MXF or MKV, supporting multiple audio
   * tracks, specify up to two tracks. Default: track 0.
   *
   * @var int[]
   */
  public $audioTracks;
  /**
   * 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.
   *
   * @var int
   */
  public $diarizationSpeakerCount;
  /**
   * 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
   * offered as an experimental service, complimentary to all users. In the
   * future this may be exclusively available as a premium feature."
   *
   * @var bool
   */
  public $enableAutomaticPunctuation;
  /**
   * 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 audio for the top alternative in every consecutive
   * response. This is done in order to improve our speaker tags as our models
   * learn to identify the speakers in the conversation over time.
   *
   * @var bool
   */
  public $enableSpeakerDiarization;
  /**
   * 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`.
   *
   * @var bool
   */
  public $enableWordConfidence;
  /**
   * 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.
   *
   * @var bool
   */
  public $filterProfanity;
  /**
   * 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) for a list of the
   * currently supported language codes.
   *
   * @var string
   */
  public $languageCode;
  /**
   * 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
   * return a maximum of one. If omitted, will return a maximum of one.
   *
   * @var int
   */
  public $maxAlternatives;
  protected $speechContextsType = GoogleCloudVideointelligenceV1SpeechContext::class;
  protected $speechContextsDataType = 'array';

  /**
   * Optional. Legacy field. This field must be a Cloud Storage URI prefix.
   * (e.g., `gs://bucket/path/`).
   *
   * @param string $audioOutputUriPrefix
   */
  public function setAudioOutputUriPrefix($audioOutputUriPrefix)
  {
    $this->audioOutputUriPrefix = $audioOutputUriPrefix;
  }
  /**
   * @return string
   */
  public function getAudioOutputUriPrefix()
  {
    return $this->audioOutputUriPrefix;
  }
  /**
   * Optional. For file formats, such as MXF or MKV, supporting multiple audio
   * tracks, specify up to two tracks. Default: track 0.
   *
   * @param int[] $audioTracks
   */
  public function setAudioTracks($audioTracks)
  {
    $this->audioTracks = $audioTracks;
  }
  /**
   * @return int[]
   */
  public function getAudioTracks()
  {
    return $this->audioTracks;
  }
  /**
   * 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.
   *
   * @param int $diarizationSpeakerCount
   */
  public function setDiarizationSpeakerCount($diarizationSpeakerCount)
  {
    $this->diarizationSpeakerCount = $diarizationSpeakerCount;
  }
  /**
   * @return int
   */
  public function getDiarizationSpeakerCount()
  {
    return $this->diarizationSpeakerCount;
  }
  /**
   * 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
   * offered as an experimental service, complimentary to all users. In the
   * future this may be exclusively available as a premium feature."
   *
   * @param bool $enableAutomaticPunctuation
   */
  public function setEnableAutomaticPunctuation($enableAutomaticPunctuation)
  {
    $this->enableAutomaticPunctuation = $enableAutomaticPunctuation;
  }
  /**
   * @return bool
   */
  public function getEnableAutomaticPunctuation()
  {
    return $this->enableAutomaticPunctuation;
  }
  /**
   * 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 audio for the top alternative in every consecutive
   * response. This is done in order to improve our speaker tags as our models
   * learn to identify the speakers in the conversation over time.
   *
   * @param bool $enableSpeakerDiarization
   */
  public function setEnableSpeakerDiarization($enableSpeakerDiarization)
  {
    $this->enableSpeakerDiarization = $enableSpeakerDiarization;
  }
  /**
   * @return bool
   */
  public function getEnableSpeakerDiarization()
  {
    return $this->enableSpeakerDiarization;
  }
  /**
   * 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`.
   *
   * @param bool $enableWordConfidence
   */
  public function setEnableWordConfidence($enableWordConfidence)
  {
    $this->enableWordConfidence = $enableWordConfidence;
  }
  /**
   * @return bool
   */
  public function getEnableWordConfidence()
  {
    return $this->enableWordConfidence;
  }
  /**
   * 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.
   *
   * @param bool $filterProfanity
   */
  public function setFilterProfanity($filterProfanity)
  {
    $this->filterProfanity = $filterProfanity;
  }
  /**
   * @return bool
   */
  public function getFilterProfanity()
  {
    return $this->filterProfanity;
  }
  /**
   * 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) for a list of the
   * currently supported language codes.
   *
   * @param string $languageCode
   */
  public function setLanguageCode($languageCode)
  {
    $this->languageCode = $languageCode;
  }
  /**
   * @return string
   */
  public function getLanguageCode()
  {
    return $this->languageCode;
  }
  /**
   * 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
   * return a maximum of one. If omitted, will return a maximum of one.
   *
   * @param int $maxAlternatives
   */
  public function setMaxAlternatives($maxAlternatives)
  {
    $this->maxAlternatives = $maxAlternatives;
  }
  /**
   * @return int
   */
  public function getMaxAlternatives()
  {
    return $this->maxAlternatives;
  }
  /**
   * Optional. A means to provide context to assist the speech recognition.
   *
   * @param GoogleCloudVideointelligenceV1SpeechContext[] $speechContexts
   */
  public function setSpeechContexts($speechContexts)
  {
    $this->speechContexts = $speechContexts;
  }
  /**
   * @return GoogleCloudVideointelligenceV1SpeechContext[]
   */
  public function getSpeechContexts()
  {
    return $this->speechContexts;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1SpeechTranscriptionConfig::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1SpeechTranscriptionConfig');
← Back