Resource Type: GCP > Pub/Sub > Snapshot
The Snapshot resource type is a capture of the message acknowledgment state of a subscription at a given point of time. This can be used to restore the subscription's message acknowledgment state in case of failure, or to begin processing from a specific point in the message stream.
Resource Context
Snapshot is a part of the Pub/Sub service.
Each Snapshot lives under a Project.
Controls
The primary controls for GCP > Pub/Sub > Snapshot are:
Category
In Your Workspace
- Controls by Resource Type report
- Policy Settings by Resource Type report
- Resources by Resource Type report
Developers
- tmod:@turbot/gcp-pubsub#/resource/types/snapshot
- tmod:@turbot/turbot#/resource/categories/applicationIntegration
- turbot graphql resource --id "tmod:@turbot/gcp-pubsub#/resource/types/snapshot"
Get Resource- select * from guardrails_resource where resource_type_uri = 'tmod:@turbot/gcp-pubsub#/resource/types/snapshot';
- select * from guardrails_policy_setting where filter = 'resourceTypeId:"tmod:@turbot/gcp-pubsub#/resource/types/snapshot"';
- select * from guardrails_notification where resource_type_uri = 'tmod:@turbot/gcp-pubsub#/resource/types/snapshot' and notification_type in ('resource_updated', 'resource_created');
Get ResourceGet Policy Settings (By Resource ID)Get Resource Notification
Resource Type URI
Category URI
GraphQL
CLI
Steampipe Query