class ProjectsLocationsRecentQueries extends Resource (View source)

The "recentQueries" collection of methods.

Typical usage is:

 $loggingService = new Google\Service\Logging(...);
 $recentQueries = $loggingService->projects_locations_recentQueries;

Methods

listProjectsLocationsRecentQueries(string $parent, array $optParams = [])

Lists the RecentQueries that were created by the user making the request.

Details

ListRecentQueriesResponse listProjectsLocationsRecentQueries(string $parent, array $optParams = [])

Lists the RecentQueries that were created by the user making the request.

(recentQueries.listProjectsLocationsRecentQueries)

Parameters

string $parent

Required. The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example:projects/my- project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.

array $optParams

Optional parameters.

Return Value

ListRecentQueriesResponse

Exceptions

Exception