@@ -599,12 +599,6 @@ export interface Subscription extends BaseResource {
599599 *
600600 */
601601 readonly createdBy ?: CreatedBy
602- /**
603- * Changes subscribed to.
604- *
605- *
606- */
607- readonly changes : ChangeSubscription [ ]
608602 /**
609603 * Messaging service to which the notifications are sent.
610604 *
@@ -623,6 +617,12 @@ export interface Subscription extends BaseResource {
623617 *
624618 */
625619 readonly messages : MessageSubscription [ ]
620+ /**
621+ * Changes subscribed to.
622+ *
623+ *
624+ */
625+ readonly changes : ChangeSubscription [ ]
626626 /**
627627 * Events subscribed to.
628628 *
@@ -643,16 +643,10 @@ export interface Subscription extends BaseResource {
643643 readonly status : SubscriptionHealthStatus
644644}
645645/**
646- * Either `messages` or `changes ` must be set.
646+ * Either `messages`, `changes`, or `events ` must be set.
647647 *
648648 */
649649export interface SubscriptionDraft {
650- /**
651- * Changes to be subscribed to.
652- *
653- *
654- */
655- readonly changes ?: ChangeSubscription [ ]
656650 /**
657651 * Messaging service to which the notifications are sent.
658652 *
@@ -671,6 +665,12 @@ export interface SubscriptionDraft {
671665 *
672666 */
673667 readonly messages ?: MessageSubscription [ ]
668+ /**
669+ * Changes to be subscribed to.
670+ *
671+ *
672+ */
673+ readonly changes ?: ChangeSubscription [ ]
674674 /**
675675 * Events to be subscribed to.
676676 *
0 commit comments