Skip to content

Commit

Permalink
Merge branch 'main' into universe-domain
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Apr 23, 2024
2 parents fd4299e + 65680c5 commit 0d0bf65
Show file tree
Hide file tree
Showing 22 changed files with 694 additions and 35 deletions.
18 changes: 18 additions & 0 deletions src/Aiplatform/CloudAiLargeModelsVisionGenerateVideoResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class CloudAiLargeModelsVisionGenerateVideoResponse extends \Google\Collection
protected $collection_key = 'raiMediaFilteredReasons';
protected $generatedSamplesType = CloudAiLargeModelsVisionMedia::class;
protected $generatedSamplesDataType = 'array';
/**
* @var string
*/
public $raiErrorMessage;
/**
* @var int
*/
Expand All @@ -47,6 +51,20 @@ public function getGeneratedSamples()
{
return $this->generatedSamples;
}
/**
* @param string
*/
public function setRaiErrorMessage($raiErrorMessage)
{
$this->raiErrorMessage = $raiErrorMessage;
}
/**
* @return string
*/
public function getRaiErrorMessage()
{
return $this->raiErrorMessage;
}
/**
* @param int
*/
Expand Down
16 changes: 16 additions & 0 deletions src/Aiplatform/GoogleCloudAiplatformV1Endpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ class GoogleCloudAiplatformV1Endpoint extends \Google\Collection
public $network;
protected $predictRequestResponseLoggingConfigType = GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig::class;
protected $predictRequestResponseLoggingConfigDataType = '';
protected $privateServiceConnectConfigType = GoogleCloudAiplatformV1PrivateServiceConnectConfig::class;
protected $privateServiceConnectConfigDataType = '';
/**
* @var int[]
*/
Expand Down Expand Up @@ -239,6 +241,20 @@ public function getPredictRequestResponseLoggingConfig()
{
return $this->predictRequestResponseLoggingConfig;
}
/**
* @param GoogleCloudAiplatformV1PrivateServiceConnectConfig
*/
public function setPrivateServiceConnectConfig(GoogleCloudAiplatformV1PrivateServiceConnectConfig $privateServiceConnectConfig)
{
$this->privateServiceConnectConfig = $privateServiceConnectConfig;
}
/**
* @return GoogleCloudAiplatformV1PrivateServiceConnectConfig
*/
public function getPrivateServiceConnectConfig()
{
return $this->privateServiceConnectConfig;
}
/**
* @param int[]
*/
Expand Down
16 changes: 0 additions & 16 deletions src/Aiplatform/GoogleCloudAiplatformV1GroundingMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,11 @@
class GoogleCloudAiplatformV1GroundingMetadata extends \Google\Collection
{
protected $collection_key = 'webSearchQueries';
protected $groundingAttributionsType = GoogleCloudAiplatformV1GroundingAttribution::class;
protected $groundingAttributionsDataType = 'array';
/**
* @var string[]
*/
public $webSearchQueries;

/**
* @param GoogleCloudAiplatformV1GroundingAttribution[]
*/
public function setGroundingAttributions($groundingAttributions)
{
$this->groundingAttributions = $groundingAttributions;
}
/**
* @return GoogleCloudAiplatformV1GroundingAttribution[]
*/
public function getGroundingAttributions()
{
return $this->groundingAttributions;
}
/**
* @param string[]
*/
Expand Down
16 changes: 0 additions & 16 deletions src/Aiplatform/GoogleCloudAiplatformV1Tool.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class GoogleCloudAiplatformV1Tool extends \Google\Collection
protected $collection_key = 'functionDeclarations';
protected $functionDeclarationsType = GoogleCloudAiplatformV1FunctionDeclaration::class;
protected $functionDeclarationsDataType = 'array';
protected $googleSearchRetrievalType = GoogleCloudAiplatformV1GoogleSearchRetrieval::class;
protected $googleSearchRetrievalDataType = '';
protected $retrievalType = GoogleCloudAiplatformV1Retrieval::class;
protected $retrievalDataType = '';

Expand All @@ -41,20 +39,6 @@ public function getFunctionDeclarations()
{
return $this->functionDeclarations;
}
/**
* @param GoogleCloudAiplatformV1GoogleSearchRetrieval
*/
public function setGoogleSearchRetrieval(GoogleCloudAiplatformV1GoogleSearchRetrieval $googleSearchRetrieval)
{
$this->googleSearchRetrieval = $googleSearchRetrieval;
}
/**
* @return GoogleCloudAiplatformV1GoogleSearchRetrieval
*/
public function getGoogleSearchRetrieval()
{
return $this->googleSearchRetrieval;
}
/**
* @param GoogleCloudAiplatformV1Retrieval
*/
Expand Down
62 changes: 62 additions & 0 deletions src/Aiplatform/LearningGenaiRootCodeyGenerationMetadata.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?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 LearningGenaiRootCodeyGenerationMetadata extends \Google\Model
{
/**
* @var string
*/
public $output;
/**
* @var string
*/
public $postInferenceStep;

/**
* @param string
*/
public function setOutput($output)
{
$this->output = $output;
}
/**
* @return string
*/
public function getOutput()
{
return $this->output;
}
/**
* @param string
*/
public function setPostInferenceStep($postInferenceStep)
{
$this->postInferenceStep = $postInferenceStep;
}
/**
* @return string
*/
public function getPostInferenceStep()
{
return $this->postInferenceStep;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LearningGenaiRootCodeyGenerationMetadata::class, 'Google_Service_Aiplatform_LearningGenaiRootCodeyGenerationMetadata');
16 changes: 16 additions & 0 deletions src/Aiplatform/LearningGenaiRootCodeyOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class LearningGenaiRootCodeyOutput extends \Google\Model
protected $codeyChatMetadataDataType = '';
protected $codeyCompletionMetadataType = LearningGenaiRootCodeyCompletionMetadata::class;
protected $codeyCompletionMetadataDataType = '';
protected $codeyGenerationMetadataType = LearningGenaiRootCodeyGenerationMetadata::class;
protected $codeyGenerationMetadataDataType = '';

/**
* @param LearningGenaiRootCodeyChatMetadata
Expand Down Expand Up @@ -52,6 +54,20 @@ public function getCodeyCompletionMetadata()
{
return $this->codeyCompletionMetadata;
}
/**
* @param LearningGenaiRootCodeyGenerationMetadata
*/
public function setCodeyGenerationMetadata(LearningGenaiRootCodeyGenerationMetadata $codeyGenerationMetadata)
{
$this->codeyGenerationMetadata = $codeyGenerationMetadata;
}
/**
* @return LearningGenaiRootCodeyGenerationMetadata
*/
public function getCodeyGenerationMetadata()
{
return $this->codeyGenerationMetadata;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down
62 changes: 62 additions & 0 deletions src/Aiplatform/LearningGenaiRootControlDecodingConfigThreshold.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?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 LearningGenaiRootControlDecodingConfigThreshold extends \Google\Model
{
/**
* @var string
*/
public $policy;
/**
* @var float
*/
public $scoreMax;

/**
* @param string
*/
public function setPolicy($policy)
{
$this->policy = $policy;
}
/**
* @return string
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param float
*/
public function setScoreMax($scoreMax)
{
$this->scoreMax = $scoreMax;
}
/**
* @return float
*/
public function getScoreMax()
{
return $this->scoreMax;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LearningGenaiRootControlDecodingConfigThreshold::class, 'Google_Service_Aiplatform_LearningGenaiRootControlDecodingConfigThreshold');
95 changes: 95 additions & 0 deletions src/Aiplatform/LearningGenaiRootControlDecodingRecord.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<?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 LearningGenaiRootControlDecodingRecord extends \Google\Collection
{
protected $collection_key = 'thresholds';
/**
* @var string
*/
public $prefixes;
protected $scoresType = LearningGenaiRootControlDecodingRecordPolicyScore::class;
protected $scoresDataType = 'array';
/**
* @var string
*/
public $suffiexes;
protected $thresholdsType = LearningGenaiRootControlDecodingConfigThreshold::class;
protected $thresholdsDataType = 'array';

/**
* @param string
*/
public function setPrefixes($prefixes)
{
$this->prefixes = $prefixes;
}
/**
* @return string
*/
public function getPrefixes()
{
return $this->prefixes;
}
/**
* @param LearningGenaiRootControlDecodingRecordPolicyScore[]
*/
public function setScores($scores)
{
$this->scores = $scores;
}
/**
* @return LearningGenaiRootControlDecodingRecordPolicyScore[]
*/
public function getScores()
{
return $this->scores;
}
/**
* @param string
*/
public function setSuffiexes($suffiexes)
{
$this->suffiexes = $suffiexes;
}
/**
* @return string
*/
public function getSuffiexes()
{
return $this->suffiexes;
}
/**
* @param LearningGenaiRootControlDecodingConfigThreshold[]
*/
public function setThresholds($thresholds)
{
$this->thresholds = $thresholds;
}
/**
* @return LearningGenaiRootControlDecodingConfigThreshold[]
*/
public function getThresholds()
{
return $this->thresholds;
}
}

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

0 comments on commit 0d0bf65

Please sign in to comment.