annotations = $annotations; } /** * @return string[] */ public function getAnnotations() { return $this->annotations; } /** * Required. A CEL expression identifying which messages this enrollment * applies to. * * @param string $celMatch */ public function setCelMatch($celMatch) { $this->celMatch = $celMatch; } /** * @return string */ public function getCelMatch() { return $this->celMatch; } /** * Output only. The creation time. * * @param string $createTime */ public function setCreateTime($createTime) { $this->createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * 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)" * * @param string $destination */ public function setDestination($destination) { $this->destination = $destination; } /** * @return string */ public function getDestination() { return $this->destination; } /** * Optional. Resource display name. * * @param string $displayName */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * 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. * * @param string $etag */ public function setEtag($etag) { $this->etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * Optional. Resource labels. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * Required. Immutable. Resource name of the message bus identifying the * source of the messages. It matches the form * projects/{project}/locations/{location}/messageBuses/{messageBus}. * * @param string $messageBus */ public function setMessageBus($messageBus) { $this->messageBus = $messageBus; } /** * @return string */ public function getMessageBus() { return $this->messageBus; } /** * Identifier. Resource name of the form * projects/{project}/locations/{location}/enrollments/{enrollment} * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * 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. * * @param string $uid */ public function setUid($uid) { $this->uid = $uid; } /** * @return string */ public function getUid() { return $this->uid; } /** * Output only. The last-modified time. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Enrollment::class, 'Google_Service_Eventarc_Enrollment');