Skip to content

Commit

Permalink
Regenerate translate client (#6044)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Dec 21, 2024
1 parent 15c3996 commit 89b7126
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
18 changes: 18 additions & 0 deletions src/Translate/GlossaryConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

class GlossaryConfig extends \Google\Model
{
/**
* @var bool
*/
public $contextualTranslationEnabled;
/**
* @var string
*/
Expand All @@ -28,6 +32,20 @@ class GlossaryConfig extends \Google\Model
*/
public $ignoreCase;

/**
* @param bool
*/
public function setContextualTranslationEnabled($contextualTranslationEnabled)
{
$this->contextualTranslationEnabled = $contextualTranslationEnabled;
}
/**
* @return bool
*/
public function getContextualTranslationEnabled()
{
return $this->contextualTranslationEnabled;
}
/**
* @param string
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Translate/Resource/ProjectsLocationsOperations.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ProjectsLocationsOperations extends \Google\Service\Resource
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
Expand Down
18 changes: 18 additions & 0 deletions src/Translate/TranslateTextGlossaryConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

class TranslateTextGlossaryConfig extends \Google\Model
{
/**
* @var bool
*/
public $contextualTranslationEnabled;
/**
* @var string
*/
Expand All @@ -28,6 +32,20 @@ class TranslateTextGlossaryConfig extends \Google\Model
*/
public $ignoreCase;

/**
* @param bool
*/
public function setContextualTranslationEnabled($contextualTranslationEnabled)
{
$this->contextualTranslationEnabled = $contextualTranslationEnabled;
}
/**
* @return bool
*/
public function getContextualTranslationEnabled()
{
return $this->contextualTranslationEnabled;
}
/**
* @param string
*/
Expand Down

0 comments on commit 89b7126

Please sign in to comment.