ProjectsLocationsSynonymSets
class ProjectsLocationsSynonymSets extends Resource (View source)
The "synonymSets" collection of methods.
Typical usage is:
$contentwarehouseService = new Google\Service\Contentwarehouse(...);
$synonymSets = $contentwarehouseService->projects_locations_synonymSets;
Methods
Creates a SynonymSet for a single context. Throws an ALREADY_EXISTS exception if a synonymset already exists for the context. (synonymSets.create)
Deletes a SynonymSet for a given context. Throws a NOT_FOUND exception if the SynonymSet is not found. (synonymSets.delete)
Gets a SynonymSet for a particular context. Throws a NOT_FOUND exception if the Synonymset does not exist (synonymSets.get)
Returns all SynonymSets (for all contexts) for the specified location.
Remove the existing SynonymSet for the context and replaces it with a new one. Throws a NOT_FOUND exception if the SynonymSet is not found.
Details
GoogleCloudContentwarehouseV1SynonymSet
create(string $parent, GoogleCloudContentwarehouseV1SynonymSet $postBody, array $optParams = [])
Creates a SynonymSet for a single context. Throws an ALREADY_EXISTS exception if a synonymset already exists for the context. (synonymSets.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes a SynonymSet for a given context. Throws a NOT_FOUND exception if the SynonymSet is not found. (synonymSets.delete)
GoogleCloudContentwarehouseV1SynonymSet
get(string $name, array $optParams = [])
Gets a SynonymSet for a particular context. Throws a NOT_FOUND exception if the Synonymset does not exist (synonymSets.get)
GoogleCloudContentwarehouseV1ListSynonymSetsResponse
listProjectsLocationsSynonymSets(string $parent, array $optParams = [])
Returns all SynonymSets (for all contexts) for the specified location.
(synonymSets.listProjectsLocationsSynonymSets)
GoogleCloudContentwarehouseV1SynonymSet
patch(string $name, GoogleCloudContentwarehouseV1SynonymSet $postBody, array $optParams = [])
Remove the existing SynonymSet for the context and replaces it with a new one. Throws a NOT_FOUND exception if the SynonymSet is not found.
(synonymSets.patch)