Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/Dialogflow/GoogleCloudDialogflowCxV3Fulfillment.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class GoogleCloudDialogflowCxV3Fulfillment extends \Google\Collection
protected $collection_key = 'setParameterActions';
protected $advancedSettingsType = GoogleCloudDialogflowCxV3AdvancedSettings::class;
protected $advancedSettingsDataType = '';
/**
* @var string
*/
public $codeBlockFunction;
protected $conditionalCasesType = GoogleCloudDialogflowCxV3FulfillmentConditionalCases::class;
protected $conditionalCasesDataType = 'array';
/**
Expand Down Expand Up @@ -61,6 +65,20 @@ public function getAdvancedSettings()
{
return $this->advancedSettings;
}
/**
* @param string $codeBlockFunction
*/
public function setCodeBlockFunction($codeBlockFunction)
{
$this->codeBlockFunction = $codeBlockFunction;
}
/**
* @return string
*/
public function getCodeBlockFunction()
{
return $this->codeBlockFunction;
}
/**
* @param GoogleCloudDialogflowCxV3FulfillmentConditionalCases[] $conditionalCases
*/
Expand Down
18 changes: 18 additions & 0 deletions src/Dialogflow/GoogleCloudDialogflowCxV3beta1Fulfillment.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class GoogleCloudDialogflowCxV3beta1Fulfillment extends \Google\Collection
protected $collection_key = 'setParameterActions';
protected $advancedSettingsType = GoogleCloudDialogflowCxV3beta1AdvancedSettings::class;
protected $advancedSettingsDataType = '';
/**
* @var string
*/
public $codeBlockFunction;
protected $conditionalCasesType = GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::class;
protected $conditionalCasesDataType = 'array';
/**
Expand Down Expand Up @@ -61,6 +65,20 @@ public function getAdvancedSettings()
{
return $this->advancedSettings;
}
/**
* @param string $codeBlockFunction
*/
public function setCodeBlockFunction($codeBlockFunction)
{
$this->codeBlockFunction = $codeBlockFunction;
}
/**
* @return string
*/
public function getCodeBlockFunction()
{
return $this->codeBlockFunction;
}
/**
* @param GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases[] $conditionalCases
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,22 @@ class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo ex
* @var int
*/
public $promptTokenCount;
/**
* @var float
*/
public $similarityToLastQuery;
/**
* @var float
*/
public $similarityToLastQueryThreshold;
/**
* @var int
*/
public $thinkingBudgetTokens;
/**
* @var string
*/
public $thinkingLevel;
/**
* @var int
*/
Expand Down Expand Up @@ -60,6 +76,62 @@ public function getPromptTokenCount()
{
return $this->promptTokenCount;
}
/**
* @param float $similarityToLastQuery
*/
public function setSimilarityToLastQuery($similarityToLastQuery)
{
$this->similarityToLastQuery = $similarityToLastQuery;
}
/**
* @return float
*/
public function getSimilarityToLastQuery()
{
return $this->similarityToLastQuery;
}
/**
* @param float $similarityToLastQueryThreshold
*/
public function setSimilarityToLastQueryThreshold($similarityToLastQueryThreshold)
{
$this->similarityToLastQueryThreshold = $similarityToLastQueryThreshold;
}
/**
* @return float
*/
public function getSimilarityToLastQueryThreshold()
{
return $this->similarityToLastQueryThreshold;
}
/**
* @param int $thinkingBudgetTokens
*/
public function setThinkingBudgetTokens($thinkingBudgetTokens)
{
$this->thinkingBudgetTokens = $thinkingBudgetTokens;
}
/**
* @return int
*/
public function getThinkingBudgetTokens()
{
return $this->thinkingBudgetTokens;
}
/**
* @param string $thinkingLevel
*/
public function setThinkingLevel($thinkingLevel)
{
$this->thinkingLevel = $thinkingLevel;
}
/**
* @return string
*/
public function getThinkingLevel()
{
return $this->thinkingLevel;
}
/**
* @param int $totalTokenCount
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,22 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugIn
* @var int
*/
public $promptTokenCount;
/**
* @var float
*/
public $similarityToLastQuery;
/**
* @var float
*/
public $similarityToLastQueryThreshold;
/**
* @var int
*/
public $thinkingBudgetTokens;
/**
* @var string
*/
public $thinkingLevel;
/**
* @var int
*/
Expand Down Expand Up @@ -60,6 +76,62 @@ public function getPromptTokenCount()
{
return $this->promptTokenCount;
}
/**
* @param float $similarityToLastQuery
*/
public function setSimilarityToLastQuery($similarityToLastQuery)
{
$this->similarityToLastQuery = $similarityToLastQuery;
}
/**
* @return float
*/
public function getSimilarityToLastQuery()
{
return $this->similarityToLastQuery;
}
/**
* @param float $similarityToLastQueryThreshold
*/
public function setSimilarityToLastQueryThreshold($similarityToLastQueryThreshold)
{
$this->similarityToLastQueryThreshold = $similarityToLastQueryThreshold;
}
/**
* @return float
*/
public function getSimilarityToLastQueryThreshold()
{
return $this->similarityToLastQueryThreshold;
}
/**
* @param int $thinkingBudgetTokens
*/
public function setThinkingBudgetTokens($thinkingBudgetTokens)
{
$this->thinkingBudgetTokens = $thinkingBudgetTokens;
}
/**
* @return int
*/
public function getThinkingBudgetTokens()
{
return $this->thinkingBudgetTokens;
}
/**
* @param string $thinkingLevel
*/
public function setThinkingLevel($thinkingLevel)
{
$this->thinkingLevel = $thinkingLevel;
}
/**
* @return string
*/
public function getThinkingLevel()
{
return $this->thinkingLevel;
}
/**
* @param int $totalTokenCount
*/
Expand Down
Loading