google::snapshot¶
Add a snapshot.
Example¶
google::snapshot example-snapshot
name: "example-snapshot"
subscription: $(google::subscription subscription-push-example)
labels: {
"example-label": "example-value"
}
end
Attributes¶
Attribute | Description |
---|---|
labels map | The set of labels for the snapshot. |
name | The name of the snapshot. (Required) |
subscription | The name of the subscription from which this snapshot is retaining messages. (Required) |
Outputs¶
Attribute | Description |
---|---|
resource-name | The full name of the snapshot along with the project path. |
expire-time | The time until which the snapshot is guaranteed to exist. |
topic | The name of the topic from which this snapshot is retaining messages. |