|
| 1 | +<?php |
| 2 | +/* |
| 3 | + * Copyright 2014 Google Inc. |
| 4 | + * |
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 6 | + * use this file except in compliance with the License. You may obtain a copy of |
| 7 | + * the License at |
| 8 | + * |
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + * |
| 11 | + * Unless required by applicable law or agreed to in writing, software |
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 13 | + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 | + * License for the specific language governing permissions and limitations under |
| 15 | + * the License. |
| 16 | + */ |
| 17 | + |
| 18 | +namespace Google\Service\Aiplatform; |
| 19 | + |
| 20 | +class CloudAiLargeModelsVisionGenerateVideoRequestImage extends \Google\Model |
| 21 | +{ |
| 22 | + /** |
| 23 | + * Blob ID of the image. This is used for storing the large images in the |
| 24 | + * request. |
| 25 | + * |
| 26 | + * @var string |
| 27 | + */ |
| 28 | + public $blobId; |
| 29 | + /** |
| 30 | + * Base64 encoded bytes string representing the image. |
| 31 | + * |
| 32 | + * @var string |
| 33 | + */ |
| 34 | + public $bytesBase64Encoded; |
| 35 | + /** |
| 36 | + * @var string |
| 37 | + */ |
| 38 | + public $gcsUri; |
| 39 | + /** |
| 40 | + * The MIME type of the content of the image. Only the images in below listed |
| 41 | + * MIME types are supported. - image/jpeg - image/png |
| 42 | + * |
| 43 | + * @var string |
| 44 | + */ |
| 45 | + public $mimeType; |
| 46 | + |
| 47 | + /** |
| 48 | + * Blob ID of the image. This is used for storing the large images in the |
| 49 | + * request. |
| 50 | + * |
| 51 | + * @param string $blobId |
| 52 | + */ |
| 53 | + public function setBlobId($blobId) |
| 54 | + { |
| 55 | + $this->blobId = $blobId; |
| 56 | + } |
| 57 | + /** |
| 58 | + * @return string |
| 59 | + */ |
| 60 | + public function getBlobId() |
| 61 | + { |
| 62 | + return $this->blobId; |
| 63 | + } |
| 64 | + /** |
| 65 | + * Base64 encoded bytes string representing the image. |
| 66 | + * |
| 67 | + * @param string $bytesBase64Encoded |
| 68 | + */ |
| 69 | + public function setBytesBase64Encoded($bytesBase64Encoded) |
| 70 | + { |
| 71 | + $this->bytesBase64Encoded = $bytesBase64Encoded; |
| 72 | + } |
| 73 | + /** |
| 74 | + * @return string |
| 75 | + */ |
| 76 | + public function getBytesBase64Encoded() |
| 77 | + { |
| 78 | + return $this->bytesBase64Encoded; |
| 79 | + } |
| 80 | + /** |
| 81 | + * @param string $gcsUri |
| 82 | + */ |
| 83 | + public function setGcsUri($gcsUri) |
| 84 | + { |
| 85 | + $this->gcsUri = $gcsUri; |
| 86 | + } |
| 87 | + /** |
| 88 | + * @return string |
| 89 | + */ |
| 90 | + public function getGcsUri() |
| 91 | + { |
| 92 | + return $this->gcsUri; |
| 93 | + } |
| 94 | + /** |
| 95 | + * The MIME type of the content of the image. Only the images in below listed |
| 96 | + * MIME types are supported. - image/jpeg - image/png |
| 97 | + * |
| 98 | + * @param string $mimeType |
| 99 | + */ |
| 100 | + public function setMimeType($mimeType) |
| 101 | + { |
| 102 | + $this->mimeType = $mimeType; |
| 103 | + } |
| 104 | + /** |
| 105 | + * @return string |
| 106 | + */ |
| 107 | + public function getMimeType() |
| 108 | + { |
| 109 | + return $this->mimeType; |
| 110 | + } |
| 111 | +} |
| 112 | + |
| 113 | +// Adding a class alias for backwards compatibility with the previous class name. |
| 114 | +class_alias(CloudAiLargeModelsVisionGenerateVideoRequestImage::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionGenerateVideoRequestImage'); |
0 commit comments