TopicArgs class
The set of arguments for Topic. The set of arguments for Topic.
Constructors
-
TopicArgs({Input<
String> ? location, Input<String> ? name, Input<PartitionConfig> ? partitionConfig, Input<String> ? project, Input<ReservationConfig> ? reservationConfig, Input<RetentionConfig> ? retentionConfig, required Input<String> topicId}) -
Creates a new TopicArgs.
locationOptional.nameThe name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}partitionConfigThe settings for this topic's partitions.projectOptional.reservationConfigThe settings for this topic's Reservation usage.retentionConfigThe settings for this topic's message retention.topicIdRequired. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like:my-topic-name.const -
TopicArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> ? -
final
-
name
→ Input<
String> ? -
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
final
-
partitionConfig
→ Input<
PartitionConfig> ? -
The settings for this topic's partitions.
final
-
project
→ Input<
String> ? -
final
-
reservationConfig
→ Input<
ReservationConfig> ? -
The settings for this topic's Reservation usage.
final
-
retentionConfig
→ Input<
RetentionConfig> ? -
The settings for this topic's message retention.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
topicId
→ Input<
String> -
Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like:
my-topic-name.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