Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8317343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:34:13+00:00 2026-06-08T21:34:13+00:00

I follow the documentation there: https://developers.google.com/drive/v2/reference/children/list I would like to set a query in

  • 0

I follow the documentation there:

https://developers.google.com/drive/v2/reference/children/list

I would like to set a query in the parameters so i tried to simply do this:

$parameters = array();
$parameters['q'] = "My Query";
$children = $service->children->listChildren($folderId, $parameters);

As written in the doc:

Requests with children.list accept the q parameter, which is a search
query combining one or more search terms

But the q is not recognized, i get this error:

An error occurred: (list) unknown parameter: ‘q’

What is the right syntax?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T21:34:15+00:00Added an answer on June 8, 2026 at 9:34 pm

    Are you sure you are using the latest version of the PHP client library? I just tried with it and the q parameter is supported when listing children.

    Also, make sure that the value of the q parameter matches the search query syntax as explained at https://developers.google.com/drive/search-parameters.

    For instance, here is a valid children list request that specifies a query parameter:

    $parameters = array();
    $parameters['q'] = "title contains 'Drive'";
    $children = $service->children->listChildren($folderId, $parameters);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to follow the overlay instructions provided here: https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/AnnotatingMaps/AnnotatingMaps.html#//apple_ref/doc/uid/TP40009497-CH6-SW15+ but the overlay isn't
I'm trying to follow this documentation on Symfony : http://symfony.com/doc/current/book/forms.html ok so here is
I am attempting to follow http://mondrian.pentaho.com/documentation/developers_guide.php in the download and compilation of the Mondrian
Is there a documentation to follow on this subject? I wonder if I need
First, i'm read the documentation as follow http://download.oracle.com/javase/1.4.2/docs/api/java/util/regex/Pattern.html And i want find any punctuation
UPDATE: There's been a patch for this issue: https://github.com/collectiveidea/delayed_job/commit/023444424166ba2ce011bfe2d47954e79edf6798 UPDATE 2: For anyone running
I follow the steps in the customdialog example in the documentation, but I get
I cannot follow crossval() & cvpartition() function given in MATLAB documentation crossval() . What
In the section titled 'Memory Warnings' here http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmNibObjects.html , I don't follow why the
I'm trying to follow the docs and set up a UserProfile table in my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.