Documentation

Google_Service_Vault_Resource_MattersSavedQueries extends Google_Service_Resource
in package

The "savedQueries" collection of methods.

Typical usage is: $vaultService = new Google_Service_Vault(...); $savedQueries = $vaultService->savedQueries;

Table of Contents

$client  : Google_Client
$methods  : array<string|int, mixed>
$resourceName  : string
$rootUrl  : string
$serviceName  : string
$servicePath  : string
$stackParameters  : mixed
__construct()  : mixed
call()  : Google_Http_Request|expectedClass
TODO: This function needs simplifying.
create()  : Google_Service_Vault_SavedQuery
Creates a saved query. (savedQueries.create)
createRequestUri()  : string
Parse/expand request parameters and create a fully qualified request uri.
delete()  : Google_Service_Vault_VaultEmpty
Deletes a saved query by Id. (savedQueries.delete)
get()  : Google_Service_Vault_SavedQuery
Retrieves a saved query by Id. (savedQueries.get)
listMattersSavedQueries()  : Google_Service_Vault_ListSavedQueriesResponse
Lists saved queries within a matter. An empty page token in ListSavedQueriesResponse denotes no more saved queries to list.
convertToArrayAndStripNulls()  : mixed

Properties

$methods

private array<string|int, mixed> $methods

$resourceName

private string $resourceName

$serviceName

private string $serviceName

$servicePath

private string $servicePath

$stackParameters

private mixed $stackParameters = array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))

Methods

__construct()

public __construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
$service : mixed
$serviceName : mixed
$resourceName : mixed
$resource : mixed
Return values
mixed

call()

TODO: This function needs simplifying.

public call( $name,  $arguments[,  $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
$name :
$arguments :
$expectedClass : = null
  • optional, the expected class name
Tags
throws
Google_Exception
Return values
Google_Http_Request|expectedClass

create()

Creates a saved query. (savedQueries.create)

public create(string $matterId, Google_Service_Vault_SavedQuery $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Vault_SavedQuery
Parameters
$matterId : string

The matter ID of the parent matter for which the saved query is to be created.

$postBody : Google_Service_Vault_SavedQuery
$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_Vault_SavedQuery

createRequestUri()

Parse/expand request parameters and create a fully qualified request uri.

public createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
$restPath : string
$params : array<string|int, mixed>
Tags
static
Return values
string

$requestUrl

delete()

Deletes a saved query by Id. (savedQueries.delete)

public delete(string $matterId, string $savedQueryId[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Vault_VaultEmpty
Parameters
$matterId : string

The matter ID of the parent matter for which the saved query is to be deleted.

$savedQueryId : string

ID of the saved query to be deleted.

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_Vault_VaultEmpty

get()

Retrieves a saved query by Id. (savedQueries.get)

public get(string $matterId, string $savedQueryId[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Vault_SavedQuery
Parameters
$matterId : string

The matter ID of the parent matter for which the saved query is to be retrieved.

$savedQueryId : string

ID of the saved query to be retrieved.

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_Vault_SavedQuery

listMattersSavedQueries()

Lists saved queries within a matter. An empty page token in ListSavedQueriesResponse denotes no more saved queries to list.

public listMattersSavedQueries(string $matterId[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Vault_ListSavedQueriesResponse

(savedQueries.listMattersSavedQueries)

Parameters
$matterId : string

The matter ID of the parent matter for which the saved queries are to be retrieved.

$optParams : array<string|int, mixed> = array()

Optional parameters.

Tags
opt_param

string pageToken The pagination token as returned in the previous response. An empty token means start from the beginning.

opt_param

int pageSize The maximum number of saved queries to return.

Return values
Google_Service_Vault_ListSavedQueriesResponse

convertToArrayAndStripNulls()

protected convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
$o : mixed
Return values
mixed

Search results