Skip to content

Commit 0d0bf65

Browse files
authored
Merge branch 'main' into universe-domain
2 parents fd4299e + 65680c5 commit 0d0bf65

22 files changed

+694
-35
lines changed

src/Aiplatform/CloudAiLargeModelsVisionGenerateVideoResponse.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ class CloudAiLargeModelsVisionGenerateVideoResponse extends \Google\Collection
2222
protected $collection_key = 'raiMediaFilteredReasons';
2323
protected $generatedSamplesType = CloudAiLargeModelsVisionMedia::class;
2424
protected $generatedSamplesDataType = 'array';
25+
/**
26+
* @var string
27+
*/
28+
public $raiErrorMessage;
2529
/**
2630
* @var int
2731
*/
@@ -47,6 +51,20 @@ public function getGeneratedSamples()
4751
{
4852
return $this->generatedSamples;
4953
}
54+
/**
55+
* @param string
56+
*/
57+
public function setRaiErrorMessage($raiErrorMessage)
58+
{
59+
$this->raiErrorMessage = $raiErrorMessage;
60+
}
61+
/**
62+
* @return string
63+
*/
64+
public function getRaiErrorMessage()
65+
{
66+
return $this->raiErrorMessage;
67+
}
5068
/**
5169
* @param int
5270
*/

src/Aiplatform/GoogleCloudAiplatformV1Endpoint.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ class GoogleCloudAiplatformV1Endpoint extends \Google\Collection
6262
public $network;
6363
protected $predictRequestResponseLoggingConfigType = GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig::class;
6464
protected $predictRequestResponseLoggingConfigDataType = '';
65+
protected $privateServiceConnectConfigType = GoogleCloudAiplatformV1PrivateServiceConnectConfig::class;
66+
protected $privateServiceConnectConfigDataType = '';
6567
/**
6668
* @var int[]
6769
*/
@@ -239,6 +241,20 @@ public function getPredictRequestResponseLoggingConfig()
239241
{
240242
return $this->predictRequestResponseLoggingConfig;
241243
}
244+
/**
245+
* @param GoogleCloudAiplatformV1PrivateServiceConnectConfig
246+
*/
247+
public function setPrivateServiceConnectConfig(GoogleCloudAiplatformV1PrivateServiceConnectConfig $privateServiceConnectConfig)
248+
{
249+
$this->privateServiceConnectConfig = $privateServiceConnectConfig;
250+
}
251+
/**
252+
* @return GoogleCloudAiplatformV1PrivateServiceConnectConfig
253+
*/
254+
public function getPrivateServiceConnectConfig()
255+
{
256+
return $this->privateServiceConnectConfig;
257+
}
242258
/**
243259
* @param int[]
244260
*/

