Resource: 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.
JSON representation |
---|
{ "name": string, "uid": string, "etag": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "annotations": { string: string, ... }, "displayName": string, "celMatch": string, "messageBus": string, "destination": string } |
Fields | |
---|---|
name |
Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment} |
uid |
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. |
etag |
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. |
create |
Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Optional. Resource labels. An object containing a list of |
annotations |
Optional. Resource annotations. An object containing a list of |
display |
Optional. Resource display name. |
cel |
Required. A CEL expression identifying which messages this enrollment applies to. |
message |
Required. Resource name of the message bus identifying the source of the messages. It matches the form projects/{project}/locations/{location}/messageBuses/{messageBus}. |
destination |
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)" |
Methods |
|
---|---|
|
Create a new Enrollment in a particular project and location. |
|
Delete a single Enrollment. |
|
Get a single Enrollment. |
|
Gets the access control policy for a resource. |
|
List Enrollments. |
|
Update a single Enrollment. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |