target.apidocs.com.google.api.services.logging.v2.Logging.Projects.Locations.RecentQueries.html Maven / Gradle / Ivy
Logging.Projects.Locations.RecentQueries (Cloud Logging API v2-rev20240908-2.0.0)
com.google.api.services.logging.v2
Class Logging.Projects.Locations.RecentQueries
- java.lang.Object
-
- com.google.api.services.logging.v2.Logging.Projects.Locations.RecentQueries
-
- Enclosing class:
- Logging.Projects.Locations
public class Logging.Projects.Locations.RecentQueries
extends Object
The "recentQueries" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Logging.Projects.Locations.RecentQueries.List
-
Constructor Summary
Constructors
Constructor and Description
RecentQueries()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Logging.Projects.Locations.RecentQueries.List
list(String parent)
Lists the RecentQueries that were created by the user making the request.
-
-
Method Detail
-
list
public Logging.Projects.Locations.RecentQueries.List list(String parent)
throws IOException
Lists the RecentQueries that were created by the user making the request.
Create a request for the method "recentQueries.list".
This request holds the parameters needed by the logging server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy