public sealed class Enrollment : IMessage<Enrollment>, IEquatable<Enrollment>, IDeepCloneable<Enrollment>, IBufferMessage, IMessage
Reference documentation and code samples for the Eventarc v1 API class Enrollment.
An enrollment represents a subscription for messages on a particular message bus. It defines a matching criteria for messages on the bus and the subscriber endpoint where matched messages should be delivered.
Implements
IMessageEnrollment, IEquatableEnrollment, IDeepCloneableEnrollment, IBufferMessage, IMessageNamespace
Google.Cloud.Eventarc.V1Assembly
Google.Cloud.Eventarc.V1.dll
Constructors
Enrollment()
public Enrollment()
Enrollment(Enrollment)
public Enrollment(Enrollment other)
Parameter | |
---|---|
Name | Description |
other |
Enrollment |
Properties
Annotations
public MapField<string, string> Annotations { get; }
Optional. Resource annotations.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
CelMatch
public string CelMatch { get; set; }
Required. A CEL expression identifying which messages this enrollment applies to.
Property Value | |
---|---|
Type | Description |
string |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The creation time.
Property Value | |
---|---|
Type | Description |
Timestamp |
Destination
public string Destination { get; set; }
Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to the full resource name of a Pipeline. Format: "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
Property Value | |
---|---|
Type | Description |
string |
DisplayName
public string DisplayName { get; set; }
Optional. Resource display name.
Property Value | |
---|---|
Type | Description |
string |
EnrollmentName
public EnrollmentName EnrollmentName { get; set; }
EnrollmentName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
EnrollmentName |
Etag
public string Etag { get; set; }
Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.
Property Value | |
---|---|
Type | Description |
string |
Labels
public MapField<string, string> Labels { get; }
Optional. Resource labels.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
MessageBus
public string MessageBus { get; set; }
Required. Resource name of the message bus identifying the source of the messages. It matches the form projects/{project}/locations/{location}/messageBuses/{messageBus}.
Property Value | |
---|---|
Type | Description |
string |
MessageBusAsMessageBusName
public MessageBusName MessageBusAsMessageBusName { get; set; }
MessageBusName-typed view over the MessageBus resource name property.
Property Value | |
---|---|
Type | Description |
MessageBusName |
Name
public string Name { get; set; }
Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment}
Property Value | |
---|---|
Type | Description |
string |
Uid
public string Uid { get; set; }
Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The last-modified time.
Property Value | |
---|---|
Type | Description |
Timestamp |