Pub/Sub Subscriptions¶
Provider: Google Cloud
Service ID: gcp_pubsub_subscriptions
Rendering: Standard table with expandable detail rows
Quick Example¶
<script>
var serviceDiscoveryRequests = serviceDiscoveryRequests || [];
serviceDiscoveryRequests.push({
service: 'gcp_pubsub_subscriptions',
provider: 'gcp',
region: 'europe-west2',
source: 'live',
attributes: ['project', 'name', 'topic', 'ack_deadline_seconds', 'push_endpoint', 'retain_acked_messages']
});
</script>
<div data-sd-service="gcp_pubsub_subscriptions" data-sd-source="live"></div>
Default Attributes¶
When no attributes array is specified, these columns are displayed:
attributes: ['project', 'name', 'topic', 'ack_deadline_seconds', 'push_endpoint', 'retain_acked_messages']
All Attributes¶
| Attribute | Display Name | Format | Description |
|---|---|---|---|
project |
Project | text |
From API field: __project_id__ |
name |
Subscription Name | gcp_resource_name |
From API field: name |
topic |
Topic | gcp_resource_name |
From API field: topic |
ack_deadline_seconds |
Ack Deadline (s) | text |
From API field: ack_deadline_seconds |
message_retention_duration |
Message Retention | text |
From API field: message_retention_duration |
push_endpoint |
Push Endpoint | text |
From API field: push_config.push_endpoint. Default: (pull) |
retain_acked_messages |
Retain Acked | boolean |
From API field: retain_acked_messages |
expiration_ttl |
Expiration TTL | text |
From API field: expiration_policy.ttl |
labels |
Labels | tags_table |
All tags/labels as a key-value table |
= included in default view
Sort Order¶
Results are sorted by: name