Skip to content

Commit 6d45791

Browse files
1 parent fb44b8e commit 6d45791

2 files changed

Lines changed: 29 additions & 17 deletions

File tree

src/CustomerEngagementSuite/LanguageSettings.php

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,16 @@ class LanguageSettings extends \Google\Collection
3434
*/
3535
public $enableMultilingualSupport;
3636
/**
37-
* Optional. The action to perform when an agent receives input in an
38-
* unsupported language. This can be a predefined action or a custom tool
39-
* call. Valid values are: - A tool's full resource name, which triggers a
40-
* specific tool execution. - A predefined system action, such as "escalate"
41-
* or "exit", which triggers an EndSession signal with corresponding metadata
42-
* to terminate the conversation.
37+
* Optional. Deprecated: This feature is no longer supported. Use
38+
* `enable_multilingual_support` instead to improve handling of multilingual
39+
* input. The action to perform when an agent receives input in an unsupported
40+
* language. This can be a predefined action or a custom tool call. Valid
41+
* values are: - A tool's full resource name, which triggers a specific tool
42+
* execution. - A predefined system action, such as "escalate" or "exit",
43+
* which triggers an EndSession signal with corresponding metadata to
44+
* terminate the conversation.
4345
*
46+
* @deprecated
4447
* @var string
4548
*/
4649
public $fallbackAction;
@@ -86,20 +89,24 @@ public function getEnableMultilingualSupport()
8689
return $this->enableMultilingualSupport;
8790
}
8891
/**
89-
* Optional. The action to perform when an agent receives input in an
90-
* unsupported language. This can be a predefined action or a custom tool
91-
* call. Valid values are: - A tool's full resource name, which triggers a
92-
* specific tool execution. - A predefined system action, such as "escalate"
93-
* or "exit", which triggers an EndSession signal with corresponding metadata
94-
* to terminate the conversation.
92+
* Optional. Deprecated: This feature is no longer supported. Use
93+
* `enable_multilingual_support` instead to improve handling of multilingual
94+
* input. The action to perform when an agent receives input in an unsupported
95+
* language. This can be a predefined action or a custom tool call. Valid
96+
* values are: - A tool's full resource name, which triggers a specific tool
97+
* execution. - A predefined system action, such as "escalate" or "exit",
98+
* which triggers an EndSession signal with corresponding metadata to
99+
* terminate the conversation.
95100
*
101+
* @deprecated
96102
* @param string $fallbackAction
97103
*/
98104
public function setFallbackAction($fallbackAction)
99105
{
100106
$this->fallbackAction = $fallbackAction;
101107
}
102108
/**
109+
* @deprecated
103110
* @return string
104111
*/
105112
public function getFallbackAction()

src/CustomerEngagementSuite/Resource/ProjectsLocations.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,16 @@ public function get($name, $optParams = [])
4646
}
4747
/**
4848
* Lists information about the supported locations for this service. This method
49-
* can be called in two ways: * **List all public locations:** Use the path `GET
50-
* /v1/locations`. * **List project-visible locations:** Use the path `GET
51-
* /v1/projects/{project_id}/locations`. This may include public locations as
52-
* well as private or other locations specifically visible to the project.
53-
* (locations.listProjectsLocations)
49+
* lists locations based on the resource scope provided in the
50+
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
51+
* empty, the method lists the public locations available to all projects. *
52+
* **Project-specific locations**: If `name` follows the format
53+
* `projects/{project}`, the method lists locations visible to that specific
54+
* project. This includes public, private, or other project-specific locations
55+
* enabled for the project. For gRPC and client library implementations, the
56+
* resource name is passed as the `name` field. For direct service calls, the
57+
* resource name is incorporated into the request path based on the specific
58+
* service implementation and version. (locations.listProjectsLocations)
5459
*
5560
* @param string $name The resource that owns the locations collection, if
5661
* applicable.

0 commit comments

Comments
 (0)