## Get Result Region

`PresignedUrl beta().sheets().getResultTable(SheetGetResultTableParamsparams, RequestOptionsrequestOptions = RequestOptions.none())`

**get** `/api/v1/beta/sheets/jobs/{spreadsheet_job_id}/regions/{region_id}/result/{region_type}`

Generate a presigned URL to download a specific extracted region. Experimental: not production-ready and subject to change.

### Parameters

- `SheetGetResultTableParams params`

  - `String spreadsheetJobId`

  - `String regionId`

  - `Optional<RegionType> regionType`

    - `TABLE("table")`

    - `EXTRA("extra")`

    - `CELL_METADATA("cell_metadata")`

  - `Optional<Long> expiresAtSeconds`

  - `Optional<String> organizationId`

  - `Optional<String> projectId`

### Returns

- `class PresignedUrl:`

  Schema for a presigned URL.

  - `LocalDateTime expiresAt`

    The time at which the presigned URL expires

  - `String url`

    A presigned URL for IO operations against a private file

  - `Optional<FormFields> formFields`

    Form fields for a presigned POST request

### Example

```java
package com.llamacloud_prod.api.example;

import com.llamacloud_prod.api.client.LlamaCloudClient;
import com.llamacloud_prod.api.client.okhttp.LlamaCloudOkHttpClient;
import com.llamacloud_prod.api.models.beta.sheets.SheetGetResultTableParams;
import com.llamacloud_prod.api.models.files.PresignedUrl;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        LlamaCloudClient client = LlamaCloudOkHttpClient.fromEnv();

        SheetGetResultTableParams params = SheetGetResultTableParams.builder()
            .spreadsheetJobId("spreadsheet_job_id")
            .regionId("region_id")
            .regionType(SheetGetResultTableParams.RegionType.TABLE)
            .build();
        PresignedUrl presignedUrl = client.beta().sheets().getResultTable(params);
    }
}
```

#### Response

```json
{
  "expires_at": "2019-12-27T18:11:19.117Z",
  "url": "https://example.com",
  "form_fields": {
    "foo": "string"
  }
}
```
