[e3d4e0a] | 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 GoogleCloudAiplatformV1GroundingMetadata extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'webSearchQueries';
|
---|
| 23 | protected $groundingChunksType = GoogleCloudAiplatformV1GroundingChunk::class;
|
---|
| 24 | protected $groundingChunksDataType = 'array';
|
---|
| 25 | protected $groundingSupportsType = GoogleCloudAiplatformV1GroundingSupport::class;
|
---|
| 26 | protected $groundingSupportsDataType = 'array';
|
---|
| 27 | protected $retrievalMetadataType = GoogleCloudAiplatformV1RetrievalMetadata::class;
|
---|
| 28 | protected $retrievalMetadataDataType = '';
|
---|
| 29 | protected $searchEntryPointType = GoogleCloudAiplatformV1SearchEntryPoint::class;
|
---|
| 30 | protected $searchEntryPointDataType = '';
|
---|
| 31 | /**
|
---|
| 32 | * @var string[]
|
---|
| 33 | */
|
---|
| 34 | public $webSearchQueries;
|
---|
| 35 |
|
---|
| 36 | /**
|
---|
| 37 | * @param GoogleCloudAiplatformV1GroundingChunk[]
|
---|
| 38 | */
|
---|
| 39 | public function setGroundingChunks($groundingChunks)
|
---|
| 40 | {
|
---|
| 41 | $this->groundingChunks = $groundingChunks;
|
---|
| 42 | }
|
---|
| 43 | /**
|
---|
| 44 | * @return GoogleCloudAiplatformV1GroundingChunk[]
|
---|
| 45 | */
|
---|
| 46 | public function getGroundingChunks()
|
---|
| 47 | {
|
---|
| 48 | return $this->groundingChunks;
|
---|
| 49 | }
|
---|
| 50 | /**
|
---|
| 51 | * @param GoogleCloudAiplatformV1GroundingSupport[]
|
---|
| 52 | */
|
---|
| 53 | public function setGroundingSupports($groundingSupports)
|
---|
| 54 | {
|
---|
| 55 | $this->groundingSupports = $groundingSupports;
|
---|
| 56 | }
|
---|
| 57 | /**
|
---|
| 58 | * @return GoogleCloudAiplatformV1GroundingSupport[]
|
---|
| 59 | */
|
---|
| 60 | public function getGroundingSupports()
|
---|
| 61 | {
|
---|
| 62 | return $this->groundingSupports;
|
---|
| 63 | }
|
---|
| 64 | /**
|
---|
| 65 | * @param GoogleCloudAiplatformV1RetrievalMetadata
|
---|
| 66 | */
|
---|
| 67 | public function setRetrievalMetadata(GoogleCloudAiplatformV1RetrievalMetadata $retrievalMetadata)
|
---|
| 68 | {
|
---|
| 69 | $this->retrievalMetadata = $retrievalMetadata;
|
---|
| 70 | }
|
---|
| 71 | /**
|
---|
| 72 | * @return GoogleCloudAiplatformV1RetrievalMetadata
|
---|
| 73 | */
|
---|
| 74 | public function getRetrievalMetadata()
|
---|
| 75 | {
|
---|
| 76 | return $this->retrievalMetadata;
|
---|
| 77 | }
|
---|
| 78 | /**
|
---|
| 79 | * @param GoogleCloudAiplatformV1SearchEntryPoint
|
---|
| 80 | */
|
---|
| 81 | public function setSearchEntryPoint(GoogleCloudAiplatformV1SearchEntryPoint $searchEntryPoint)
|
---|
| 82 | {
|
---|
| 83 | $this->searchEntryPoint = $searchEntryPoint;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @return GoogleCloudAiplatformV1SearchEntryPoint
|
---|
| 87 | */
|
---|
| 88 | public function getSearchEntryPoint()
|
---|
| 89 | {
|
---|
| 90 | return $this->searchEntryPoint;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @param string[]
|
---|
| 94 | */
|
---|
| 95 | public function setWebSearchQueries($webSearchQueries)
|
---|
| 96 | {
|
---|
| 97 | $this->webSearchQueries = $webSearchQueries;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @return string[]
|
---|
| 101 | */
|
---|
| 102 | public function getWebSearchQueries()
|
---|
| 103 | {
|
---|
| 104 | return $this->webSearchQueries;
|
---|
| 105 | }
|
---|
| 106 | }
|
---|
| 107 |
|
---|
| 108 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 109 | class_alias(GoogleCloudAiplatformV1GroundingMetadata::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1GroundingMetadata');
|
---|