JobPubsubTarget class
Constructors
-
JobPubsubTarget({Input<
Map< ? attributes, Input<String, String> ?>String?> ? data, required Input<String> topicName}) -
Creates a new JobPubsubTarget.
attributesAttributes for PubsubMessage.dataThe message payload for PubsubMessage.topicNameThe full resource name for the Cloud Pub/Sub topic to whichconst -
JobPubsubTarget.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
attributes
→ Input<
Map< ?String, String> ?> -
Attributes for PubsubMessage.
Pubsub message must contain either non-empty data, or at least one attribute.
final
-
data
→ Input<
String?> ? -
The message payload for PubsubMessage.
Pubsub message must contain either non-empty data, or at least one attribute.
A base64-encoded string.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
topicName
→ Input<
String> -
The full resource name for the Cloud Pub/Sub topic to which
messages will be published when a job is delivered. ~>NOTE:
The topic name must be in the same format as required by PubSub's
PublishRequest.name, e.g.
projects/my-project/topics/my-topic.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited