Class PubsubTarget
Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.
Inheritance
object
PubsubTarget
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudScheduler.v1beta1.Data
Assembly: Google.Apis.CloudScheduler.v1beta1.dll
Syntax
public class PubsubTarget : IDirectResponseSchema
Properties
Attributes
Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
Declaration
[JsonProperty("attributes")]
public virtual IDictionary<string, string> Attributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TKey, TValue><string, string> |
Data
The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
Declaration
[JsonProperty("data")]
public virtual string Data { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
TopicName
Required. The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered.
The topic name must be in the same format as required by Pub/Sub's
PublishRequest.name,
for example projects/PROJECT_ID/topics/TOPIC_ID
. The topic must be in the same project as the Cloud
Scheduler job.
Declaration
[JsonProperty("topicName")]
public virtual string TopicName { get; set; }
Property Value
Type | Description |
---|---|
string |