{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "QueryAccessibleDataRequest",
  "description": "Queries all data_ids that are consented for a given use in the given consent store and writes them to a specified destination. The returned Operation includes a progress counter for the number of User data mappings processed. Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging] (https://cloud.google.com/healthcare/docs/how-tos/logging) and [QueryAccessibleData] for a sample log entry).",
  "properties": {
    "gcsDestination": {
      "$ref": "#/components/schemas/GoogleCloudHealthcareV1ConsentGcsDestination",
      "description": "The Cloud Storage destination. The Cloud Healthcare API service account must have the `roles/storage.objectAdmin` Cloud IAM role for this Cloud Storage location."
    },
    "requestAttributes": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "The values of request attributes associated with this access request.",
      "type": "object"
    },
    "resourceAttributes": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Optional. The values of resource attributes associated with the type of resources being requested. If no values are specified, then all resource types are included in the output.",
      "type": "object"
    }
  },
  "type": "object"
}