GetChannelResult class
Result data returned by getChannel.
Constructors
- GetChannelResult({required String activationToken, required String createTime, required String cryptoKeyName, required String name, required String provider, required String pubsubTopic, required String state, required String uid, required String updateTime})
-
Creates a new GetChannelResult.
activationTokenThe activation token for the channel. The token must be used by the provider to register the channel for publishing.createTimeThe creation time.cryptoKeyNameResource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the patternprojects/*/locations/*/keyRings/*/cryptoKeys/*.nameThe resource name of the channel. Must be unique within the location on the project and must be inprojects/{project}/locations/{location}/channels/{channel_id}format.providerThe name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format:projects/{project}/locations/{location}/providers/{provider_id}.pubsubTopicThe name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format:projects/{project}/topics/{topic_id}.stateThe state of a Channel.uidServer assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.updateTimeThe last-modified time.const -
GetChannelResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- activationToken → String
-
The activation token for the channel. The token must be used by the provider to register the channel for publishing.
final
- createTime → String
-
The creation time.
final
- cryptoKeyName → String
-
Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern
projects/*/locations/*/keyRings/*/cryptoKeys/*.final - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The resource name of the channel. Must be unique within the location on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}format.final - provider → String
-
The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format:
projects/{project}/locations/{location}/providers/{provider_id}.final - pubsubTopic → String
-
The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format:
projects/{project}/topics/{topic_id}.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
The state of a Channel.
final
- uid → String
-
Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
final
- updateTime → String
-
The last-modified time.
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