Class ProjectsResource.LocationsResource.RecentQueriesResource
The "recentQueries" collection of methods.
Inherited Members
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class ProjectsResource.LocationsResource.RecentQueriesResource
Constructors
RecentQueriesResource(IClientService)
Constructs a new resource.
Declaration
public RecentQueriesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
List(string)
Lists the RecentQueries that were created by the user making the request.
Declaration
public virtual ProjectsResource.LocationsResource.RecentQueriesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
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. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RecentQueriesResource.ListRequest |