Class CloudPubsubTopic
A reference to a Cloud Pubsub topic. To register for notifications, the owner of the topic must grant
alerts-api-push-notifications@system.gserviceaccount.com
the projects.topics.publish
permission.
Implements
Inherited Members
Namespace: Google.Apis.AlertCenter.v1beta1.Data
Assembly: Google.Apis.AlertCenter.v1beta1.dll
Syntax
public class CloudPubsubTopic : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PayloadFormat
Optional. The format of the payload that would be sent. If not specified the format will be JSON.
Declaration
[JsonProperty("payloadFormat")]
public virtual string PayloadFormat { get; set; }
Property Value
Type | Description |
---|---|
string |
TopicName
The name
field of a Cloud Pubsub [Topic]
(https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic).
Declaration
[JsonProperty("topicName")]
public virtual string TopicName { get; set; }
Property Value
Type | Description |
---|---|
string |