# DataSnapshots Object

> Source: https://truto.one/docs/api-reference/unified-cloud-infrastructure-api/datasnapshots/

Schema for the `DataSnapshots` resource in **Unified Cloud Infrastructure API**.

## Properties

- **`id`** _(string, required)_
  Truto's stable unified identifier for this object. Opaque; use provider_id to address the object in the provider's own console or API.
- **`provider_id`** _(string)_
  The provider's own identifier, passed through verbatim — a full ARN, resource id, or self-link. Never truncated, prefixed, or normalized.
- **`provider`** _(string)_
  Which cloud this object was read from.
  Allowed: `aws`, `azure`, `gcp`
- **`account`** _(string)_
  The account, subscription or project this object belongs to.
- **`region`** _(string)_
  Where the object is located. 'global' denotes genuinely global resources (e.g. IAM, GCP VPC networks) rather than a guessed region. A substituted region (when none is derivable) is flagged in unreadable_fields.
- **`native_type`** _(string)_
  The provider's own type string, unmodified — for example 'AWS::S3::Bucket', 'aws_iam_role', 'Microsoft.Sql/servers'. Used for display and drill-down.
- **`tags`** _(object)_
  Key-value pairs exactly as the customer set them: no case folding, key/value normalization, or merging of separate provider concepts. An empty object means no tags; tags that could not be read appear in unreadable_fields instead.
- **`collected_at`** _(string)_
  When Truto actually read this object from the provider, in UTC ISO 8601 with the offset present — not the request time, and not a provider timestamp.
- **`updated_at`** _(string)_
  When the object was last modified at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.
- **`unreadable_fields`** _(array<object>)_
  Fields on this object that could not be read, and why. An empty array means everything was read. Use this to tell a real value from a missing one.
  - **`field`** _(string)_
    The property on this resource that could not be read.
  - **`reason`** _(string)_
    Why the field could not be read. available_on_get: Not read on list to keep the list fast; call GET for this resource's id to get it.
    Allowed: `not_supported_by_provider`, `not_configured`, `permission_denied`, `not_collected`, `collection_error`, `partially_collected`, `available_on_get`
  - **`detail`** _(string)_
    Explanation of the reason, where one adds anything.
- **`remote_data`** _(object)_
  Raw data returned from the remote API call.
- **`snapshot_id`** _(string)_
  The provider's own identifier for the snapshot.
- **`snapshot_family`** _(string)_
  Which snapshot service this came from — block volume, database instance, database cluster, or disk. Encryption and sharing fields have different semantics per family.
  Allowed: `block_volume`, `database_instance`, `database_cluster`, `disk`, `other`
- **`snapshot_type`** _(string)_
  Whether the snapshot was taken manually or by automated backup. Automated snapshots can't be shared, so their sharing fields are set by construction, not read per-snapshot.
  Allowed: `manual`, `automated`, `unknown`
- **`source_resource_id`** _(string)_
  The database or volume this snapshot was taken from.
- **`source_account_id`** _(string)_
  The account that owns the source. On AWS this is parsed from the ARN, since neither database snapshot type carries an owner field.
- **`created_at`** _(string)_
  When the snapshot was taken.
- **`location`** _(string)_
  Where the snapshot currently sits (not its origin — a cross-region copy reports its current location). AWS returns no location for block-volume snapshots, so the queried region is used instead.
- **`encrypted`** _(boolean)_
  Whether the snapshot is encrypted.
- **`encryption_key`** _(object)_
  The key protecting the snapshot, where it is encrypted.
  - **`id`** _(string)_
    The target's `id`.
- **`shared_with_accounts`** _(array<string>)_
  Accounts this snapshot has been explicitly shared with. Empty means shared with nobody; null means the sharing attribute could not be read.
- **`is_public`** _(boolean)_
  Whether the snapshot is readable by any account on the provider.
- **`sharing_readable`** _(boolean)_
  Whether the per-snapshot sharing attribute was actually read. False means shared_with_accounts and is_public are inferred, not confirmed.
- **`regional_public_access_block`** _(string)_
  The account-and-region-wide snapshot sharing posture. Under a block-all-sharing setting, an already-public snapshot (is_public true) is effectively private and not actually exposed.
- **`status`** _(string)_
  The provider's own status string for the snapshot, verbatim.

## Methods

- [GET /unified/cloud-infrastructure/data_snapshots](/docs/api-reference/unified-cloud-infrastructure-api/datasnapshots/list) — List Data snapshots
