-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate discoveryengine client (#6035)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-php-client-services/actions/workflows/codegen.yaml
- Loading branch information
1 parent
6c5baca
commit 0532c95
Showing
45 changed files
with
3,332 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 109 additions & 0 deletions
109
src/DiscoveryEngine/GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
<?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\DiscoveryEngine; | ||
|
||
class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest extends \Google\Collection | ||
{ | ||
protected $collection_key = 'contents'; | ||
protected $contentsType = GoogleCloudDiscoveryengineV1GroundedGenerationContent::class; | ||
protected $contentsDataType = 'array'; | ||
protected $generationSpecType = GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec::class; | ||
protected $generationSpecDataType = ''; | ||
protected $groundingSpecType = GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec::class; | ||
protected $groundingSpecDataType = ''; | ||
protected $systemInstructionType = GoogleCloudDiscoveryengineV1GroundedGenerationContent::class; | ||
protected $systemInstructionDataType = ''; | ||
/** | ||
* @var string[] | ||
*/ | ||
public $userLabels; | ||
|
||
/** | ||
* @param GoogleCloudDiscoveryengineV1GroundedGenerationContent[] | ||
*/ | ||
public function setContents($contents) | ||
{ | ||
$this->contents = $contents; | ||
} | ||
/** | ||
* @return GoogleCloudDiscoveryengineV1GroundedGenerationContent[] | ||
*/ | ||
public function getContents() | ||
{ | ||
return $this->contents; | ||
} | ||
/** | ||
* @param GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec | ||
*/ | ||
public function setGenerationSpec(GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec $generationSpec) | ||
{ | ||
$this->generationSpec = $generationSpec; | ||
} | ||
/** | ||
* @return GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec | ||
*/ | ||
public function getGenerationSpec() | ||
{ | ||
return $this->generationSpec; | ||
} | ||
/** | ||
* @param GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec | ||
*/ | ||
public function setGroundingSpec(GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec $groundingSpec) | ||
{ | ||
$this->groundingSpec = $groundingSpec; | ||
} | ||
/** | ||
* @return GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec | ||
*/ | ||
public function getGroundingSpec() | ||
{ | ||
return $this->groundingSpec; | ||
} | ||
/** | ||
* @param GoogleCloudDiscoveryengineV1GroundedGenerationContent | ||
*/ | ||
public function setSystemInstruction(GoogleCloudDiscoveryengineV1GroundedGenerationContent $systemInstruction) | ||
{ | ||
$this->systemInstruction = $systemInstruction; | ||
} | ||
/** | ||
* @return GoogleCloudDiscoveryengineV1GroundedGenerationContent | ||
*/ | ||
public function getSystemInstruction() | ||
{ | ||
return $this->systemInstruction; | ||
} | ||
/** | ||
* @param string[] | ||
*/ | ||
public function setUserLabels($userLabels) | ||
{ | ||
$this->userLabels = $userLabels; | ||
} | ||
/** | ||
* @return string[] | ||
*/ | ||
public function getUserLabels() | ||
{ | ||
return $this->userLabels; | ||
} | ||
} | ||
|
||
// Adding a class alias for backwards compatibility with the previous class name. | ||
class_alias(GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest'); |
42 changes: 42 additions & 0 deletions
42
...ogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?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\DiscoveryEngine; | ||
|
||
class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration extends \Google\Model | ||
{ | ||
protected $predictorType = GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor::class; | ||
protected $predictorDataType = ''; | ||
|
||
/** | ||
* @param GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor | ||
*/ | ||
public function setPredictor(GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor $predictor) | ||
{ | ||
$this->predictor = $predictor; | ||
} | ||
/** | ||
* @return GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor | ||
*/ | ||
public function getPredictor() | ||
{ | ||
return $this->predictor; | ||
} | ||
} | ||
|
||
// Adding a class alias for backwards compatibility with the previous class name. | ||
class_alias(GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration'); |
62 changes: 62 additions & 0 deletions
62
...1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\DiscoveryEngine; | ||
|
||
class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor extends \Google\Model | ||
{ | ||
/** | ||
* @var float | ||
*/ | ||
public $threshold; | ||
/** | ||
* @var string | ||
*/ | ||
public $version; | ||
|
||
/** | ||
* @param float | ||
*/ | ||
public function setThreshold($threshold) | ||
{ | ||
$this->threshold = $threshold; | ||
} | ||
/** | ||
* @return float | ||
*/ | ||
public function getThreshold() | ||
{ | ||
return $this->threshold; | ||
} | ||
/** | ||
* @param string | ||
*/ | ||
public function setVersion($version) | ||
{ | ||
$this->version = $version; | ||
} | ||
/** | ||
* @return string | ||
*/ | ||
public function getVersion() | ||
{ | ||
return $this->version; | ||
} | ||
} | ||
|
||
// Adding a class alias for backwards compatibility with the previous class name. | ||
class_alias(GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor'); |
Oops, something went wrong.