<?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\Aiplatform;

class GoogleCloudAiplatformV1VideoResponseFormat extends \Google\Model
{
  /**
   * Default value. This value is unused.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_UNSPECIFIED = 'ASPECT_RATIO_UNSPECIFIED';
  /**
   * 16:9 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_SIXTEEN_BY_NINE = 'ASPECT_RATIO_SIXTEEN_BY_NINE';
  /**
   * 9:16 aspect ratio.
   */
  public const ASPECT_RATIO_ASPECT_RATIO_NINE_BY_SIXTEEN = 'ASPECT_RATIO_NINE_BY_SIXTEEN';
  /**
   * Default value. This value is unused.
   */
  public const DELIVERY_DELIVERY_UNSPECIFIED = 'DELIVERY_UNSPECIFIED';
  /**
   * Generated bytes are returned inline in the response.
   */
  public const DELIVERY_INLINE = 'INLINE';
  /**
   * Generated content is stored and a URI is returned.
   */
  public const DELIVERY_URI = 'URI';
  /**
   * The aspect ratio for the video output.
   *
   * @var string
   */
  public $aspectRatio;
  /**
   * Optional. Delivery mode for the generated content.
   *
   * @var string
   */
  public $delivery;
  /**
   * Optional. The duration for the video output.
   *
   * @var string
   */
  public $duration;
  /**
   * Optional. The Google Cloud Storage URI to store the video output. Required
   * for Vertex if delivery is URI.
   *
   * @var string
   */
  public $gcsUri;

  /**
   * The aspect ratio for the video output.
   *
   * Accepted values: ASPECT_RATIO_UNSPECIFIED, ASPECT_RATIO_SIXTEEN_BY_NINE,
   * ASPECT_RATIO_NINE_BY_SIXTEEN
   *
   * @param self::ASPECT_RATIO_* $aspectRatio
   */
  public function setAspectRatio($aspectRatio)
  {
    $this->aspectRatio = $aspectRatio;
  }
  /**
   * @return self::ASPECT_RATIO_*
   */
  public function getAspectRatio()
  {
    return $this->aspectRatio;
  }
  /**
   * Optional. Delivery mode for the generated content.
   *
   * Accepted values: DELIVERY_UNSPECIFIED, INLINE, URI
   *
   * @param self::DELIVERY_* $delivery
   */
  public function setDelivery($delivery)
  {
    $this->delivery = $delivery;
  }
  /**
   * @return self::DELIVERY_*
   */
  public function getDelivery()
  {
    return $this->delivery;
  }
  /**
   * Optional. The duration for the video output.
   *
   * @param string $duration
   */
  public function setDuration($duration)
  {
    $this->duration = $duration;
  }
  /**
   * @return string
   */
  public function getDuration()
  {
    return $this->duration;
  }
  /**
   * Optional. The Google Cloud Storage URI to store the video output. Required
   * for Vertex if delivery is URI.
   *
   * @param string $gcsUri
   */
  public function setGcsUri($gcsUri)
  {
    $this->gcsUri = $gcsUri;
  }
  /**
   * @return string
   */
  public function getGcsUri()
  {
    return $this->gcsUri;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1VideoResponseFormat::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1VideoResponseFormat');
