# The BatchCreateAccessRequestsResponse object

## Attributes

- `responses` (array of object, Public Preview)
  The access request destinations for each securable object the principal requested.
  - `behalf_of` (object, Public Preview)
    The principal the request was made on behalf of.
    - `id` (string, Public Preview)
      Databricks user, group or service principal ID.
    - `principal_type` (string, Public Preview)
      Possible values:
      - `PRINCIPAL_TYPE_UNSPECIFIED`
      - `USER_PRINCIPAL`
      - `GROUP_PRINCIPAL`
      - `SERVICE_PRINCIPAL`
  - `request_destinations` (array of object, Public Preview)
    The access request destinations for all the securables the principal requested.
    - `destinations` (array of object, Public Preview, Unordered list)
      The access request destinations for the securable.
      - `destination_id` (string, Public Preview)
        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, Public Preview)
        The type of the destination.
        Possible values:
        - `DESTINATION_TYPE_UNSPECIFIED`
        - `EMAIL`
        - `SLACK`
        - `GENERIC_WEBHOOK`
        - `MICROSOFT_TEAMS`
        - `URL`
        Example: `EMAIL`
      - `special_destination` (string, Public Preview)
        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` — Beta
        - `SPECIAL_DESTINATION_TABLE_OWNER` — Beta
        - `SPECIAL_DESTINATION_VOLUME_OWNER` — Beta
        - `SPECIAL_DESTINATION_FUNCTION_OWNER` — Beta
        - `SPECIAL_DESTINATION_REGISTERED_MODEL_OWNER` — Beta
        Example: `SPECIAL_DESTINATION_CATALOG_OWNER`
    - `securable` (object, Public Preview)
      The securable for which the access request destinations are being modified or read.
      - `type` (string, Public Preview)
        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`
        - `MODEL` — Beta
        - `MODEL_SERVICE` — Beta
        - `MCP_SERVICE` — Beta
        - `MODEL_PROVIDER_SERVICE` — Beta
      - `full_name` (string, Public Preview)
        Required. The full name of the catalog/schema/table.
         Optional if resource_name is present.
      - `provider_share` (string, Public Preview)
        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, Public Preview, Output only)
      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, Public Preview, Output only)
      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, Public Preview)
        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`
        - `MODEL` — Beta
        - `MODEL_SERVICE` — Beta
        - `MCP_SERVICE` — Beta
        - `MODEL_PROVIDER_SERVICE` — Beta
      - `full_name` (string, Public Preview)
        Required. The full name of the catalog/schema/table.
         Optional if resource_name is present.
      - `provider_share` (string, Public Preview)
        Optional. The name of the Share object that contains the securable when the securable is
         getting shared in D2D Delta Sharing.
    - `securable_type` (string, Public Preview, Output only)
      The type of the securable. Redundant with the type in the securable object, but necessary for Terraform integration
    - `full_name` (string, Public Preview, Output only)
      The full name of the securable. Redundant with the name in the securable object, but necessary for Terraform integration

## Example

```json
{
  "responses": [
    {
      "behalf_of": {
        "id": "5617094356186623",
        "principal_type": "USER_PRINCIPAL"
      },
      "request_destinations": [
        {
          "are_any_destinations_hidden": false,
          "destination_source_securable": {
            "full_name": "main",
            "type": "CATALOG"
          },
          "destinations": [
            {
              "destination_id": "john.doe@databricks.com",
              "destination_type": "EMAIL"
            }
          ],
          "securable": {
            "full_name": "main",
            "type": "CATALOG"
          }
        },
        {
          "are_any_destinations_hidden": false,
          "destination_source_securable": {
            "full_name": "main.customers",
            "type": "SCHEMA"
          },
          "destinations": [
            {
              "destination_id": "456e7890-e89b-12d3-a456-426614174001",
              "destination_type": "SLACK"
            }
          ],
          "securable": {
            "full_name": "main.customers",
            "type": "SCHEMA"
          }
        },
        {
          "are_any_destinations_hidden": false,
          "destination_source_securable": {
            "full_name": "main.customers",
            "type": "SCHEMA"
          },
          "destinations": [
            {
              "destination_id": "abcde123-e89b-12d3-a456-426614174003",
              "destination_type": "GENERIC_WEBHOOK"
            }
          ],
          "securable": {
            "full_name": "main.customers.information",
            "type": "TABLE"
          }
        }
      ]
    },
    {
      "behalf_of": {
        "id": "7246801356408068",
        "principal_type": "USER_PRINCIPAL"
      }
    }
  ]
}
```


