google::topic¶
Add a topic.
Example¶
google::topic topic-example
    name: "topic-example"
    labels: {
        name: "topic-example"
    }
end
Attributes¶
| Attribute | Description | 
|---|---|
| kms-key | The Cloud KMS CryptoKey to be used to protect access to messages published on this topic. | 
| labels map | The set of labels for the topic. | 
| message-storage-policy subresource | The message storage policy configuration. 
 | 
| name | The name of the topic. (Required) | 
Outputs¶
| Attribute | Description | 
|---|---|
| reference-name | The full name of the topic along with project path. |