# The AccessRequestDestinations object

## Attributes

- `destinations` (array of object)
  The access request destinations for the securable.
  - `destination_id` (string)
    The identifier for the destination. This is the email address for EMAIL destinations, the URL for URL destinations,
     or the unique <Databricks> notification destination ID for all other external destinations.
    Example: `john.doe@databricks.com`
  - `destination_type` (string)
    The type of the destination.
    Possible values: `DESTINATION_TYPE_UNSPECIFIED`, `EMAIL`, `SLACK`, `GENERIC_WEBHOOK`, `MICROSOFT_TEAMS`, `URL`
    Example: `EMAIL`
  - `special_destination` (string)
    This field is used to denote whether the destination is the email of the owner of the securable object.
     The special destination cannot be assigned to a securable and only represents the default destination of the securable.
     The securable types that support default special destinations are: "catalog", "external_location", "connection", "credential", and "metastore".
     The **destination_type** of a **special_destination** is always EMAIL.
    Possible values: `SPECIAL_DESTINATION_UNSPECIFIED`, `SPECIAL_DESTINATION_CATALOG_OWNER`, `SPECIAL_DESTINATION_EXTERNAL_LOCATION_OWNER`, `SPECIAL_DESTINATION_CONNECTION_OWNER`, `SPECIAL_DESTINATION_CREDENTIAL_OWNER`, `SPECIAL_DESTINATION_METASTORE_OWNER`, `SPECIAL_DESTINATION_SCHEMA_OWNER`, `SPECIAL_DESTINATION_TABLE_OWNER`, `SPECIAL_DESTINATION_VOLUME_OWNER`, `SPECIAL_DESTINATION_FUNCTION_OWNER`, `SPECIAL_DESTINATION_REGISTERED_MODEL_OWNER`
    Example: `SPECIAL_DESTINATION_CATALOG_OWNER`
- `securable` (object)
  The securable for which the access request destinations are being modified or read.
  - `type` (string)
    Required. The type of securable (catalog/schema/table).
     Optional if resource_name is present.
    Possible values: `CATALOG`, `SCHEMA`, `TABLE`, `STORAGE_CREDENTIAL`, `EXTERNAL_LOCATION`, `FUNCTION`, `SHARE`, `PROVIDER`, `RECIPIENT`, `CLEAN_ROOM`, `METASTORE`, `PIPELINE`, `VOLUME`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_METADATA`, `STAGING_TABLE`
  - `full_name` (string)
    Required. The full name of the catalog/schema/table.
     Optional if resource_name is present.
  - `provider_share` (string)
    Optional. The name of the Share object that contains the securable when the securable is
     getting shared in D2D Delta Sharing.
- `are_any_destinations_hidden` (boolean)
  Indicates whether any destinations are hidden from the caller due to a lack of permissions.
   This value is true if the caller does not have permission to see all destinations.
  Example: `false`
- `destination_source_securable` (object)
  The source securable from which the destinations are inherited. Either the same value as securable (if destination
   is set directly on the securable) or the nearest parent securable with destinations set.
  - `type` (string)
    Required. The type of securable (catalog/schema/table).
     Optional if resource_name is present.
    Possible values: `CATALOG`, `SCHEMA`, `TABLE`, `STORAGE_CREDENTIAL`, `EXTERNAL_LOCATION`, `FUNCTION`, `SHARE`, `PROVIDER`, `RECIPIENT`, `CLEAN_ROOM`, `METASTORE`, `PIPELINE`, `VOLUME`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_METADATA`, `STAGING_TABLE`
  - `full_name` (string)
    Required. The full name of the catalog/schema/table.
     Optional if resource_name is present.
  - `provider_share` (string)
    Optional. The name of the Share object that contains the securable when the securable is
     getting shared in D2D Delta Sharing.
- `securable_type` (string)
  The type of the securable. Redundant with the type in the securable object, but necessary for Terraform integration
- `full_name` (string)
  The full name of the securable. Redundant with the name in the securable object, but necessary for Terraform integration

## Example

```json
{
  "destinations": [
    {
      "destination_id": "john.doe@databricks.com",
      "destination_type": "EMAIL"
    },
    {
      "destination_id": "456e7890-e89b-12d3-a456-426614174001",
      "destination_type": "SLACK"
    },
    {
      "destination_id": "789e0123-e89b-12d3-a456-426614174002",
      "destination_type": "MICROSOFT_TEAMS"
    },
    {
      "destination_id": "abcde123-e89b-12d3-a456-426614174003",
      "destination_type": "GENERIC_WEBHOOK"
    }
  ],
  "securable": {
    "full_name": "main.customer_data",
    "type": "SCHEMA"
  },
  "are_any_destinations_hidden": false,
  "destination_source_securable": {
    "full_name": "main",
    "type": "CATALOG"
  },
  "securable_type": "string",
  "full_name": "string"
}
```


