PubsubTarget class final
pubsub_target block. Use topicName = TfArg.ref(topic.id) so the
value resolves to the full projects/{project}/topics/{name} path
— topic.nameRef (just the bare name) is not sufficient.
- Inheritance
-
- Object
- SchedulerTarget
- PubsubTarget
- Annotations
-
- @immutable
Constructors
Properties
-
attributes
→ TfArg<
Map< ?String, String> > -
final
- blockKey → String
-
argMap key under which this target is emitted (e.g.
pubsub_target).no setteroverride -
data
→ TfArg<
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
→ TfArg<
String> -
Important: Pub/Sub Scheduler expects the full resource path
projects/{project}/topics/{topic}. PassTfArg.ref(topic.id)— nottopic.nameRef. Seetopic.idgetter on GooglePubsubTopic (the runtime exposesidfor exactly this case).final
Methods
-
encode(
) → Map< String, Object?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited