code: public final ListSinksPagedResponse listSinks(ParentName parent) {
      ListSinksRequest request =
          ListSinksRequest.newBuilder().setParent(parent == null ? null : parent.toString()).build();
      return listSinks(request);
    }
docs: Lists sinks.
  
  <p>Sample code:
  
  <pre><code>
  try (ConfigClient configClient = ConfigClient.create()) {
  ParentName parent = ProjectName.of("[PROJECT]");
  for (LogSink element : configClient.listSinks(parent).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param parent Required. The parent resource whose sinks are to be listed:
  <p>"projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
  "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
  @throws com.google.api.gax.rpc.ApiException if the remote call fails