# DeleteResource

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Source code: <https://github.com/FrendsPlatform/Frends.GoogleBigQuery>

{% tabs %}
{% tab title="Parameter: Connection" %}

| Name                               | Description                                                                                                                                                                                                                                                                                                                                                                                    |
| ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| BaseUri : `String`                 | <p>Service base URI.</p><p>If empty, the default base URI for the service is used.</p><p><br>Default: <code>-</code><br>Example: <code><https://bigquery.googleapis.com></code></p>                                                                                                                                                                                                            |
| Resource : `Resources`             | <p>Resource.</p><p>Possible values:</p><ul><li><code>Dataset</code>:</li></ul><p>Resource.</p><ul><li><code>Job</code>:</li></ul><p>Resource.</p><ul><li><code>Model</code>:</li></ul><p>Resource.</p><ul><li><code>Routine</code>:</li></ul><p>Resource.</p><ul><li><code>Table</code>:</li></ul><p>Resource.</p><p><br>Default: <code>4</code><br>Example: <code>Resources.Tables</code></p> |
| ProjectId : `String`               | <p>Project ID.</p><p><br>Default: <code>-</code><br>Example: <code>projectid</code></p>                                                                                                                                                                                                                                                                                                        |
| DatasetId : `String`               | <p>Dataset ID.</p><p><br>Default: <code>-</code><br>Example: <code>datasetid</code></p>                                                                                                                                                                                                                                                                                                        |
| TableId : `String`                 | <p>Table ID.</p><p><br>Default: <code>-</code><br>Example: <code>tableid</code></p>                                                                                                                                                                                                                                                                                                            |
| JobId : `String`                   | <p>Job ID</p><p><br>Default: <code>-</code><br>Example: <code>jobid</code></p>                                                                                                                                                                                                                                                                                                                 |
| ModelId : `String`                 | <p>Model ID.</p><p><br>Default: <code>-</code><br>Example: <code>modeid</code></p>                                                                                                                                                                                                                                                                                                             |
| RoutineId : `String`               | <p>Routine ID.</p><p><br>Default: <code>-</code><br>Example: <code>routineid</code></p>                                                                                                                                                                                                                                                                                                        |
| ReadJsonMethod : `ReadJsonMethods` | <p>Method to read Service account JSON.</p><p>Possible values:</p><ul><li><code>JSON</code>:</li></ul><p>Method to read Service account JSON.</p><ul><li><code>File</code>:</li></ul><p>Method to read Service account JSON.</p><p><br>Default: <code>1</code><br>Example: <code>ReadJsonMethods.File</code></p>                                                                               |
| 🗝SecretJson : `String`            | <p>Service account key file.</p><p><br>Default: <code>-</code><br>Example: <code>{ "type": "service\_account", "project\_id": "your-project-id", ... }</code></p>                                                                                                                                                                                                                              |
| CredentialsFilePath : `String`     | <p>Filepath to service account key file.</p><p><br>Default: <code>-</code><br>Example: <code>C:\temp\jsonfile.json</code></p>                                                                                                                                                                                                                                                                  |
| {% endtab %}                       |                                                                                                                                                                                                                                                                                                                                                                                                |

{% tab title="Parameter: Options" %}

| Name                     | Description                                                                                                                                                                          |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ThrowOnError : `Boolean` | <p>Throw an error on exception.</p><p>If set to false, exception message can be found in Result.ErrorMessage.</p><p><br>Default: <code>True</code><br>Example: <code>true</code></p> |
| {% endtab %}             |                                                                                                                                                                                      |

{% tab title="Result: Result" %}

| Name                    | Description                                                             |
| ----------------------- | ----------------------------------------------------------------------- |
| Success : `Boolean`     | <p>Operation complete without errors.<br>Example: <code>true</code></p> |
| ErrorMessage : `String` | <p>Error message.<br>Example: <code>Error occured...</code></p>         |
| {% endtab %}            |                                                                         |

{% tab title="Changelog" %}

## Changelog

### \[1.0.0] - 2023-09-15

#### Added

* Initial implementation
  {% endtab %}
  {% endtabs %}
