code: public final ListLogsPagedResponse listLogs(String parent) {
      ListLogsRequest request = ListLogsRequest.newBuilder().setParent(parent).build();
      return listLogs(request);
    }
docs: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have
  entries are listed.
  
  <p>Sample code:
  
  <pre><code>
  try (LoggingClient loggingClient = LoggingClient.create()) {
  ParentName parent = ProjectName.of("[PROJECT]");
  for (String element : loggingClient.listLogs(parent.toString()).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param parent Required. The resource name that owns the logs:
  <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