title: Google Directory API/client lib custom schemas incomplete response
body: <p>For few last days I'm facing API and client lib issue while listing custom schemas from directory. </p>
  
  <p>According to doc, response should contain <strong>kind</strong>, <strong>etag</strong> and list of <strong>schemas</strong>, but when called using (Java) client lib or online API explorer</p>
  
  <p><a href="https://developers.google.com/admin-sdk/directory/v1/reference/schemas/list#response_1" rel="nofollow noreferrer">https://developers.google.com/admin-sdk/directory/v1/reference/schemas/list#response_1</a></p>
  
  <p>where customer with provided <strong>customerId</strong> does not have any custom schemas in his google admin directory, such response only contains <strong>kind</strong> and <strong>etag</strong> properties and <strong>schemas</strong> is not even present (not empty list, not null, no nothing - forcing <strong>schemas</strong> in request's field parameter does not work either) </p>
  
  <pre><code>{
   "kind": "admin#directory#schemas",
   "etag": "\"enlFCt4L0-k8PoIKzRNl5h_fsrc/vyGp6PvFo4Rv1gHuoIWeCReyIC8\""
  }
  </code></pre>
  
  <p>which causes (Java) client lib (schemas().list().execute()) to fail on Preconditions check with "<strong>IllegalArgumentException: no JSON input found</strong>" for <strong>schemas</strong> field. For customer with some custom schemas, response is ok with filled "<strong>schemas</strong>" list property.</p>
  
  <p>I think, this (missing schemas response property) behaviour changed few days ago and my question is if someone is facing the same issue or am I having some bad view on it?</p>