src/Aiplatform/GoogleCloudAiplatformV1GroundingMetadata.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,11 @@
2020
class GoogleCloudAiplatformV1GroundingMetadata extends \Google\Collection
2121
{
2222
protected $collection_key = 'webSearchQueries';
23-
protected $groundingAttributionsType = GoogleCloudAiplatformV1GroundingAttribution::class;
24-
protected $groundingAttributionsDataType = 'array';
2523
/**
2624
* @var string[]
2725
*/
2826
public $webSearchQueries;
2927

30-
/**
31-
* @param GoogleCloudAiplatformV1GroundingAttribution[]
32-
*/
33-
public function setGroundingAttributions($groundingAttributions)
34-
{
35-
$this->groundingAttributions = $groundingAttributions;
36-
}
37-
/**
38-
* @return GoogleCloudAiplatformV1GroundingAttribution[]
39-
*/
40-
public function getGroundingAttributions()
41-
{
42-
return $this->groundingAttributions;
43-
}
4428
/**
4529
* @param string[]
4630
*/

src/Aiplatform/GoogleCloudAiplatformV1Tool.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ class GoogleCloudAiplatformV1Tool extends \Google\Collection
2222
protected $collection_key = 'functionDeclarations';
2323
protected $functionDeclarationsType = GoogleCloudAiplatformV1FunctionDeclaration::class;
2424
protected $functionDeclarationsDataType = 'array';
25-
protected $googleSearchRetrievalType = GoogleCloudAiplatformV1GoogleSearchRetrieval::class;
26-
protected $googleSearchRetrievalDataType = '';
2725
protected $retrievalType = GoogleCloudAiplatformV1Retrieval::class;
2826
protected $retrievalDataType = '';
2927

@@ -41,20 +39,6 @@ public function getFunctionDeclarations()
4139
{
4240
return $this->functionDeclarations;
4341
}
44-
/**
45-
* @param GoogleCloudAiplatformV1GoogleSearchRetrieval
46-
*/
47-
public function setGoogleSearchRetrieval(GoogleCloudAiplatformV1GoogleSearchRetrieval $googleSearchRetrieval)
48-
{
49-
$this->googleSearchRetrieval = $googleSearchRetrieval;
50-
}
51-
/**
52-
* @return GoogleCloudAiplatformV1GoogleSearchRetrieval
53-
*/
54-
public function getGoogleSearchRetrieval()
55-
{
56-
return $this->googleSearchRetrieval;
57-
}
5842
/**
5943
* @param GoogleCloudAiplatformV1Retrieval
6044
*/
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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 LearningGenaiRootCodeyGenerationMetadata extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $output;
26+
/**
27+
* @var string
28+
*/
29+
public $postInferenceStep;
30+
31+
/**
32+
* @param string
33+
*/
34+
public function setOutput($output)
35+
{
36+
$this->output = $output;
37+
}
38+
/**
39+
* @return string
40+
*/
41+
public function getOutput()
42+
{
43+
return $this->output;
44+
}
45+
/**
46+
* @param string
47+
*/
48+
public function setPostInferenceStep($postInferenceStep)
49+
{
50+
$this->postInferenceStep = $postInferenceStep;
51+
}
52+
/**
53+
* @return string
54+
*/
55+
public function getPostInferenceStep()
56+
{
57+
return $this->postInferenceStep;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(LearningGenaiRootCodeyGenerationMetadata::class, 'Google_Service_Aiplatform_LearningGenaiRootCodeyGenerationMetadata');

src/Aiplatform/LearningGenaiRootCodeyOutput.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class LearningGenaiRootCodeyOutput extends \Google\Model
2323
protected $codeyChatMetadataDataType = '';
2424
protected $codeyCompletionMetadataType = LearningGenaiRootCodeyCompletionMetadata::class;
2525
protected $codeyCompletionMetadataDataType = '';
26+
protected $codeyGenerationMetadataType = LearningGenaiRootCodeyGenerationMetadata::class;
27+
protected $codeyGenerationMetadataDataType = '';
2628

2729
/**
2830
* @param LearningGenaiRootCodeyChatMetadata
@@ -52,6 +54,20 @@ public function getCodeyCompletionMetadata()
5254
{
5355
return $this->codeyCompletionMetadata;
5456
}
57+
/**
58+
* @param LearningGenaiRootCodeyGenerationMetadata
59+
*/
60+
public function setCodeyGenerationMetadata(LearningGenaiRootCodeyGenerationMetadata $codeyGenerationMetadata)
61+
{
62+
$this->codeyGenerationMetadata = $codeyGenerationMetadata;
63+
}
64+
/**
65+
* @return LearningGenaiRootCodeyGenerationMetadata
66+
*/
67+
public function getCodeyGenerationMetadata()
68+
{
69+
return $this->codeyGenerationMetadata;
70+
}
5571
}
5672

5773
// Adding a class alias for backwards compatibility with the previous class name.
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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 LearningGenaiRootControlDecodingConfigThreshold extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $policy;
26+
/**
27+
* @var float
28+
*/
29+
public $scoreMax;
30+
31+
/**
32+
* @param string
33+
*/
34+
public function setPolicy($policy)
35+
{
36+
$this->policy = $policy;
37+
}
38+
/**
39+
* @return string
40+
*/
41+
public function getPolicy()
42+
{
43+
return $this->policy;
44+
}
45+
/**
46+
* @param float
47+
*/
48+
public function setScoreMax($scoreMax)
49+
{
50+
$this->scoreMax = $scoreMax;
51+
}
52+
/**
53+
* @return float
54+
*/
55+
public function getScoreMax()
56+
{
57+
return $this->scoreMax;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(LearningGenaiRootControlDecodingConfigThreshold::class, 'Google_Service_Aiplatform_LearningGenaiRootControlDecodingConfigThreshold');
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
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 LearningGenaiRootControlDecodingRecord extends \Google\Collection
21+
{
22+
protected $collection_key = 'thresholds';
23+
/**
24+
* @var string
25+
*/
26+
public $prefixes;
27+
protected $scoresType = LearningGenaiRootControlDecodingRecordPolicyScore::class;
28+
protected $scoresDataType = 'array';
29+
/**
30+
* @var string
31+
*/
32+
public $suffiexes;
33+
protected $thresholdsType = LearningGenaiRootControlDecodingConfigThreshold::class;
34+
protected $thresholdsDataType = 'array';
35+
36+
/**
37+
* @param string
38+
*/
39+
public function setPrefixes($prefixes)
40+
{
41+
$this->prefixes = $prefixes;
42+
}
43+
/**
44+
* @return string
45+
*/
46+
public function getPrefixes()
47+
{
48+
return $this->prefixes;
49+
}
50+
/**
51+
* @param LearningGenaiRootControlDecodingRecordPolicyScore[]
52+
*/
53+
public function setScores($scores)
54+
{
55+
$this->scores = $scores;
56+
}
57+
/**
58+
* @return LearningGenaiRootControlDecodingRecordPolicyScore[]
59+
*/
60+
public function getScores()
61+
{
62+
return $this->scores;
63+
}
64+
/**
65+
* @param string
66+
*/
67+
public function setSuffiexes($suffiexes)
68+
{
69+
$this->suffiexes = $suffiexes;
70+
}
71+
/**
72+
* @return string
73+
*/
74+
public function getSuffiexes()
75+
{
76+
return $this->suffiexes;
77+
}
78+
/**
79+
* @param LearningGenaiRootControlDecodingConfigThreshold[]
80+
*/
81+
public function setThresholds($thresholds)
82+
{
83+
$this->thresholds = $thresholds;
84+
}
85+
/**
86+
* @return LearningGenaiRootControlDecodingConfigThreshold[]
87+
*/
88+
public function getThresholds()
89+
{
90+
return $this->thresholds;
91+
}
92+
}
93+
94+
// Adding a class alias for backwards compatibility with the previous class name.
95+
class_alias(LearningGenaiRootControlDecodingRecord::class, 'Google_Service_Aiplatform_LearningGenaiRootControlDecodingRecord');

0 commit comments

Comments
 (0)