class MattersSavedQueries extends Resource (View source)

The "savedQueries" collection of methods.

Typical usage is:

 $vaultService = new Google\Service\Vault(...);
 $savedQueries = $vaultService->matters_savedQueries;

Methods

create(string $matterId, SavedQuery $postBody, array $optParams = [])

Creates a saved query. (savedQueries.create)

delete(string $matterId, string $savedQueryId, array $optParams = [])

Deletes the specified saved query. (savedQueries.delete)

get(string $matterId, string $savedQueryId, array $optParams = [])

Retrieves the specified saved query. (savedQueries.get)

listMattersSavedQueries(string $matterId, array $optParams = [])

Lists the saved queries in a matter. (savedQueries.listMattersSavedQueries)

Details

SavedQuery create(string $matterId, SavedQuery $postBody, array $optParams = [])

Creates a saved query. (savedQueries.create)

Parameters

string $matterId

The ID of the matter to create the saved query in.

SavedQuery $postBody
array $optParams

Optional parameters.

Return Value

SavedQuery

Exceptions

Exception

VaultEmpty delete(string $matterId, string $savedQueryId, array $optParams = [])

Deletes the specified saved query. (savedQueries.delete)

Parameters

string $matterId

The ID of the matter to delete the saved query from.

string $savedQueryId

ID of the saved query to delete.

array $optParams

Optional parameters.

Return Value

VaultEmpty

Exceptions

Exception

SavedQuery get(string $matterId, string $savedQueryId, array $optParams = [])

Retrieves the specified saved query. (savedQueries.get)

Parameters

string $matterId

The ID of the matter to get the saved query from.

string $savedQueryId

ID of the saved query to retrieve.

array $optParams

Optional parameters.

Return Value

SavedQuery

Exceptions

Exception

ListSavedQueriesResponse listMattersSavedQueries(string $matterId, array $optParams = [])

Lists the saved queries in a matter. (savedQueries.listMattersSavedQueries)

Parameters

string $matterId

The ID of the matter to get the saved queries for.

array $optParams

Optional parameters.

Return Value

ListSavedQueriesResponse

Exceptions

Exception