indexing.urlNotifications.getMetadata

valid {
    input.Qs.url == STRING
    input.ProviderMetadata.Region == STRING
}

indexing.urlNotifications.publish

enum_UrlNotificationType := [ "URL_NOTIFICATION_TYPE_UNSPECIFIED", "URL_UPDATED", "URL_DELETED" ]

valid {
    input.Body.notifyTime == STRING
    input.Body.type == enum_UrlNotificationType[_]
    input.Body.url == STRING
    input.ProviderMetadata.Region == STRING
}